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
24553 #include <stdarg.h>
24554 void foo(char *f, ...)
24568 rm -f conftest.$ac_objext conftest$ac_exeext
24569 if { (ac_try="$ac_link"
24570 case "(($ac_try" in
24571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24572 *) ac_try_echo=$ac_try;;
24574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24575 (eval "$ac_link") 2>conftest.er1
24577 grep -v '^ *+' conftest.er1 >conftest.err
24579 cat conftest.err >&5
24580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24581 (exit $ac_status); } && {
24582 test -z "$ac_cxx_werror_flag" ||
24583 test ! -s conftest.err
24584 } && test -s conftest$ac_exeext &&
24585 $as_test_x conftest$ac_exeext; then
24586 wx_cv_func_va_copy=yes
24588 echo "$as_me: failed program was:" >&5
24589 sed 's/^/| /' conftest.$ac_ext >&5
24591 wx_cv_func_va_copy=no
24595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24596 conftest$ac_exeext conftest.$ac_ext
24598 ac_cpp='$CPP $CPPFLAGS'
24599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24606 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24607 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24609 if test $wx_cv_func_va_copy = "yes"; then
24610 cat >>confdefs.h <<\_ACEOF
24611 #define HAVE_VA_COPY 1
24615 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24616 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24617 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24618 echo $ECHO_N "(cached) $ECHO_C" >&6
24621 if test "$cross_compiling" = yes; then
24622 wx_cv_type_va_list_lvalue=yes
24625 cat >conftest.$ac_ext <<_ACEOF
24627 #include <stdarg.h>
24628 int foo(char *f, ...)
24633 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24641 return foo("hi", 17);
24644 rm -f conftest$ac_exeext
24645 if { (ac_try="$ac_link"
24646 case "(($ac_try" in
24647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24648 *) ac_try_echo=$ac_try;;
24650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24651 (eval "$ac_link") 2>&5
24653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24655 { (case "(($ac_try" in
24656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24657 *) ac_try_echo=$ac_try;;
24659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24660 (eval "$ac_try") 2>&5
24662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24663 (exit $ac_status); }; }; then
24664 wx_cv_type_va_list_lvalue=yes
24666 echo "$as_me: program exited with status $ac_status" >&5
24667 echo "$as_me: failed program was:" >&5
24668 sed 's/^/| /' conftest.$ac_ext >&5
24670 ( exit $ac_status )
24671 wx_cv_type_va_list_lvalue=no
24673 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24680 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24681 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24683 if test $wx_cv_type_va_list_lvalue != "yes"; then
24684 cat >>confdefs.h <<\_ACEOF
24685 #define VA_LIST_IS_ARRAY 1
24691 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24693 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24694 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24695 if test "${wx_cv_have_variadic_macros+set}" = set; then
24696 echo $ECHO_N "(cached) $ECHO_C" >&6
24700 ac_cpp='$CXXCPP $CPPFLAGS'
24701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24705 cat >conftest.$ac_ext <<_ACEOF
24708 cat confdefs.h >>conftest.$ac_ext
24709 cat >>conftest.$ac_ext <<_ACEOF
24710 /* end confdefs.h. */
24713 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24719 test("%s %d %p", "test", 1, 0);
24726 rm -f conftest.$ac_objext
24727 if { (ac_try="$ac_compile"
24728 case "(($ac_try" in
24729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24730 *) ac_try_echo=$ac_try;;
24732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24733 (eval "$ac_compile") 2>conftest.er1
24735 grep -v '^ *+' conftest.er1 >conftest.err
24737 cat conftest.err >&5
24738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24739 (exit $ac_status); } && {
24740 test -z "$ac_cxx_werror_flag" ||
24741 test ! -s conftest.err
24742 } && test -s conftest.$ac_objext; then
24743 wx_cv_have_variadic_macros=yes
24745 echo "$as_me: failed program was:" >&5
24746 sed 's/^/| /' conftest.$ac_ext >&5
24748 wx_cv_have_variadic_macros=no
24752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24754 ac_cpp='$CPP $CPPFLAGS'
24755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24762 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24763 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24765 if test $wx_cv_have_variadic_macros = "yes"; then
24766 cat >>confdefs.h <<\_ACEOF
24767 #define HAVE_VARIADIC_MACROS 1
24774 LARGEFILE_CPPFLAGS=
24775 # Check whether --enable-largefile was given.
24776 if test "${enable_largefile+set}" = set; then
24777 enableval=$enable_largefile;
24780 if test "$enable_largefile" != no; then
24783 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24784 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24785 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24786 echo $ECHO_N "(cached) $ECHO_C" >&6
24789 cat >conftest.$ac_ext <<_ACEOF
24792 cat confdefs.h >>conftest.$ac_ext
24793 cat >>conftest.$ac_ext <<_ACEOF
24794 /* end confdefs.h. */
24795 #define _FILE_OFFSET_BITS 64
24796 #include <sys/types.h>
24801 unsigned int field: sizeof(off_t) == 8;
24808 rm -f conftest.$ac_objext
24809 if { (ac_try="$ac_compile"
24810 case "(($ac_try" in
24811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24812 *) ac_try_echo=$ac_try;;
24814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24815 (eval "$ac_compile") 2>conftest.er1
24817 grep -v '^ *+' conftest.er1 >conftest.err
24819 cat conftest.err >&5
24820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24821 (exit $ac_status); } && {
24822 test -z "$ac_c_werror_flag" ||
24823 test ! -s conftest.err
24824 } && test -s conftest.$ac_objext; then
24825 ac_cv_sys_file_offset_bits=64
24827 echo "$as_me: failed program was:" >&5
24828 sed 's/^/| /' conftest.$ac_ext >&5
24830 ac_cv_sys_file_offset_bits=no
24833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24837 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24838 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24840 if test "$ac_cv_sys_file_offset_bits" != no; then
24842 cat >>confdefs.h <<_ACEOF
24843 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24848 if test "x$wx_largefile" != "xyes"; then
24850 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24851 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24852 if test "${ac_cv_sys_large_files+set}" = set; then
24853 echo $ECHO_N "(cached) $ECHO_C" >&6
24856 cat >conftest.$ac_ext <<_ACEOF
24859 cat confdefs.h >>conftest.$ac_ext
24860 cat >>conftest.$ac_ext <<_ACEOF
24861 /* end confdefs.h. */
24862 #define _LARGE_FILES 1
24863 #include <sys/types.h>
24868 unsigned int field: sizeof(off_t) == 8;
24875 rm -f conftest.$ac_objext
24876 if { (ac_try="$ac_compile"
24877 case "(($ac_try" in
24878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24879 *) ac_try_echo=$ac_try;;
24881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24882 (eval "$ac_compile") 2>conftest.er1
24884 grep -v '^ *+' conftest.er1 >conftest.err
24886 cat conftest.err >&5
24887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24888 (exit $ac_status); } && {
24889 test -z "$ac_c_werror_flag" ||
24890 test ! -s conftest.err
24891 } && test -s conftest.$ac_objext; then
24892 ac_cv_sys_large_files=1
24894 echo "$as_me: failed program was:" >&5
24895 sed 's/^/| /' conftest.$ac_ext >&5
24897 ac_cv_sys_large_files=no
24900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24904 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24905 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24907 if test "$ac_cv_sys_large_files" != no; then
24909 cat >>confdefs.h <<_ACEOF
24910 #define _LARGE_FILES $ac_cv_sys_large_files
24917 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24918 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24919 if test "x$wx_largefile" = "xyes"; then
24920 cat >>confdefs.h <<\_ACEOF
24921 #define HAVE_LARGEFILE_SUPPORT 1
24925 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24926 echo "${ECHO_T}$wx_largefile" >&6; }
24929 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24930 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24931 elif test "$ac_cv_sys_large_files" = 1; then
24932 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24935 if test -n "$LARGEFILE_CPPFLAGS"; then
24936 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24938 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24939 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24940 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24941 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24942 echo $ECHO_N "(cached) $ECHO_C" >&6
24946 ac_cpp='$CXXCPP $CPPFLAGS'
24947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24951 cat >conftest.$ac_ext <<_ACEOF
24954 cat confdefs.h >>conftest.$ac_ext
24955 cat >>conftest.$ac_ext <<_ACEOF
24956 /* end confdefs.h. */
24962 #ifndef __STDC_EXT__
24970 rm -f conftest.$ac_objext
24971 if { (ac_try="$ac_compile"
24972 case "(($ac_try" in
24973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24974 *) ac_try_echo=$ac_try;;
24976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24977 (eval "$ac_compile") 2>conftest.er1
24979 grep -v '^ *+' conftest.er1 >conftest.err
24981 cat conftest.err >&5
24982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24983 (exit $ac_status); } && {
24984 test -z "$ac_cxx_werror_flag" ||
24985 test ! -s conftest.err
24986 } && test -s conftest.$ac_objext; then
24987 wx_cv_STDC_EXT_required=no
24989 echo "$as_me: failed program was:" >&5
24990 sed 's/^/| /' conftest.$ac_ext >&5
24992 wx_cv_STDC_EXT_required=yes
24996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24998 ac_cpp='$CPP $CPPFLAGS'
24999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25006 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25007 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25008 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25009 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25015 ac_cpp='$CXXCPP $CPPFLAGS'
25016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25020 old_CPPFLAGS="$CPPFLAGS"
25021 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
25022 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25023 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25024 if test "${ac_cv_sys_largefile_source+set}" = set; then
25025 echo $ECHO_N "(cached) $ECHO_C" >&6
25028 cat >conftest.$ac_ext <<_ACEOF
25031 cat confdefs.h >>conftest.$ac_ext
25032 cat >>conftest.$ac_ext <<_ACEOF
25033 /* end confdefs.h. */
25034 #include <sys/types.h> /* for off_t */
25039 int (*fp) (FILE *, off_t, int) = fseeko;
25040 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25045 rm -f conftest.$ac_objext conftest$ac_exeext
25046 if { (ac_try="$ac_link"
25047 case "(($ac_try" in
25048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25049 *) ac_try_echo=$ac_try;;
25051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25052 (eval "$ac_link") 2>conftest.er1
25054 grep -v '^ *+' conftest.er1 >conftest.err
25056 cat conftest.err >&5
25057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25058 (exit $ac_status); } && {
25059 test -z "$ac_cxx_werror_flag" ||
25060 test ! -s conftest.err
25061 } && test -s conftest$ac_exeext &&
25062 $as_test_x conftest$ac_exeext; then
25063 ac_cv_sys_largefile_source=no; break
25065 echo "$as_me: failed program was:" >&5
25066 sed 's/^/| /' conftest.$ac_ext >&5
25071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25072 conftest$ac_exeext conftest.$ac_ext
25073 cat >conftest.$ac_ext <<_ACEOF
25076 cat confdefs.h >>conftest.$ac_ext
25077 cat >>conftest.$ac_ext <<_ACEOF
25078 /* end confdefs.h. */
25079 #define _LARGEFILE_SOURCE 1
25080 #include <sys/types.h> /* for off_t */
25085 int (*fp) (FILE *, off_t, int) = fseeko;
25086 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25091 rm -f conftest.$ac_objext conftest$ac_exeext
25092 if { (ac_try="$ac_link"
25093 case "(($ac_try" in
25094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25095 *) ac_try_echo=$ac_try;;
25097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25098 (eval "$ac_link") 2>conftest.er1
25100 grep -v '^ *+' conftest.er1 >conftest.err
25102 cat conftest.err >&5
25103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25104 (exit $ac_status); } && {
25105 test -z "$ac_cxx_werror_flag" ||
25106 test ! -s conftest.err
25107 } && test -s conftest$ac_exeext &&
25108 $as_test_x conftest$ac_exeext; then
25109 ac_cv_sys_largefile_source=1; break
25111 echo "$as_me: failed program was:" >&5
25112 sed 's/^/| /' conftest.$ac_ext >&5
25117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25118 conftest$ac_exeext conftest.$ac_ext
25119 ac_cv_sys_largefile_source=unknown
25123 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25124 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25125 case $ac_cv_sys_largefile_source in #(
25128 cat >>confdefs.h <<_ACEOF
25129 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25135 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25136 # in glibc 2.1.3, but that breaks too many other things.
25137 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25138 if test $ac_cv_sys_largefile_source != unknown; then
25140 cat >>confdefs.h <<\_ACEOF
25141 #define HAVE_FSEEKO 1
25146 CPPFLAGS="$old_CPPFLAGS"
25148 ac_cpp='$CPP $CPPFLAGS'
25149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25153 if test "$ac_cv_sys_largefile_source" != no; then
25154 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25157 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25158 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25159 if test "${ac_cv_c_bigendian+set}" = set; then
25160 echo $ECHO_N "(cached) $ECHO_C" >&6
25162 ac_cv_c_bigendian=unknown
25163 # See if sys/param.h defines the BYTE_ORDER macro.
25164 cat >conftest.$ac_ext <<_ACEOF
25167 cat confdefs.h >>conftest.$ac_ext
25168 cat >>conftest.$ac_ext <<_ACEOF
25169 /* end confdefs.h. */
25170 #include <sys/types.h>
25171 #include <sys/param.h>
25176 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25177 bogus endian macros
25183 rm -f conftest.$ac_objext
25184 if { (ac_try="$ac_compile"
25185 case "(($ac_try" in
25186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25187 *) ac_try_echo=$ac_try;;
25189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25190 (eval "$ac_compile") 2>conftest.er1
25192 grep -v '^ *+' conftest.er1 >conftest.err
25194 cat conftest.err >&5
25195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25196 (exit $ac_status); } && {
25197 test -z "$ac_c_werror_flag" ||
25198 test ! -s conftest.err
25199 } && test -s conftest.$ac_objext; then
25200 # It does; now see whether it defined to BIG_ENDIAN or not.
25201 cat >conftest.$ac_ext <<_ACEOF
25204 cat confdefs.h >>conftest.$ac_ext
25205 cat >>conftest.$ac_ext <<_ACEOF
25206 /* end confdefs.h. */
25207 #include <sys/types.h>
25208 #include <sys/param.h>
25213 #if BYTE_ORDER != BIG_ENDIAN
25220 rm -f conftest.$ac_objext
25221 if { (ac_try="$ac_compile"
25222 case "(($ac_try" in
25223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25224 *) ac_try_echo=$ac_try;;
25226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25227 (eval "$ac_compile") 2>conftest.er1
25229 grep -v '^ *+' conftest.er1 >conftest.err
25231 cat conftest.err >&5
25232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25233 (exit $ac_status); } && {
25234 test -z "$ac_c_werror_flag" ||
25235 test ! -s conftest.err
25236 } && test -s conftest.$ac_objext; then
25237 ac_cv_c_bigendian=yes
25239 echo "$as_me: failed program was:" >&5
25240 sed 's/^/| /' conftest.$ac_ext >&5
25242 ac_cv_c_bigendian=no
25245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25247 echo "$as_me: failed program was:" >&5
25248 sed 's/^/| /' conftest.$ac_ext >&5
25253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25254 if test $ac_cv_c_bigendian = unknown; then
25255 if test "$cross_compiling" = yes; then
25256 ac_cv_c_bigendian=unknown
25258 cat >conftest.$ac_ext <<_ACEOF
25261 cat confdefs.h >>conftest.$ac_ext
25262 cat >>conftest.$ac_ext <<_ACEOF
25263 /* end confdefs.h. */
25265 /* Are we little or big endian? From Harbison&Steele. */
25269 char c[sizeof (long)];
25272 exit (u.c[sizeof (long) - 1] == 1);
25275 rm -f conftest$ac_exeext
25276 if { (ac_try="$ac_link"
25277 case "(($ac_try" in
25278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25279 *) ac_try_echo=$ac_try;;
25281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25282 (eval "$ac_link") 2>&5
25284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25285 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25286 { (case "(($ac_try" in
25287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25288 *) ac_try_echo=$ac_try;;
25290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25291 (eval "$ac_try") 2>&5
25293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25294 (exit $ac_status); }; }; then
25295 ac_cv_c_bigendian=no
25297 echo "$as_me: program exited with status $ac_status" >&5
25298 echo "$as_me: failed program was:" >&5
25299 sed 's/^/| /' conftest.$ac_ext >&5
25301 ( exit $ac_status )
25302 ac_cv_c_bigendian=yes
25304 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25310 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25311 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25312 if test $ac_cv_c_bigendian = unknown; then
25313 { 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
25314 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;}
25316 if test $ac_cv_c_bigendian = yes; then
25317 cat >>confdefs.h <<\_ACEOF
25318 #define WORDS_BIGENDIAN 1
25327 ac_cpp='$CXXCPP $CPPFLAGS'
25328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25334 for ac_header in iostream
25336 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25337 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25339 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25340 echo $ECHO_N "(cached) $ECHO_C" >&6
25342 cat >conftest.$ac_ext <<_ACEOF
25345 cat confdefs.h >>conftest.$ac_ext
25346 cat >>conftest.$ac_ext <<_ACEOF
25347 /* end confdefs.h. */
25350 #include <$ac_header>
25352 rm -f conftest.$ac_objext
25353 if { (ac_try="$ac_compile"
25354 case "(($ac_try" in
25355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25356 *) ac_try_echo=$ac_try;;
25358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25359 (eval "$ac_compile") 2>conftest.er1
25361 grep -v '^ *+' conftest.er1 >conftest.err
25363 cat conftest.err >&5
25364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25365 (exit $ac_status); } && {
25366 test -z "$ac_cxx_werror_flag" ||
25367 test ! -s conftest.err
25368 } && test -s conftest.$ac_objext; then
25369 eval "$as_ac_Header=yes"
25371 echo "$as_me: failed program was:" >&5
25372 sed 's/^/| /' conftest.$ac_ext >&5
25374 eval "$as_ac_Header=no"
25377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25379 ac_res=`eval echo '${'$as_ac_Header'}'`
25380 { echo "$as_me:$LINENO: result: $ac_res" >&5
25381 echo "${ECHO_T}$ac_res" >&6; }
25382 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25383 cat >>confdefs.h <<_ACEOF
25384 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25392 if test "$ac_cv_header_iostream" = "yes" ; then
25395 cat >>confdefs.h <<\_ACEOF
25396 #define wxUSE_IOSTREAMH 1
25402 ac_cpp='$CPP $CPPFLAGS'
25403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25410 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25411 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25412 if test "${wx_cv_explicit+set}" = set; then
25413 echo $ECHO_N "(cached) $ECHO_C" >&6
25418 ac_cpp='$CXXCPP $CPPFLAGS'
25419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25424 cat >conftest.$ac_ext <<_ACEOF
25427 cat confdefs.h >>conftest.$ac_ext
25428 cat >>conftest.$ac_ext <<_ACEOF
25429 /* end confdefs.h. */
25431 class Foo { public: explicit Foo(int) {} };
25443 rm -f conftest.$ac_objext
25444 if { (ac_try="$ac_compile"
25445 case "(($ac_try" in
25446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25447 *) ac_try_echo=$ac_try;;
25449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25450 (eval "$ac_compile") 2>conftest.er1
25452 grep -v '^ *+' conftest.er1 >conftest.err
25454 cat conftest.err >&5
25455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25456 (exit $ac_status); } && {
25457 test -z "$ac_cxx_werror_flag" ||
25458 test ! -s conftest.err
25459 } && test -s conftest.$ac_objext; then
25461 cat >conftest.$ac_ext <<_ACEOF
25464 cat confdefs.h >>conftest.$ac_ext
25465 cat >>conftest.$ac_ext <<_ACEOF
25466 /* end confdefs.h. */
25468 class Foo { public: explicit Foo(int) {} };
25469 static void TakeFoo(const Foo& foo) { }
25482 rm -f conftest.$ac_objext
25483 if { (ac_try="$ac_compile"
25484 case "(($ac_try" in
25485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25486 *) ac_try_echo=$ac_try;;
25488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25489 (eval "$ac_compile") 2>conftest.er1
25491 grep -v '^ *+' conftest.er1 >conftest.err
25493 cat conftest.err >&5
25494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25495 (exit $ac_status); } && {
25496 test -z "$ac_cxx_werror_flag" ||
25497 test ! -s conftest.err
25498 } && test -s conftest.$ac_objext; then
25501 echo "$as_me: failed program was:" >&5
25502 sed 's/^/| /' conftest.$ac_ext >&5
25508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25511 echo "$as_me: failed program was:" >&5
25512 sed 's/^/| /' conftest.$ac_ext >&5
25518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25521 ac_cpp='$CPP $CPPFLAGS'
25522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25528 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25529 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25531 if test "$wx_cv_explicit" = "yes"; then
25532 cat >>confdefs.h <<\_ACEOF
25533 #define HAVE_EXPLICIT 1
25539 if test "x$SUNCXX" = xyes; then
25540 CXXFLAGS="-features=tmplife $CXXFLAGS"
25543 if test "x$SUNCC" = xyes; then
25544 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25547 if test "x$SGICC" = "xyes"; then
25548 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25549 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25550 if test "${wx_cv_prog_sgicc744+set}" = set; then
25551 echo $ECHO_N "(cached) $ECHO_C" >&6
25554 cat >conftest.$ac_ext <<_ACEOF
25557 cat confdefs.h >>conftest.$ac_ext
25558 cat >>conftest.$ac_ext <<_ACEOF
25559 /* end confdefs.h. */
25565 #if _SGI_COMPILER_VERSION >= 744
25566 chock me: mipsPro is 7.4.4 or later
25573 rm -f conftest.$ac_objext
25574 if { (ac_try="$ac_compile"
25575 case "(($ac_try" in
25576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25577 *) ac_try_echo=$ac_try;;
25579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25580 (eval "$ac_compile") 2>conftest.er1
25582 grep -v '^ *+' conftest.er1 >conftest.err
25584 cat conftest.err >&5
25585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25586 (exit $ac_status); } && {
25587 test -z "$ac_c_werror_flag" ||
25588 test ! -s conftest.err
25589 } && test -s conftest.$ac_objext; then
25590 wx_cv_prog_sgicc744=no
25592 echo "$as_me: failed program was:" >&5
25593 sed 's/^/| /' conftest.$ac_ext >&5
25595 wx_cv_prog_sgicc744=yes
25599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25603 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25604 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25606 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25607 CFLAGS="-woff 3970 $CFLAGS"
25610 if test "x$SGICXX" = "xyes"; then
25611 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25612 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25613 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25614 echo $ECHO_N "(cached) $ECHO_C" >&6
25618 ac_cpp='$CXXCPP $CPPFLAGS'
25619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25623 cat >conftest.$ac_ext <<_ACEOF
25626 cat confdefs.h >>conftest.$ac_ext
25627 cat >>conftest.$ac_ext <<_ACEOF
25628 /* end confdefs.h. */
25634 #if _SGI_COMPILER_VERSION >= 744
25635 chock me: mipsPro is 7.4.4 or later
25642 rm -f conftest.$ac_objext
25643 if { (ac_try="$ac_compile"
25644 case "(($ac_try" in
25645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25646 *) ac_try_echo=$ac_try;;
25648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25649 (eval "$ac_compile") 2>conftest.er1
25651 grep -v '^ *+' conftest.er1 >conftest.err
25653 cat conftest.err >&5
25654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25655 (exit $ac_status); } && {
25656 test -z "$ac_cxx_werror_flag" ||
25657 test ! -s conftest.err
25658 } && test -s conftest.$ac_objext; then
25659 wx_cv_prog_sgicxx744=no
25661 echo "$as_me: failed program was:" >&5
25662 sed 's/^/| /' conftest.$ac_ext >&5
25664 wx_cv_prog_sgicxx744=yes
25668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25670 ac_cpp='$CPP $CPPFLAGS'
25671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25678 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25679 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25681 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25682 CXXFLAGS="-woff 3970 $CXXFLAGS"
25686 if test "x$HPCC" = "xyes"; then
25687 CFLAGS="+W 2011,2450 $CFLAGS"
25689 if test "x$HPCXX" = "xyes"; then
25690 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25693 if test "x$COMPAQCXX" = "xyes"; then
25694 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25698 ac_cpp='$CXXCPP $CPPFLAGS'
25699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25704 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25705 if test "$wxUSE_UNICODE" = "yes"; then
25706 std_string="std::wstring"
25707 char_type="wchar_t"
25709 std_string="std::string"
25713 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25714 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25715 if test "${wx_cv_class_stdstring+set}" = set; then
25716 echo $ECHO_N "(cached) $ECHO_C" >&6
25719 cat >conftest.$ac_ext <<_ACEOF
25722 cat confdefs.h >>conftest.$ac_ext
25723 cat >>conftest.$ac_ext <<_ACEOF
25724 /* end confdefs.h. */
25734 rm -f conftest.$ac_objext
25735 if { (ac_try="$ac_compile"
25736 case "(($ac_try" in
25737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25738 *) ac_try_echo=$ac_try;;
25740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25741 (eval "$ac_compile") 2>conftest.er1
25743 grep -v '^ *+' conftest.er1 >conftest.err
25745 cat conftest.err >&5
25746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25747 (exit $ac_status); } && {
25748 test -z "$ac_cxx_werror_flag" ||
25749 test ! -s conftest.err
25750 } && test -s conftest.$ac_objext; then
25751 wx_cv_class_stdstring=yes
25753 echo "$as_me: failed program was:" >&5
25754 sed 's/^/| /' conftest.$ac_ext >&5
25756 wx_cv_class_stdstring=no
25760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25764 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25765 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25767 if test "$wx_cv_class_stdstring" = yes; then
25768 if test "$wxUSE_UNICODE" = "yes"; then
25769 cat >>confdefs.h <<\_ACEOF
25770 #define HAVE_STD_WSTRING 1
25775 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25776 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25777 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25778 echo $ECHO_N "(cached) $ECHO_C" >&6
25781 cat >conftest.$ac_ext <<_ACEOF
25784 cat confdefs.h >>conftest.$ac_ext
25785 cat >>conftest.$ac_ext <<_ACEOF
25786 /* end confdefs.h. */
25788 #ifdef HAVE_WCHAR_H
25790 # include <stddef.h>
25792 # include <wchar.h>
25794 #ifdef HAVE_STDLIB_H
25795 # include <stdlib.h>
25803 std::basic_string<$char_type> foo;
25804 const $char_type* dummy = foo.c_str();
25809 rm -f conftest.$ac_objext
25810 if { (ac_try="$ac_compile"
25811 case "(($ac_try" in
25812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25813 *) ac_try_echo=$ac_try;;
25815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25816 (eval "$ac_compile") 2>conftest.er1
25818 grep -v '^ *+' conftest.er1 >conftest.err
25820 cat conftest.err >&5
25821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25822 (exit $ac_status); } && {
25823 test -z "$ac_cxx_werror_flag" ||
25824 test ! -s conftest.err
25825 } && test -s conftest.$ac_objext; then
25826 wx_cv_class_stdbasicstring=yes
25828 echo "$as_me: failed program was:" >&5
25829 sed 's/^/| /' conftest.$ac_ext >&5
25831 wx_cv_class_stdbasicstring=no
25835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25839 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25840 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25842 if test "$wx_cv_class_stdbasicstring" != yes; then
25843 if test "$wxUSE_STL" = "yes"; then
25844 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25845 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25846 { (exit 1); exit 1; }; }
25847 elif test "$wxUSE_STD_STRING" = "yes"; then
25848 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25849 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25850 { (exit 1); exit 1; }; }
25852 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25853 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25854 wxUSE_STD_STRING=no
25860 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25861 { echo "$as_me:$LINENO: checking for std::istream" >&5
25862 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25863 if test "${ac_cv_type_std__istream+set}" = set; then
25864 echo $ECHO_N "(cached) $ECHO_C" >&6
25866 cat >conftest.$ac_ext <<_ACEOF
25869 cat confdefs.h >>conftest.$ac_ext
25870 cat >>conftest.$ac_ext <<_ACEOF
25871 /* end confdefs.h. */
25872 #include <iostream>
25874 typedef std::istream ac__type_new_;
25878 if ((ac__type_new_ *) 0)
25880 if (sizeof (ac__type_new_))
25886 rm -f conftest.$ac_objext
25887 if { (ac_try="$ac_compile"
25888 case "(($ac_try" in
25889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25890 *) ac_try_echo=$ac_try;;
25892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25893 (eval "$ac_compile") 2>conftest.er1
25895 grep -v '^ *+' conftest.er1 >conftest.err
25897 cat conftest.err >&5
25898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25899 (exit $ac_status); } && {
25900 test -z "$ac_cxx_werror_flag" ||
25901 test ! -s conftest.err
25902 } && test -s conftest.$ac_objext; then
25903 ac_cv_type_std__istream=yes
25905 echo "$as_me: failed program was:" >&5
25906 sed 's/^/| /' conftest.$ac_ext >&5
25908 ac_cv_type_std__istream=no
25911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25913 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25914 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25915 if test $ac_cv_type_std__istream = yes; then
25917 cat >>confdefs.h <<_ACEOF
25918 #define HAVE_STD__ISTREAM 1
25923 wxUSE_STD_IOSTREAM=no
25925 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25926 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25927 if test "${ac_cv_type_std__ostream+set}" = set; then
25928 echo $ECHO_N "(cached) $ECHO_C" >&6
25930 cat >conftest.$ac_ext <<_ACEOF
25933 cat confdefs.h >>conftest.$ac_ext
25934 cat >>conftest.$ac_ext <<_ACEOF
25935 /* end confdefs.h. */
25936 #include <iostream>
25938 typedef std::ostream ac__type_new_;
25942 if ((ac__type_new_ *) 0)
25944 if (sizeof (ac__type_new_))
25950 rm -f conftest.$ac_objext
25951 if { (ac_try="$ac_compile"
25952 case "(($ac_try" in
25953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25954 *) ac_try_echo=$ac_try;;
25956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25957 (eval "$ac_compile") 2>conftest.er1
25959 grep -v '^ *+' conftest.er1 >conftest.err
25961 cat conftest.err >&5
25962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25963 (exit $ac_status); } && {
25964 test -z "$ac_cxx_werror_flag" ||
25965 test ! -s conftest.err
25966 } && test -s conftest.$ac_objext; then
25967 ac_cv_type_std__ostream=yes
25969 echo "$as_me: failed program was:" >&5
25970 sed 's/^/| /' conftest.$ac_ext >&5
25972 ac_cv_type_std__ostream=no
25975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25977 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25978 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25979 if test $ac_cv_type_std__ostream = yes; then
25981 cat >>confdefs.h <<_ACEOF
25982 #define HAVE_STD__OSTREAM 1
25987 wxUSE_STD_IOSTREAM=no
25991 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25992 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25993 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25994 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25995 { (exit 1); exit 1; }; }
25997 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25998 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26003 if test "$wxUSE_STL" = "yes"; then
26004 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26005 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26006 if test "${wx_cv_lib_stl+set}" = set; then
26007 echo $ECHO_N "(cached) $ECHO_C" >&6
26009 cat >conftest.$ac_ext <<_ACEOF
26012 cat confdefs.h >>conftest.$ac_ext
26013 cat >>conftest.$ac_ext <<_ACEOF
26014 /* end confdefs.h. */
26016 #include <functional>
26017 #include <algorithm>
26023 std::vector<int> moo;
26024 std::list<int> foo;
26025 std::vector<int>::iterator it =
26026 std::find_if(moo.begin(), moo.end(),
26027 std::bind2nd(std::less<int>(), 3));
26032 rm -f conftest.$ac_objext
26033 if { (ac_try="$ac_compile"
26034 case "(($ac_try" in
26035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26036 *) ac_try_echo=$ac_try;;
26038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26039 (eval "$ac_compile") 2>conftest.er1
26041 grep -v '^ *+' conftest.er1 >conftest.err
26043 cat conftest.err >&5
26044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26045 (exit $ac_status); } && {
26046 test -z "$ac_cxx_werror_flag" ||
26047 test ! -s conftest.err
26048 } && test -s conftest.$ac_objext; then
26051 echo "$as_me: failed program was:" >&5
26052 sed 's/^/| /' conftest.$ac_ext >&5
26058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26061 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26062 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26064 if test "$wx_cv_lib_stl" != yes; then
26065 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
26066 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
26067 { (exit 1); exit 1; }; }
26070 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26071 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26072 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26073 echo $ECHO_N "(cached) $ECHO_C" >&6
26075 cat >conftest.$ac_ext <<_ACEOF
26078 cat confdefs.h >>conftest.$ac_ext
26079 cat >>conftest.$ac_ext <<_ACEOF
26080 /* end confdefs.h. */
26085 std::string foo, bar;
26087 foo.compare(1, 1, bar);
26088 foo.compare(1, 1, bar, 1, 1);
26090 foo.compare(1, 1, "");
26091 foo.compare(1, 1, "", 2);
26096 rm -f conftest.$ac_objext
26097 if { (ac_try="$ac_compile"
26098 case "(($ac_try" in
26099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26100 *) ac_try_echo=$ac_try;;
26102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26103 (eval "$ac_compile") 2>conftest.er1
26105 grep -v '^ *+' conftest.er1 >conftest.err
26107 cat conftest.err >&5
26108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26109 (exit $ac_status); } && {
26110 test -z "$ac_cxx_werror_flag" ||
26111 test ! -s conftest.err
26112 } && test -s conftest.$ac_objext; then
26113 wx_cv_func_stdstring_compare=yes
26115 echo "$as_me: failed program was:" >&5
26116 sed 's/^/| /' conftest.$ac_ext >&5
26118 wx_cv_func_stdstring_compare=no
26122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26125 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26126 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26128 if test "$wx_cv_func_stdstring_compare" = yes; then
26129 cat >>confdefs.h <<\_ACEOF
26130 #define HAVE_STD_STRING_COMPARE 1
26135 if test "$wx_cv_class_gnuhashmapset" = yes; then
26136 cat >>confdefs.h <<\_ACEOF
26137 #define HAVE_EXT_HASH_MAP 1
26140 cat >>confdefs.h <<\_ACEOF
26141 #define HAVE_GNU_CXX_HASH_MAP 1
26146 { echo "$as_me:$LINENO: checking for unordered_map" >&5
26147 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
26148 if test "${ac_cv_header_unordered_map+set}" = set; then
26149 echo $ECHO_N "(cached) $ECHO_C" >&6
26151 cat >conftest.$ac_ext <<_ACEOF
26154 cat confdefs.h >>conftest.$ac_ext
26155 cat >>conftest.$ac_ext <<_ACEOF
26156 /* end confdefs.h. */
26160 #include <unordered_map>
26162 rm -f conftest.$ac_objext
26163 if { (ac_try="$ac_compile"
26164 case "(($ac_try" in
26165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26166 *) ac_try_echo=$ac_try;;
26168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26169 (eval "$ac_compile") 2>conftest.er1
26171 grep -v '^ *+' conftest.er1 >conftest.err
26173 cat conftest.err >&5
26174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26175 (exit $ac_status); } && {
26176 test -z "$ac_cxx_werror_flag" ||
26177 test ! -s conftest.err
26178 } && test -s conftest.$ac_objext; then
26179 ac_cv_header_unordered_map=yes
26181 echo "$as_me: failed program was:" >&5
26182 sed 's/^/| /' conftest.$ac_ext >&5
26184 ac_cv_header_unordered_map=no
26187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26189 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
26190 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
26191 if test $ac_cv_header_unordered_map = yes; then
26192 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
26193 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
26194 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
26195 echo $ECHO_N "(cached) $ECHO_C" >&6
26197 cat >conftest.$ac_ext <<_ACEOF
26200 cat confdefs.h >>conftest.$ac_ext
26201 cat >>conftest.$ac_ext <<_ACEOF
26202 /* end confdefs.h. */
26203 #include <unordered_map>
26204 #include <unordered_set>
26208 std::unordered_map<double*, char*> test1;
26209 std::unordered_set<char*> test2;
26214 rm -f conftest.$ac_objext
26215 if { (ac_try="$ac_compile"
26216 case "(($ac_try" in
26217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26218 *) ac_try_echo=$ac_try;;
26220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26221 (eval "$ac_compile") 2>conftest.er1
26223 grep -v '^ *+' conftest.er1 >conftest.err
26225 cat conftest.err >&5
26226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26227 (exit $ac_status); } && {
26228 test -z "$ac_cxx_werror_flag" ||
26229 test ! -s conftest.err
26230 } && test -s conftest.$ac_objext; then
26231 wx_cv_class_stdunorderedmapset=yes
26233 echo "$as_me: failed program was:" >&5
26234 sed 's/^/| /' conftest.$ac_ext >&5
26236 wx_cv_class_stdunorderedmapset=no
26239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26243 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
26244 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
26249 if test "$wx_cv_class_stdunorderedmapset" = yes; then
26250 cat >>confdefs.h <<\_ACEOF
26251 #define HAVE_STD_UNORDERED_MAP 1
26254 cat >>confdefs.h <<\_ACEOF
26255 #define HAVE_STD_UNORDERED_SET 1
26259 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
26260 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
26261 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
26262 echo $ECHO_N "(cached) $ECHO_C" >&6
26264 cat >conftest.$ac_ext <<_ACEOF
26267 cat confdefs.h >>conftest.$ac_ext
26268 cat >>conftest.$ac_ext <<_ACEOF
26269 /* end confdefs.h. */
26273 #include <tr1/unordered_map>
26275 rm -f conftest.$ac_objext
26276 if { (ac_try="$ac_compile"
26277 case "(($ac_try" in
26278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26279 *) ac_try_echo=$ac_try;;
26281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26282 (eval "$ac_compile") 2>conftest.er1
26284 grep -v '^ *+' conftest.er1 >conftest.err
26286 cat conftest.err >&5
26287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26288 (exit $ac_status); } && {
26289 test -z "$ac_cxx_werror_flag" ||
26290 test ! -s conftest.err
26291 } && test -s conftest.$ac_objext; then
26292 ac_cv_header_tr1_unordered_map=yes
26294 echo "$as_me: failed program was:" >&5
26295 sed 's/^/| /' conftest.$ac_ext >&5
26297 ac_cv_header_tr1_unordered_map=no
26300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26302 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
26303 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
26304 if test $ac_cv_header_tr1_unordered_map = yes; then
26305 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
26306 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
26307 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
26308 echo $ECHO_N "(cached) $ECHO_C" >&6
26310 cat >conftest.$ac_ext <<_ACEOF
26313 cat confdefs.h >>conftest.$ac_ext
26314 cat >>conftest.$ac_ext <<_ACEOF
26315 /* end confdefs.h. */
26316 #include <tr1/unordered_map>
26317 #include <tr1/unordered_set>
26321 std::tr1::unordered_map<double*, char*> test1;
26322 std::tr1::unordered_set<char*> test2;
26323 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
26324 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
26330 rm -f conftest.$ac_objext
26331 if { (ac_try="$ac_compile"
26332 case "(($ac_try" in
26333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26334 *) ac_try_echo=$ac_try;;
26336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26337 (eval "$ac_compile") 2>conftest.er1
26339 grep -v '^ *+' conftest.er1 >conftest.err
26341 cat conftest.err >&5
26342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26343 (exit $ac_status); } && {
26344 test -z "$ac_cxx_werror_flag" ||
26345 test ! -s conftest.err
26346 } && test -s conftest.$ac_objext; then
26347 wx_cv_class_tr1unorderedmapset=yes
26349 echo "$as_me: failed program was:" >&5
26350 sed 's/^/| /' conftest.$ac_ext >&5
26352 wx_cv_class_tr1unorderedmapset=no
26355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26359 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26360 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26365 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26366 cat >>confdefs.h <<\_ACEOF
26367 #define HAVE_TR1_UNORDERED_MAP 1
26370 cat >>confdefs.h <<\_ACEOF
26371 #define HAVE_TR1_UNORDERED_SET 1
26375 { echo "$as_me:$LINENO: checking for hash_map" >&5
26376 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26377 if test "${ac_cv_header_hash_map+set}" = set; then
26378 echo $ECHO_N "(cached) $ECHO_C" >&6
26380 cat >conftest.$ac_ext <<_ACEOF
26383 cat confdefs.h >>conftest.$ac_ext
26384 cat >>conftest.$ac_ext <<_ACEOF
26385 /* end confdefs.h. */
26389 #include <hash_map>
26391 rm -f conftest.$ac_objext
26392 if { (ac_try="$ac_compile"
26393 case "(($ac_try" in
26394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26395 *) ac_try_echo=$ac_try;;
26397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26398 (eval "$ac_compile") 2>conftest.er1
26400 grep -v '^ *+' conftest.er1 >conftest.err
26402 cat conftest.err >&5
26403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26404 (exit $ac_status); } && {
26405 test -z "$ac_cxx_werror_flag" ||
26406 test ! -s conftest.err
26407 } && test -s conftest.$ac_objext; then
26408 ac_cv_header_hash_map=yes
26410 echo "$as_me: failed program was:" >&5
26411 sed 's/^/| /' conftest.$ac_ext >&5
26413 ac_cv_header_hash_map=no
26416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26418 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26419 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26420 if test $ac_cv_header_hash_map = yes; then
26421 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26422 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26423 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26424 echo $ECHO_N "(cached) $ECHO_C" >&6
26426 cat >conftest.$ac_ext <<_ACEOF
26429 cat confdefs.h >>conftest.$ac_ext
26430 cat >>conftest.$ac_ext <<_ACEOF
26431 /* end confdefs.h. */
26432 #include <hash_map>
26433 #include <hash_set>
26437 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26438 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26443 rm -f conftest.$ac_objext
26444 if { (ac_try="$ac_compile"
26445 case "(($ac_try" in
26446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26447 *) ac_try_echo=$ac_try;;
26449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26450 (eval "$ac_compile") 2>conftest.er1
26452 grep -v '^ *+' conftest.er1 >conftest.err
26454 cat conftest.err >&5
26455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26456 (exit $ac_status); } && {
26457 test -z "$ac_cxx_werror_flag" ||
26458 test ! -s conftest.err
26459 } && test -s conftest.$ac_objext; then
26460 wx_cv_class_stdhashmapset=yes
26462 echo "$as_me: failed program was:" >&5
26463 sed 's/^/| /' conftest.$ac_ext >&5
26465 wx_cv_class_stdhashmapset=no
26468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26472 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26473 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26478 if test "$wx_cv_class_stdhashmapset" = yes; then
26479 cat >>confdefs.h <<\_ACEOF
26480 #define HAVE_HASH_MAP 1
26483 cat >>confdefs.h <<\_ACEOF
26484 #define HAVE_STD_HASH_MAP 1
26489 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26490 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26491 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26492 echo $ECHO_N "(cached) $ECHO_C" >&6
26494 cat >conftest.$ac_ext <<_ACEOF
26497 cat confdefs.h >>conftest.$ac_ext
26498 cat >>conftest.$ac_ext <<_ACEOF
26499 /* end confdefs.h. */
26503 #include <ext/hash_map>
26505 rm -f conftest.$ac_objext
26506 if { (ac_try="$ac_compile"
26507 case "(($ac_try" in
26508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26509 *) ac_try_echo=$ac_try;;
26511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26512 (eval "$ac_compile") 2>conftest.er1
26514 grep -v '^ *+' conftest.er1 >conftest.err
26516 cat conftest.err >&5
26517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26518 (exit $ac_status); } && {
26519 test -z "$ac_cxx_werror_flag" ||
26520 test ! -s conftest.err
26521 } && test -s conftest.$ac_objext; then
26522 ac_cv_header_ext_hash_map=yes
26524 echo "$as_me: failed program was:" >&5
26525 sed 's/^/| /' conftest.$ac_ext >&5
26527 ac_cv_header_ext_hash_map=no
26530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26532 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26533 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26534 if test $ac_cv_header_ext_hash_map = yes; then
26535 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26536 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26537 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26538 echo $ECHO_N "(cached) $ECHO_C" >&6
26540 cat >conftest.$ac_ext <<_ACEOF
26543 cat confdefs.h >>conftest.$ac_ext
26544 cat >>conftest.$ac_ext <<_ACEOF
26545 /* end confdefs.h. */
26546 #include <ext/hash_map>
26547 #include <ext/hash_set>
26551 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26552 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26557 rm -f conftest.$ac_objext
26558 if { (ac_try="$ac_compile"
26559 case "(($ac_try" in
26560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26561 *) ac_try_echo=$ac_try;;
26563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26564 (eval "$ac_compile") 2>conftest.er1
26566 grep -v '^ *+' conftest.er1 >conftest.err
26568 cat conftest.err >&5
26569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26570 (exit $ac_status); } && {
26571 test -z "$ac_cxx_werror_flag" ||
26572 test ! -s conftest.err
26573 } && test -s conftest.$ac_objext; then
26574 wx_cv_class_gnuhashmapset=yes
26576 echo "$as_me: failed program was:" >&5
26577 sed 's/^/| /' conftest.$ac_ext >&5
26579 wx_cv_class_gnuhashmapset=no
26582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26586 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26587 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26597 ac_cpp='$CXXCPP $CPPFLAGS'
26598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26601 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26602 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26603 if test -z "$CXXCPP"; then
26604 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26605 echo $ECHO_N "(cached) $ECHO_C" >&6
26607 # Double quotes because CXXCPP needs to be expanded
26608 for CXXCPP in "$CXX -E" "/lib/cpp"
26610 ac_preproc_ok=false
26611 for ac_cxx_preproc_warn_flag in '' yes
26613 # Use a header file that comes with gcc, so configuring glibc
26614 # with a fresh cross-compiler works.
26615 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26616 # <limits.h> exists even on freestanding compilers.
26617 # On the NeXT, cc -E runs the code through the compiler's parser,
26618 # not just through cpp. "Syntax error" is here to catch this case.
26619 cat >conftest.$ac_ext <<_ACEOF
26622 cat confdefs.h >>conftest.$ac_ext
26623 cat >>conftest.$ac_ext <<_ACEOF
26624 /* end confdefs.h. */
26626 # include <limits.h>
26628 # include <assert.h>
26632 if { (ac_try="$ac_cpp conftest.$ac_ext"
26633 case "(($ac_try" in
26634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26635 *) ac_try_echo=$ac_try;;
26637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26638 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26640 grep -v '^ *+' conftest.er1 >conftest.err
26642 cat conftest.err >&5
26643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26644 (exit $ac_status); } >/dev/null && {
26645 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26646 test ! -s conftest.err
26650 echo "$as_me: failed program was:" >&5
26651 sed 's/^/| /' conftest.$ac_ext >&5
26653 # Broken: fails on valid input.
26657 rm -f conftest.err conftest.$ac_ext
26659 # OK, works on sane cases. Now check whether nonexistent headers
26660 # can be detected and how.
26661 cat >conftest.$ac_ext <<_ACEOF
26664 cat confdefs.h >>conftest.$ac_ext
26665 cat >>conftest.$ac_ext <<_ACEOF
26666 /* end confdefs.h. */
26667 #include <ac_nonexistent.h>
26669 if { (ac_try="$ac_cpp conftest.$ac_ext"
26670 case "(($ac_try" in
26671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26672 *) ac_try_echo=$ac_try;;
26674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26675 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26677 grep -v '^ *+' conftest.er1 >conftest.err
26679 cat conftest.err >&5
26680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26681 (exit $ac_status); } >/dev/null && {
26682 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26683 test ! -s conftest.err
26685 # Broken: success on invalid input.
26688 echo "$as_me: failed program was:" >&5
26689 sed 's/^/| /' conftest.$ac_ext >&5
26691 # Passes both tests.
26696 rm -f conftest.err conftest.$ac_ext
26699 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26700 rm -f conftest.err conftest.$ac_ext
26701 if $ac_preproc_ok; then
26706 ac_cv_prog_CXXCPP=$CXXCPP
26709 CXXCPP=$ac_cv_prog_CXXCPP
26711 ac_cv_prog_CXXCPP=$CXXCPP
26713 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26714 echo "${ECHO_T}$CXXCPP" >&6; }
26715 ac_preproc_ok=false
26716 for ac_cxx_preproc_warn_flag in '' yes
26718 # Use a header file that comes with gcc, so configuring glibc
26719 # with a fresh cross-compiler works.
26720 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26721 # <limits.h> exists even on freestanding compilers.
26722 # On the NeXT, cc -E runs the code through the compiler's parser,
26723 # not just through cpp. "Syntax error" is here to catch this case.
26724 cat >conftest.$ac_ext <<_ACEOF
26727 cat confdefs.h >>conftest.$ac_ext
26728 cat >>conftest.$ac_ext <<_ACEOF
26729 /* end confdefs.h. */
26731 # include <limits.h>
26733 # include <assert.h>
26737 if { (ac_try="$ac_cpp conftest.$ac_ext"
26738 case "(($ac_try" in
26739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26740 *) ac_try_echo=$ac_try;;
26742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26743 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26745 grep -v '^ *+' conftest.er1 >conftest.err
26747 cat conftest.err >&5
26748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26749 (exit $ac_status); } >/dev/null && {
26750 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26751 test ! -s conftest.err
26755 echo "$as_me: failed program was:" >&5
26756 sed 's/^/| /' conftest.$ac_ext >&5
26758 # Broken: fails on valid input.
26762 rm -f conftest.err conftest.$ac_ext
26764 # OK, works on sane cases. Now check whether nonexistent headers
26765 # can be detected and how.
26766 cat >conftest.$ac_ext <<_ACEOF
26769 cat confdefs.h >>conftest.$ac_ext
26770 cat >>conftest.$ac_ext <<_ACEOF
26771 /* end confdefs.h. */
26772 #include <ac_nonexistent.h>
26774 if { (ac_try="$ac_cpp conftest.$ac_ext"
26775 case "(($ac_try" in
26776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26777 *) ac_try_echo=$ac_try;;
26779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26780 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26782 grep -v '^ *+' conftest.er1 >conftest.err
26784 cat conftest.err >&5
26785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26786 (exit $ac_status); } >/dev/null && {
26787 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26788 test ! -s conftest.err
26790 # Broken: success on invalid input.
26793 echo "$as_me: failed program was:" >&5
26794 sed 's/^/| /' conftest.$ac_ext >&5
26796 # Passes both tests.
26801 rm -f conftest.err conftest.$ac_ext
26804 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26805 rm -f conftest.err conftest.$ac_ext
26806 if $ac_preproc_ok; then
26809 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26810 See \`config.log' for more details." >&5
26811 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26812 See \`config.log' for more details." >&2;}
26813 { (exit 1); exit 1; }; }
26817 ac_cpp='$CXXCPP $CPPFLAGS'
26818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26825 for ac_header in type_traits tr1/type_traits
26827 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26828 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26829 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26831 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26832 echo $ECHO_N "(cached) $ECHO_C" >&6
26834 ac_res=`eval echo '${'$as_ac_Header'}'`
26835 { echo "$as_me:$LINENO: result: $ac_res" >&5
26836 echo "${ECHO_T}$ac_res" >&6; }
26838 # Is the header compilable?
26839 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26840 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26841 cat >conftest.$ac_ext <<_ACEOF
26844 cat confdefs.h >>conftest.$ac_ext
26845 cat >>conftest.$ac_ext <<_ACEOF
26846 /* end confdefs.h. */
26847 $ac_includes_default
26848 #include <$ac_header>
26850 rm -f conftest.$ac_objext
26851 if { (ac_try="$ac_compile"
26852 case "(($ac_try" in
26853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26854 *) ac_try_echo=$ac_try;;
26856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26857 (eval "$ac_compile") 2>conftest.er1
26859 grep -v '^ *+' conftest.er1 >conftest.err
26861 cat conftest.err >&5
26862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26863 (exit $ac_status); } && {
26864 test -z "$ac_cxx_werror_flag" ||
26865 test ! -s conftest.err
26866 } && test -s conftest.$ac_objext; then
26867 ac_header_compiler=yes
26869 echo "$as_me: failed program was:" >&5
26870 sed 's/^/| /' conftest.$ac_ext >&5
26872 ac_header_compiler=no
26875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26876 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26877 echo "${ECHO_T}$ac_header_compiler" >&6; }
26879 # Is the header present?
26880 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26881 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26882 cat >conftest.$ac_ext <<_ACEOF
26885 cat confdefs.h >>conftest.$ac_ext
26886 cat >>conftest.$ac_ext <<_ACEOF
26887 /* end confdefs.h. */
26888 #include <$ac_header>
26890 if { (ac_try="$ac_cpp conftest.$ac_ext"
26891 case "(($ac_try" in
26892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26893 *) ac_try_echo=$ac_try;;
26895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26896 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26898 grep -v '^ *+' conftest.er1 >conftest.err
26900 cat conftest.err >&5
26901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26902 (exit $ac_status); } >/dev/null && {
26903 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26904 test ! -s conftest.err
26906 ac_header_preproc=yes
26908 echo "$as_me: failed program was:" >&5
26909 sed 's/^/| /' conftest.$ac_ext >&5
26911 ac_header_preproc=no
26914 rm -f conftest.err conftest.$ac_ext
26915 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26916 echo "${ECHO_T}$ac_header_preproc" >&6; }
26918 # So? What about this header?
26919 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26921 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26922 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26924 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26925 ac_header_preproc=yes
26928 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26929 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26930 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26931 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26932 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26933 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26934 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26935 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26936 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26937 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26938 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26939 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26941 ## ----------------------------------------- ##
26942 ## Report this to wx-dev@lists.wxwidgets.org ##
26943 ## ----------------------------------------- ##
26945 ) | sed "s/^/$as_me: WARNING: /" >&2
26948 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26949 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26950 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26951 echo $ECHO_N "(cached) $ECHO_C" >&6
26953 eval "$as_ac_Header=\$ac_header_preproc"
26955 ac_res=`eval echo '${'$as_ac_Header'}'`
26956 { echo "$as_me:$LINENO: result: $ac_res" >&5
26957 echo "${ECHO_T}$ac_res" >&6; }
26960 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26961 cat >>confdefs.h <<_ACEOF
26962 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26972 if test -n "$GCC"; then
26973 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26974 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26975 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26976 echo $ECHO_N "(cached) $ECHO_C" >&6
26979 cat >conftest.$ac_ext <<_ACEOF
26982 cat confdefs.h >>conftest.$ac_ext
26983 cat >>conftest.$ac_ext <<_ACEOF
26984 /* end confdefs.h. */
26990 unsigned int value=0;
26991 /* wxAtomicInc doesn't use return value here */
26992 __sync_fetch_and_add(&value, 2);
26993 __sync_sub_and_fetch(&value, 1);
26994 /* but wxAtomicDec does, so mimic that: */
26995 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
27001 rm -f conftest.$ac_objext conftest$ac_exeext
27002 if { (ac_try="$ac_link"
27003 case "(($ac_try" in
27004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27005 *) ac_try_echo=$ac_try;;
27007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27008 (eval "$ac_link") 2>conftest.er1
27010 grep -v '^ *+' conftest.er1 >conftest.err
27012 cat conftest.err >&5
27013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27014 (exit $ac_status); } && {
27015 test -z "$ac_cxx_werror_flag" ||
27016 test ! -s conftest.err
27017 } && test -s conftest$ac_exeext &&
27018 $as_test_x conftest$ac_exeext; then
27019 wx_cv_cc_gcc_atomic_builtins=yes
27021 echo "$as_me: failed program was:" >&5
27022 sed 's/^/| /' conftest.$ac_ext >&5
27024 wx_cv_cc_gcc_atomic_builtins=no
27027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27028 conftest$ac_exeext conftest.$ac_ext
27032 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27033 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27034 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27035 cat >>confdefs.h <<\_ACEOF
27036 #define HAVE_GCC_ATOMIC_BUILTINS 1
27044 ac_cpp='$CPP $CPPFLAGS'
27045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27052 /usr/local/include \
27053 /usr/local/X11/include \
27054 /usr/local/include/X11 \
27055 /usr/local/X11R7/include \
27056 /usr/local/X11R6/include \
27057 /usr/local/include/X11R7 \
27058 /usr/local/include/X11R6 \
27060 /usr/Motif-2.1/include \
27061 /usr/Motif-1.2/include \
27062 /usr/include/Motif1.2 \
27065 /usr/openwin/include \
27069 /usr/X11R7/include \
27070 /usr/X11R6/include \
27071 /usr/X11R6.4/include \
27073 /usr/include/X11R7 \
27074 /usr/include/X11R6 \
27079 /usr/XFree86/include/X11 \
27082 /usr/local/X1R5/include \
27083 /usr/local/include/X11R5 \
27084 /usr/X11R5/include \
27085 /usr/include/X11R5 \
27087 /usr/local/X11R4/include \
27088 /usr/local/include/X11R4 \
27089 /usr/X11R4/include \
27090 /usr/include/X11R4 \
27092 /usr/openwin/share/include"
27094 { echo "$as_me:$LINENO: checking for libraries directories" >&5
27095 echo $ECHO_N "checking for libraries directories... $ECHO_C" >&6; }
27099 if test "${wx_cv_std_libpath+set}" = set; then
27100 echo $ECHO_N "(cached) $ECHO_C" >&6
27103 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27104 for e in a so sl dylib dll.a; do
27106 if test -f $libc; then
27109 cat >conftest.$ac_ext <<_ACEOF
27110 int main() { return 0; }
27112 rm -f conftest.$ac_objext conftest$ac_exeext
27113 if { (ac_try="$ac_link"
27114 case "(($ac_try" in
27115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27116 *) ac_try_echo=$ac_try;;
27118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27119 (eval "$ac_link") 2>conftest.er1
27121 grep -v '^ *+' conftest.er1 >conftest.err
27123 cat conftest.err >&5
27124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27125 (exit $ac_status); } && {
27126 test -z "$ac_c_werror_flag" ||
27127 test ! -s conftest.err
27128 } && test -s conftest$ac_exeext &&
27129 $as_test_x conftest$ac_exeext; then
27130 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27132 echo "$as_me: failed program was:" >&5
27133 sed 's/^/| /' conftest.$ac_ext >&5
27138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27139 conftest$ac_exeext conftest.$ac_ext
27141 if test "x$wx_cv_std_libpath" != "x"; then
27154 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27155 wx_cv_std_libpath="lib/64"
27160 if test "$ac_cv_sizeof_void_p" = 8; then
27161 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
27162 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
27163 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27164 wx_cv_std_libpath="lib64"
27169 if test -d '/usr/lib/i386-linux-gnu'; then
27170 wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
27175 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
27176 wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
27181 if test -z "$wx_cv_std_libpath"; then
27182 wx_cv_std_libpath="lib"
27185 if test -z "$wx_cv_std_libfullpath"; then
27186 wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
27190 { echo "$as_me:$LINENO: result: $wx_cv_std_libfullpath" >&5
27191 echo "${ECHO_T}$wx_cv_std_libfullpath" >&6; }
27193 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
27195 if test "$build" != "$host" -a "$GCC" = yes; then
27196 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27197 cross_root=`dirname $cross_root`
27198 cross_root=`dirname $cross_root`
27200 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27201 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27202 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27204 if test -z "$PKG_CONFIG_PATH"; then
27205 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27206 export PKG_CONFIG_PATH
27209 if test -z "$x_includes" -o "$x_includes" = NONE; then
27212 for ac_dir in $SEARCH_INCLUDE /usr/include
27214 if test -f "$ac_dir/X11/Intrinsic.h"; then
27215 ac_find_includes=$ac_dir
27220 x_includes=$ac_find_includes
27222 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27225 for ac_dir in $SEARCH_LIB
27227 for ac_extension in a so sl dylib dll.a; do
27228 if test -f "$ac_dir/libXt.$ac_extension"; then
27229 ac_find_libraries=$ac_dir
27235 x_libraries=$ac_find_libraries
27241 cat >confcache <<\_ACEOF
27242 # This file is a shell script that caches the results of configure
27243 # tests run on this system so they can be shared between configure
27244 # scripts and configure runs, see configure's option --config-cache.
27245 # It is not useful on other systems. If it contains results you don't
27246 # want to keep, you may remove or edit it.
27248 # config.status only pays attention to the cache file if you give it
27249 # the --recheck option to rerun configure.
27251 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27252 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27253 # following values.
27257 # The following way of writing the cache mishandles newlines in values,
27258 # but we know of no workaround that is simple, portable, and efficient.
27259 # So, we kill variables containing newlines.
27260 # Ultrix sh set writes to stderr and can't be redirected directly,
27261 # and sets the high bit in the cache file unless we assign to the vars.
27263 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27264 eval ac_val=\$$ac_var
27268 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27269 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27272 _ | IFS | as_nl) ;; #(
27273 *) $as_unset $ac_var ;;
27279 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27280 *${as_nl}ac_space=\ *)
27281 # `set' does not quote correctly, so add quotes (double-quote
27282 # substitution turns \\\\ into \\, and sed turns \\ into \).
27285 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27288 # `set' quotes correctly as required by POSIX, so do not add quotes.
27289 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27298 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27300 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27302 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27303 if test -w "$cache_file"; then
27304 test "x$cache_file" != "x/dev/null" &&
27305 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27306 echo "$as_me: updating cache $cache_file" >&6;}
27307 cat confcache >$cache_file
27309 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27310 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27315 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27316 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27317 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27318 if test "${wx_cv_lib_glibc21+set}" = set; then
27319 echo $ECHO_N "(cached) $ECHO_C" >&6
27322 cat >conftest.$ac_ext <<_ACEOF
27325 cat confdefs.h >>conftest.$ac_ext
27326 cat >>conftest.$ac_ext <<_ACEOF
27327 /* end confdefs.h. */
27328 #include <features.h>
27333 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27341 rm -f conftest.$ac_objext
27342 if { (ac_try="$ac_compile"
27343 case "(($ac_try" in
27344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27345 *) ac_try_echo=$ac_try;;
27347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27348 (eval "$ac_compile") 2>conftest.er1
27350 grep -v '^ *+' conftest.er1 >conftest.err
27352 cat conftest.err >&5
27353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27354 (exit $ac_status); } && {
27355 test -z "$ac_c_werror_flag" ||
27356 test ! -s conftest.err
27357 } && test -s conftest.$ac_objext; then
27359 wx_cv_lib_glibc21=yes
27362 echo "$as_me: failed program was:" >&5
27363 sed 's/^/| /' conftest.$ac_ext >&5
27366 wx_cv_lib_glibc21=no
27371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27374 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27375 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27376 if test "$wx_cv_lib_glibc21" = "yes"; then
27377 cat >>confdefs.h <<\_ACEOF
27378 #define wxHAVE_GLIBC2 1
27384 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27385 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27386 cat >>confdefs.h <<\_ACEOF
27387 #define _GNU_SOURCE 1
27398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27399 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27401 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27402 echo $ECHO_N "(cached) $ECHO_C" >&6
27404 cat >conftest.$ac_ext <<_ACEOF
27407 cat confdefs.h >>conftest.$ac_ext
27408 cat >>conftest.$ac_ext <<_ACEOF
27409 /* end confdefs.h. */
27410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27412 #define $ac_func innocuous_$ac_func
27414 /* System header to define __stub macros and hopefully few prototypes,
27415 which can conflict with char $ac_func (); below.
27416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27417 <limits.h> exists even on freestanding compilers. */
27420 # include <limits.h>
27422 # include <assert.h>
27427 /* Override any GCC internal prototype to avoid an error.
27428 Use char because int might match the return type of a GCC
27429 builtin and then its argument prototype would still apply. */
27434 /* The GNU C library defines this for functions which it implements
27435 to always fail with ENOSYS. Some functions are actually named
27436 something starting with __ and the normal name is an alias. */
27437 #if defined __stub_$ac_func || defined __stub___$ac_func
27444 return $ac_func ();
27449 rm -f conftest.$ac_objext conftest$ac_exeext
27450 if { (ac_try="$ac_link"
27451 case "(($ac_try" in
27452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27453 *) ac_try_echo=$ac_try;;
27455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27456 (eval "$ac_link") 2>conftest.er1
27458 grep -v '^ *+' conftest.er1 >conftest.err
27460 cat conftest.err >&5
27461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27462 (exit $ac_status); } && {
27463 test -z "$ac_c_werror_flag" ||
27464 test ! -s conftest.err
27465 } && test -s conftest$ac_exeext &&
27466 $as_test_x conftest$ac_exeext; then
27467 eval "$as_ac_var=yes"
27469 echo "$as_me: failed program was:" >&5
27470 sed 's/^/| /' conftest.$ac_ext >&5
27472 eval "$as_ac_var=no"
27475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27476 conftest$ac_exeext conftest.$ac_ext
27478 ac_res=`eval echo '${'$as_ac_var'}'`
27479 { echo "$as_me:$LINENO: result: $ac_res" >&5
27480 echo "${ECHO_T}$ac_res" >&6; }
27481 if test `eval echo '${'$as_ac_var'}'` = yes; then
27482 cat >>confdefs.h <<_ACEOF
27483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27490 for ac_func in floor
27492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27493 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27495 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27496 echo $ECHO_N "(cached) $ECHO_C" >&6
27498 cat >conftest.$ac_ext <<_ACEOF
27501 cat confdefs.h >>conftest.$ac_ext
27502 cat >>conftest.$ac_ext <<_ACEOF
27503 /* end confdefs.h. */
27504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27506 #define $ac_func innocuous_$ac_func
27508 /* System header to define __stub macros and hopefully few prototypes,
27509 which can conflict with char $ac_func (); below.
27510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27511 <limits.h> exists even on freestanding compilers. */
27514 # include <limits.h>
27516 # include <assert.h>
27521 /* Override any GCC internal prototype to avoid an error.
27522 Use char because int might match the return type of a GCC
27523 builtin and then its argument prototype would still apply. */
27528 /* The GNU C library defines this for functions which it implements
27529 to always fail with ENOSYS. Some functions are actually named
27530 something starting with __ and the normal name is an alias. */
27531 #if defined __stub_$ac_func || defined __stub___$ac_func
27538 return $ac_func ();
27543 rm -f conftest.$ac_objext conftest$ac_exeext
27544 if { (ac_try="$ac_link"
27545 case "(($ac_try" in
27546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27547 *) ac_try_echo=$ac_try;;
27549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27550 (eval "$ac_link") 2>conftest.er1
27552 grep -v '^ *+' conftest.er1 >conftest.err
27554 cat conftest.err >&5
27555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27556 (exit $ac_status); } && {
27557 test -z "$ac_c_werror_flag" ||
27558 test ! -s conftest.err
27559 } && test -s conftest$ac_exeext &&
27560 $as_test_x conftest$ac_exeext; then
27561 eval "$as_ac_var=yes"
27563 echo "$as_me: failed program was:" >&5
27564 sed 's/^/| /' conftest.$ac_ext >&5
27566 eval "$as_ac_var=no"
27569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27570 conftest$ac_exeext conftest.$ac_ext
27572 ac_res=`eval echo '${'$as_ac_var'}'`
27573 { echo "$as_me:$LINENO: result: $ac_res" >&5
27574 echo "${ECHO_T}$ac_res" >&6; }
27575 if test `eval echo '${'$as_ac_var'}'` = yes; then
27576 cat >>confdefs.h <<_ACEOF
27577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27583 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27584 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27585 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27586 { echo "$as_me:$LINENO: result: yes" >&5
27587 echo "${ECHO_T}yes" >&6; }
27589 { echo "$as_me:$LINENO: result: no" >&5
27590 echo "${ECHO_T}no" >&6; }
27592 # use different functions to avoid configure caching
27598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27599 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27601 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27602 echo $ECHO_N "(cached) $ECHO_C" >&6
27604 cat >conftest.$ac_ext <<_ACEOF
27607 cat confdefs.h >>conftest.$ac_ext
27608 cat >>conftest.$ac_ext <<_ACEOF
27609 /* end confdefs.h. */
27610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27612 #define $ac_func innocuous_$ac_func
27614 /* System header to define __stub macros and hopefully few prototypes,
27615 which can conflict with char $ac_func (); below.
27616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27617 <limits.h> exists even on freestanding compilers. */
27620 # include <limits.h>
27622 # include <assert.h>
27627 /* Override any GCC internal prototype to avoid an error.
27628 Use char because int might match the return type of a GCC
27629 builtin and then its argument prototype would still apply. */
27634 /* The GNU C library defines this for functions which it implements
27635 to always fail with ENOSYS. Some functions are actually named
27636 something starting with __ and the normal name is an alias. */
27637 #if defined __stub_$ac_func || defined __stub___$ac_func
27644 return $ac_func ();
27649 rm -f conftest.$ac_objext conftest$ac_exeext
27650 if { (ac_try="$ac_link"
27651 case "(($ac_try" in
27652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27653 *) ac_try_echo=$ac_try;;
27655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27656 (eval "$ac_link") 2>conftest.er1
27658 grep -v '^ *+' conftest.er1 >conftest.err
27660 cat conftest.err >&5
27661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27662 (exit $ac_status); } && {
27663 test -z "$ac_c_werror_flag" ||
27664 test ! -s conftest.err
27665 } && test -s conftest$ac_exeext &&
27666 $as_test_x conftest$ac_exeext; then
27667 eval "$as_ac_var=yes"
27669 echo "$as_me: failed program was:" >&5
27670 sed 's/^/| /' conftest.$ac_ext >&5
27672 eval "$as_ac_var=no"
27675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27676 conftest$ac_exeext conftest.$ac_ext
27678 ac_res=`eval echo '${'$as_ac_var'}'`
27679 { echo "$as_me:$LINENO: result: $ac_res" >&5
27680 echo "${ECHO_T}$ac_res" >&6; }
27681 if test `eval echo '${'$as_ac_var'}'` = yes; then
27682 cat >>confdefs.h <<_ACEOF
27683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27690 for ac_func in ceil
27692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27693 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27695 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27696 echo $ECHO_N "(cached) $ECHO_C" >&6
27698 cat >conftest.$ac_ext <<_ACEOF
27701 cat confdefs.h >>conftest.$ac_ext
27702 cat >>conftest.$ac_ext <<_ACEOF
27703 /* end confdefs.h. */
27704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27706 #define $ac_func innocuous_$ac_func
27708 /* System header to define __stub macros and hopefully few prototypes,
27709 which can conflict with char $ac_func (); below.
27710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27711 <limits.h> exists even on freestanding compilers. */
27714 # include <limits.h>
27716 # include <assert.h>
27721 /* Override any GCC internal prototype to avoid an error.
27722 Use char because int might match the return type of a GCC
27723 builtin and then its argument prototype would still apply. */
27728 /* The GNU C library defines this for functions which it implements
27729 to always fail with ENOSYS. Some functions are actually named
27730 something starting with __ and the normal name is an alias. */
27731 #if defined __stub_$ac_func || defined __stub___$ac_func
27738 return $ac_func ();
27743 rm -f conftest.$ac_objext conftest$ac_exeext
27744 if { (ac_try="$ac_link"
27745 case "(($ac_try" in
27746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27747 *) ac_try_echo=$ac_try;;
27749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27750 (eval "$ac_link") 2>conftest.er1
27752 grep -v '^ *+' conftest.er1 >conftest.err
27754 cat conftest.err >&5
27755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27756 (exit $ac_status); } && {
27757 test -z "$ac_c_werror_flag" ||
27758 test ! -s conftest.err
27759 } && test -s conftest$ac_exeext &&
27760 $as_test_x conftest$ac_exeext; then
27761 eval "$as_ac_var=yes"
27763 echo "$as_me: failed program was:" >&5
27764 sed 's/^/| /' conftest.$ac_ext >&5
27766 eval "$as_ac_var=no"
27769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27770 conftest$ac_exeext conftest.$ac_ext
27772 ac_res=`eval echo '${'$as_ac_var'}'`
27773 { echo "$as_me:$LINENO: result: $ac_res" >&5
27774 echo "${ECHO_T}$ac_res" >&6; }
27775 if test `eval echo '${'$as_ac_var'}'` = yes; then
27776 cat >>confdefs.h <<_ACEOF
27777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27783 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27784 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27785 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27786 { echo "$as_me:$LINENO: result: yes" >&5
27787 echo "${ECHO_T}yes" >&6; }
27789 { echo "$as_me:$LINENO: result: no" >&5
27790 echo "${ECHO_T}no" >&6; }
27791 # not sure we should warn the user, crash, etc.
27796 ac_cpp='$CXXCPP $CPPFLAGS'
27797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27801 if test "wxUSE_UNICODE" = "yes"; then
27803 for wx_func in wcstoull
27805 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27806 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27807 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27808 echo $ECHO_N "(cached) $ECHO_C" >&6
27811 cat >conftest.$ac_ext <<_ACEOF
27815 cat confdefs.h >>conftest.$ac_ext
27816 cat >>conftest.$ac_ext <<_ACEOF
27817 /* end confdefs.h. */
27820 $ac_includes_default
27836 rm -f conftest.$ac_objext conftest$ac_exeext
27837 if { (ac_try="$ac_link"
27838 case "(($ac_try" in
27839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27840 *) ac_try_echo=$ac_try;;
27842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27843 (eval "$ac_link") 2>conftest.er1
27845 grep -v '^ *+' conftest.er1 >conftest.err
27847 cat conftest.err >&5
27848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27849 (exit $ac_status); } && {
27850 test -z "$ac_cxx_werror_flag" ||
27851 test ! -s conftest.err
27852 } && test -s conftest$ac_exeext &&
27853 $as_test_x conftest$ac_exeext; then
27854 eval wx_cv_func_$wx_func=yes
27856 echo "$as_me: failed program was:" >&5
27857 sed 's/^/| /' conftest.$ac_ext >&5
27859 eval wx_cv_func_$wx_func=no
27862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27863 conftest$ac_exeext conftest.$ac_ext
27866 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27867 { echo "$as_me:$LINENO: result: $ac_res" >&5
27868 echo "${ECHO_T}$ac_res" >&6; }
27870 if eval test \$wx_cv_func_$wx_func = yes
27872 cat >>confdefs.h <<_ACEOF
27873 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27885 for wx_func in strtoull
27887 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27888 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27889 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27890 echo $ECHO_N "(cached) $ECHO_C" >&6
27893 cat >conftest.$ac_ext <<_ACEOF
27897 cat confdefs.h >>conftest.$ac_ext
27898 cat >>conftest.$ac_ext <<_ACEOF
27899 /* end confdefs.h. */
27902 $ac_includes_default
27918 rm -f conftest.$ac_objext conftest$ac_exeext
27919 if { (ac_try="$ac_link"
27920 case "(($ac_try" in
27921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27922 *) ac_try_echo=$ac_try;;
27924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27925 (eval "$ac_link") 2>conftest.er1
27927 grep -v '^ *+' conftest.er1 >conftest.err
27929 cat conftest.err >&5
27930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27931 (exit $ac_status); } && {
27932 test -z "$ac_cxx_werror_flag" ||
27933 test ! -s conftest.err
27934 } && test -s conftest$ac_exeext &&
27935 $as_test_x conftest$ac_exeext; then
27936 eval wx_cv_func_$wx_func=yes
27938 echo "$as_me: failed program was:" >&5
27939 sed 's/^/| /' conftest.$ac_ext >&5
27941 eval wx_cv_func_$wx_func=no
27944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27945 conftest$ac_exeext conftest.$ac_ext
27948 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27949 { echo "$as_me:$LINENO: result: $ac_res" >&5
27950 echo "${ECHO_T}$ac_res" >&6; }
27952 if eval test \$wx_cv_func_$wx_func = yes
27954 cat >>confdefs.h <<_ACEOF
27955 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27967 ac_cpp='$CPP $CPPFLAGS'
27968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27975 if test "$wxUSE_REGEX" != "no"; then
27976 cat >>confdefs.h <<\_ACEOF
27977 #define wxUSE_REGEX 1
27981 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27982 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27983 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27984 wxUSE_REGEX=builtin
27987 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27988 { echo "$as_me:$LINENO: checking for regex.h" >&5
27989 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27990 if test "${ac_cv_header_regex_h+set}" = set; then
27991 echo $ECHO_N "(cached) $ECHO_C" >&6
27993 cat >conftest.$ac_ext <<_ACEOF
27996 cat confdefs.h >>conftest.$ac_ext
27997 cat >>conftest.$ac_ext <<_ACEOF
27998 /* end confdefs.h. */
28003 rm -f conftest.$ac_objext
28004 if { (ac_try="$ac_compile"
28005 case "(($ac_try" in
28006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28007 *) ac_try_echo=$ac_try;;
28009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28010 (eval "$ac_compile") 2>conftest.er1
28012 grep -v '^ *+' conftest.er1 >conftest.err
28014 cat conftest.err >&5
28015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28016 (exit $ac_status); } && {
28017 test -z "$ac_c_werror_flag" ||
28018 test ! -s conftest.err
28019 } && test -s conftest.$ac_objext; then
28020 ac_cv_header_regex_h=yes
28022 echo "$as_me: failed program was:" >&5
28023 sed 's/^/| /' conftest.$ac_ext >&5
28025 ac_cv_header_regex_h=no
28028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28030 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28031 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28032 if test $ac_cv_header_regex_h = yes; then
28035 for ac_func in regcomp re_search
28037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28038 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28040 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28041 echo $ECHO_N "(cached) $ECHO_C" >&6
28043 cat >conftest.$ac_ext <<_ACEOF
28046 cat confdefs.h >>conftest.$ac_ext
28047 cat >>conftest.$ac_ext <<_ACEOF
28048 /* end confdefs.h. */
28049 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28051 #define $ac_func innocuous_$ac_func
28053 /* System header to define __stub macros and hopefully few prototypes,
28054 which can conflict with char $ac_func (); below.
28055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28056 <limits.h> exists even on freestanding compilers. */
28059 # include <limits.h>
28061 # include <assert.h>
28066 /* Override any GCC internal prototype to avoid an error.
28067 Use char because int might match the return type of a GCC
28068 builtin and then its argument prototype would still apply. */
28073 /* The GNU C library defines this for functions which it implements
28074 to always fail with ENOSYS. Some functions are actually named
28075 something starting with __ and the normal name is an alias. */
28076 #if defined __stub_$ac_func || defined __stub___$ac_func
28083 return $ac_func ();
28088 rm -f conftest.$ac_objext conftest$ac_exeext
28089 if { (ac_try="$ac_link"
28090 case "(($ac_try" in
28091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28092 *) ac_try_echo=$ac_try;;
28094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28095 (eval "$ac_link") 2>conftest.er1
28097 grep -v '^ *+' conftest.er1 >conftest.err
28099 cat conftest.err >&5
28100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28101 (exit $ac_status); } && {
28102 test -z "$ac_c_werror_flag" ||
28103 test ! -s conftest.err
28104 } && test -s conftest$ac_exeext &&
28105 $as_test_x conftest$ac_exeext; then
28106 eval "$as_ac_var=yes"
28108 echo "$as_me: failed program was:" >&5
28109 sed 's/^/| /' conftest.$ac_ext >&5
28111 eval "$as_ac_var=no"
28114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28115 conftest$ac_exeext conftest.$ac_ext
28117 ac_res=`eval echo '${'$as_ac_var'}'`
28118 { echo "$as_me:$LINENO: result: $ac_res" >&5
28119 echo "${ECHO_T}$ac_res" >&6; }
28120 if test `eval echo '${'$as_ac_var'}'` = yes; then
28121 cat >>confdefs.h <<_ACEOF
28122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28132 if test "x$ac_cv_func_regcomp" != "xyes"; then
28133 if test "$wxUSE_REGEX" = "sys" ; then
28134 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28135 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28136 { (exit 1); exit 1; }; }
28138 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28139 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28140 wxUSE_REGEX=builtin
28144 cat >>confdefs.h <<\_ACEOF
28145 #define WX_NO_REGEX_ADVANCED 1
28154 if test "$wxUSE_ZLIB" != "no" ; then
28155 cat >>confdefs.h <<\_ACEOF
28156 #define wxUSE_ZLIB 1
28160 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28161 if test "$USE_DARWIN" = 1; then
28162 system_zlib_h_ok="yes"
28164 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28165 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28166 if test "${ac_cv_header_zlib_h+set}" = set; then
28167 echo $ECHO_N "(cached) $ECHO_C" >&6
28169 if test "$cross_compiling" = yes; then
28170 unset ac_cv_header_zlib_h
28173 cat >conftest.$ac_ext <<_ACEOF
28176 cat confdefs.h >>conftest.$ac_ext
28177 cat >>conftest.$ac_ext <<_ACEOF
28178 /* end confdefs.h. */
28185 FILE *f=fopen("conftestval", "w");
28188 ZLIB_VERSION[0] == '1' &&
28189 (ZLIB_VERSION[2] > '1' ||
28190 (ZLIB_VERSION[2] == '1' &&
28191 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28196 rm -f conftest$ac_exeext
28197 if { (ac_try="$ac_link"
28198 case "(($ac_try" in
28199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28200 *) ac_try_echo=$ac_try;;
28202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28203 (eval "$ac_link") 2>&5
28205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28206 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28207 { (case "(($ac_try" in
28208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28209 *) ac_try_echo=$ac_try;;
28211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28212 (eval "$ac_try") 2>&5
28214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28215 (exit $ac_status); }; }; then
28216 ac_cv_header_zlib_h=`cat conftestval`
28218 echo "$as_me: program exited with status $ac_status" >&5
28219 echo "$as_me: failed program was:" >&5
28220 sed 's/^/| /' conftest.$ac_ext >&5
28222 ( exit $ac_status )
28223 ac_cv_header_zlib_h=no
28225 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28231 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28232 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28233 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28234 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28235 if test "${ac_cv_header_zlib_h+set}" = set; then
28236 echo $ECHO_N "(cached) $ECHO_C" >&6
28238 cat >conftest.$ac_ext <<_ACEOF
28241 cat confdefs.h >>conftest.$ac_ext
28242 cat >>conftest.$ac_ext <<_ACEOF
28243 /* end confdefs.h. */
28248 rm -f conftest.$ac_objext
28249 if { (ac_try="$ac_compile"
28250 case "(($ac_try" in
28251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28252 *) ac_try_echo=$ac_try;;
28254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28255 (eval "$ac_compile") 2>conftest.er1
28257 grep -v '^ *+' conftest.er1 >conftest.err
28259 cat conftest.err >&5
28260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28261 (exit $ac_status); } && {
28262 test -z "$ac_c_werror_flag" ||
28263 test ! -s conftest.err
28264 } && test -s conftest.$ac_objext; then
28265 ac_cv_header_zlib_h=yes
28267 echo "$as_me: failed program was:" >&5
28268 sed 's/^/| /' conftest.$ac_ext >&5
28270 ac_cv_header_zlib_h=no
28273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28275 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28276 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28280 system_zlib_h_ok=$ac_cv_header_zlib_h
28283 if test "$system_zlib_h_ok" = "yes"; then
28284 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28285 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28286 if test "${ac_cv_lib_z_deflate+set}" = set; then
28287 echo $ECHO_N "(cached) $ECHO_C" >&6
28289 ac_check_lib_save_LIBS=$LIBS
28291 cat >conftest.$ac_ext <<_ACEOF
28294 cat confdefs.h >>conftest.$ac_ext
28295 cat >>conftest.$ac_ext <<_ACEOF
28296 /* end confdefs.h. */
28298 /* Override any GCC internal prototype to avoid an error.
28299 Use char because int might match the return type of a GCC
28300 builtin and then its argument prototype would still apply. */
28313 rm -f conftest.$ac_objext conftest$ac_exeext
28314 if { (ac_try="$ac_link"
28315 case "(($ac_try" in
28316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28317 *) ac_try_echo=$ac_try;;
28319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28320 (eval "$ac_link") 2>conftest.er1
28322 grep -v '^ *+' conftest.er1 >conftest.err
28324 cat conftest.err >&5
28325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28326 (exit $ac_status); } && {
28327 test -z "$ac_c_werror_flag" ||
28328 test ! -s conftest.err
28329 } && test -s conftest$ac_exeext &&
28330 $as_test_x conftest$ac_exeext; then
28331 ac_cv_lib_z_deflate=yes
28333 echo "$as_me: failed program was:" >&5
28334 sed 's/^/| /' conftest.$ac_ext >&5
28336 ac_cv_lib_z_deflate=no
28339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28340 conftest$ac_exeext conftest.$ac_ext
28341 LIBS=$ac_check_lib_save_LIBS
28343 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28344 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28345 if test $ac_cv_lib_z_deflate = yes; then
28351 if test "x$ZLIB_LINK" = "x" ; then
28352 if test "$wxUSE_ZLIB" = "sys" ; then
28353 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28354 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28355 { (exit 1); exit 1; }; }
28357 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28358 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28369 if test "$wxUSE_LIBPNG" != "no" ; then
28370 cat >>confdefs.h <<\_ACEOF
28371 #define wxUSE_LIBPNG 1
28375 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28376 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28377 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28381 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28382 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28383 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28384 wxUSE_LIBPNG=builtin
28387 if test "$wxUSE_MGL" != 1 ; then
28388 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28389 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28390 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28391 if test "${ac_cv_header_png_h+set}" = set; then
28392 echo $ECHO_N "(cached) $ECHO_C" >&6
28394 if test "$cross_compiling" = yes; then
28395 unset ac_cv_header_png_h
28398 cat >conftest.$ac_ext <<_ACEOF
28401 cat confdefs.h >>conftest.$ac_ext
28402 cat >>conftest.$ac_ext <<_ACEOF
28403 /* end confdefs.h. */
28410 FILE *f=fopen("conftestval", "w");
28413 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28418 rm -f conftest$ac_exeext
28419 if { (ac_try="$ac_link"
28420 case "(($ac_try" in
28421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28422 *) ac_try_echo=$ac_try;;
28424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28425 (eval "$ac_link") 2>&5
28427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28428 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28429 { (case "(($ac_try" in
28430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28431 *) ac_try_echo=$ac_try;;
28433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28434 (eval "$ac_try") 2>&5
28436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28437 (exit $ac_status); }; }; then
28438 ac_cv_header_png_h=`cat conftestval`
28440 echo "$as_me: program exited with status $ac_status" >&5
28441 echo "$as_me: failed program was:" >&5
28442 sed 's/^/| /' conftest.$ac_ext >&5
28444 ( exit $ac_status )
28445 ac_cv_header_png_h=no
28447 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28453 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28454 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28455 { echo "$as_me:$LINENO: checking for png.h" >&5
28456 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28457 if test "${ac_cv_header_png_h+set}" = set; then
28458 echo $ECHO_N "(cached) $ECHO_C" >&6
28460 cat >conftest.$ac_ext <<_ACEOF
28463 cat confdefs.h >>conftest.$ac_ext
28464 cat >>conftest.$ac_ext <<_ACEOF
28465 /* end confdefs.h. */
28470 rm -f conftest.$ac_objext
28471 if { (ac_try="$ac_compile"
28472 case "(($ac_try" in
28473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28474 *) ac_try_echo=$ac_try;;
28476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28477 (eval "$ac_compile") 2>conftest.er1
28479 grep -v '^ *+' conftest.er1 >conftest.err
28481 cat conftest.err >&5
28482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28483 (exit $ac_status); } && {
28484 test -z "$ac_c_werror_flag" ||
28485 test ! -s conftest.err
28486 } && test -s conftest.$ac_objext; then
28487 ac_cv_header_png_h=yes
28489 echo "$as_me: failed program was:" >&5
28490 sed 's/^/| /' conftest.$ac_ext >&5
28492 ac_cv_header_png_h=no
28495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28497 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28498 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28502 if test "$ac_cv_header_png_h" = "yes"; then
28503 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28504 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28505 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28506 echo $ECHO_N "(cached) $ECHO_C" >&6
28508 ac_check_lib_save_LIBS=$LIBS
28509 LIBS="-lpng -lz -lm $LIBS"
28510 cat >conftest.$ac_ext <<_ACEOF
28513 cat confdefs.h >>conftest.$ac_ext
28514 cat >>conftest.$ac_ext <<_ACEOF
28515 /* end confdefs.h. */
28517 /* Override any GCC internal prototype to avoid an error.
28518 Use char because int might match the return type of a GCC
28519 builtin and then its argument prototype would still apply. */
28523 char png_sig_cmp ();
28527 return png_sig_cmp ();
28532 rm -f conftest.$ac_objext conftest$ac_exeext
28533 if { (ac_try="$ac_link"
28534 case "(($ac_try" in
28535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28536 *) ac_try_echo=$ac_try;;
28538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28539 (eval "$ac_link") 2>conftest.er1
28541 grep -v '^ *+' conftest.er1 >conftest.err
28543 cat conftest.err >&5
28544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28545 (exit $ac_status); } && {
28546 test -z "$ac_c_werror_flag" ||
28547 test ! -s conftest.err
28548 } && test -s conftest$ac_exeext &&
28549 $as_test_x conftest$ac_exeext; then
28550 ac_cv_lib_png_png_sig_cmp=yes
28552 echo "$as_me: failed program was:" >&5
28553 sed 's/^/| /' conftest.$ac_ext >&5
28555 ac_cv_lib_png_png_sig_cmp=no
28558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28559 conftest$ac_exeext conftest.$ac_ext
28560 LIBS=$ac_check_lib_save_LIBS
28562 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28563 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28564 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28565 PNG_LINK=" -lpng -lz"
28570 if test "x$PNG_LINK" = "x" ; then
28571 if test "$wxUSE_LIBPNG" = "sys" ; then
28572 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28573 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28574 { (exit 1); exit 1; }; }
28576 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28577 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28578 wxUSE_LIBPNG=builtin
28589 if test "$wxUSE_LIBJPEG" != "no" ; then
28590 cat >>confdefs.h <<\_ACEOF
28591 #define wxUSE_LIBJPEG 1
28595 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28596 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28597 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28601 if test "$wxUSE_MGL" != 1 ; then
28602 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28603 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28604 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28605 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28606 echo $ECHO_N "(cached) $ECHO_C" >&6
28608 cat >conftest.$ac_ext <<_ACEOF
28611 cat confdefs.h >>conftest.$ac_ext
28612 cat >>conftest.$ac_ext <<_ACEOF
28613 /* end confdefs.h. */
28615 #undef HAVE_STDLIB_H
28617 #include <jpeglib.h>
28628 rm -f conftest.$ac_objext
28629 if { (ac_try="$ac_compile"
28630 case "(($ac_try" in
28631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28632 *) ac_try_echo=$ac_try;;
28634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28635 (eval "$ac_compile") 2>conftest.er1
28637 grep -v '^ *+' conftest.er1 >conftest.err
28639 cat conftest.err >&5
28640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28641 (exit $ac_status); } && {
28642 test -z "$ac_c_werror_flag" ||
28643 test ! -s conftest.err
28644 } && test -s conftest.$ac_objext; then
28645 ac_cv_header_jpeglib_h=yes
28647 echo "$as_me: failed program was:" >&5
28648 sed 's/^/| /' conftest.$ac_ext >&5
28650 ac_cv_header_jpeglib_h=no
28654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28658 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28659 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28661 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28662 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28663 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28664 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28665 echo $ECHO_N "(cached) $ECHO_C" >&6
28667 ac_check_lib_save_LIBS=$LIBS
28668 LIBS="-ljpeg $LIBS"
28669 cat >conftest.$ac_ext <<_ACEOF
28672 cat confdefs.h >>conftest.$ac_ext
28673 cat >>conftest.$ac_ext <<_ACEOF
28674 /* end confdefs.h. */
28676 /* Override any GCC internal prototype to avoid an error.
28677 Use char because int might match the return type of a GCC
28678 builtin and then its argument prototype would still apply. */
28682 char jpeg_read_header ();
28686 return jpeg_read_header ();
28691 rm -f conftest.$ac_objext conftest$ac_exeext
28692 if { (ac_try="$ac_link"
28693 case "(($ac_try" in
28694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28695 *) ac_try_echo=$ac_try;;
28697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28698 (eval "$ac_link") 2>conftest.er1
28700 grep -v '^ *+' conftest.er1 >conftest.err
28702 cat conftest.err >&5
28703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28704 (exit $ac_status); } && {
28705 test -z "$ac_c_werror_flag" ||
28706 test ! -s conftest.err
28707 } && test -s conftest$ac_exeext &&
28708 $as_test_x conftest$ac_exeext; then
28709 ac_cv_lib_jpeg_jpeg_read_header=yes
28711 echo "$as_me: failed program was:" >&5
28712 sed 's/^/| /' conftest.$ac_ext >&5
28714 ac_cv_lib_jpeg_jpeg_read_header=no
28717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28718 conftest$ac_exeext conftest.$ac_ext
28719 LIBS=$ac_check_lib_save_LIBS
28721 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28722 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28723 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28724 JPEG_LINK=" -ljpeg"
28729 if test "x$JPEG_LINK" = "x" ; then
28730 if test "$wxUSE_LIBJPEG" = "sys" ; then
28731 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28732 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28733 { (exit 1); exit 1; }; }
28735 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28736 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28737 wxUSE_LIBJPEG=builtin
28742 if test "$wxUSE_MSW" = 1; then
28743 { echo "$as_me:$LINENO: checking for boolean" >&5
28744 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28745 if test "${ac_cv_type_boolean+set}" = set; then
28746 echo $ECHO_N "(cached) $ECHO_C" >&6
28748 cat >conftest.$ac_ext <<_ACEOF
28751 cat confdefs.h >>conftest.$ac_ext
28752 cat >>conftest.$ac_ext <<_ACEOF
28753 /* end confdefs.h. */
28754 #include <windows.h>
28756 typedef boolean ac__type_new_;
28760 if ((ac__type_new_ *) 0)
28762 if (sizeof (ac__type_new_))
28768 rm -f conftest.$ac_objext
28769 if { (ac_try="$ac_compile"
28770 case "(($ac_try" in
28771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28772 *) ac_try_echo=$ac_try;;
28774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28775 (eval "$ac_compile") 2>conftest.er1
28777 grep -v '^ *+' conftest.er1 >conftest.err
28779 cat conftest.err >&5
28780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28781 (exit $ac_status); } && {
28782 test -z "$ac_c_werror_flag" ||
28783 test ! -s conftest.err
28784 } && test -s conftest.$ac_objext; then
28785 ac_cv_type_boolean=yes
28787 echo "$as_me: failed program was:" >&5
28788 sed 's/^/| /' conftest.$ac_ext >&5
28790 ac_cv_type_boolean=no
28793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28795 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28796 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28797 if test $ac_cv_type_boolean = yes; then
28799 cat >>confdefs.h <<_ACEOF
28800 #define HAVE_BOOLEAN 1
28804 { echo "$as_me:$LINENO: checking for boolean" >&5
28805 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28806 if test "${ac_cv_type_boolean+set}" = set; then
28807 echo $ECHO_N "(cached) $ECHO_C" >&6
28809 cat >conftest.$ac_ext <<_ACEOF
28812 cat confdefs.h >>conftest.$ac_ext
28813 cat >>conftest.$ac_ext <<_ACEOF
28814 /* end confdefs.h. */
28816 #undef HAVE_BOOLEAN
28818 #include <jpeglib.h>
28821 typedef boolean ac__type_new_;
28825 if ((ac__type_new_ *) 0)
28827 if (sizeof (ac__type_new_))
28833 rm -f conftest.$ac_objext
28834 if { (ac_try="$ac_compile"
28835 case "(($ac_try" in
28836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28837 *) ac_try_echo=$ac_try;;
28839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28840 (eval "$ac_compile") 2>conftest.er1
28842 grep -v '^ *+' conftest.er1 >conftest.err
28844 cat conftest.err >&5
28845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28846 (exit $ac_status); } && {
28847 test -z "$ac_c_werror_flag" ||
28848 test ! -s conftest.err
28849 } && test -s conftest.$ac_objext; then
28850 ac_cv_type_boolean=yes
28852 echo "$as_me: failed program was:" >&5
28853 sed 's/^/| /' conftest.$ac_ext >&5
28855 ac_cv_type_boolean=no
28858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28860 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28861 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28863 # The cast to long int works around a bug in the HP C Compiler
28864 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28865 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28866 # This bug is HP SR number 8606223364.
28867 { echo "$as_me:$LINENO: checking size of boolean" >&5
28868 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28869 if test "${ac_cv_sizeof_boolean+set}" = set; then
28870 echo $ECHO_N "(cached) $ECHO_C" >&6
28872 if test "$cross_compiling" = yes; then
28873 # Depending upon the size, compute the lo and hi bounds.
28874 cat >conftest.$ac_ext <<_ACEOF
28877 cat confdefs.h >>conftest.$ac_ext
28878 cat >>conftest.$ac_ext <<_ACEOF
28879 /* end confdefs.h. */
28881 #undef HAVE_BOOLEAN
28883 #include <jpeglib.h>
28886 typedef boolean ac__type_sizeof_;
28890 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28897 rm -f conftest.$ac_objext
28898 if { (ac_try="$ac_compile"
28899 case "(($ac_try" in
28900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28901 *) ac_try_echo=$ac_try;;
28903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28904 (eval "$ac_compile") 2>conftest.er1
28906 grep -v '^ *+' conftest.er1 >conftest.err
28908 cat conftest.err >&5
28909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28910 (exit $ac_status); } && {
28911 test -z "$ac_c_werror_flag" ||
28912 test ! -s conftest.err
28913 } && test -s conftest.$ac_objext; then
28916 cat >conftest.$ac_ext <<_ACEOF
28919 cat confdefs.h >>conftest.$ac_ext
28920 cat >>conftest.$ac_ext <<_ACEOF
28921 /* end confdefs.h. */
28923 #undef HAVE_BOOLEAN
28925 #include <jpeglib.h>
28928 typedef boolean ac__type_sizeof_;
28932 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28939 rm -f conftest.$ac_objext
28940 if { (ac_try="$ac_compile"
28941 case "(($ac_try" in
28942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28943 *) ac_try_echo=$ac_try;;
28945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28946 (eval "$ac_compile") 2>conftest.er1
28948 grep -v '^ *+' conftest.er1 >conftest.err
28950 cat conftest.err >&5
28951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28952 (exit $ac_status); } && {
28953 test -z "$ac_c_werror_flag" ||
28954 test ! -s conftest.err
28955 } && test -s conftest.$ac_objext; then
28956 ac_hi=$ac_mid; break
28958 echo "$as_me: failed program was:" >&5
28959 sed 's/^/| /' conftest.$ac_ext >&5
28961 ac_lo=`expr $ac_mid + 1`
28962 if test $ac_lo -le $ac_mid; then
28966 ac_mid=`expr 2 '*' $ac_mid + 1`
28969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28972 echo "$as_me: failed program was:" >&5
28973 sed 's/^/| /' conftest.$ac_ext >&5
28975 cat >conftest.$ac_ext <<_ACEOF
28978 cat confdefs.h >>conftest.$ac_ext
28979 cat >>conftest.$ac_ext <<_ACEOF
28980 /* end confdefs.h. */
28982 #undef HAVE_BOOLEAN
28984 #include <jpeglib.h>
28987 typedef boolean ac__type_sizeof_;
28991 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28998 rm -f conftest.$ac_objext
28999 if { (ac_try="$ac_compile"
29000 case "(($ac_try" in
29001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29002 *) ac_try_echo=$ac_try;;
29004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29005 (eval "$ac_compile") 2>conftest.er1
29007 grep -v '^ *+' conftest.er1 >conftest.err
29009 cat conftest.err >&5
29010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29011 (exit $ac_status); } && {
29012 test -z "$ac_c_werror_flag" ||
29013 test ! -s conftest.err
29014 } && test -s conftest.$ac_objext; then
29017 cat >conftest.$ac_ext <<_ACEOF
29020 cat confdefs.h >>conftest.$ac_ext
29021 cat >>conftest.$ac_ext <<_ACEOF
29022 /* end confdefs.h. */
29024 #undef HAVE_BOOLEAN
29026 #include <jpeglib.h>
29029 typedef boolean ac__type_sizeof_;
29033 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29040 rm -f conftest.$ac_objext
29041 if { (ac_try="$ac_compile"
29042 case "(($ac_try" in
29043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29044 *) ac_try_echo=$ac_try;;
29046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29047 (eval "$ac_compile") 2>conftest.er1
29049 grep -v '^ *+' conftest.er1 >conftest.err
29051 cat conftest.err >&5
29052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29053 (exit $ac_status); } && {
29054 test -z "$ac_c_werror_flag" ||
29055 test ! -s conftest.err
29056 } && test -s conftest.$ac_objext; then
29057 ac_lo=$ac_mid; break
29059 echo "$as_me: failed program was:" >&5
29060 sed 's/^/| /' conftest.$ac_ext >&5
29062 ac_hi=`expr '(' $ac_mid ')' - 1`
29063 if test $ac_mid -le $ac_hi; then
29067 ac_mid=`expr 2 '*' $ac_mid`
29070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29073 echo "$as_me: failed program was:" >&5
29074 sed 's/^/| /' conftest.$ac_ext >&5
29079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29083 # Binary search between lo and hi bounds.
29084 while test "x$ac_lo" != "x$ac_hi"; do
29085 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29086 cat >conftest.$ac_ext <<_ACEOF
29089 cat confdefs.h >>conftest.$ac_ext
29090 cat >>conftest.$ac_ext <<_ACEOF
29091 /* end confdefs.h. */
29093 #undef HAVE_BOOLEAN
29095 #include <jpeglib.h>
29098 typedef boolean ac__type_sizeof_;
29102 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29109 rm -f conftest.$ac_objext
29110 if { (ac_try="$ac_compile"
29111 case "(($ac_try" in
29112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29113 *) ac_try_echo=$ac_try;;
29115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29116 (eval "$ac_compile") 2>conftest.er1
29118 grep -v '^ *+' conftest.er1 >conftest.err
29120 cat conftest.err >&5
29121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29122 (exit $ac_status); } && {
29123 test -z "$ac_c_werror_flag" ||
29124 test ! -s conftest.err
29125 } && test -s conftest.$ac_objext; then
29128 echo "$as_me: failed program was:" >&5
29129 sed 's/^/| /' conftest.$ac_ext >&5
29131 ac_lo=`expr '(' $ac_mid ')' + 1`
29134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29137 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29138 '') if test "$ac_cv_type_boolean" = yes; then
29139 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29140 See \`config.log' for more details." >&5
29141 echo "$as_me: error: cannot compute sizeof (boolean)
29142 See \`config.log' for more details." >&2;}
29143 { (exit 77); exit 77; }; }
29145 ac_cv_sizeof_boolean=0
29149 cat >conftest.$ac_ext <<_ACEOF
29152 cat confdefs.h >>conftest.$ac_ext
29153 cat >>conftest.$ac_ext <<_ACEOF
29154 /* end confdefs.h. */
29156 #undef HAVE_BOOLEAN
29158 #include <jpeglib.h>
29161 typedef boolean ac__type_sizeof_;
29162 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29163 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29165 #include <stdlib.h>
29170 FILE *f = fopen ("conftest.val", "w");
29173 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29175 long int i = longval ();
29176 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29178 fprintf (f, "%ld\n", i);
29182 unsigned long int i = ulongval ();
29183 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29185 fprintf (f, "%lu\n", i);
29187 return ferror (f) || fclose (f) != 0;
29193 rm -f conftest$ac_exeext
29194 if { (ac_try="$ac_link"
29195 case "(($ac_try" in
29196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29197 *) ac_try_echo=$ac_try;;
29199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29200 (eval "$ac_link") 2>&5
29202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29203 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29204 { (case "(($ac_try" in
29205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29206 *) ac_try_echo=$ac_try;;
29208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29209 (eval "$ac_try") 2>&5
29211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29212 (exit $ac_status); }; }; then
29213 ac_cv_sizeof_boolean=`cat conftest.val`
29215 echo "$as_me: program exited with status $ac_status" >&5
29216 echo "$as_me: failed program was:" >&5
29217 sed 's/^/| /' conftest.$ac_ext >&5
29219 ( exit $ac_status )
29220 if test "$ac_cv_type_boolean" = yes; then
29221 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29222 See \`config.log' for more details." >&5
29223 echo "$as_me: error: cannot compute sizeof (boolean)
29224 See \`config.log' for more details." >&2;}
29225 { (exit 77); exit 77; }; }
29227 ac_cv_sizeof_boolean=0
29230 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29234 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29235 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29239 cat >>confdefs.h <<_ACEOF
29240 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29244 cat >>confdefs.h <<_ACEOF
29245 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29259 TIFF_PREREQ_LINKS=-lm
29260 if test "$wxUSE_LIBTIFF" != "no" ; then
29261 cat >>confdefs.h <<\_ACEOF
29262 #define wxUSE_LIBTIFF 1
29266 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29267 if test "$wxUSE_LIBJPEG" = "sys"; then
29268 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29270 if test "$wxUSE_ZLIB" = "sys"; then
29271 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29273 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29274 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29275 if test "${ac_cv_header_tiffio_h+set}" = set; then
29276 echo $ECHO_N "(cached) $ECHO_C" >&6
29278 cat >conftest.$ac_ext <<_ACEOF
29281 cat confdefs.h >>conftest.$ac_ext
29282 cat >>conftest.$ac_ext <<_ACEOF
29283 /* end confdefs.h. */
29287 #include <tiffio.h>
29289 rm -f conftest.$ac_objext
29290 if { (ac_try="$ac_compile"
29291 case "(($ac_try" in
29292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29293 *) ac_try_echo=$ac_try;;
29295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29296 (eval "$ac_compile") 2>conftest.er1
29298 grep -v '^ *+' conftest.er1 >conftest.err
29300 cat conftest.err >&5
29301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29302 (exit $ac_status); } && {
29303 test -z "$ac_c_werror_flag" ||
29304 test ! -s conftest.err
29305 } && test -s conftest.$ac_objext; then
29306 ac_cv_header_tiffio_h=yes
29308 echo "$as_me: failed program was:" >&5
29309 sed 's/^/| /' conftest.$ac_ext >&5
29311 ac_cv_header_tiffio_h=no
29314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29316 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29317 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29318 if test $ac_cv_header_tiffio_h = yes; then
29320 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29321 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29322 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29323 echo $ECHO_N "(cached) $ECHO_C" >&6
29325 ac_check_lib_save_LIBS=$LIBS
29326 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29327 cat >conftest.$ac_ext <<_ACEOF
29330 cat confdefs.h >>conftest.$ac_ext
29331 cat >>conftest.$ac_ext <<_ACEOF
29332 /* end confdefs.h. */
29334 /* Override any GCC internal prototype to avoid an error.
29335 Use char because int might match the return type of a GCC
29336 builtin and then its argument prototype would still apply. */
29344 return TIFFError ();
29349 rm -f conftest.$ac_objext conftest$ac_exeext
29350 if { (ac_try="$ac_link"
29351 case "(($ac_try" in
29352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29353 *) ac_try_echo=$ac_try;;
29355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29356 (eval "$ac_link") 2>conftest.er1
29358 grep -v '^ *+' conftest.er1 >conftest.err
29360 cat conftest.err >&5
29361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29362 (exit $ac_status); } && {
29363 test -z "$ac_c_werror_flag" ||
29364 test ! -s conftest.err
29365 } && test -s conftest$ac_exeext &&
29366 $as_test_x conftest$ac_exeext; then
29367 ac_cv_lib_tiff_TIFFError=yes
29369 echo "$as_me: failed program was:" >&5
29370 sed 's/^/| /' conftest.$ac_ext >&5
29372 ac_cv_lib_tiff_TIFFError=no
29375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29376 conftest$ac_exeext conftest.$ac_ext
29377 LIBS=$ac_check_lib_save_LIBS
29379 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29380 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29381 if test $ac_cv_lib_tiff_TIFFError = yes; then
29382 TIFF_LINK=" -ltiff"
29390 if test "x$TIFF_LINK" = "x" ; then
29391 if test "$wxUSE_LIBTIFF" = "sys" ; then
29392 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29393 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29394 { (exit 1); exit 1; }; }
29396 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29397 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29398 wxUSE_LIBTIFF=builtin
29404 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29405 if test "$wxUSE_LIBJPEG" = "no"; then
29406 ac_configure_args="$ac_configure_args --disable-jpeg"
29408 subdirs="$subdirs src/tiff"
29414 if test "$wxUSE_EXPAT" != "no"; then
29416 cat >>confdefs.h <<\_ACEOF
29417 #define wxUSE_EXPAT 1
29420 cat >>confdefs.h <<\_ACEOF
29421 #define wxUSE_XML 1
29425 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29426 { echo "$as_me:$LINENO: checking for expat.h" >&5
29427 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29428 if test "${ac_cv_header_expat_h+set}" = set; then
29429 echo $ECHO_N "(cached) $ECHO_C" >&6
29431 cat >conftest.$ac_ext <<_ACEOF
29434 cat confdefs.h >>conftest.$ac_ext
29435 cat >>conftest.$ac_ext <<_ACEOF
29436 /* end confdefs.h. */
29441 rm -f conftest.$ac_objext
29442 if { (ac_try="$ac_compile"
29443 case "(($ac_try" in
29444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29445 *) ac_try_echo=$ac_try;;
29447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29448 (eval "$ac_compile") 2>conftest.er1
29450 grep -v '^ *+' conftest.er1 >conftest.err
29452 cat conftest.err >&5
29453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29454 (exit $ac_status); } && {
29455 test -z "$ac_c_werror_flag" ||
29456 test ! -s conftest.err
29457 } && test -s conftest.$ac_objext; then
29458 ac_cv_header_expat_h=yes
29460 echo "$as_me: failed program was:" >&5
29461 sed 's/^/| /' conftest.$ac_ext >&5
29463 ac_cv_header_expat_h=no
29466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29468 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29469 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29470 if test $ac_cv_header_expat_h = yes; then
29475 if test "x$found_expat_h" = "x1"; then
29476 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29477 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29478 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29479 echo $ECHO_N "(cached) $ECHO_C" >&6
29483 ac_cpp='$CXXCPP $CPPFLAGS'
29484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29488 cat >conftest.$ac_ext <<_ACEOF
29491 cat confdefs.h >>conftest.$ac_ext
29492 cat >>conftest.$ac_ext <<_ACEOF
29493 /* end confdefs.h. */
29503 rm -f conftest.$ac_objext
29504 if { (ac_try="$ac_compile"
29505 case "(($ac_try" in
29506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29507 *) ac_try_echo=$ac_try;;
29509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29510 (eval "$ac_compile") 2>conftest.er1
29512 grep -v '^ *+' conftest.er1 >conftest.err
29514 cat conftest.err >&5
29515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29516 (exit $ac_status); } && {
29517 test -z "$ac_cxx_werror_flag" ||
29518 test ! -s conftest.err
29519 } && test -s conftest.$ac_objext; then
29520 wx_cv_expat_is_not_broken=yes
29522 echo "$as_me: failed program was:" >&5
29523 sed 's/^/| /' conftest.$ac_ext >&5
29525 wx_cv_expat_is_not_broken=no
29529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29531 ac_cpp='$CPP $CPPFLAGS'
29532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29539 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29540 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29541 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29542 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29543 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29544 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29545 echo $ECHO_N "(cached) $ECHO_C" >&6
29547 ac_check_lib_save_LIBS=$LIBS
29548 LIBS="-lexpat $LIBS"
29549 cat >conftest.$ac_ext <<_ACEOF
29552 cat confdefs.h >>conftest.$ac_ext
29553 cat >>conftest.$ac_ext <<_ACEOF
29554 /* end confdefs.h. */
29556 /* Override any GCC internal prototype to avoid an error.
29557 Use char because int might match the return type of a GCC
29558 builtin and then its argument prototype would still apply. */
29562 char XML_ParserCreate ();
29566 return XML_ParserCreate ();
29571 rm -f conftest.$ac_objext conftest$ac_exeext
29572 if { (ac_try="$ac_link"
29573 case "(($ac_try" in
29574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29575 *) ac_try_echo=$ac_try;;
29577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29578 (eval "$ac_link") 2>conftest.er1
29580 grep -v '^ *+' conftest.er1 >conftest.err
29582 cat conftest.err >&5
29583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29584 (exit $ac_status); } && {
29585 test -z "$ac_c_werror_flag" ||
29586 test ! -s conftest.err
29587 } && test -s conftest$ac_exeext &&
29588 $as_test_x conftest$ac_exeext; then
29589 ac_cv_lib_expat_XML_ParserCreate=yes
29591 echo "$as_me: failed program was:" >&5
29592 sed 's/^/| /' conftest.$ac_ext >&5
29594 ac_cv_lib_expat_XML_ParserCreate=no
29597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29598 conftest$ac_exeext conftest.$ac_ext
29599 LIBS=$ac_check_lib_save_LIBS
29601 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29602 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29603 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29604 EXPAT_LINK=" -lexpat"
29609 if test "x$EXPAT_LINK" = "x" ; then
29610 if test "$wxUSE_EXPAT" = "sys" ; then
29611 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29612 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29613 { (exit 1); exit 1; }; }
29615 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29616 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29617 wxUSE_EXPAT=builtin
29623 if test "$wxUSE_EXPAT" = "builtin" ; then
29624 subdirs="$subdirs src/expat"
29631 if test "$wxUSE_LIBMSPACK" != "no"; then
29632 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29633 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29634 if test "${ac_cv_header_mspack_h+set}" = set; then
29635 echo $ECHO_N "(cached) $ECHO_C" >&6
29637 cat >conftest.$ac_ext <<_ACEOF
29640 cat confdefs.h >>conftest.$ac_ext
29641 cat >>conftest.$ac_ext <<_ACEOF
29642 /* end confdefs.h. */
29645 #include <mspack.h>
29647 rm -f conftest.$ac_objext
29648 if { (ac_try="$ac_compile"
29649 case "(($ac_try" in
29650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29651 *) ac_try_echo=$ac_try;;
29653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29654 (eval "$ac_compile") 2>conftest.er1
29656 grep -v '^ *+' conftest.er1 >conftest.err
29658 cat conftest.err >&5
29659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29660 (exit $ac_status); } && {
29661 test -z "$ac_c_werror_flag" ||
29662 test ! -s conftest.err
29663 } && test -s conftest.$ac_objext; then
29664 ac_cv_header_mspack_h=yes
29666 echo "$as_me: failed program was:" >&5
29667 sed 's/^/| /' conftest.$ac_ext >&5
29669 ac_cv_header_mspack_h=no
29672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29674 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29675 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29676 if test $ac_cv_header_mspack_h = yes; then
29681 if test "x$found_mspack_h" = "x1"; then
29682 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29683 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29684 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29685 echo $ECHO_N "(cached) $ECHO_C" >&6
29687 ac_check_lib_save_LIBS=$LIBS
29688 LIBS="-lmspack $LIBS"
29689 cat >conftest.$ac_ext <<_ACEOF
29692 cat confdefs.h >>conftest.$ac_ext
29693 cat >>conftest.$ac_ext <<_ACEOF
29694 /* end confdefs.h. */
29696 /* Override any GCC internal prototype to avoid an error.
29697 Use char because int might match the return type of a GCC
29698 builtin and then its argument prototype would still apply. */
29702 char mspack_create_chm_decompressor ();
29706 return mspack_create_chm_decompressor ();
29711 rm -f conftest.$ac_objext conftest$ac_exeext
29712 if { (ac_try="$ac_link"
29713 case "(($ac_try" in
29714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29715 *) ac_try_echo=$ac_try;;
29717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29718 (eval "$ac_link") 2>conftest.er1
29720 grep -v '^ *+' conftest.er1 >conftest.err
29722 cat conftest.err >&5
29723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29724 (exit $ac_status); } && {
29725 test -z "$ac_c_werror_flag" ||
29726 test ! -s conftest.err
29727 } && test -s conftest$ac_exeext &&
29728 $as_test_x conftest$ac_exeext; then
29729 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29731 echo "$as_me: failed program was:" >&5
29732 sed 's/^/| /' conftest.$ac_ext >&5
29734 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29738 conftest$ac_exeext conftest.$ac_ext
29739 LIBS=$ac_check_lib_save_LIBS
29741 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29742 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29743 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29744 MSPACK_LINK=" -lmspack"
29748 if test "x$MSPACK_LINK" = "x" ; then
29753 if test "$wxUSE_LIBMSPACK" != "no"; then
29754 cat >>confdefs.h <<\_ACEOF
29755 #define wxUSE_LIBMSPACK 1
29769 if test "$USE_WIN32" = 1 ; then
29771 for ac_header in w32api.h
29773 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29774 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29776 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29777 echo $ECHO_N "(cached) $ECHO_C" >&6
29779 cat >conftest.$ac_ext <<_ACEOF
29782 cat confdefs.h >>conftest.$ac_ext
29783 cat >>conftest.$ac_ext <<_ACEOF
29784 /* end confdefs.h. */
29787 #include <$ac_header>
29789 rm -f conftest.$ac_objext
29790 if { (ac_try="$ac_compile"
29791 case "(($ac_try" in
29792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29793 *) ac_try_echo=$ac_try;;
29795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29796 (eval "$ac_compile") 2>conftest.er1
29798 grep -v '^ *+' conftest.er1 >conftest.err
29800 cat conftest.err >&5
29801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29802 (exit $ac_status); } && {
29803 test -z "$ac_c_werror_flag" ||
29804 test ! -s conftest.err
29805 } && test -s conftest.$ac_objext; then
29806 eval "$as_ac_Header=yes"
29808 echo "$as_me: failed program was:" >&5
29809 sed 's/^/| /' conftest.$ac_ext >&5
29811 eval "$as_ac_Header=no"
29814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29816 ac_res=`eval echo '${'$as_ac_Header'}'`
29817 { echo "$as_me:$LINENO: result: $ac_res" >&5
29818 echo "${ECHO_T}$ac_res" >&6; }
29819 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29820 cat >>confdefs.h <<_ACEOF
29821 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29828 { echo "$as_me:$LINENO: checking for windows.h" >&5
29829 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29830 if test "${ac_cv_header_windows_h+set}" = set; then
29831 echo $ECHO_N "(cached) $ECHO_C" >&6
29833 cat >conftest.$ac_ext <<_ACEOF
29836 cat confdefs.h >>conftest.$ac_ext
29837 cat >>conftest.$ac_ext <<_ACEOF
29838 /* end confdefs.h. */
29841 #include <windows.h>
29843 rm -f conftest.$ac_objext
29844 if { (ac_try="$ac_compile"
29845 case "(($ac_try" in
29846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29847 *) ac_try_echo=$ac_try;;
29849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29850 (eval "$ac_compile") 2>conftest.er1
29852 grep -v '^ *+' conftest.er1 >conftest.err
29854 cat conftest.err >&5
29855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29856 (exit $ac_status); } && {
29857 test -z "$ac_c_werror_flag" ||
29858 test ! -s conftest.err
29859 } && test -s conftest.$ac_objext; then
29860 ac_cv_header_windows_h=yes
29862 echo "$as_me: failed program was:" >&5
29863 sed 's/^/| /' conftest.$ac_ext >&5
29865 ac_cv_header_windows_h=no
29868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29870 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29871 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29872 if test $ac_cv_header_windows_h = yes; then
29876 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29877 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29878 { (exit 1); exit 1; }; }
29884 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29886 x86_64-*-mingw32* )
29887 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29890 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29891 LIBS="$LIBS -loleacc"
29896 LIBS="$LIBS -lkernel32 -luser32"
29899 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29900 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29902 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29904 WIN32INSTALL=win32install
29906 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29907 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29908 if test "${ac_cv_header_pbt_h+set}" = set; then
29909 echo $ECHO_N "(cached) $ECHO_C" >&6
29911 cat >conftest.$ac_ext <<_ACEOF
29914 cat confdefs.h >>conftest.$ac_ext
29915 cat >>conftest.$ac_ext <<_ACEOF
29916 /* end confdefs.h. */
29921 rm -f conftest.$ac_objext
29922 if { (ac_try="$ac_compile"
29923 case "(($ac_try" in
29924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29925 *) ac_try_echo=$ac_try;;
29927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29928 (eval "$ac_compile") 2>conftest.er1
29930 grep -v '^ *+' conftest.er1 >conftest.err
29932 cat conftest.err >&5
29933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29934 (exit $ac_status); } && {
29935 test -z "$ac_c_werror_flag" ||
29936 test ! -s conftest.err
29937 } && test -s conftest.$ac_objext; then
29938 ac_cv_header_pbt_h=yes
29940 echo "$as_me: failed program was:" >&5
29941 sed 's/^/| /' conftest.$ac_ext >&5
29943 ac_cv_header_pbt_h=no
29946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29948 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29949 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29950 if test $ac_cv_header_pbt_h = yes; then
29953 cat >>confdefs.h <<\_ACEOF
29954 #define NEED_PBT_H 1
29962 if test "$wxUSE_GUI" = "yes"; then
29971 if test "$wxUSE_OLD_COCOA" = 1 ; then
29972 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29973 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29974 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29975 wxUSE_PRINTING_ARCHITECTURE=no
29977 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29978 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29979 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29980 wxUSE_DRAG_AND_DROP=no
29982 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29983 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29984 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29989 if test "$wxUSE_MSW" = 1 ; then
29995 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29999 if test "$wxUSE_GTK" = 1; then
30000 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30001 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30003 gtk_version_cached=1
30004 if test "${wx_cv_lib_gtk+set}" = set; then
30005 echo $ECHO_N "(cached) $ECHO_C" >&6
30008 gtk_version_cached=0
30009 { echo "$as_me:$LINENO: result: " >&5
30010 echo "${ECHO_T}" >&6; }
30013 if test "$wxUSE_THREADS" = "yes"; then
30014 GTK_MODULES=gthread
30018 if test "x$wxGTK_VERSION" != "x1"
30022 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30027 # Check whether --enable-gtktest was given.
30028 if test "${enable_gtktest+set}" = set; then
30029 enableval=$enable_gtktest;
30035 pkg_config_args=gtk+-2.0
30036 for module in . $GTK_MODULES
30040 pkg_config_args="$pkg_config_args gthread-2.0"
30047 # Extract the first word of "pkg-config", so it can be a program name with args.
30048 set dummy pkg-config; ac_word=$2
30049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30051 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30052 echo $ECHO_N "(cached) $ECHO_C" >&6
30054 case $PKG_CONFIG in
30056 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30060 for as_dir in $PATH
30063 test -z "$as_dir" && as_dir=.
30064 for ac_exec_ext in '' $ac_executable_extensions; do
30065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30066 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30074 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30078 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30079 if test -n "$PKG_CONFIG"; then
30080 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30081 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30083 { echo "$as_me:$LINENO: result: no" >&5
30084 echo "${ECHO_T}no" >&6; }
30089 if test x$PKG_CONFIG != xno ; then
30090 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30093 echo "*** pkg-config too old; version 0.7 or better required."
30101 min_gtk_version=2.4.0
30102 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30103 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30105 if test x$PKG_CONFIG != xno ; then
30106 ## don't try to run the test against uninstalled libtool libs
30107 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30108 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30112 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30119 if test x"$no_gtk" = x ; then
30120 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30121 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30122 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30123 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30124 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30125 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30126 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30127 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30128 if test "x$enable_gtktest" = "xyes" ; then
30129 ac_save_CFLAGS="$CFLAGS"
30130 ac_save_LIBS="$LIBS"
30131 CFLAGS="$CFLAGS $GTK_CFLAGS"
30132 LIBS="$GTK_LIBS $LIBS"
30134 if test "$cross_compiling" = yes; then
30135 echo $ac_n "cross compiling; assumed OK... $ac_c"
30137 cat >conftest.$ac_ext <<_ACEOF
30140 cat confdefs.h >>conftest.$ac_ext
30141 cat >>conftest.$ac_ext <<_ACEOF
30142 /* end confdefs.h. */
30144 #include <gtk/gtk.h>
30146 #include <stdlib.h>
30151 int major, minor, micro;
30154 system ("touch conf.gtktest");
30156 /* HP/UX 9 (%@#!) writes to sscanf strings */
30157 tmp_version = g_strdup("$min_gtk_version");
30158 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30159 printf("%s, bad version string\n", "$min_gtk_version");
30163 if ((gtk_major_version != $gtk_config_major_version) ||
30164 (gtk_minor_version != $gtk_config_minor_version) ||
30165 (gtk_micro_version != $gtk_config_micro_version))
30167 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30168 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30169 gtk_major_version, gtk_minor_version, gtk_micro_version);
30170 printf ("*** was found! If pkg-config was correct, then it is best\n");
30171 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30172 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30173 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30174 printf("*** required on your system.\n");
30175 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30176 printf("*** to point to the correct configuration files\n");
30178 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30179 (gtk_minor_version != GTK_MINOR_VERSION) ||
30180 (gtk_micro_version != GTK_MICRO_VERSION))
30182 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30183 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30184 printf("*** library (version %d.%d.%d)\n",
30185 gtk_major_version, gtk_minor_version, gtk_micro_version);
30189 if ((gtk_major_version > major) ||
30190 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30191 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30197 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30198 gtk_major_version, gtk_minor_version, gtk_micro_version);
30199 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30200 major, minor, micro);
30201 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30203 printf("*** If you have already installed a sufficiently new version, this error\n");
30204 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30205 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30206 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30207 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30208 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30209 printf("*** so that the correct libraries are found at run-time))\n");
30216 rm -f conftest$ac_exeext
30217 if { (ac_try="$ac_link"
30218 case "(($ac_try" in
30219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30220 *) ac_try_echo=$ac_try;;
30222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30223 (eval "$ac_link") 2>&5
30225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30226 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30227 { (case "(($ac_try" in
30228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30229 *) ac_try_echo=$ac_try;;
30231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30232 (eval "$ac_try") 2>&5
30234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30235 (exit $ac_status); }; }; then
30238 echo "$as_me: program exited with status $ac_status" >&5
30239 echo "$as_me: failed program was:" >&5
30240 sed 's/^/| /' conftest.$ac_ext >&5
30242 ( exit $ac_status )
30245 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30249 CFLAGS="$ac_save_CFLAGS"
30250 LIBS="$ac_save_LIBS"
30253 if test "x$no_gtk" = x ; then
30254 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30255 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30258 { echo "$as_me:$LINENO: result: no" >&5
30259 echo "${ECHO_T}no" >&6; }
30260 if test "$PKG_CONFIG" = "no" ; then
30261 echo "*** A new enough version of pkg-config was not found."
30262 echo "*** See http://pkgconfig.sourceforge.net"
30264 if test -f conf.gtktest ; then
30267 echo "*** Could not run GTK+ test program, checking why..."
30268 ac_save_CFLAGS="$CFLAGS"
30269 ac_save_LIBS="$LIBS"
30270 CFLAGS="$CFLAGS $GTK_CFLAGS"
30271 LIBS="$LIBS $GTK_LIBS"
30272 cat >conftest.$ac_ext <<_ACEOF
30275 cat confdefs.h >>conftest.$ac_ext
30276 cat >>conftest.$ac_ext <<_ACEOF
30277 /* end confdefs.h. */
30279 #include <gtk/gtk.h>
30285 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30290 rm -f conftest.$ac_objext conftest$ac_exeext
30291 if { (ac_try="$ac_link"
30292 case "(($ac_try" in
30293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30294 *) ac_try_echo=$ac_try;;
30296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30297 (eval "$ac_link") 2>conftest.er1
30299 grep -v '^ *+' conftest.er1 >conftest.err
30301 cat conftest.err >&5
30302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30303 (exit $ac_status); } && {
30304 test -z "$ac_c_werror_flag" ||
30305 test ! -s conftest.err
30306 } && test -s conftest$ac_exeext &&
30307 $as_test_x conftest$ac_exeext; then
30308 echo "*** The test program compiled, but did not run. This usually means"
30309 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30310 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30311 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30312 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30313 echo "*** is required on your system"
30315 echo "*** If you have an old version installed, it is best to remove it, although"
30316 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30318 echo "$as_me: failed program was:" >&5
30319 sed 's/^/| /' conftest.$ac_ext >&5
30321 echo "*** The test program failed to compile or link. See the file config.log for the"
30322 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30326 conftest$ac_exeext conftest.$ac_ext
30327 CFLAGS="$ac_save_CFLAGS"
30328 LIBS="$ac_save_LIBS"
30341 if test -z "$wx_cv_lib_gtk"; then
30342 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30344 # Check whether --with-gtk-prefix was given.
30345 if test "${with_gtk_prefix+set}" = set; then
30346 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30348 gtk_config_prefix=""
30352 # Check whether --with-gtk-exec-prefix was given.
30353 if test "${with_gtk_exec_prefix+set}" = set; then
30354 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30356 gtk_config_exec_prefix=""
30359 # Check whether --enable-gtktest was given.
30360 if test "${enable_gtktest+set}" = set; then
30361 enableval=$enable_gtktest;
30367 for module in . $GTK_MODULES
30371 gtk_config_args="$gtk_config_args gthread"
30376 if test x$gtk_config_exec_prefix != x ; then
30377 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30378 if test x${GTK_CONFIG+set} != xset ; then
30379 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30382 if test x$gtk_config_prefix != x ; then
30383 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30384 if test x${GTK_CONFIG+set} != xset ; then
30385 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30389 # Extract the first word of "gtk-config", so it can be a program name with args.
30390 set dummy gtk-config; ac_word=$2
30391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30393 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30394 echo $ECHO_N "(cached) $ECHO_C" >&6
30396 case $GTK_CONFIG in
30398 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30402 for as_dir in $PATH
30405 test -z "$as_dir" && as_dir=.
30406 for ac_exec_ext in '' $ac_executable_extensions; do
30407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30408 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30416 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30420 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30421 if test -n "$GTK_CONFIG"; then
30422 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30423 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30425 { echo "$as_me:$LINENO: result: no" >&5
30426 echo "${ECHO_T}no" >&6; }
30430 min_gtk_version=1.2.7
30431 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30432 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30434 if test "$GTK_CONFIG" = "no" ; then
30437 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30438 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30439 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30440 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30441 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30442 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30443 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30444 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30445 if test "x$enable_gtktest" = "xyes" ; then
30446 ac_save_CFLAGS="$CFLAGS"
30447 ac_save_LIBS="$LIBS"
30448 CFLAGS="$CFLAGS $GTK_CFLAGS"
30449 LIBS="$GTK_LIBS $LIBS"
30451 if test "$cross_compiling" = yes; then
30452 echo $ac_n "cross compiling; assumed OK... $ac_c"
30454 cat >conftest.$ac_ext <<_ACEOF
30457 cat confdefs.h >>conftest.$ac_ext
30458 cat >>conftest.$ac_ext <<_ACEOF
30459 /* end confdefs.h. */
30461 #include <gtk/gtk.h>
30463 #include <stdlib.h>
30468 int major, minor, micro;
30471 system ("touch conf.gtktest");
30473 /* HP/UX 9 (%@#!) writes to sscanf strings */
30474 tmp_version = g_strdup("$min_gtk_version");
30475 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30476 printf("%s, bad version string\n", "$min_gtk_version");
30480 if ((gtk_major_version != $gtk_config_major_version) ||
30481 (gtk_minor_version != $gtk_config_minor_version) ||
30482 (gtk_micro_version != $gtk_config_micro_version))
30484 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30485 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30486 gtk_major_version, gtk_minor_version, gtk_micro_version);
30487 printf ("*** was found! If gtk-config was correct, then it is best\n");
30488 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30489 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30490 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30491 printf("*** required on your system.\n");
30492 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30493 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30494 printf("*** before re-running configure\n");
30496 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30497 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30498 (gtk_minor_version != GTK_MINOR_VERSION) ||
30499 (gtk_micro_version != GTK_MICRO_VERSION))
30501 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30502 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30503 printf("*** library (version %d.%d.%d)\n",
30504 gtk_major_version, gtk_minor_version, gtk_micro_version);
30506 #endif /* defined (GTK_MAJOR_VERSION) ... */
30509 if ((gtk_major_version > major) ||
30510 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30511 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30517 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30518 gtk_major_version, gtk_minor_version, gtk_micro_version);
30519 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30520 major, minor, micro);
30521 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30523 printf("*** If you have already installed a sufficiently new version, this error\n");
30524 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30525 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30526 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30527 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30528 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30529 printf("*** so that the correct libraries are found at run-time))\n");
30536 rm -f conftest$ac_exeext
30537 if { (ac_try="$ac_link"
30538 case "(($ac_try" in
30539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30540 *) ac_try_echo=$ac_try;;
30542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30543 (eval "$ac_link") 2>&5
30545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30546 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30547 { (case "(($ac_try" in
30548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30549 *) ac_try_echo=$ac_try;;
30551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30552 (eval "$ac_try") 2>&5
30554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30555 (exit $ac_status); }; }; then
30558 echo "$as_me: program exited with status $ac_status" >&5
30559 echo "$as_me: failed program was:" >&5
30560 sed 's/^/| /' conftest.$ac_ext >&5
30562 ( exit $ac_status )
30565 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30569 CFLAGS="$ac_save_CFLAGS"
30570 LIBS="$ac_save_LIBS"
30573 if test "x$no_gtk" = x ; then
30574 { echo "$as_me:$LINENO: result: yes" >&5
30575 echo "${ECHO_T}yes" >&6; }
30576 wx_cv_lib_gtk=1.2.7
30578 { echo "$as_me:$LINENO: result: no" >&5
30579 echo "${ECHO_T}no" >&6; }
30580 if test "$GTK_CONFIG" = "no" ; then
30581 echo "*** The gtk-config script installed by GTK could not be found"
30582 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30583 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30584 echo "*** full path to gtk-config."
30586 if test -f conf.gtktest ; then
30589 echo "*** Could not run GTK test program, checking why..."
30590 CFLAGS="$CFLAGS $GTK_CFLAGS"
30591 LIBS="$LIBS $GTK_LIBS"
30592 cat >conftest.$ac_ext <<_ACEOF
30595 cat confdefs.h >>conftest.$ac_ext
30596 cat >>conftest.$ac_ext <<_ACEOF
30597 /* end confdefs.h. */
30599 #include <gtk/gtk.h>
30605 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30610 rm -f conftest.$ac_objext conftest$ac_exeext
30611 if { (ac_try="$ac_link"
30612 case "(($ac_try" in
30613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30614 *) ac_try_echo=$ac_try;;
30616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30617 (eval "$ac_link") 2>conftest.er1
30619 grep -v '^ *+' conftest.er1 >conftest.err
30621 cat conftest.err >&5
30622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30623 (exit $ac_status); } && {
30624 test -z "$ac_c_werror_flag" ||
30625 test ! -s conftest.err
30626 } && test -s conftest$ac_exeext &&
30627 $as_test_x conftest$ac_exeext; then
30628 echo "*** The test program compiled, but did not run. This usually means"
30629 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30630 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30631 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30632 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30633 echo "*** is required on your system"
30635 echo "*** If you have an old version installed, it is best to remove it, although"
30636 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30638 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30639 echo "*** came with the system with the command"
30641 echo "*** rpm --erase --nodeps gtk gtk-devel"
30643 echo "$as_me: failed program was:" >&5
30644 sed 's/^/| /' conftest.$ac_ext >&5
30646 echo "*** The test program failed to compile or link. See the file config.log for the"
30647 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30648 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30649 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30653 conftest$ac_exeext conftest.$ac_ext
30654 CFLAGS="$ac_save_CFLAGS"
30655 LIBS="$ac_save_LIBS"
30667 if test -z "$wx_cv_lib_gtk"; then
30669 # Check whether --with-gtk-prefix was given.
30670 if test "${with_gtk_prefix+set}" = set; then
30671 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30673 gtk_config_prefix=""
30677 # Check whether --with-gtk-exec-prefix was given.
30678 if test "${with_gtk_exec_prefix+set}" = set; then
30679 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30681 gtk_config_exec_prefix=""
30684 # Check whether --enable-gtktest was given.
30685 if test "${enable_gtktest+set}" = set; then
30686 enableval=$enable_gtktest;
30692 for module in . $GTK_MODULES
30696 gtk_config_args="$gtk_config_args gthread"
30701 if test x$gtk_config_exec_prefix != x ; then
30702 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30703 if test x${GTK_CONFIG+set} != xset ; then
30704 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30707 if test x$gtk_config_prefix != x ; then
30708 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30709 if test x${GTK_CONFIG+set} != xset ; then
30710 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30714 # Extract the first word of "gtk-config", so it can be a program name with args.
30715 set dummy gtk-config; ac_word=$2
30716 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30718 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30719 echo $ECHO_N "(cached) $ECHO_C" >&6
30721 case $GTK_CONFIG in
30723 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30727 for as_dir in $PATH
30730 test -z "$as_dir" && as_dir=.
30731 for ac_exec_ext in '' $ac_executable_extensions; do
30732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30733 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30741 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30745 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30746 if test -n "$GTK_CONFIG"; then
30747 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30748 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30750 { echo "$as_me:$LINENO: result: no" >&5
30751 echo "${ECHO_T}no" >&6; }
30755 min_gtk_version=1.2.3
30756 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30757 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30759 if test "$GTK_CONFIG" = "no" ; then
30762 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30763 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30764 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30765 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30766 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30767 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30768 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30769 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30770 if test "x$enable_gtktest" = "xyes" ; then
30771 ac_save_CFLAGS="$CFLAGS"
30772 ac_save_LIBS="$LIBS"
30773 CFLAGS="$CFLAGS $GTK_CFLAGS"
30774 LIBS="$GTK_LIBS $LIBS"
30776 if test "$cross_compiling" = yes; then
30777 echo $ac_n "cross compiling; assumed OK... $ac_c"
30779 cat >conftest.$ac_ext <<_ACEOF
30782 cat confdefs.h >>conftest.$ac_ext
30783 cat >>conftest.$ac_ext <<_ACEOF
30784 /* end confdefs.h. */
30786 #include <gtk/gtk.h>
30788 #include <stdlib.h>
30793 int major, minor, micro;
30796 system ("touch conf.gtktest");
30798 /* HP/UX 9 (%@#!) writes to sscanf strings */
30799 tmp_version = g_strdup("$min_gtk_version");
30800 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30801 printf("%s, bad version string\n", "$min_gtk_version");
30805 if ((gtk_major_version != $gtk_config_major_version) ||
30806 (gtk_minor_version != $gtk_config_minor_version) ||
30807 (gtk_micro_version != $gtk_config_micro_version))
30809 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30810 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30811 gtk_major_version, gtk_minor_version, gtk_micro_version);
30812 printf ("*** was found! If gtk-config was correct, then it is best\n");
30813 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30814 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30815 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30816 printf("*** required on your system.\n");
30817 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30818 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30819 printf("*** before re-running configure\n");
30821 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30822 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30823 (gtk_minor_version != GTK_MINOR_VERSION) ||
30824 (gtk_micro_version != GTK_MICRO_VERSION))
30826 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30827 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30828 printf("*** library (version %d.%d.%d)\n",
30829 gtk_major_version, gtk_minor_version, gtk_micro_version);
30831 #endif /* defined (GTK_MAJOR_VERSION) ... */
30834 if ((gtk_major_version > major) ||
30835 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30836 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30842 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30843 gtk_major_version, gtk_minor_version, gtk_micro_version);
30844 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30845 major, minor, micro);
30846 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30848 printf("*** If you have already installed a sufficiently new version, this error\n");
30849 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30850 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30851 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30852 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30853 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30854 printf("*** so that the correct libraries are found at run-time))\n");
30861 rm -f conftest$ac_exeext
30862 if { (ac_try="$ac_link"
30863 case "(($ac_try" in
30864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30865 *) ac_try_echo=$ac_try;;
30867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30868 (eval "$ac_link") 2>&5
30870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30871 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30872 { (case "(($ac_try" in
30873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30874 *) ac_try_echo=$ac_try;;
30876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30877 (eval "$ac_try") 2>&5
30879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30880 (exit $ac_status); }; }; then
30883 echo "$as_me: program exited with status $ac_status" >&5
30884 echo "$as_me: failed program was:" >&5
30885 sed 's/^/| /' conftest.$ac_ext >&5
30887 ( exit $ac_status )
30890 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30894 CFLAGS="$ac_save_CFLAGS"
30895 LIBS="$ac_save_LIBS"
30898 if test "x$no_gtk" = x ; then
30899 { echo "$as_me:$LINENO: result: yes" >&5
30900 echo "${ECHO_T}yes" >&6; }
30901 wx_cv_lib_gtk=1.2.3
30903 { echo "$as_me:$LINENO: result: no" >&5
30904 echo "${ECHO_T}no" >&6; }
30905 if test "$GTK_CONFIG" = "no" ; then
30906 echo "*** The gtk-config script installed by GTK could not be found"
30907 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30908 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30909 echo "*** full path to gtk-config."
30911 if test -f conf.gtktest ; then
30914 echo "*** Could not run GTK test program, checking why..."
30915 CFLAGS="$CFLAGS $GTK_CFLAGS"
30916 LIBS="$LIBS $GTK_LIBS"
30917 cat >conftest.$ac_ext <<_ACEOF
30920 cat confdefs.h >>conftest.$ac_ext
30921 cat >>conftest.$ac_ext <<_ACEOF
30922 /* end confdefs.h. */
30924 #include <gtk/gtk.h>
30930 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30935 rm -f conftest.$ac_objext conftest$ac_exeext
30936 if { (ac_try="$ac_link"
30937 case "(($ac_try" in
30938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30939 *) ac_try_echo=$ac_try;;
30941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30942 (eval "$ac_link") 2>conftest.er1
30944 grep -v '^ *+' conftest.er1 >conftest.err
30946 cat conftest.err >&5
30947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30948 (exit $ac_status); } && {
30949 test -z "$ac_c_werror_flag" ||
30950 test ! -s conftest.err
30951 } && test -s conftest$ac_exeext &&
30952 $as_test_x conftest$ac_exeext; then
30953 echo "*** The test program compiled, but did not run. This usually means"
30954 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30955 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30956 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30957 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30958 echo "*** is required on your system"
30960 echo "*** If you have an old version installed, it is best to remove it, although"
30961 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30963 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30964 echo "*** came with the system with the command"
30966 echo "*** rpm --erase --nodeps gtk gtk-devel"
30968 echo "$as_me: failed program was:" >&5
30969 sed 's/^/| /' conftest.$ac_ext >&5
30971 echo "*** The test program failed to compile or link. See the file config.log for the"
30972 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30973 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30974 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30978 conftest$ac_exeext conftest.$ac_ext
30979 CFLAGS="$ac_save_CFLAGS"
30980 LIBS="$ac_save_LIBS"
30995 if test -z "$wx_cv_lib_gtk"; then
30998 GTK_LIBS="$GTK_LIBS -lX11"
31000 wx_cv_cflags_gtk=$GTK_CFLAGS
31001 wx_cv_libs_gtk=$GTK_LIBS
31008 if test "$gtk_version_cached" = 1; then
31009 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31010 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31013 case "$wx_cv_lib_gtk" in
31020 *) { { echo "$as_me:$LINENO: error:
31021 The development files for GTK+ were not found. For GTK+ 2, please
31022 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31023 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31024 and that the version is 1.2.3 or above. Also check that the
31025 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31026 --libs' are in the LD_LIBRARY_PATH or equivalent.
31028 echo "$as_me: error:
31029 The development files for GTK+ were not found. For GTK+ 2, please
31030 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31031 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31032 and that the version is 1.2.3 or above. Also check that the
31033 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31034 --libs' are in the LD_LIBRARY_PATH or equivalent.
31036 { (exit 1); exit 1; }; }
31040 if test "$WXGTK2" = 1; then
31041 save_CFLAGS="$CFLAGS"
31043 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31044 LIBS="$LIBS $wx_cv_libs_gtk"
31046 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
31047 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
31048 cat >conftest.$ac_ext <<_ACEOF
31051 cat confdefs.h >>conftest.$ac_ext
31052 cat >>conftest.$ac_ext <<_ACEOF
31053 /* end confdefs.h. */
31055 #include <gtk/gtk.h>
31061 #if !GTK_CHECK_VERSION(2,18,0)
31069 rm -f conftest.$ac_objext
31070 if { (ac_try="$ac_compile"
31071 case "(($ac_try" in
31072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31073 *) ac_try_echo=$ac_try;;
31075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31076 (eval "$ac_compile") 2>conftest.er1
31078 grep -v '^ *+' conftest.er1 >conftest.err
31080 cat conftest.err >&5
31081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31082 (exit $ac_status); } && {
31083 test -z "$ac_c_werror_flag" ||
31084 test ! -s conftest.err
31085 } && test -s conftest.$ac_objext; then
31087 cat >>confdefs.h <<\_ACEOF
31088 #define __WXGTK218__ 1
31091 cat >>confdefs.h <<\_ACEOF
31092 #define __WXGTK210__ 1
31095 cat >>confdefs.h <<\_ACEOF
31096 #define __WXGTK26__ 1
31099 { echo "$as_me:$LINENO: result: yes" >&5
31100 echo "${ECHO_T}yes" >&6; }
31104 echo "$as_me: failed program was:" >&5
31105 sed 's/^/| /' conftest.$ac_ext >&5
31108 { echo "$as_me:$LINENO: result: no" >&5
31109 echo "${ECHO_T}no" >&6; }
31114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31116 if test "$ac_wxgtk218" = 0; then
31117 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31118 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31119 cat >conftest.$ac_ext <<_ACEOF
31122 cat confdefs.h >>conftest.$ac_ext
31123 cat >>conftest.$ac_ext <<_ACEOF
31124 /* end confdefs.h. */
31126 #include <gtk/gtk.h>
31132 #if !GTK_CHECK_VERSION(2,10,0)
31140 rm -f conftest.$ac_objext
31141 if { (ac_try="$ac_compile"
31142 case "(($ac_try" in
31143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31144 *) ac_try_echo=$ac_try;;
31146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31147 (eval "$ac_compile") 2>conftest.er1
31149 grep -v '^ *+' conftest.er1 >conftest.err
31151 cat conftest.err >&5
31152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31153 (exit $ac_status); } && {
31154 test -z "$ac_c_werror_flag" ||
31155 test ! -s conftest.err
31156 } && test -s conftest.$ac_objext; then
31158 cat >>confdefs.h <<\_ACEOF
31159 #define __WXGTK210__ 1
31162 cat >>confdefs.h <<\_ACEOF
31163 #define __WXGTK26__ 1
31166 { echo "$as_me:$LINENO: result: yes" >&5
31167 echo "${ECHO_T}yes" >&6; }
31171 echo "$as_me: failed program was:" >&5
31172 sed 's/^/| /' conftest.$ac_ext >&5
31175 { echo "$as_me:$LINENO: result: no" >&5
31176 echo "${ECHO_T}no" >&6; }
31181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31183 if test "$ac_wxgtk210" = 0; then
31184 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31185 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31186 cat >conftest.$ac_ext <<_ACEOF
31189 cat confdefs.h >>conftest.$ac_ext
31190 cat >>conftest.$ac_ext <<_ACEOF
31191 /* end confdefs.h. */
31193 #include <gtk/gtk.h>
31199 #if !GTK_CHECK_VERSION(2,6,0)
31207 rm -f conftest.$ac_objext
31208 if { (ac_try="$ac_compile"
31209 case "(($ac_try" in
31210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31211 *) ac_try_echo=$ac_try;;
31213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31214 (eval "$ac_compile") 2>conftest.er1
31216 grep -v '^ *+' conftest.er1 >conftest.err
31218 cat conftest.err >&5
31219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31220 (exit $ac_status); } && {
31221 test -z "$ac_c_werror_flag" ||
31222 test ! -s conftest.err
31223 } && test -s conftest.$ac_objext; then
31225 cat >>confdefs.h <<\_ACEOF
31226 #define __WXGTK26__ 1
31229 { echo "$as_me:$LINENO: result: yes" >&5
31230 echo "${ECHO_T}yes" >&6; }
31234 echo "$as_me: failed program was:" >&5
31235 sed 's/^/| /' conftest.$ac_ext >&5
31238 { echo "$as_me:$LINENO: result: no" >&5
31239 echo "${ECHO_T}no" >&6; }
31244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31248 CFLAGS="$save_CFLAGS"
31251 if test "$wxUSE_UNICODE" = "yes"; then
31252 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31253 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31257 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31258 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31259 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31260 echo $ECHO_N "(cached) $ECHO_C" >&6
31262 ac_check_lib_save_LIBS=$LIBS
31264 cat >conftest.$ac_ext <<_ACEOF
31267 cat confdefs.h >>conftest.$ac_ext
31268 cat >>conftest.$ac_ext <<_ACEOF
31269 /* end confdefs.h. */
31271 /* Override any GCC internal prototype to avoid an error.
31272 Use char because int might match the return type of a GCC
31273 builtin and then its argument prototype would still apply. */
31277 char gdk_im_open ();
31281 return gdk_im_open ();
31286 rm -f conftest.$ac_objext conftest$ac_exeext
31287 if { (ac_try="$ac_link"
31288 case "(($ac_try" in
31289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31290 *) ac_try_echo=$ac_try;;
31292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31293 (eval "$ac_link") 2>conftest.er1
31295 grep -v '^ *+' conftest.er1 >conftest.err
31297 cat conftest.err >&5
31298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31299 (exit $ac_status); } && {
31300 test -z "$ac_c_werror_flag" ||
31301 test ! -s conftest.err
31302 } && test -s conftest$ac_exeext &&
31303 $as_test_x conftest$ac_exeext; then
31304 ac_cv_lib_gdk_gdk_im_open=yes
31306 echo "$as_me: failed program was:" >&5
31307 sed 's/^/| /' conftest.$ac_ext >&5
31309 ac_cv_lib_gdk_gdk_im_open=no
31312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31313 conftest$ac_exeext conftest.$ac_ext
31314 LIBS=$ac_check_lib_save_LIBS
31316 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31317 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31318 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31319 cat >>confdefs.h <<\_ACEOF
31326 if test "$USE_DARWIN" != 1; then
31328 for ac_func in poll
31330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31331 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31333 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31334 echo $ECHO_N "(cached) $ECHO_C" >&6
31336 cat >conftest.$ac_ext <<_ACEOF
31339 cat confdefs.h >>conftest.$ac_ext
31340 cat >>conftest.$ac_ext <<_ACEOF
31341 /* end confdefs.h. */
31342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31344 #define $ac_func innocuous_$ac_func
31346 /* System header to define __stub macros and hopefully few prototypes,
31347 which can conflict with char $ac_func (); below.
31348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31349 <limits.h> exists even on freestanding compilers. */
31352 # include <limits.h>
31354 # include <assert.h>
31359 /* Override any GCC internal prototype to avoid an error.
31360 Use char because int might match the return type of a GCC
31361 builtin and then its argument prototype would still apply. */
31366 /* The GNU C library defines this for functions which it implements
31367 to always fail with ENOSYS. Some functions are actually named
31368 something starting with __ and the normal name is an alias. */
31369 #if defined __stub_$ac_func || defined __stub___$ac_func
31376 return $ac_func ();
31381 rm -f conftest.$ac_objext conftest$ac_exeext
31382 if { (ac_try="$ac_link"
31383 case "(($ac_try" in
31384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31385 *) ac_try_echo=$ac_try;;
31387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31388 (eval "$ac_link") 2>conftest.er1
31390 grep -v '^ *+' conftest.er1 >conftest.err
31392 cat conftest.err >&5
31393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31394 (exit $ac_status); } && {
31395 test -z "$ac_c_werror_flag" ||
31396 test ! -s conftest.err
31397 } && test -s conftest$ac_exeext &&
31398 $as_test_x conftest$ac_exeext; then
31399 eval "$as_ac_var=yes"
31401 echo "$as_me: failed program was:" >&5
31402 sed 's/^/| /' conftest.$ac_ext >&5
31404 eval "$as_ac_var=no"
31407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31408 conftest$ac_exeext conftest.$ac_ext
31410 ac_res=`eval echo '${'$as_ac_var'}'`
31411 { echo "$as_me:$LINENO: result: $ac_res" >&5
31412 echo "${ECHO_T}$ac_res" >&6; }
31413 if test `eval echo '${'$as_ac_var'}'` = yes; then
31414 cat >>confdefs.h <<_ACEOF
31415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31424 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31425 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31426 AFMINSTALL=afminstall
31430 if test "$wxUSE_GPE" = "yes"; then
31431 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31432 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31435 for ac_dir in $SEARCH_LIB
31437 for ac_extension in a so sl dylib dll.a; do
31438 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31439 ac_find_libraries=$ac_dir
31445 if test "$ac_find_libraries" != "" ; then
31447 if test "$ac_find_libraries" = "default location"; then
31450 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31452 if test $result = 0; then
31455 ac_path_to_link=" -L$ac_find_libraries"
31459 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31461 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31462 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31464 { echo "$as_me:$LINENO: result: not found" >&5
31465 echo "${ECHO_T}not found" >&6; }
31471 if test "$wxUSE_MGL" = 1; then
31472 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31473 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31474 if test "x$MGL_ROOT" = x ; then
31475 { echo "$as_me:$LINENO: result: not found" >&5
31476 echo "${ECHO_T}not found" >&6; }
31477 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31478 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31479 { (exit 1); exit 1; }; }
31481 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31482 echo "${ECHO_T}$MGL_ROOT" >&6; }
31485 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31486 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31489 if test "x$wxUSE_SHARED" = xyes ; then
31490 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31492 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31496 mgl_os_candidates="dos32/dj2"
31499 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31500 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31501 { (exit 1); exit 1; }; }
31507 for mgl_os_i in $mgl_os_candidates ; do
31508 if test "x$mgl_os" = x ; then
31509 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31510 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31511 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31516 if test "x$mgl_lib_type" = x ; then
31517 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31518 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31519 mgl_lib_type=release
31526 if test "x$mgl_os" = x ; then
31527 { echo "$as_me:$LINENO: result: not found" >&5
31528 echo "${ECHO_T}not found" >&6; }
31529 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31530 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31531 { (exit 1); exit 1; }; }
31533 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31534 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31536 wxUSE_UNIVERSAL="yes"
31538 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31539 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31541 AFMINSTALL=afminstall
31546 if test "$wxUSE_DFB" = 1; then
31549 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31550 if test -n "$ac_tool_prefix"; then
31551 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31552 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31553 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31555 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31556 echo $ECHO_N "(cached) $ECHO_C" >&6
31558 case $PKG_CONFIG in
31560 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31564 for as_dir in $PATH
31567 test -z "$as_dir" && as_dir=.
31568 for ac_exec_ext in '' $ac_executable_extensions; do
31569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31570 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31581 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31582 if test -n "$PKG_CONFIG"; then
31583 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31584 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31586 { echo "$as_me:$LINENO: result: no" >&5
31587 echo "${ECHO_T}no" >&6; }
31592 if test -z "$ac_cv_path_PKG_CONFIG"; then
31593 ac_pt_PKG_CONFIG=$PKG_CONFIG
31594 # Extract the first word of "pkg-config", so it can be a program name with args.
31595 set dummy pkg-config; ac_word=$2
31596 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31598 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31599 echo $ECHO_N "(cached) $ECHO_C" >&6
31601 case $ac_pt_PKG_CONFIG in
31603 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31607 for as_dir in $PATH
31610 test -z "$as_dir" && as_dir=.
31611 for ac_exec_ext in '' $ac_executable_extensions; do
31612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31613 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31624 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31625 if test -n "$ac_pt_PKG_CONFIG"; then
31626 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31627 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31629 { echo "$as_me:$LINENO: result: no" >&5
31630 echo "${ECHO_T}no" >&6; }
31633 if test "x$ac_pt_PKG_CONFIG" = x; then
31636 case $cross_compiling:$ac_tool_warned in
31638 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31639 whose name does not start with the host triplet. If you think this
31640 configuration is useful to you, please write to autoconf@gnu.org." >&5
31641 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31642 whose name does not start with the host triplet. If you think this
31643 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31644 ac_tool_warned=yes ;;
31646 PKG_CONFIG=$ac_pt_PKG_CONFIG
31649 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31653 if test -n "$PKG_CONFIG"; then
31654 _pkg_min_version=0.9.0
31655 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31656 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31657 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31658 { echo "$as_me:$LINENO: result: yes" >&5
31659 echo "${ECHO_T}yes" >&6; }
31661 { echo "$as_me:$LINENO: result: no" >&5
31662 echo "${ECHO_T}no" >&6; }
31670 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31671 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31673 if test -n "$PKG_CONFIG"; then
31674 if test -n "$DIRECTFB_CFLAGS"; then
31675 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31677 if test -n "$PKG_CONFIG" && \
31678 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31679 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31682 (exit $ac_status); }; then
31683 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31691 if test -n "$PKG_CONFIG"; then
31692 if test -n "$DIRECTFB_LIBS"; then
31693 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31695 if test -n "$PKG_CONFIG" && \
31696 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31697 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31700 (exit $ac_status); }; then
31701 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31712 if test $pkg_failed = yes; then
31714 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31715 _pkg_short_errors_supported=yes
31717 _pkg_short_errors_supported=no
31719 if test $_pkg_short_errors_supported = yes; then
31720 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31722 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31724 # Put the nasty error message in config.log where it belongs
31725 echo "$DIRECTFB_PKG_ERRORS" >&5
31728 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31729 echo "$as_me: error: DirectFB not found." >&2;}
31730 { (exit 1); exit 1; }; }
31733 elif test $pkg_failed = untried; then
31735 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31736 echo "$as_me: error: DirectFB not found." >&2;}
31737 { (exit 1); exit 1; }; }
31741 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31742 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31743 { echo "$as_me:$LINENO: result: yes" >&5
31744 echo "${ECHO_T}yes" >&6; }
31746 wxUSE_UNIVERSAL="yes"
31747 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31748 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31755 if test "$wxUSE_MICROWIN" = 1; then
31756 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31757 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31758 if test "x$MICROWINDOWS" = x ; then
31759 { echo "$as_me:$LINENO: result: not found" >&5
31760 echo "${ECHO_T}not found" >&6; }
31761 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31762 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31763 { (exit 1); exit 1; }; }
31765 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31766 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31769 if test -f $MICROWINDOWS/lib/libmwin.a; then
31770 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31771 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31773 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31774 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31775 { (exit 1); exit 1; }; }
31778 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31779 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31781 wxUSE_UNIVERSAL="yes"
31783 AFMINSTALL=afminstall
31785 GUIDIST=MICROWIN_DIST
31787 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31790 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31791 { echo "$as_me:$LINENO: checking for X" >&5
31792 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31795 # Check whether --with-x was given.
31796 if test "${with_x+set}" = set; then
31800 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31801 if test "x$with_x" = xno; then
31802 # The user explicitly disabled X.
31805 case $x_includes,$x_libraries in #(
31806 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31807 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31808 { (exit 1); exit 1; }; };; #(
31809 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31810 echo $ECHO_N "(cached) $ECHO_C" >&6
31812 # One or both of the vars are not set, and there is no cached value.
31813 ac_x_includes=no ac_x_libraries=no
31814 rm -f -r conftest.dir
31815 if mkdir conftest.dir; then
31817 cat >Imakefile <<'_ACEOF'
31819 @echo incroot='${INCROOT}'
31821 @echo usrlibdir='${USRLIBDIR}'
31823 @echo libdir='${LIBDIR}'
31825 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31826 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31827 for ac_var in incroot usrlibdir libdir; do
31828 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31830 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31831 for ac_extension in a so sl; do
31832 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31833 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31834 ac_im_usrlibdir=$ac_im_libdir; break
31837 # Screen out bogus values from the imake configuration. They are
31838 # bogus both because they are the default anyway, and because
31839 # using them would break gcc on systems where it needs fixed includes.
31840 case $ac_im_incroot in
31841 /usr/include) ac_x_includes= ;;
31842 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31844 case $ac_im_usrlibdir in
31845 /usr/lib | /lib) ;;
31846 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31850 rm -f -r conftest.dir
31853 # Standard set of common directories for X headers.
31854 # Check X11 before X11Rn because it is often a symlink to the current release.
31866 /usr/local/X11/include
31867 /usr/local/X11R6/include
31868 /usr/local/X11R5/include
31869 /usr/local/X11R4/include
31871 /usr/local/include/X11
31872 /usr/local/include/X11R6
31873 /usr/local/include/X11R5
31874 /usr/local/include/X11R4
31878 /usr/XFree86/include/X11
31882 /usr/unsupported/include
31883 /usr/athena/include
31884 /usr/local/x11r5/include
31885 /usr/lpp/Xamples/include
31887 /usr/openwin/include
31888 /usr/openwin/share/include'
31890 if test "$ac_x_includes" = no; then
31891 # Guess where to find include files, by looking for Xlib.h.
31892 # First, try using that file with no special directory specified.
31893 cat >conftest.$ac_ext <<_ACEOF
31896 cat confdefs.h >>conftest.$ac_ext
31897 cat >>conftest.$ac_ext <<_ACEOF
31898 /* end confdefs.h. */
31899 #include <X11/Xlib.h>
31901 if { (ac_try="$ac_cpp conftest.$ac_ext"
31902 case "(($ac_try" in
31903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31904 *) ac_try_echo=$ac_try;;
31906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31907 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31909 grep -v '^ *+' conftest.er1 >conftest.err
31911 cat conftest.err >&5
31912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31913 (exit $ac_status); } >/dev/null && {
31914 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31915 test ! -s conftest.err
31917 # We can compile using X headers with no special include directory.
31920 echo "$as_me: failed program was:" >&5
31921 sed 's/^/| /' conftest.$ac_ext >&5
31923 for ac_dir in $ac_x_header_dirs; do
31924 if test -r "$ac_dir/X11/Xlib.h"; then
31925 ac_x_includes=$ac_dir
31931 rm -f conftest.err conftest.$ac_ext
31932 fi # $ac_x_includes = no
31934 if test "$ac_x_libraries" = no; then
31935 # Check for the libraries.
31936 # See if we find them without any special options.
31937 # Don't add to $LIBS permanently.
31940 cat >conftest.$ac_ext <<_ACEOF
31943 cat confdefs.h >>conftest.$ac_ext
31944 cat >>conftest.$ac_ext <<_ACEOF
31945 /* end confdefs.h. */
31946 #include <X11/Xlib.h>
31955 rm -f conftest.$ac_objext conftest$ac_exeext
31956 if { (ac_try="$ac_link"
31957 case "(($ac_try" in
31958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31959 *) ac_try_echo=$ac_try;;
31961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31962 (eval "$ac_link") 2>conftest.er1
31964 grep -v '^ *+' conftest.er1 >conftest.err
31966 cat conftest.err >&5
31967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31968 (exit $ac_status); } && {
31969 test -z "$ac_c_werror_flag" ||
31970 test ! -s conftest.err
31971 } && test -s conftest$ac_exeext &&
31972 $as_test_x conftest$ac_exeext; then
31974 # We can link X programs with no special library path.
31977 echo "$as_me: failed program was:" >&5
31978 sed 's/^/| /' conftest.$ac_ext >&5
31981 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31983 # Don't even attempt the hair of trying to link an X program!
31984 for ac_extension in a so sl; do
31985 if test -r "$ac_dir/libX11.$ac_extension"; then
31986 ac_x_libraries=$ac_dir
31993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31994 conftest$ac_exeext conftest.$ac_ext
31995 fi # $ac_x_libraries = no
31997 case $ac_x_includes,$ac_x_libraries in #(
31998 no,* | *,no | *\'*)
31999 # Didn't find X, or a directory has "'" in its name.
32000 ac_cv_have_x="have_x=no";; #(
32002 # Record where we found X for the cache.
32003 ac_cv_have_x="have_x=yes\
32004 ac_x_includes='$ac_x_includes'\
32005 ac_x_libraries='$ac_x_libraries'"
32011 eval "$ac_cv_have_x"
32014 if test "$have_x" != yes; then
32015 { echo "$as_me:$LINENO: result: $have_x" >&5
32016 echo "${ECHO_T}$have_x" >&6; }
32019 # If each of the values was on the command line, it overrides each guess.
32020 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32021 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32022 # Update the cache value to reflect the command line values.
32023 ac_cv_have_x="have_x=yes\
32024 ac_x_includes='$x_includes'\
32025 ac_x_libraries='$x_libraries'"
32026 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32027 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32030 if test "$no_x" = yes; then
32031 # Not all programs may use this symbol, but it does not hurt to define it.
32033 cat >>confdefs.h <<\_ACEOF
32034 #define X_DISPLAY_MISSING 1
32037 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32039 if test -n "$x_includes"; then
32040 X_CFLAGS="$X_CFLAGS -I$x_includes"
32043 # It would also be nice to do this for all -L options, not just this one.
32044 if test -n "$x_libraries"; then
32045 X_LIBS="$X_LIBS -L$x_libraries"
32046 # For Solaris; some versions of Sun CC require a space after -R and
32047 # others require no space. Words are not sufficient . . . .
32048 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32049 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32050 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32051 ac_xsave_c_werror_flag=$ac_c_werror_flag
32052 ac_c_werror_flag=yes
32053 cat >conftest.$ac_ext <<_ACEOF
32056 cat confdefs.h >>conftest.$ac_ext
32057 cat >>conftest.$ac_ext <<_ACEOF
32058 /* end confdefs.h. */
32068 rm -f conftest.$ac_objext conftest$ac_exeext
32069 if { (ac_try="$ac_link"
32070 case "(($ac_try" in
32071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32072 *) ac_try_echo=$ac_try;;
32074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32075 (eval "$ac_link") 2>conftest.er1
32077 grep -v '^ *+' conftest.er1 >conftest.err
32079 cat conftest.err >&5
32080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32081 (exit $ac_status); } && {
32082 test -z "$ac_c_werror_flag" ||
32083 test ! -s conftest.err
32084 } && test -s conftest$ac_exeext &&
32085 $as_test_x conftest$ac_exeext; then
32086 { echo "$as_me:$LINENO: result: no" >&5
32087 echo "${ECHO_T}no" >&6; }
32088 X_LIBS="$X_LIBS -R$x_libraries"
32090 echo "$as_me: failed program was:" >&5
32091 sed 's/^/| /' conftest.$ac_ext >&5
32093 LIBS="$ac_xsave_LIBS -R $x_libraries"
32094 cat >conftest.$ac_ext <<_ACEOF
32097 cat confdefs.h >>conftest.$ac_ext
32098 cat >>conftest.$ac_ext <<_ACEOF
32099 /* end confdefs.h. */
32109 rm -f conftest.$ac_objext conftest$ac_exeext
32110 if { (ac_try="$ac_link"
32111 case "(($ac_try" in
32112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32113 *) ac_try_echo=$ac_try;;
32115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32116 (eval "$ac_link") 2>conftest.er1
32118 grep -v '^ *+' conftest.er1 >conftest.err
32120 cat conftest.err >&5
32121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32122 (exit $ac_status); } && {
32123 test -z "$ac_c_werror_flag" ||
32124 test ! -s conftest.err
32125 } && test -s conftest$ac_exeext &&
32126 $as_test_x conftest$ac_exeext; then
32127 { echo "$as_me:$LINENO: result: yes" >&5
32128 echo "${ECHO_T}yes" >&6; }
32129 X_LIBS="$X_LIBS -R $x_libraries"
32131 echo "$as_me: failed program was:" >&5
32132 sed 's/^/| /' conftest.$ac_ext >&5
32134 { echo "$as_me:$LINENO: result: neither works" >&5
32135 echo "${ECHO_T}neither works" >&6; }
32138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32139 conftest$ac_exeext conftest.$ac_ext
32142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32143 conftest$ac_exeext conftest.$ac_ext
32144 ac_c_werror_flag=$ac_xsave_c_werror_flag
32145 LIBS=$ac_xsave_LIBS
32148 # Check for system-dependent libraries X programs must link with.
32149 # Do this before checking for the system-independent R6 libraries
32150 # (-lICE), since we may need -lsocket or whatever for X linking.
32152 if test "$ISC" = yes; then
32153 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32155 # Martyn Johnson says this is needed for Ultrix, if the X
32156 # libraries were built with DECnet support. And Karl Berry says
32157 # the Alpha needs dnet_stub (dnet does not exist).
32158 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32159 cat >conftest.$ac_ext <<_ACEOF
32162 cat confdefs.h >>conftest.$ac_ext
32163 cat >>conftest.$ac_ext <<_ACEOF
32164 /* end confdefs.h. */
32166 /* Override any GCC internal prototype to avoid an error.
32167 Use char because int might match the return type of a GCC
32168 builtin and then its argument prototype would still apply. */
32172 char XOpenDisplay ();
32176 return XOpenDisplay ();
32181 rm -f conftest.$ac_objext conftest$ac_exeext
32182 if { (ac_try="$ac_link"
32183 case "(($ac_try" in
32184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32185 *) ac_try_echo=$ac_try;;
32187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32188 (eval "$ac_link") 2>conftest.er1
32190 grep -v '^ *+' conftest.er1 >conftest.err
32192 cat conftest.err >&5
32193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32194 (exit $ac_status); } && {
32195 test -z "$ac_c_werror_flag" ||
32196 test ! -s conftest.err
32197 } && test -s conftest$ac_exeext &&
32198 $as_test_x conftest$ac_exeext; then
32201 echo "$as_me: failed program was:" >&5
32202 sed 's/^/| /' conftest.$ac_ext >&5
32204 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32205 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32206 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32207 echo $ECHO_N "(cached) $ECHO_C" >&6
32209 ac_check_lib_save_LIBS=$LIBS
32210 LIBS="-ldnet $LIBS"
32211 cat >conftest.$ac_ext <<_ACEOF
32214 cat confdefs.h >>conftest.$ac_ext
32215 cat >>conftest.$ac_ext <<_ACEOF
32216 /* end confdefs.h. */
32218 /* Override any GCC internal prototype to avoid an error.
32219 Use char because int might match the return type of a GCC
32220 builtin and then its argument prototype would still apply. */
32228 return dnet_ntoa ();
32233 rm -f conftest.$ac_objext conftest$ac_exeext
32234 if { (ac_try="$ac_link"
32235 case "(($ac_try" in
32236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32237 *) ac_try_echo=$ac_try;;
32239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32240 (eval "$ac_link") 2>conftest.er1
32242 grep -v '^ *+' conftest.er1 >conftest.err
32244 cat conftest.err >&5
32245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32246 (exit $ac_status); } && {
32247 test -z "$ac_c_werror_flag" ||
32248 test ! -s conftest.err
32249 } && test -s conftest$ac_exeext &&
32250 $as_test_x conftest$ac_exeext; then
32251 ac_cv_lib_dnet_dnet_ntoa=yes
32253 echo "$as_me: failed program was:" >&5
32254 sed 's/^/| /' conftest.$ac_ext >&5
32256 ac_cv_lib_dnet_dnet_ntoa=no
32259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32260 conftest$ac_exeext conftest.$ac_ext
32261 LIBS=$ac_check_lib_save_LIBS
32263 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32264 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32265 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32266 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32269 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32270 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32271 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32272 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32273 echo $ECHO_N "(cached) $ECHO_C" >&6
32275 ac_check_lib_save_LIBS=$LIBS
32276 LIBS="-ldnet_stub $LIBS"
32277 cat >conftest.$ac_ext <<_ACEOF
32280 cat confdefs.h >>conftest.$ac_ext
32281 cat >>conftest.$ac_ext <<_ACEOF
32282 /* end confdefs.h. */
32284 /* Override any GCC internal prototype to avoid an error.
32285 Use char because int might match the return type of a GCC
32286 builtin and then its argument prototype would still apply. */
32294 return dnet_ntoa ();
32299 rm -f conftest.$ac_objext conftest$ac_exeext
32300 if { (ac_try="$ac_link"
32301 case "(($ac_try" in
32302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32303 *) ac_try_echo=$ac_try;;
32305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32306 (eval "$ac_link") 2>conftest.er1
32308 grep -v '^ *+' conftest.er1 >conftest.err
32310 cat conftest.err >&5
32311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32312 (exit $ac_status); } && {
32313 test -z "$ac_c_werror_flag" ||
32314 test ! -s conftest.err
32315 } && test -s conftest$ac_exeext &&
32316 $as_test_x conftest$ac_exeext; then
32317 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32319 echo "$as_me: failed program was:" >&5
32320 sed 's/^/| /' conftest.$ac_ext >&5
32322 ac_cv_lib_dnet_stub_dnet_ntoa=no
32325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32326 conftest$ac_exeext conftest.$ac_ext
32327 LIBS=$ac_check_lib_save_LIBS
32329 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32330 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32331 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32332 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32339 conftest$ac_exeext conftest.$ac_ext
32340 LIBS="$ac_xsave_LIBS"
32342 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32343 # to get the SysV transport functions.
32344 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32346 # The nsl library prevents programs from opening the X display
32347 # on Irix 5.2, according to T.E. Dickey.
32348 # The functions gethostbyname, getservbyname, and inet_addr are
32349 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32350 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32351 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32352 if test "${ac_cv_func_gethostbyname+set}" = set; then
32353 echo $ECHO_N "(cached) $ECHO_C" >&6
32355 cat >conftest.$ac_ext <<_ACEOF
32358 cat confdefs.h >>conftest.$ac_ext
32359 cat >>conftest.$ac_ext <<_ACEOF
32360 /* end confdefs.h. */
32361 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32363 #define gethostbyname innocuous_gethostbyname
32365 /* System header to define __stub macros and hopefully few prototypes,
32366 which can conflict with char gethostbyname (); below.
32367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32368 <limits.h> exists even on freestanding compilers. */
32371 # include <limits.h>
32373 # include <assert.h>
32376 #undef gethostbyname
32378 /* Override any GCC internal prototype to avoid an error.
32379 Use char because int might match the return type of a GCC
32380 builtin and then its argument prototype would still apply. */
32384 char gethostbyname ();
32385 /* The GNU C library defines this for functions which it implements
32386 to always fail with ENOSYS. Some functions are actually named
32387 something starting with __ and the normal name is an alias. */
32388 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32395 return gethostbyname ();
32400 rm -f conftest.$ac_objext conftest$ac_exeext
32401 if { (ac_try="$ac_link"
32402 case "(($ac_try" in
32403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32404 *) ac_try_echo=$ac_try;;
32406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32407 (eval "$ac_link") 2>conftest.er1
32409 grep -v '^ *+' conftest.er1 >conftest.err
32411 cat conftest.err >&5
32412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32413 (exit $ac_status); } && {
32414 test -z "$ac_c_werror_flag" ||
32415 test ! -s conftest.err
32416 } && test -s conftest$ac_exeext &&
32417 $as_test_x conftest$ac_exeext; then
32418 ac_cv_func_gethostbyname=yes
32420 echo "$as_me: failed program was:" >&5
32421 sed 's/^/| /' conftest.$ac_ext >&5
32423 ac_cv_func_gethostbyname=no
32426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32427 conftest$ac_exeext conftest.$ac_ext
32429 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32430 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32432 if test $ac_cv_func_gethostbyname = no; then
32433 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32434 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32435 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32436 echo $ECHO_N "(cached) $ECHO_C" >&6
32438 ac_check_lib_save_LIBS=$LIBS
32440 cat >conftest.$ac_ext <<_ACEOF
32443 cat confdefs.h >>conftest.$ac_ext
32444 cat >>conftest.$ac_ext <<_ACEOF
32445 /* end confdefs.h. */
32447 /* Override any GCC internal prototype to avoid an error.
32448 Use char because int might match the return type of a GCC
32449 builtin and then its argument prototype would still apply. */
32453 char gethostbyname ();
32457 return gethostbyname ();
32462 rm -f conftest.$ac_objext conftest$ac_exeext
32463 if { (ac_try="$ac_link"
32464 case "(($ac_try" in
32465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32466 *) ac_try_echo=$ac_try;;
32468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32469 (eval "$ac_link") 2>conftest.er1
32471 grep -v '^ *+' conftest.er1 >conftest.err
32473 cat conftest.err >&5
32474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32475 (exit $ac_status); } && {
32476 test -z "$ac_c_werror_flag" ||
32477 test ! -s conftest.err
32478 } && test -s conftest$ac_exeext &&
32479 $as_test_x conftest$ac_exeext; then
32480 ac_cv_lib_nsl_gethostbyname=yes
32482 echo "$as_me: failed program was:" >&5
32483 sed 's/^/| /' conftest.$ac_ext >&5
32485 ac_cv_lib_nsl_gethostbyname=no
32488 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32489 conftest$ac_exeext conftest.$ac_ext
32490 LIBS=$ac_check_lib_save_LIBS
32492 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32493 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32494 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32495 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32498 if test $ac_cv_lib_nsl_gethostbyname = no; then
32499 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32500 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32501 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32502 echo $ECHO_N "(cached) $ECHO_C" >&6
32504 ac_check_lib_save_LIBS=$LIBS
32506 cat >conftest.$ac_ext <<_ACEOF
32509 cat confdefs.h >>conftest.$ac_ext
32510 cat >>conftest.$ac_ext <<_ACEOF
32511 /* end confdefs.h. */
32513 /* Override any GCC internal prototype to avoid an error.
32514 Use char because int might match the return type of a GCC
32515 builtin and then its argument prototype would still apply. */
32519 char gethostbyname ();
32523 return gethostbyname ();
32528 rm -f conftest.$ac_objext conftest$ac_exeext
32529 if { (ac_try="$ac_link"
32530 case "(($ac_try" in
32531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32532 *) ac_try_echo=$ac_try;;
32534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32535 (eval "$ac_link") 2>conftest.er1
32537 grep -v '^ *+' conftest.er1 >conftest.err
32539 cat conftest.err >&5
32540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32541 (exit $ac_status); } && {
32542 test -z "$ac_c_werror_flag" ||
32543 test ! -s conftest.err
32544 } && test -s conftest$ac_exeext &&
32545 $as_test_x conftest$ac_exeext; then
32546 ac_cv_lib_bsd_gethostbyname=yes
32548 echo "$as_me: failed program was:" >&5
32549 sed 's/^/| /' conftest.$ac_ext >&5
32551 ac_cv_lib_bsd_gethostbyname=no
32554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32555 conftest$ac_exeext conftest.$ac_ext
32556 LIBS=$ac_check_lib_save_LIBS
32558 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32559 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32560 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32561 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32567 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32568 # socket/setsockopt and other routines are undefined under SCO ODT
32569 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32570 # on later versions), says Simon Leinen: it contains gethostby*
32571 # variants that don't use the name server (or something). -lsocket
32572 # must be given before -lnsl if both are needed. We assume that
32573 # if connect needs -lnsl, so does gethostbyname.
32574 { echo "$as_me:$LINENO: checking for connect" >&5
32575 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32576 if test "${ac_cv_func_connect+set}" = set; then
32577 echo $ECHO_N "(cached) $ECHO_C" >&6
32579 cat >conftest.$ac_ext <<_ACEOF
32582 cat confdefs.h >>conftest.$ac_ext
32583 cat >>conftest.$ac_ext <<_ACEOF
32584 /* end confdefs.h. */
32585 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32587 #define connect innocuous_connect
32589 /* System header to define __stub macros and hopefully few prototypes,
32590 which can conflict with char connect (); below.
32591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32592 <limits.h> exists even on freestanding compilers. */
32595 # include <limits.h>
32597 # include <assert.h>
32602 /* Override any GCC internal prototype to avoid an error.
32603 Use char because int might match the return type of a GCC
32604 builtin and then its argument prototype would still apply. */
32609 /* The GNU C library defines this for functions which it implements
32610 to always fail with ENOSYS. Some functions are actually named
32611 something starting with __ and the normal name is an alias. */
32612 #if defined __stub_connect || defined __stub___connect
32624 rm -f conftest.$ac_objext conftest$ac_exeext
32625 if { (ac_try="$ac_link"
32626 case "(($ac_try" in
32627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32628 *) ac_try_echo=$ac_try;;
32630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32631 (eval "$ac_link") 2>conftest.er1
32633 grep -v '^ *+' conftest.er1 >conftest.err
32635 cat conftest.err >&5
32636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32637 (exit $ac_status); } && {
32638 test -z "$ac_c_werror_flag" ||
32639 test ! -s conftest.err
32640 } && test -s conftest$ac_exeext &&
32641 $as_test_x conftest$ac_exeext; then
32642 ac_cv_func_connect=yes
32644 echo "$as_me: failed program was:" >&5
32645 sed 's/^/| /' conftest.$ac_ext >&5
32647 ac_cv_func_connect=no
32650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32651 conftest$ac_exeext conftest.$ac_ext
32653 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32654 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32656 if test $ac_cv_func_connect = no; then
32657 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32658 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32659 if test "${ac_cv_lib_socket_connect+set}" = set; then
32660 echo $ECHO_N "(cached) $ECHO_C" >&6
32662 ac_check_lib_save_LIBS=$LIBS
32663 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32664 cat >conftest.$ac_ext <<_ACEOF
32667 cat confdefs.h >>conftest.$ac_ext
32668 cat >>conftest.$ac_ext <<_ACEOF
32669 /* end confdefs.h. */
32671 /* Override any GCC internal prototype to avoid an error.
32672 Use char because int might match the return type of a GCC
32673 builtin and then its argument prototype would still apply. */
32686 rm -f conftest.$ac_objext conftest$ac_exeext
32687 if { (ac_try="$ac_link"
32688 case "(($ac_try" in
32689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32690 *) ac_try_echo=$ac_try;;
32692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32693 (eval "$ac_link") 2>conftest.er1
32695 grep -v '^ *+' conftest.er1 >conftest.err
32697 cat conftest.err >&5
32698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32699 (exit $ac_status); } && {
32700 test -z "$ac_c_werror_flag" ||
32701 test ! -s conftest.err
32702 } && test -s conftest$ac_exeext &&
32703 $as_test_x conftest$ac_exeext; then
32704 ac_cv_lib_socket_connect=yes
32706 echo "$as_me: failed program was:" >&5
32707 sed 's/^/| /' conftest.$ac_ext >&5
32709 ac_cv_lib_socket_connect=no
32712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32713 conftest$ac_exeext conftest.$ac_ext
32714 LIBS=$ac_check_lib_save_LIBS
32716 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32717 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32718 if test $ac_cv_lib_socket_connect = yes; then
32719 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32724 # Guillermo Gomez says -lposix is necessary on A/UX.
32725 { echo "$as_me:$LINENO: checking for remove" >&5
32726 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32727 if test "${ac_cv_func_remove+set}" = set; then
32728 echo $ECHO_N "(cached) $ECHO_C" >&6
32730 cat >conftest.$ac_ext <<_ACEOF
32733 cat confdefs.h >>conftest.$ac_ext
32734 cat >>conftest.$ac_ext <<_ACEOF
32735 /* end confdefs.h. */
32736 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32738 #define remove innocuous_remove
32740 /* System header to define __stub macros and hopefully few prototypes,
32741 which can conflict with char remove (); below.
32742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32743 <limits.h> exists even on freestanding compilers. */
32746 # include <limits.h>
32748 # include <assert.h>
32753 /* Override any GCC internal prototype to avoid an error.
32754 Use char because int might match the return type of a GCC
32755 builtin and then its argument prototype would still apply. */
32760 /* The GNU C library defines this for functions which it implements
32761 to always fail with ENOSYS. Some functions are actually named
32762 something starting with __ and the normal name is an alias. */
32763 #if defined __stub_remove || defined __stub___remove
32775 rm -f conftest.$ac_objext conftest$ac_exeext
32776 if { (ac_try="$ac_link"
32777 case "(($ac_try" in
32778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32779 *) ac_try_echo=$ac_try;;
32781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32782 (eval "$ac_link") 2>conftest.er1
32784 grep -v '^ *+' conftest.er1 >conftest.err
32786 cat conftest.err >&5
32787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32788 (exit $ac_status); } && {
32789 test -z "$ac_c_werror_flag" ||
32790 test ! -s conftest.err
32791 } && test -s conftest$ac_exeext &&
32792 $as_test_x conftest$ac_exeext; then
32793 ac_cv_func_remove=yes
32795 echo "$as_me: failed program was:" >&5
32796 sed 's/^/| /' conftest.$ac_ext >&5
32798 ac_cv_func_remove=no
32801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32802 conftest$ac_exeext conftest.$ac_ext
32804 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32805 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32807 if test $ac_cv_func_remove = no; then
32808 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32809 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32810 if test "${ac_cv_lib_posix_remove+set}" = set; then
32811 echo $ECHO_N "(cached) $ECHO_C" >&6
32813 ac_check_lib_save_LIBS=$LIBS
32814 LIBS="-lposix $LIBS"
32815 cat >conftest.$ac_ext <<_ACEOF
32818 cat confdefs.h >>conftest.$ac_ext
32819 cat >>conftest.$ac_ext <<_ACEOF
32820 /* end confdefs.h. */
32822 /* Override any GCC internal prototype to avoid an error.
32823 Use char because int might match the return type of a GCC
32824 builtin and then its argument prototype would still apply. */
32837 rm -f conftest.$ac_objext conftest$ac_exeext
32838 if { (ac_try="$ac_link"
32839 case "(($ac_try" in
32840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32841 *) ac_try_echo=$ac_try;;
32843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32844 (eval "$ac_link") 2>conftest.er1
32846 grep -v '^ *+' conftest.er1 >conftest.err
32848 cat conftest.err >&5
32849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32850 (exit $ac_status); } && {
32851 test -z "$ac_c_werror_flag" ||
32852 test ! -s conftest.err
32853 } && test -s conftest$ac_exeext &&
32854 $as_test_x conftest$ac_exeext; then
32855 ac_cv_lib_posix_remove=yes
32857 echo "$as_me: failed program was:" >&5
32858 sed 's/^/| /' conftest.$ac_ext >&5
32860 ac_cv_lib_posix_remove=no
32863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32864 conftest$ac_exeext conftest.$ac_ext
32865 LIBS=$ac_check_lib_save_LIBS
32867 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32868 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32869 if test $ac_cv_lib_posix_remove = yes; then
32870 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32875 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32876 { echo "$as_me:$LINENO: checking for shmat" >&5
32877 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32878 if test "${ac_cv_func_shmat+set}" = set; then
32879 echo $ECHO_N "(cached) $ECHO_C" >&6
32881 cat >conftest.$ac_ext <<_ACEOF
32884 cat confdefs.h >>conftest.$ac_ext
32885 cat >>conftest.$ac_ext <<_ACEOF
32886 /* end confdefs.h. */
32887 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32889 #define shmat innocuous_shmat
32891 /* System header to define __stub macros and hopefully few prototypes,
32892 which can conflict with char shmat (); below.
32893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32894 <limits.h> exists even on freestanding compilers. */
32897 # include <limits.h>
32899 # include <assert.h>
32904 /* Override any GCC internal prototype to avoid an error.
32905 Use char because int might match the return type of a GCC
32906 builtin and then its argument prototype would still apply. */
32911 /* The GNU C library defines this for functions which it implements
32912 to always fail with ENOSYS. Some functions are actually named
32913 something starting with __ and the normal name is an alias. */
32914 #if defined __stub_shmat || defined __stub___shmat
32926 rm -f conftest.$ac_objext conftest$ac_exeext
32927 if { (ac_try="$ac_link"
32928 case "(($ac_try" in
32929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32930 *) ac_try_echo=$ac_try;;
32932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32933 (eval "$ac_link") 2>conftest.er1
32935 grep -v '^ *+' conftest.er1 >conftest.err
32937 cat conftest.err >&5
32938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32939 (exit $ac_status); } && {
32940 test -z "$ac_c_werror_flag" ||
32941 test ! -s conftest.err
32942 } && test -s conftest$ac_exeext &&
32943 $as_test_x conftest$ac_exeext; then
32944 ac_cv_func_shmat=yes
32946 echo "$as_me: failed program was:" >&5
32947 sed 's/^/| /' conftest.$ac_ext >&5
32949 ac_cv_func_shmat=no
32952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32953 conftest$ac_exeext conftest.$ac_ext
32955 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32956 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32958 if test $ac_cv_func_shmat = no; then
32959 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32960 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32961 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32962 echo $ECHO_N "(cached) $ECHO_C" >&6
32964 ac_check_lib_save_LIBS=$LIBS
32966 cat >conftest.$ac_ext <<_ACEOF
32969 cat confdefs.h >>conftest.$ac_ext
32970 cat >>conftest.$ac_ext <<_ACEOF
32971 /* end confdefs.h. */
32973 /* Override any GCC internal prototype to avoid an error.
32974 Use char because int might match the return type of a GCC
32975 builtin and then its argument prototype would still apply. */
32988 rm -f conftest.$ac_objext conftest$ac_exeext
32989 if { (ac_try="$ac_link"
32990 case "(($ac_try" in
32991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32992 *) ac_try_echo=$ac_try;;
32994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32995 (eval "$ac_link") 2>conftest.er1
32997 grep -v '^ *+' conftest.er1 >conftest.err
32999 cat conftest.err >&5
33000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33001 (exit $ac_status); } && {
33002 test -z "$ac_c_werror_flag" ||
33003 test ! -s conftest.err
33004 } && test -s conftest$ac_exeext &&
33005 $as_test_x conftest$ac_exeext; then
33006 ac_cv_lib_ipc_shmat=yes
33008 echo "$as_me: failed program was:" >&5
33009 sed 's/^/| /' conftest.$ac_ext >&5
33011 ac_cv_lib_ipc_shmat=no
33014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33015 conftest$ac_exeext conftest.$ac_ext
33016 LIBS=$ac_check_lib_save_LIBS
33018 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33019 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33020 if test $ac_cv_lib_ipc_shmat = yes; then
33021 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33027 # Check for libraries that X11R6 Xt/Xaw programs need.
33028 ac_save_LDFLAGS=$LDFLAGS
33029 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33030 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33031 # check for ICE first), but we must link in the order -lSM -lICE or
33032 # we get undefined symbols. So assume we have SM if we have ICE.
33033 # These have to be linked with before -lX11, unlike the other
33034 # libraries we check for below, so use a different variable.
33035 # John Interrante, Karl Berry
33036 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33037 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33038 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33039 echo $ECHO_N "(cached) $ECHO_C" >&6
33041 ac_check_lib_save_LIBS=$LIBS
33042 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33043 cat >conftest.$ac_ext <<_ACEOF
33046 cat confdefs.h >>conftest.$ac_ext
33047 cat >>conftest.$ac_ext <<_ACEOF
33048 /* end confdefs.h. */
33050 /* Override any GCC internal prototype to avoid an error.
33051 Use char because int might match the return type of a GCC
33052 builtin and then its argument prototype would still apply. */
33056 char IceConnectionNumber ();
33060 return IceConnectionNumber ();
33065 rm -f conftest.$ac_objext conftest$ac_exeext
33066 if { (ac_try="$ac_link"
33067 case "(($ac_try" in
33068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33069 *) ac_try_echo=$ac_try;;
33071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33072 (eval "$ac_link") 2>conftest.er1
33074 grep -v '^ *+' conftest.er1 >conftest.err
33076 cat conftest.err >&5
33077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33078 (exit $ac_status); } && {
33079 test -z "$ac_c_werror_flag" ||
33080 test ! -s conftest.err
33081 } && test -s conftest$ac_exeext &&
33082 $as_test_x conftest$ac_exeext; then
33083 ac_cv_lib_ICE_IceConnectionNumber=yes
33085 echo "$as_me: failed program was:" >&5
33086 sed 's/^/| /' conftest.$ac_ext >&5
33088 ac_cv_lib_ICE_IceConnectionNumber=no
33091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33092 conftest$ac_exeext conftest.$ac_ext
33093 LIBS=$ac_check_lib_save_LIBS
33095 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33096 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33097 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33098 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33101 LDFLAGS=$ac_save_LDFLAGS
33106 if test "$no_x" = "yes"; then
33107 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33108 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33109 { (exit 1); exit 1; }; }
33112 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33113 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33114 AFMINSTALL=afminstall
33115 COMPILED_X_PROGRAM=0
33119 if test "$wxUSE_X11" = 1; then
33120 if test "$wxUSE_NANOX" = "yes"; then
33121 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33122 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33123 if test "x$MICROWIN" = x ; then
33124 { echo "$as_me:$LINENO: result: not found" >&5
33125 echo "${ECHO_T}not found" >&6; }
33126 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33127 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33128 { (exit 1); exit 1; }; }
33130 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33131 echo "${ECHO_T}$MICROWIN" >&6; }
33132 cat >>confdefs.h <<\_ACEOF
33133 #define wxUSE_NANOX 1
33139 if test "$wxUSE_UNICODE" = "yes"; then
33142 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33143 if test -n "$ac_tool_prefix"; then
33144 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33145 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33146 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33148 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33149 echo $ECHO_N "(cached) $ECHO_C" >&6
33151 case $PKG_CONFIG in
33153 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33157 for as_dir in $PATH
33160 test -z "$as_dir" && as_dir=.
33161 for ac_exec_ext in '' $ac_executable_extensions; do
33162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33163 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33174 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33175 if test -n "$PKG_CONFIG"; then
33176 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33177 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33179 { echo "$as_me:$LINENO: result: no" >&5
33180 echo "${ECHO_T}no" >&6; }
33185 if test -z "$ac_cv_path_PKG_CONFIG"; then
33186 ac_pt_PKG_CONFIG=$PKG_CONFIG
33187 # Extract the first word of "pkg-config", so it can be a program name with args.
33188 set dummy pkg-config; ac_word=$2
33189 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33191 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33192 echo $ECHO_N "(cached) $ECHO_C" >&6
33194 case $ac_pt_PKG_CONFIG in
33196 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33200 for as_dir in $PATH
33203 test -z "$as_dir" && as_dir=.
33204 for ac_exec_ext in '' $ac_executable_extensions; do
33205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33206 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33217 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33218 if test -n "$ac_pt_PKG_CONFIG"; then
33219 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33220 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33222 { echo "$as_me:$LINENO: result: no" >&5
33223 echo "${ECHO_T}no" >&6; }
33226 if test "x$ac_pt_PKG_CONFIG" = x; then
33229 case $cross_compiling:$ac_tool_warned in
33231 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33232 whose name does not start with the host triplet. If you think this
33233 configuration is useful to you, please write to autoconf@gnu.org." >&5
33234 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33235 whose name does not start with the host triplet. If you think this
33236 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33237 ac_tool_warned=yes ;;
33239 PKG_CONFIG=$ac_pt_PKG_CONFIG
33242 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33246 if test -n "$PKG_CONFIG"; then
33247 _pkg_min_version=0.9.0
33248 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33249 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33250 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33251 { echo "$as_me:$LINENO: result: yes" >&5
33252 echo "${ECHO_T}yes" >&6; }
33254 { echo "$as_me:$LINENO: result: no" >&5
33255 echo "${ECHO_T}no" >&6; }
33263 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33264 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33266 if test -n "$PKG_CONFIG"; then
33267 if test -n "$PANGOX_CFLAGS"; then
33268 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33270 if test -n "$PKG_CONFIG" && \
33271 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33272 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33275 (exit $ac_status); }; then
33276 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33284 if test -n "$PKG_CONFIG"; then
33285 if test -n "$PANGOX_LIBS"; then
33286 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33288 if test -n "$PKG_CONFIG" && \
33289 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33290 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33293 (exit $ac_status); }; then
33294 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33305 if test $pkg_failed = yes; then
33307 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33308 _pkg_short_errors_supported=yes
33310 _pkg_short_errors_supported=no
33312 if test $_pkg_short_errors_supported = yes; then
33313 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33315 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33317 # Put the nasty error message in config.log where it belongs
33318 echo "$PANGOX_PKG_ERRORS" >&5
33321 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33322 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33323 { (exit 1); exit 1; }; }
33326 elif test $pkg_failed = untried; then
33328 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33329 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33330 { (exit 1); exit 1; }; }
33334 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33335 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33336 { echo "$as_me:$LINENO: result: yes" >&5
33337 echo "${ECHO_T}yes" >&6; }
33339 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33340 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33341 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33346 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33347 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33349 if test -n "$PKG_CONFIG"; then
33350 if test -n "$PANGOFT2_CFLAGS"; then
33351 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33353 if test -n "$PKG_CONFIG" && \
33354 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33355 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33358 (exit $ac_status); }; then
33359 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33367 if test -n "$PKG_CONFIG"; then
33368 if test -n "$PANGOFT2_LIBS"; then
33369 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33371 if test -n "$PKG_CONFIG" && \
33372 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33373 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33376 (exit $ac_status); }; then
33377 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33388 if test $pkg_failed = yes; then
33390 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33391 _pkg_short_errors_supported=yes
33393 _pkg_short_errors_supported=no
33395 if test $_pkg_short_errors_supported = yes; then
33396 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33398 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33400 # Put the nasty error message in config.log where it belongs
33401 echo "$PANGOFT2_PKG_ERRORS" >&5
33404 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33405 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33406 wxUSE_PRINTING_ARCHITECTURE="no"
33409 elif test $pkg_failed = untried; then
33411 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33412 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33413 wxUSE_PRINTING_ARCHITECTURE="no"
33417 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33418 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33419 { echo "$as_me:$LINENO: result: yes" >&5
33420 echo "${ECHO_T}yes" >&6; }
33422 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33423 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33424 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33429 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33430 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33432 if test -n "$PKG_CONFIG"; then
33433 if test -n "$PANGOXFT_CFLAGS"; then
33434 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33436 if test -n "$PKG_CONFIG" && \
33437 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33438 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33441 (exit $ac_status); }; then
33442 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33450 if test -n "$PKG_CONFIG"; then
33451 if test -n "$PANGOXFT_LIBS"; then
33452 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33454 if test -n "$PKG_CONFIG" && \
33455 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33456 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33459 (exit $ac_status); }; then
33460 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33471 if test $pkg_failed = yes; then
33473 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33474 _pkg_short_errors_supported=yes
33476 _pkg_short_errors_supported=no
33478 if test $_pkg_short_errors_supported = yes; then
33479 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33481 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33483 # Put the nasty error message in config.log where it belongs
33484 echo "$PANGOXFT_PKG_ERRORS" >&5
33487 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33488 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33491 elif test $pkg_failed = untried; then
33493 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33494 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33498 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33499 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33500 { echo "$as_me:$LINENO: result: yes" >&5
33501 echo "${ECHO_T}yes" >&6; }
33503 cat >>confdefs.h <<\_ACEOF
33504 #define HAVE_PANGO_XFT 1
33507 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33508 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33509 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33513 LIBS="$LIBS $PANGOX_LIBS"
33515 for ac_func in pango_font_family_is_monospace
33517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33518 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33520 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33521 echo $ECHO_N "(cached) $ECHO_C" >&6
33523 cat >conftest.$ac_ext <<_ACEOF
33526 cat confdefs.h >>conftest.$ac_ext
33527 cat >>conftest.$ac_ext <<_ACEOF
33528 /* end confdefs.h. */
33529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33531 #define $ac_func innocuous_$ac_func
33533 /* System header to define __stub macros and hopefully few prototypes,
33534 which can conflict with char $ac_func (); below.
33535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33536 <limits.h> exists even on freestanding compilers. */
33539 # include <limits.h>
33541 # include <assert.h>
33546 /* Override any GCC internal prototype to avoid an error.
33547 Use char because int might match the return type of a GCC
33548 builtin and then its argument prototype would still apply. */
33553 /* The GNU C library defines this for functions which it implements
33554 to always fail with ENOSYS. Some functions are actually named
33555 something starting with __ and the normal name is an alias. */
33556 #if defined __stub_$ac_func || defined __stub___$ac_func
33563 return $ac_func ();
33568 rm -f conftest.$ac_objext conftest$ac_exeext
33569 if { (ac_try="$ac_link"
33570 case "(($ac_try" in
33571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33572 *) ac_try_echo=$ac_try;;
33574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33575 (eval "$ac_link") 2>conftest.er1
33577 grep -v '^ *+' conftest.er1 >conftest.err
33579 cat conftest.err >&5
33580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33581 (exit $ac_status); } && {
33582 test -z "$ac_c_werror_flag" ||
33583 test ! -s conftest.err
33584 } && test -s conftest$ac_exeext &&
33585 $as_test_x conftest$ac_exeext; then
33586 eval "$as_ac_var=yes"
33588 echo "$as_me: failed program was:" >&5
33589 sed 's/^/| /' conftest.$ac_ext >&5
33591 eval "$as_ac_var=no"
33594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33595 conftest$ac_exeext conftest.$ac_ext
33597 ac_res=`eval echo '${'$as_ac_var'}'`
33598 { echo "$as_me:$LINENO: result: $ac_res" >&5
33599 echo "${ECHO_T}$ac_res" >&6; }
33600 if test `eval echo '${'$as_ac_var'}'` = yes; then
33601 cat >>confdefs.h <<_ACEOF
33602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33611 wxUSE_UNIVERSAL="yes"
33613 if test "$wxUSE_NANOX" = "yes"; then
33614 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33615 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"
33616 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33618 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33625 if test "$wxUSE_MOTIF" = 1; then
33626 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33627 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33630 for ac_dir in $SEARCH_INCLUDE /usr/include
33632 if test -f "$ac_dir/Xm/Xm.h"; then
33633 ac_find_includes=$ac_dir
33638 if test "$ac_find_includes" != "" ; then
33639 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33640 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33642 if test "x$ac_find_includes" = "x/usr/include"; then
33643 ac_path_to_include=""
33645 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33647 if test $result = 0; then
33648 ac_path_to_include=""
33650 ac_path_to_include=" -I$ac_find_includes"
33654 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33656 save_CFLAGS=$CFLAGS
33657 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33659 cat >conftest.$ac_ext <<_ACEOF
33662 cat confdefs.h >>conftest.$ac_ext
33663 cat >>conftest.$ac_ext <<_ACEOF
33664 /* end confdefs.h. */
33673 version = xmUseVersion;
33679 rm -f conftest.$ac_objext
33680 if { (ac_try="$ac_compile"
33681 case "(($ac_try" in
33682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33683 *) ac_try_echo=$ac_try;;
33685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33686 (eval "$ac_compile") 2>conftest.er1
33688 grep -v '^ *+' conftest.er1 >conftest.err
33690 cat conftest.err >&5
33691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33692 (exit $ac_status); } && {
33693 test -z "$ac_c_werror_flag" ||
33694 test ! -s conftest.err
33695 } && test -s conftest.$ac_objext; then
33697 { echo "$as_me:$LINENO: result: found in default search path" >&5
33698 echo "${ECHO_T}found in default search path" >&6; }
33699 COMPILED_X_PROGRAM=1
33702 echo "$as_me: failed program was:" >&5
33703 sed 's/^/| /' conftest.$ac_ext >&5
33706 { echo "$as_me:$LINENO: result: no" >&5
33707 echo "${ECHO_T}no" >&6; }
33708 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33709 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33710 { (exit 1); exit 1; }; }
33715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33717 CFLAGS=$save_CFLAGS
33721 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33722 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33725 for ac_dir in $SEARCH_LIB
33727 for ac_extension in a so sl dylib dll.a; do
33728 if test -f "$ac_dir/libXm.$ac_extension"; then
33729 ac_find_libraries=$ac_dir
33736 if test "x$ac_find_libraries" != "x" ; then
33737 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33738 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33741 if test "$ac_find_libraries" = "default location"; then
33744 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33746 if test $result = 0; then
33749 ac_path_to_link=" -L$ac_find_libraries"
33753 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33755 save_CFLAGS=$CFLAGS
33756 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33758 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33760 cat >conftest.$ac_ext <<_ACEOF
33763 cat confdefs.h >>conftest.$ac_ext
33764 cat >>conftest.$ac_ext <<_ACEOF
33765 /* end confdefs.h. */
33774 version = xmUseVersion;
33780 rm -f conftest.$ac_objext conftest$ac_exeext
33781 if { (ac_try="$ac_link"
33782 case "(($ac_try" in
33783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33784 *) ac_try_echo=$ac_try;;
33786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33787 (eval "$ac_link") 2>conftest.er1
33789 grep -v '^ *+' conftest.er1 >conftest.err
33791 cat conftest.err >&5
33792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33793 (exit $ac_status); } && {
33794 test -z "$ac_c_werror_flag" ||
33795 test ! -s conftest.err
33796 } && test -s conftest$ac_exeext &&
33797 $as_test_x conftest$ac_exeext; then
33799 { echo "$as_me:$LINENO: result: found in default search path" >&5
33800 echo "${ECHO_T}found in default search path" >&6; }
33801 COMPILED_X_PROGRAM=1
33804 echo "$as_me: failed program was:" >&5
33805 sed 's/^/| /' conftest.$ac_ext >&5
33808 { echo "$as_me:$LINENO: result: no" >&5
33809 echo "${ECHO_T}no" >&6; }
33810 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33811 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33812 { (exit 1); exit 1; }; }
33817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33818 conftest$ac_exeext conftest.$ac_ext
33820 CFLAGS=$save_CFLAGS
33824 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33825 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33829 for libp in "" " -lXp"; do
33830 if test "$libs_found" = 0; then
33831 for libsm_ice in "" " -lSM -lICE"; do
33832 if test "$libs_found" = 0; then
33834 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33835 save_CFLAGS=$CFLAGS
33836 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33838 cat >conftest.$ac_ext <<_ACEOF
33841 cat confdefs.h >>conftest.$ac_ext
33842 cat >>conftest.$ac_ext <<_ACEOF
33843 /* end confdefs.h. */
33846 #include <Xm/List.h>
33852 XmString string = NULL;
33855 XmListAddItem(w, string, position);
33861 rm -f conftest.$ac_objext conftest$ac_exeext
33862 if { (ac_try="$ac_link"
33863 case "(($ac_try" in
33864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33865 *) ac_try_echo=$ac_try;;
33867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33868 (eval "$ac_link") 2>conftest.er1
33870 grep -v '^ *+' conftest.er1 >conftest.err
33872 cat conftest.err >&5
33873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33874 (exit $ac_status); } && {
33875 test -z "$ac_c_werror_flag" ||
33876 test ! -s conftest.err
33877 } && test -s conftest$ac_exeext &&
33878 $as_test_x conftest$ac_exeext; then
33881 libsm_ice_link="$libsm_ice"
33882 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33883 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33887 echo "$as_me: failed program was:" >&5
33888 sed 's/^/| /' conftest.$ac_ext >&5
33894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33895 conftest$ac_exeext conftest.$ac_ext
33898 CFLAGS=$save_CFLAGS
33904 if test "$libs_found" = 0; then
33905 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33906 echo "${ECHO_T}can't find the right libraries" >&6; }
33907 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33908 echo "$as_me: error: can't link a simple motif program" >&2;}
33909 { (exit 1); exit 1; }; }
33912 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33913 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33914 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33915 echo $ECHO_N "(cached) $ECHO_C" >&6
33917 ac_check_lib_save_LIBS=$LIBS
33919 cat >conftest.$ac_ext <<_ACEOF
33922 cat confdefs.h >>conftest.$ac_ext
33923 cat >>conftest.$ac_ext <<_ACEOF
33924 /* end confdefs.h. */
33926 /* Override any GCC internal prototype to avoid an error.
33927 Use char because int might match the return type of a GCC
33928 builtin and then its argument prototype would still apply. */
33932 char SgCreateList ();
33936 return SgCreateList ();
33941 rm -f conftest.$ac_objext conftest$ac_exeext
33942 if { (ac_try="$ac_link"
33943 case "(($ac_try" in
33944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33945 *) ac_try_echo=$ac_try;;
33947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33948 (eval "$ac_link") 2>conftest.er1
33950 grep -v '^ *+' conftest.er1 >conftest.err
33952 cat conftest.err >&5
33953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33954 (exit $ac_status); } && {
33955 test -z "$ac_c_werror_flag" ||
33956 test ! -s conftest.err
33957 } && test -s conftest$ac_exeext &&
33958 $as_test_x conftest$ac_exeext; then
33959 ac_cv_lib_Sgm_SgCreateList=yes
33961 echo "$as_me: failed program was:" >&5
33962 sed 's/^/| /' conftest.$ac_ext >&5
33964 ac_cv_lib_Sgm_SgCreateList=no
33967 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33968 conftest$ac_exeext conftest.$ac_ext
33969 LIBS=$ac_check_lib_save_LIBS
33971 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33972 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33973 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33974 libsgm_link=" -lSgm"
33978 save_CFLAGS=$CFLAGS
33979 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33981 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33982 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33983 if test "${wx_cv_lib_motif2+set}" = set; then
33984 echo $ECHO_N "(cached) $ECHO_C" >&6
33986 cat >conftest.$ac_ext <<_ACEOF
33989 cat confdefs.h >>conftest.$ac_ext
33990 cat >>conftest.$ac_ext <<_ACEOF
33991 /* end confdefs.h. */
33999 #if XmVersion < 2000
34007 rm -f conftest.$ac_objext
34008 if { (ac_try="$ac_compile"
34009 case "(($ac_try" in
34010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34011 *) ac_try_echo=$ac_try;;
34013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34014 (eval "$ac_compile") 2>conftest.er1
34016 grep -v '^ *+' conftest.er1 >conftest.err
34018 cat conftest.err >&5
34019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34020 (exit $ac_status); } && {
34021 test -z "$ac_c_werror_flag" ||
34022 test ! -s conftest.err
34023 } && test -s conftest.$ac_objext; then
34024 wx_cv_lib_motif2="yes"
34026 echo "$as_me: failed program was:" >&5
34027 sed 's/^/| /' conftest.$ac_ext >&5
34029 wx_cv_lib_motif2="no"
34032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34034 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34035 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34036 if test "$wx_cv_lib_motif2" = "yes"; then
34037 cat >>confdefs.h <<\_ACEOF
34038 #define __WXMOTIF20__ 1
34042 cat >>confdefs.h <<\_ACEOF
34043 #define __WXMOTIF20__ 0
34048 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34049 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34050 if test "${wx_cv_lib_lesstif+set}" = set; then
34051 echo $ECHO_N "(cached) $ECHO_C" >&6
34053 cat >conftest.$ac_ext <<_ACEOF
34056 cat confdefs.h >>conftest.$ac_ext
34057 cat >>conftest.$ac_ext <<_ACEOF
34058 /* end confdefs.h. */
34066 #if !defined(LesstifVersion) || LesstifVersion <= 0
34074 rm -f conftest.$ac_objext
34075 if { (ac_try="$ac_compile"
34076 case "(($ac_try" in
34077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34078 *) ac_try_echo=$ac_try;;
34080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34081 (eval "$ac_compile") 2>conftest.er1
34083 grep -v '^ *+' conftest.er1 >conftest.err
34085 cat conftest.err >&5
34086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34087 (exit $ac_status); } && {
34088 test -z "$ac_c_werror_flag" ||
34089 test ! -s conftest.err
34090 } && test -s conftest.$ac_objext; then
34091 wx_cv_lib_lesstif="yes"
34093 echo "$as_me: failed program was:" >&5
34094 sed 's/^/| /' conftest.$ac_ext >&5
34096 wx_cv_lib_lesstif="no"
34099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34102 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34103 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34104 if test "$wx_cv_lib_lesstif" = "yes"; then
34105 cat >>confdefs.h <<\_ACEOF
34106 #define __WXLESSTIF__ 1
34110 cat >>confdefs.h <<\_ACEOF
34111 #define __WXLESSTIF__ 0
34116 CFLAGS=$save_CFLAGS
34118 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34123 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34124 if test "$wxUSE_LIBXPM" = "sys"; then
34125 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34126 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34129 for ac_dir in $SEARCH_LIB
34131 for ac_extension in a so sl dylib dll.a; do
34132 if test -f "$ac_dir/libXpm.$ac_extension"; then
34133 ac_find_libraries=$ac_dir
34139 if test "$ac_find_libraries" != "" ; then
34141 if test "$ac_find_libraries" = "default location"; then
34144 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34146 if test $result = 0; then
34149 ac_path_to_link=" -L$ac_find_libraries"
34153 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34154 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34155 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34157 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34158 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34159 if test "${wx_cv_x11_xpm_h+set}" = set; then
34160 echo $ECHO_N "(cached) $ECHO_C" >&6
34163 save_CFLAGS=$CFLAGS
34164 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34166 cat >conftest.$ac_ext <<_ACEOF
34169 cat confdefs.h >>conftest.$ac_ext
34170 cat >>conftest.$ac_ext <<_ACEOF
34171 /* end confdefs.h. */
34173 #include <X11/xpm.h>
34180 version = XpmLibraryVersion();
34186 rm -f conftest.$ac_objext
34187 if { (ac_try="$ac_compile"
34188 case "(($ac_try" in
34189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34190 *) ac_try_echo=$ac_try;;
34192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34193 (eval "$ac_compile") 2>conftest.er1
34195 grep -v '^ *+' conftest.er1 >conftest.err
34197 cat conftest.err >&5
34198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34199 (exit $ac_status); } && {
34200 test -z "$ac_c_werror_flag" ||
34201 test ! -s conftest.err
34202 } && test -s conftest.$ac_objext; then
34203 wx_cv_x11_xpm_h=yes
34205 echo "$as_me: failed program was:" >&5
34206 sed 's/^/| /' conftest.$ac_ext >&5
34212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34214 CFLAGS=$save_CFLAGS
34218 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34219 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34221 if test $wx_cv_x11_xpm_h = "yes"; then
34222 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34223 cat >>confdefs.h <<\_ACEOF
34224 #define wxHAVE_LIB_XPM 1
34228 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34229 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34235 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34236 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34237 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34238 echo $ECHO_N "(cached) $ECHO_C" >&6
34240 ac_check_lib_save_LIBS=$LIBS
34241 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34242 cat >conftest.$ac_ext <<_ACEOF
34245 cat confdefs.h >>conftest.$ac_ext
34246 cat >>conftest.$ac_ext <<_ACEOF
34247 /* end confdefs.h. */
34249 /* Override any GCC internal prototype to avoid an error.
34250 Use char because int might match the return type of a GCC
34251 builtin and then its argument prototype would still apply. */
34255 char XShapeQueryExtension ();
34259 return XShapeQueryExtension ();
34264 rm -f conftest.$ac_objext conftest$ac_exeext
34265 if { (ac_try="$ac_link"
34266 case "(($ac_try" in
34267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34268 *) ac_try_echo=$ac_try;;
34270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34271 (eval "$ac_link") 2>conftest.er1
34273 grep -v '^ *+' conftest.er1 >conftest.err
34275 cat conftest.err >&5
34276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34277 (exit $ac_status); } && {
34278 test -z "$ac_c_werror_flag" ||
34279 test ! -s conftest.err
34280 } && test -s conftest$ac_exeext &&
34281 $as_test_x conftest$ac_exeext; then
34282 ac_cv_lib_Xext_XShapeQueryExtension=yes
34284 echo "$as_me: failed program was:" >&5
34285 sed 's/^/| /' conftest.$ac_ext >&5
34287 ac_cv_lib_Xext_XShapeQueryExtension=no
34290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34291 conftest$ac_exeext conftest.$ac_ext
34292 LIBS=$ac_check_lib_save_LIBS
34294 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34295 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34296 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34298 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34304 if test "$wxHAVE_XEXT_LIB" = 1; then
34305 save_CFLAGS="$CFLAGS"
34306 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34308 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34309 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34310 cat >conftest.$ac_ext <<_ACEOF
34313 cat confdefs.h >>conftest.$ac_ext
34314 cat >>conftest.$ac_ext <<_ACEOF
34315 /* end confdefs.h. */
34317 #include <X11/Xlib.h>
34318 #include <X11/extensions/shape.h>
34324 int dummy1, dummy2;
34325 XShapeQueryExtension((Display*)NULL,
34326 (int*)NULL, (int*)NULL);
34332 rm -f conftest.$ac_objext
34333 if { (ac_try="$ac_compile"
34334 case "(($ac_try" in
34335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34336 *) ac_try_echo=$ac_try;;
34338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34339 (eval "$ac_compile") 2>conftest.er1
34341 grep -v '^ *+' conftest.er1 >conftest.err
34343 cat conftest.err >&5
34344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34345 (exit $ac_status); } && {
34346 test -z "$ac_c_werror_flag" ||
34347 test ! -s conftest.err
34348 } && test -s conftest.$ac_objext; then
34350 cat >>confdefs.h <<\_ACEOF
34351 #define HAVE_XSHAPE 1
34354 { echo "$as_me:$LINENO: result: found" >&5
34355 echo "${ECHO_T}found" >&6; }
34358 echo "$as_me: failed program was:" >&5
34359 sed 's/^/| /' conftest.$ac_ext >&5
34362 { echo "$as_me:$LINENO: result: not found" >&5
34363 echo "${ECHO_T}not found" >&6; }
34367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34368 CFLAGS="$save_CFLAGS"
34373 if test "$wxUSE_OSX_CARBON" = 1; then
34374 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34375 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34376 if test "$GCC" = yes; then
34377 { echo "$as_me:$LINENO: result: gcc" >&5
34378 echo "${ECHO_T}gcc" >&6; }
34379 CPPFLAGS_PASCAL="-fpascal-strings"
34380 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34381 { echo "$as_me:$LINENO: result: xlc" >&5
34382 echo "${ECHO_T}xlc" >&6; }
34383 CPPFLAGS_PASCAL="-qmacpstr"
34385 { echo "$as_me:$LINENO: result: none" >&5
34386 echo "${ECHO_T}none" >&6; }
34389 if test "x$wxUSE_UNIX" = "xyes"; then
34390 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34392 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34396 GUIDIST=OSX_CARBON_DIST
34397 WXBASEPORT="_carbon"
34399 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34402 if test "$wxUSE_OSX_COCOA" = 1; then
34404 GUIDIST=OSX_COCOA_DIST
34406 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34409 if test "$wxUSE_OSX_IPHONE" = 1; then
34413 if test "$wxUSE_OLD_COCOA" = 1; then
34418 if test "$wxUSE_PM" = 1; then
34421 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34422 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34423 if test "${wx_cv_spbcdata+set}" = set; then
34424 echo $ECHO_N "(cached) $ECHO_C" >&6
34427 cat >conftest.$ac_ext <<_ACEOF
34430 cat confdefs.h >>conftest.$ac_ext
34431 cat >>conftest.$ac_ext <<_ACEOF
34432 /* end confdefs.h. */
34447 rm -f conftest.$ac_objext
34448 if { (ac_try="$ac_compile"
34449 case "(($ac_try" in
34450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34451 *) ac_try_echo=$ac_try;;
34453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34454 (eval "$ac_compile") 2>conftest.er1
34456 grep -v '^ *+' conftest.er1 >conftest.err
34458 cat conftest.err >&5
34459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34460 (exit $ac_status); } && {
34461 test -z "$ac_c_werror_flag" ||
34462 test ! -s conftest.err
34463 } && test -s conftest.$ac_objext; then
34466 echo "$as_me: failed program was:" >&5
34467 sed 's/^/| /' conftest.$ac_ext >&5
34473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34477 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34478 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34480 if test $wx_cv_spbcdata = "yes"; then
34481 cat >>confdefs.h <<\_ACEOF
34482 #define HAVE_SPBCDATA 1
34488 if test "$TOOLKIT" = "PM" ; then
34491 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34494 if test "$wxUSE_UNIVERSAL" = "yes"; then
34495 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34499 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34500 DISTDIR="wx\$(TOOLKIT)"
34506 if test "$USE_WIN32" = 1 ; then
34510 GUIDIST="BASE_DIST"
34516 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34517 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34518 wxUSE_UNICODE_UTF8=yes
34519 elif test "$USE_OS2" = 1 ; then
34520 wxUSE_UNICODE_UTF8=yes
34522 wxUSE_UNICODE_UTF8=no
34527 if test "$wxUSE_GUI" = "yes"; then
34528 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34530 for ac_header in X11/Xlib.h
34532 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34533 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34534 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34535 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34536 echo $ECHO_N "(cached) $ECHO_C" >&6
34538 cat >conftest.$ac_ext <<_ACEOF
34541 cat confdefs.h >>conftest.$ac_ext
34542 cat >>conftest.$ac_ext <<_ACEOF
34543 /* end confdefs.h. */
34546 #include <$ac_header>
34548 rm -f conftest.$ac_objext
34549 if { (ac_try="$ac_compile"
34550 case "(($ac_try" in
34551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34552 *) ac_try_echo=$ac_try;;
34554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34555 (eval "$ac_compile") 2>conftest.er1
34557 grep -v '^ *+' conftest.er1 >conftest.err
34559 cat conftest.err >&5
34560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34561 (exit $ac_status); } && {
34562 test -z "$ac_c_werror_flag" ||
34563 test ! -s conftest.err
34564 } && test -s conftest.$ac_objext; then
34565 eval "$as_ac_Header=yes"
34567 echo "$as_me: failed program was:" >&5
34568 sed 's/^/| /' conftest.$ac_ext >&5
34570 eval "$as_ac_Header=no"
34573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34575 ac_res=`eval echo '${'$as_ac_Header'}'`
34576 { echo "$as_me:$LINENO: result: $ac_res" >&5
34577 echo "${ECHO_T}$ac_res" >&6; }
34578 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34579 cat >>confdefs.h <<_ACEOF
34580 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34588 for ac_header in X11/XKBlib.h
34590 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34591 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34593 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34594 echo $ECHO_N "(cached) $ECHO_C" >&6
34596 cat >conftest.$ac_ext <<_ACEOF
34599 cat confdefs.h >>conftest.$ac_ext
34600 cat >>conftest.$ac_ext <<_ACEOF
34601 /* end confdefs.h. */
34603 #if HAVE_X11_XLIB_H
34604 #include <X11/Xlib.h>
34608 #include <$ac_header>
34610 rm -f conftest.$ac_objext
34611 if { (ac_try="$ac_compile"
34612 case "(($ac_try" in
34613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34614 *) ac_try_echo=$ac_try;;
34616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34617 (eval "$ac_compile") 2>conftest.er1
34619 grep -v '^ *+' conftest.er1 >conftest.err
34621 cat conftest.err >&5
34622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34623 (exit $ac_status); } && {
34624 test -z "$ac_c_werror_flag" ||
34625 test ! -s conftest.err
34626 } && test -s conftest.$ac_objext; then
34627 eval "$as_ac_Header=yes"
34629 echo "$as_me: failed program was:" >&5
34630 sed 's/^/| /' conftest.$ac_ext >&5
34632 eval "$as_ac_Header=no"
34635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34637 ac_res=`eval echo '${'$as_ac_Header'}'`
34638 { echo "$as_me:$LINENO: result: $ac_res" >&5
34639 echo "${ECHO_T}$ac_res" >&6; }
34640 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34641 cat >>confdefs.h <<_ACEOF
34642 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34655 if test "$wxUSE_DISPLAY" = "yes"; then
34656 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34657 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34658 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34661 for ac_dir in $SEARCH_LIB
34663 for ac_extension in a so sl dylib dll.a; do
34664 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34665 ac_find_libraries=$ac_dir
34671 if test "$ac_find_libraries" != "" ; then
34673 if test "$ac_find_libraries" = "default location"; then
34676 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34678 if test $result = 0; then
34681 ac_path_to_link=" -L$ac_find_libraries"
34685 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34686 LDFLAGS="$LDFLAGS $ac_path_to_link"
34689 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34690 { echo "$as_me:$LINENO: result: yes" >&5
34691 echo "${ECHO_T}yes" >&6; }
34693 { echo "$as_me:$LINENO: result: no" >&5
34694 echo "${ECHO_T}no" >&6; }
34695 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34696 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34699 elif test "$wxUSE_MSW" = 1; then
34700 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34701 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34702 if test "${ac_cv_header_ddraw_h+set}" = set; then
34703 echo $ECHO_N "(cached) $ECHO_C" >&6
34705 cat >conftest.$ac_ext <<_ACEOF
34708 cat confdefs.h >>conftest.$ac_ext
34709 cat >>conftest.$ac_ext <<_ACEOF
34710 /* end confdefs.h. */
34711 #include <windows.h>
34715 rm -f conftest.$ac_objext
34716 if { (ac_try="$ac_compile"
34717 case "(($ac_try" in
34718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34719 *) ac_try_echo=$ac_try;;
34721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34722 (eval "$ac_compile") 2>conftest.er1
34724 grep -v '^ *+' conftest.er1 >conftest.err
34726 cat conftest.err >&5
34727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34728 (exit $ac_status); } && {
34729 test -z "$ac_c_werror_flag" ||
34730 test ! -s conftest.err
34731 } && test -s conftest.$ac_objext; then
34732 ac_cv_header_ddraw_h=yes
34734 echo "$as_me: failed program was:" >&5
34735 sed 's/^/| /' conftest.$ac_ext >&5
34737 ac_cv_header_ddraw_h=no
34740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34742 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34743 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34749 if test "$wxUSE_DISPLAY" = "yes"; then
34750 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34751 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34752 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34755 for ac_dir in $SEARCH_LIB
34757 for ac_extension in a so sl dylib dll.a; do
34758 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34759 ac_find_libraries=$ac_dir
34765 if test "$ac_find_libraries" != "" ; then
34766 { echo "$as_me:$LINENO: result: yes" >&5
34767 echo "${ECHO_T}yes" >&6; }
34769 for ac_header in X11/extensions/xf86vmode.h
34771 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34772 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34773 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34774 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34775 echo $ECHO_N "(cached) $ECHO_C" >&6
34777 cat >conftest.$ac_ext <<_ACEOF
34780 cat confdefs.h >>conftest.$ac_ext
34781 cat >>conftest.$ac_ext <<_ACEOF
34782 /* end confdefs.h. */
34784 #if HAVE_X11_XLIB_H
34785 #include <X11/Xlib.h>
34789 #include <$ac_header>
34791 rm -f conftest.$ac_objext
34792 if { (ac_try="$ac_compile"
34793 case "(($ac_try" in
34794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34795 *) ac_try_echo=$ac_try;;
34797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34798 (eval "$ac_compile") 2>conftest.er1
34800 grep -v '^ *+' conftest.er1 >conftest.err
34802 cat conftest.err >&5
34803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34804 (exit $ac_status); } && {
34805 test -z "$ac_c_werror_flag" ||
34806 test ! -s conftest.err
34807 } && test -s conftest.$ac_objext; then
34808 eval "$as_ac_Header=yes"
34810 echo "$as_me: failed program was:" >&5
34811 sed 's/^/| /' conftest.$ac_ext >&5
34813 eval "$as_ac_Header=no"
34816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34818 ac_res=`eval echo '${'$as_ac_Header'}'`
34819 { echo "$as_me:$LINENO: result: $ac_res" >&5
34820 echo "${ECHO_T}$ac_res" >&6; }
34821 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34822 cat >>confdefs.h <<_ACEOF
34823 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34826 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34833 { echo "$as_me:$LINENO: result: no" >&5
34834 echo "${ECHO_T}no" >&6; }
34839 if test "$wxUSE_DETECT_SM" = "yes"; then
34840 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34841 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34842 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34845 for ac_dir in $SEARCH_LIB
34847 for ac_extension in a so sl dylib dll.a; do
34848 if test -f "$ac_dir/libSM.$ac_extension"; then
34849 ac_find_libraries=$ac_dir
34855 if test "$ac_find_libraries" != "" ; then
34857 if test "$ac_find_libraries" = "default location"; then
34860 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34862 if test $result = 0; then
34865 ac_path_to_link=" -L$ac_find_libraries"
34869 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34870 LDFLAGS="$LDFLAGS $ac_path_to_link"
34872 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34873 { echo "$as_me:$LINENO: result: yes" >&5
34874 echo "${ECHO_T}yes" >&6; }
34876 { echo "$as_me:$LINENO: result: no" >&5
34877 echo "${ECHO_T}no" >&6; }
34878 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34879 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34880 wxUSE_DETECT_SM="no"
34883 wxUSE_DETECT_SM="no"
34890 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34893 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34894 OPENGL_LIBS="-framework OpenGL -framework AGL"
34895 elif test "$wxUSE_MSW" = 1; then
34896 OPENGL_LIBS="-lopengl32 -lglu32"
34897 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34899 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34900 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34903 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
34905 if test -f "$ac_dir/GL/gl.h"; then
34906 ac_find_includes=$ac_dir
34911 if test "$ac_find_includes" != "" ; then
34912 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34913 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34915 if test "x$ac_find_includes" = "x/usr/include"; then
34916 ac_path_to_include=""
34918 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34920 if test $result = 0; then
34921 ac_path_to_include=""
34923 ac_path_to_include=" -I$ac_find_includes"
34927 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34929 { echo "$as_me:$LINENO: result: not found" >&5
34930 echo "${ECHO_T}not found" >&6; }
34933 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34934 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34935 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34936 echo $ECHO_N "(cached) $ECHO_C" >&6
34938 cat >conftest.$ac_ext <<_ACEOF
34941 cat confdefs.h >>conftest.$ac_ext
34942 cat >>conftest.$ac_ext <<_ACEOF
34943 /* end confdefs.h. */
34948 rm -f conftest.$ac_objext
34949 if { (ac_try="$ac_compile"
34950 case "(($ac_try" in
34951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34952 *) ac_try_echo=$ac_try;;
34954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34955 (eval "$ac_compile") 2>conftest.er1
34957 grep -v '^ *+' conftest.er1 >conftest.err
34959 cat conftest.err >&5
34960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34961 (exit $ac_status); } && {
34962 test -z "$ac_c_werror_flag" ||
34963 test ! -s conftest.err
34964 } && test -s conftest.$ac_objext; then
34965 ac_cv_header_GL_gl_h=yes
34967 echo "$as_me: failed program was:" >&5
34968 sed 's/^/| /' conftest.$ac_ext >&5
34970 ac_cv_header_GL_gl_h=no
34973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34975 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34976 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34977 if test $ac_cv_header_GL_gl_h = yes; then
34979 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34980 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34981 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34982 echo $ECHO_N "(cached) $ECHO_C" >&6
34984 cat >conftest.$ac_ext <<_ACEOF
34987 cat confdefs.h >>conftest.$ac_ext
34988 cat >>conftest.$ac_ext <<_ACEOF
34989 /* end confdefs.h. */
34992 #include <GL/glu.h>
34994 rm -f conftest.$ac_objext
34995 if { (ac_try="$ac_compile"
34996 case "(($ac_try" in
34997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34998 *) ac_try_echo=$ac_try;;
35000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35001 (eval "$ac_compile") 2>conftest.er1
35003 grep -v '^ *+' conftest.er1 >conftest.err
35005 cat conftest.err >&5
35006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35007 (exit $ac_status); } && {
35008 test -z "$ac_c_werror_flag" ||
35009 test ! -s conftest.err
35010 } && test -s conftest.$ac_objext; then
35011 ac_cv_header_GL_glu_h=yes
35013 echo "$as_me: failed program was:" >&5
35014 sed 's/^/| /' conftest.$ac_ext >&5
35016 ac_cv_header_GL_glu_h=no
35019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35021 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35022 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35023 if test $ac_cv_header_GL_glu_h = yes; then
35027 { echo "$as_me:$LINENO: checking for -lGL" >&5
35028 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35031 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib
35033 for ac_extension in a so sl dylib dll.a; do
35034 if test -f "$ac_dir/libGL.$ac_extension"; then
35035 ac_find_libraries=$ac_dir
35041 if test "$ac_find_libraries" != "" ; then
35042 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35043 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35046 if test "$ac_find_libraries" = "default location"; then
35049 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35051 if test $result = 0; then
35054 ac_path_to_link=" -L$ac_find_libraries"
35058 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35059 LDFLAGS_GL="$ac_path_to_link"
35062 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35063 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35066 for ac_dir in $SEARCH_LIB
35068 for ac_extension in a so sl dylib dll.a; do
35069 if test -f "$ac_dir/libGLU.$ac_extension"; then
35070 ac_find_libraries=$ac_dir
35076 if test "$ac_find_libraries" != "" ; then
35078 if test "$ac_find_libraries" = "default location"; then
35081 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35083 if test $result = 0; then
35086 ac_path_to_link=" -L$ac_find_libraries"
35090 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35091 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35092 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35096 OPENGL_LIBS="-lGL -lGLU"
35097 { echo "$as_me:$LINENO: result: yes" >&5
35098 echo "${ECHO_T}yes" >&6; }
35100 { echo "$as_me:$LINENO: result: no" >&5
35101 echo "${ECHO_T}no" >&6; }
35104 { echo "$as_me:$LINENO: result: no" >&5
35105 echo "${ECHO_T}no" >&6; }
35108 if test "$found_gl" != 1; then
35109 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35110 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35113 for ac_dir in $SEARCH_LIB
35115 for ac_extension in a so sl dylib dll.a; do
35116 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35117 ac_find_libraries=$ac_dir
35123 if test "$ac_find_libraries" != "" ; then
35125 if test "$ac_find_libraries" = "default location"; then
35128 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35130 if test $result = 0; then
35133 ac_path_to_link=" -L$ac_find_libraries"
35137 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35138 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35139 { echo "$as_me:$LINENO: result: yes" >&5
35140 echo "${ECHO_T}yes" >&6; }
35142 { echo "$as_me:$LINENO: result: no" >&5
35143 echo "${ECHO_T}no" >&6; }
35155 if test "x$OPENGL_LIBS" = "x"; then
35156 if test "$wxUSE_OPENGL" = "yes"; then
35157 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35158 echo "$as_me: error: OpenGL libraries not available" >&2;}
35159 { (exit 1); exit 1; }; }
35161 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
35162 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
35168 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35169 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35173 if test "$wxUSE_OPENGL" = "auto"; then
35177 if test "$wxUSE_OPENGL" = "yes"; then
35179 cat >>confdefs.h <<\_ACEOF
35180 #define wxUSE_OPENGL 1
35183 cat >>confdefs.h <<\_ACEOF
35184 #define wxUSE_GLCANVAS 1
35187 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35192 if test -n "$TOOLKIT" ; then
35193 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35198 if test "$wxUSE_SHARED" = "yes"; then
35202 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35203 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35208 if test "$wxUSE_SHARED" = "yes"; then
35212 *-*-cygwin* | *-*-mingw* )
35213 wx_cv_version_script=no
35217 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35218 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35219 if test "${wx_cv_version_script+set}" = set; then
35220 echo $ECHO_N "(cached) $ECHO_C" >&6
35223 echo "VER_1 { *; };" >conftest.sym
35224 echo "int main() { return 0; }" >conftest.cpp
35227 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35228 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35230 (eval $ac_try) 2>&5
35232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35233 (exit $ac_status); }; } ; then
35234 if test -s conftest.stderr ; then
35235 wx_cv_version_script=no
35237 wx_cv_version_script=yes
35240 wx_cv_version_script=no
35243 if test $wx_cv_version_script = yes
35245 echo "struct B { virtual ~B() { } }; \
35246 struct D : public B { }; \
35247 void F() { D d; }" > conftest.cpp
35250 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35251 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35253 (eval $ac_try) 2>&5
35255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35256 (exit $ac_status); }; } &&
35258 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35259 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35261 (eval $ac_try) 2>&5
35263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35264 (exit $ac_status); }; }
35267 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35268 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35270 (eval $ac_try) 2>&5
35272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35273 (exit $ac_status); }; }
35275 wx_cv_version_script=yes
35277 wx_cv_version_script=no
35282 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35283 rm -f conftest1.output conftest2.output conftest3.output
35286 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35287 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35289 if test $wx_cv_version_script = yes ; then
35290 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35296 if test "$wxUSE_VISIBILITY" != "no"; then
35299 if test -n "$GCC"; then
35300 CFLAGS_VISIBILITY="-fvisibility=hidden"
35301 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35302 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35303 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35304 if test "${wx_cv_cc_visibility+set}" = set; then
35305 echo $ECHO_N "(cached) $ECHO_C" >&6
35308 wx_save_CXXFLAGS="$CXXFLAGS"
35309 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35311 ac_cpp='$CXXCPP $CPPFLAGS'
35312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35316 cat >conftest.$ac_ext <<_ACEOF
35319 cat confdefs.h >>conftest.$ac_ext
35320 cat >>conftest.$ac_ext <<_ACEOF
35321 /* end confdefs.h. */
35323 /* we need gcc >= 4.0, older versions with visibility support
35324 didn't have class visibility: */
35325 #if defined(__GNUC__) && __GNUC__ < 4
35326 error this gcc is too old;
35329 /* visibility only makes sense for ELF shared libs: */
35330 #if !defined(__ELF__) && !defined(__APPLE__)
35331 error this platform has no visibility;
35334 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
35335 #if defined(__clang__)
35336 clang compiler is still broken w.r.t. visibility;
35339 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35340 extern __attribute__((__visibility__("default"))) int exportedvar;
35341 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35342 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35343 class __attribute__((__visibility__("default"))) Foo {
35355 rm -f conftest.$ac_objext
35356 if { (ac_try="$ac_compile"
35357 case "(($ac_try" in
35358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35359 *) ac_try_echo=$ac_try;;
35361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35362 (eval "$ac_compile") 2>conftest.er1
35364 grep -v '^ *+' conftest.er1 >conftest.err
35366 cat conftest.err >&5
35367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35368 (exit $ac_status); } && {
35369 test -z "$ac_cxx_werror_flag" ||
35370 test ! -s conftest.err
35371 } && test -s conftest.$ac_objext; then
35372 wx_cv_cc_visibility=yes
35374 echo "$as_me: failed program was:" >&5
35375 sed 's/^/| /' conftest.$ac_ext >&5
35377 wx_cv_cc_visibility=no
35380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35382 ac_cpp='$CPP $CPPFLAGS'
35383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35387 CXXFLAGS="$wx_save_CXXFLAGS"
35390 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35391 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35392 if test $wx_cv_cc_visibility = yes; then
35393 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35394 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
35395 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35396 echo $ECHO_N "(cached) $ECHO_C" >&6
35399 wx_save_CXXFLAGS="$CXXFLAGS"
35400 wx_save_LDFLAGS="$LDFLAGS"
35401 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35402 LDFLAGS="$LDFLAGS -shared -fPIC"
35404 ac_cpp='$CXXCPP $CPPFLAGS'
35405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35409 cat >conftest.$ac_ext <<_ACEOF
35412 cat confdefs.h >>conftest.$ac_ext
35413 cat >>conftest.$ac_ext <<_ACEOF
35414 /* end confdefs.h. */
35422 std::string s("hello");
35429 rm -f conftest.$ac_objext conftest$ac_exeext
35430 if { (ac_try="$ac_link"
35431 case "(($ac_try" in
35432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35433 *) ac_try_echo=$ac_try;;
35435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35436 (eval "$ac_link") 2>conftest.er1
35438 grep -v '^ *+' conftest.er1 >conftest.err
35440 cat conftest.err >&5
35441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35442 (exit $ac_status); } && {
35443 test -z "$ac_cxx_werror_flag" ||
35444 test ! -s conftest.err
35445 } && test -s conftest$ac_exeext &&
35446 $as_test_x conftest$ac_exeext; then
35447 wx_cv_cc_broken_libstdcxx_visibility=no
35449 echo "$as_me: failed program was:" >&5
35450 sed 's/^/| /' conftest.$ac_ext >&5
35452 wx_cv_cc_broken_libstdcxx_visibility=yes
35455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35456 conftest$ac_exeext conftest.$ac_ext
35458 ac_cpp='$CPP $CPPFLAGS'
35459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35463 CXXFLAGS="$wx_save_CXXFLAGS"
35464 LDFLAGS="$wx_save_LDFLAGS"
35467 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
35468 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
35470 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35471 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
35472 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
35473 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
35474 echo $ECHO_N "(cached) $ECHO_C" >&6
35478 ac_cpp='$CXXCPP $CPPFLAGS'
35479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35483 cat >conftest.$ac_ext <<_ACEOF
35486 cat confdefs.h >>conftest.$ac_ext
35487 cat >>conftest.$ac_ext <<_ACEOF
35488 /* end confdefs.h. */
35490 #pragma GCC visibility push(default)
35492 #pragma GCC visibility pop
35498 std::string s("hello");
35505 rm -f conftest.$ac_objext conftest$ac_exeext
35506 if { (ac_try="$ac_link"
35507 case "(($ac_try" in
35508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35509 *) ac_try_echo=$ac_try;;
35511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35512 (eval "$ac_link") 2>conftest.er1
35514 grep -v '^ *+' conftest.er1 >conftest.err
35516 cat conftest.err >&5
35517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35518 (exit $ac_status); } && {
35519 test -z "$ac_cxx_werror_flag" ||
35520 test ! -s conftest.err
35521 } && test -s conftest$ac_exeext &&
35522 $as_test_x conftest$ac_exeext; then
35523 wx_cv_cc_visibility_workaround=no
35525 echo "$as_me: failed program was:" >&5
35526 sed 's/^/| /' conftest.$ac_ext >&5
35528 wx_cv_cc_visibility_workaround=yes
35531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35532 conftest$ac_exeext conftest.$ac_ext
35534 ac_cpp='$CPP $CPPFLAGS'
35535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35542 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
35543 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
35545 if test $wx_cv_cc_visibility_workaround = no; then
35546 wx_cv_cc_visibility=no
35551 if test $wx_cv_cc_visibility = yes; then
35552 cat >>confdefs.h <<\_ACEOF
35553 #define HAVE_VISIBILITY 1
35556 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35557 cat >>confdefs.h <<\_ACEOF
35558 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35563 CFLAGS_VISIBILITY=""
35564 CXXFLAGS_VISIBILITY=""
35572 if test "x$SUNCXX" = xyes; then
35573 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35574 WXCONFIG_RPATH="-R\$libdir"
35577 *-*-linux* | *-*-gnu* )
35578 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35579 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35584 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35586 saveLdflags="$LDFLAGS"
35587 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35588 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35589 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35590 cat >conftest.$ac_ext <<_ACEOF
35593 cat confdefs.h >>conftest.$ac_ext
35594 cat >>conftest.$ac_ext <<_ACEOF
35595 /* end confdefs.h. */
35605 rm -f conftest.$ac_objext conftest$ac_exeext
35606 if { (ac_try="$ac_link"
35607 case "(($ac_try" in
35608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35609 *) ac_try_echo=$ac_try;;
35611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35612 (eval "$ac_link") 2>conftest.er1
35614 grep -v '^ *+' conftest.er1 >conftest.err
35616 cat conftest.err >&5
35617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35618 (exit $ac_status); } && {
35619 test -z "$ac_c_werror_flag" ||
35620 test ! -s conftest.err
35621 } && test -s conftest$ac_exeext &&
35622 $as_test_x conftest$ac_exeext; then
35624 { echo "$as_me:$LINENO: result: yes" >&5
35625 echo "${ECHO_T}yes" >&6; }
35626 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35627 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35630 echo "$as_me: failed program was:" >&5
35631 sed 's/^/| /' conftest.$ac_ext >&5
35634 { echo "$as_me:$LINENO: result: no" >&5
35635 echo "${ECHO_T}no" >&6; }
35636 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35637 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35638 LDFLAGS="$saveLdflags -Wl,-R,/"
35639 cat >conftest.$ac_ext <<_ACEOF
35642 cat confdefs.h >>conftest.$ac_ext
35643 cat >>conftest.$ac_ext <<_ACEOF
35644 /* end confdefs.h. */
35654 rm -f conftest.$ac_objext conftest$ac_exeext
35655 if { (ac_try="$ac_link"
35656 case "(($ac_try" in
35657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35658 *) ac_try_echo=$ac_try;;
35660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35661 (eval "$ac_link") 2>conftest.er1
35663 grep -v '^ *+' conftest.er1 >conftest.err
35665 cat conftest.err >&5
35666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35667 (exit $ac_status); } && {
35668 test -z "$ac_c_werror_flag" ||
35669 test ! -s conftest.err
35670 } && test -s conftest$ac_exeext &&
35671 $as_test_x conftest$ac_exeext; then
35673 { echo "$as_me:$LINENO: result: yes" >&5
35674 echo "${ECHO_T}yes" >&6; }
35675 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35676 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35679 echo "$as_me: failed program was:" >&5
35680 sed 's/^/| /' conftest.$ac_ext >&5
35683 { echo "$as_me:$LINENO: result: no" >&5
35684 echo "${ECHO_T}no" >&6; }
35688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35689 conftest$ac_exeext conftest.$ac_ext
35693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35694 conftest$ac_exeext conftest.$ac_ext
35695 LDFLAGS="$saveLdflags"
35699 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
35700 if test "$install_name_tool" -a -x "$install_name_tool"; then
35701 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35702 cat <<EOF >change-install-names
35704 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35705 for i in \${libnames} ; do
35706 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
35707 for dep in \${libnames} ; do
35708 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
35712 chmod +x change-install-names
35713 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
35716 HEADER_PAD_OPTION="-headerpad_max_install_names"
35719 *-*-cygwin* | *-*-mingw32* )
35723 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35724 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35730 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35732 if test $wxUSE_RPATH = "no"; then
35733 SAMPLES_RPATH_FLAG=''
35734 DYLIB_PATH_POSTLINK=''
35742 config_linkage_component="-static"
35749 lib_unicode_suffix=
35751 if test "$wxUSE_UNICODE" = "yes"; then
35752 lib_unicode_suffix=u
35753 WX_CHARTYPE="unicode"
35757 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35758 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35761 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35765 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35767 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35769 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35772 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35773 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35775 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35777 if test "${TOOLKIT_DIR}" = "os2"; then
35778 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35780 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35785 if test "$wxUSE_OLD_COCOA" = 1; then
35788 ac_cpp='$CPP $CPPFLAGS'
35789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35795 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35796 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35797 cat >conftest.$ac_ext <<_ACEOF
35800 cat confdefs.h >>conftest.$ac_ext
35801 cat >>conftest.$ac_ext <<_ACEOF
35802 /* end confdefs.h. */
35803 #include <AppKit/NSEvent.h>
35804 #include <CoreFoundation/CoreFoundation.h>
35814 rm -f conftest.$ac_objext
35815 if { (ac_try="$ac_compile"
35816 case "(($ac_try" in
35817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35818 *) ac_try_echo=$ac_try;;
35820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35821 (eval "$ac_compile") 2>conftest.er1
35823 grep -v '^ *+' conftest.er1 >conftest.err
35825 cat conftest.err >&5
35826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35827 (exit $ac_status); } && {
35828 test -z "$ac_c_werror_flag" ||
35829 test ! -s conftest.err
35830 } && test -s conftest.$ac_objext; then
35831 { echo "$as_me:$LINENO: result: no" >&5
35832 echo "${ECHO_T}no" >&6; }
35834 echo "$as_me: failed program was:" >&5
35835 sed 's/^/| /' conftest.$ac_ext >&5
35837 { echo "$as_me:$LINENO: result: yes" >&5
35838 echo "${ECHO_T}yes" >&6; }
35839 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35840 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35841 cat >conftest.$ac_ext <<_ACEOF
35844 cat confdefs.h >>conftest.$ac_ext
35845 cat >>conftest.$ac_ext <<_ACEOF
35846 /* end confdefs.h. */
35847 #define __Point__ 1
35848 #include <AppKit/NSEvent.h>
35849 #include <CoreFoundation/CoreFoundation.h>
35859 rm -f conftest.$ac_objext
35860 if { (ac_try="$ac_compile"
35861 case "(($ac_try" in
35862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35863 *) ac_try_echo=$ac_try;;
35865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35866 (eval "$ac_compile") 2>conftest.er1
35868 grep -v '^ *+' conftest.er1 >conftest.err
35870 cat conftest.err >&5
35871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35872 (exit $ac_status); } && {
35873 test -z "$ac_c_werror_flag" ||
35874 test ! -s conftest.err
35875 } && test -s conftest.$ac_objext; then
35876 { echo "$as_me:$LINENO: result: yes" >&5
35877 echo "${ECHO_T}yes" >&6; }
35878 cat >>confdefs.h <<\_ACEOF
35879 #define __Point__ 1
35884 echo "$as_me: failed program was:" >&5
35885 sed 's/^/| /' conftest.$ac_ext >&5
35887 { { echo "$as_me:$LINENO: error: no
35888 See \`config.log' for more details." >&5
35889 echo "$as_me: error: no
35890 See \`config.log' for more details." >&2;}
35891 { (exit 1); exit 1; }; }
35895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35901 ac_cpp='$CPP $CPPFLAGS'
35902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35909 { echo "$as_me:$LINENO: checking for mode_t" >&5
35910 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35911 if test "${ac_cv_type_mode_t+set}" = set; then
35912 echo $ECHO_N "(cached) $ECHO_C" >&6
35914 cat >conftest.$ac_ext <<_ACEOF
35917 cat confdefs.h >>conftest.$ac_ext
35918 cat >>conftest.$ac_ext <<_ACEOF
35919 /* end confdefs.h. */
35920 $ac_includes_default
35921 typedef mode_t ac__type_new_;
35925 if ((ac__type_new_ *) 0)
35927 if (sizeof (ac__type_new_))
35933 rm -f conftest.$ac_objext
35934 if { (ac_try="$ac_compile"
35935 case "(($ac_try" in
35936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35937 *) ac_try_echo=$ac_try;;
35939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35940 (eval "$ac_compile") 2>conftest.er1
35942 grep -v '^ *+' conftest.er1 >conftest.err
35944 cat conftest.err >&5
35945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35946 (exit $ac_status); } && {
35947 test -z "$ac_c_werror_flag" ||
35948 test ! -s conftest.err
35949 } && test -s conftest.$ac_objext; then
35950 ac_cv_type_mode_t=yes
35952 echo "$as_me: failed program was:" >&5
35953 sed 's/^/| /' conftest.$ac_ext >&5
35955 ac_cv_type_mode_t=no
35958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35960 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35961 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35962 if test $ac_cv_type_mode_t = yes; then
35966 cat >>confdefs.h <<_ACEOF
35972 { echo "$as_me:$LINENO: checking for off_t" >&5
35973 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35974 if test "${ac_cv_type_off_t+set}" = set; then
35975 echo $ECHO_N "(cached) $ECHO_C" >&6
35977 cat >conftest.$ac_ext <<_ACEOF
35980 cat confdefs.h >>conftest.$ac_ext
35981 cat >>conftest.$ac_ext <<_ACEOF
35982 /* end confdefs.h. */
35983 $ac_includes_default
35984 typedef off_t ac__type_new_;
35988 if ((ac__type_new_ *) 0)
35990 if (sizeof (ac__type_new_))
35996 rm -f conftest.$ac_objext
35997 if { (ac_try="$ac_compile"
35998 case "(($ac_try" in
35999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36000 *) ac_try_echo=$ac_try;;
36002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36003 (eval "$ac_compile") 2>conftest.er1
36005 grep -v '^ *+' conftest.er1 >conftest.err
36007 cat conftest.err >&5
36008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36009 (exit $ac_status); } && {
36010 test -z "$ac_c_werror_flag" ||
36011 test ! -s conftest.err
36012 } && test -s conftest.$ac_objext; then
36013 ac_cv_type_off_t=yes
36015 echo "$as_me: failed program was:" >&5
36016 sed 's/^/| /' conftest.$ac_ext >&5
36018 ac_cv_type_off_t=no
36021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36023 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36024 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36025 if test $ac_cv_type_off_t = yes; then
36029 cat >>confdefs.h <<_ACEOF
36030 #define off_t long int
36035 { echo "$as_me:$LINENO: checking for pid_t" >&5
36036 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36037 if test "${ac_cv_type_pid_t+set}" = set; then
36038 echo $ECHO_N "(cached) $ECHO_C" >&6
36040 cat >conftest.$ac_ext <<_ACEOF
36043 cat confdefs.h >>conftest.$ac_ext
36044 cat >>conftest.$ac_ext <<_ACEOF
36045 /* end confdefs.h. */
36046 $ac_includes_default
36047 typedef pid_t ac__type_new_;
36051 if ((ac__type_new_ *) 0)
36053 if (sizeof (ac__type_new_))
36059 rm -f conftest.$ac_objext
36060 if { (ac_try="$ac_compile"
36061 case "(($ac_try" in
36062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36063 *) ac_try_echo=$ac_try;;
36065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36066 (eval "$ac_compile") 2>conftest.er1
36068 grep -v '^ *+' conftest.er1 >conftest.err
36070 cat conftest.err >&5
36071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36072 (exit $ac_status); } && {
36073 test -z "$ac_c_werror_flag" ||
36074 test ! -s conftest.err
36075 } && test -s conftest.$ac_objext; then
36076 ac_cv_type_pid_t=yes
36078 echo "$as_me: failed program was:" >&5
36079 sed 's/^/| /' conftest.$ac_ext >&5
36081 ac_cv_type_pid_t=no
36084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36086 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36087 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36088 if test $ac_cv_type_pid_t = yes; then
36092 cat >>confdefs.h <<_ACEOF
36098 { echo "$as_me:$LINENO: checking for size_t" >&5
36099 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36100 if test "${ac_cv_type_size_t+set}" = set; then
36101 echo $ECHO_N "(cached) $ECHO_C" >&6
36103 cat >conftest.$ac_ext <<_ACEOF
36106 cat confdefs.h >>conftest.$ac_ext
36107 cat >>conftest.$ac_ext <<_ACEOF
36108 /* end confdefs.h. */
36109 $ac_includes_default
36110 typedef size_t ac__type_new_;
36114 if ((ac__type_new_ *) 0)
36116 if (sizeof (ac__type_new_))
36122 rm -f conftest.$ac_objext
36123 if { (ac_try="$ac_compile"
36124 case "(($ac_try" in
36125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36126 *) ac_try_echo=$ac_try;;
36128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36129 (eval "$ac_compile") 2>conftest.er1
36131 grep -v '^ *+' conftest.er1 >conftest.err
36133 cat conftest.err >&5
36134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36135 (exit $ac_status); } && {
36136 test -z "$ac_c_werror_flag" ||
36137 test ! -s conftest.err
36138 } && test -s conftest.$ac_objext; then
36139 ac_cv_type_size_t=yes
36141 echo "$as_me: failed program was:" >&5
36142 sed 's/^/| /' conftest.$ac_ext >&5
36144 ac_cv_type_size_t=no
36147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36149 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36150 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36151 if test $ac_cv_type_size_t = yes; then
36155 cat >>confdefs.h <<_ACEOF
36156 #define size_t unsigned int
36162 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36163 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36164 if test "${ac_cv_type_ssize_t+set}" = set; then
36165 echo $ECHO_N "(cached) $ECHO_C" >&6
36167 cat >conftest.$ac_ext <<_ACEOF
36170 cat confdefs.h >>conftest.$ac_ext
36171 cat >>conftest.$ac_ext <<_ACEOF
36172 /* end confdefs.h. */
36173 $ac_includes_default
36174 typedef ssize_t ac__type_new_;
36178 if ((ac__type_new_ *) 0)
36180 if (sizeof (ac__type_new_))
36186 rm -f conftest.$ac_objext
36187 if { (ac_try="$ac_compile"
36188 case "(($ac_try" in
36189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36190 *) ac_try_echo=$ac_try;;
36192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36193 (eval "$ac_compile") 2>conftest.er1
36195 grep -v '^ *+' conftest.er1 >conftest.err
36197 cat conftest.err >&5
36198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36199 (exit $ac_status); } && {
36200 test -z "$ac_c_werror_flag" ||
36201 test ! -s conftest.err
36202 } && test -s conftest.$ac_objext; then
36203 ac_cv_type_ssize_t=yes
36205 echo "$as_me: failed program was:" >&5
36206 sed 's/^/| /' conftest.$ac_ext >&5
36208 ac_cv_type_ssize_t=no
36211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36213 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36214 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36215 if test $ac_cv_type_ssize_t = yes; then
36217 cat >>confdefs.h <<_ACEOF
36218 #define HAVE_SSIZE_T 1
36226 ac_cpp='$CXXCPP $CPPFLAGS'
36227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36230 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36231 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36232 if test "${wx_cv_size_t_is_uint+set}" = set; then
36233 echo $ECHO_N "(cached) $ECHO_C" >&6
36236 cat >conftest.$ac_ext <<_ACEOF
36239 cat confdefs.h >>conftest.$ac_ext
36240 cat >>conftest.$ac_ext <<_ACEOF
36241 /* end confdefs.h. */
36242 #include <stddef.h>
36249 struct Foo { void foo(size_t); void foo(unsigned int); };
36257 rm -f conftest.$ac_objext
36258 if { (ac_try="$ac_compile"
36259 case "(($ac_try" in
36260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36261 *) ac_try_echo=$ac_try;;
36263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36264 (eval "$ac_compile") 2>conftest.er1
36266 grep -v '^ *+' conftest.er1 >conftest.err
36268 cat conftest.err >&5
36269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36270 (exit $ac_status); } && {
36271 test -z "$ac_cxx_werror_flag" ||
36272 test ! -s conftest.err
36273 } && test -s conftest.$ac_objext; then
36274 wx_cv_size_t_is_uint=no
36276 echo "$as_me: failed program was:" >&5
36277 sed 's/^/| /' conftest.$ac_ext >&5
36279 wx_cv_size_t_is_uint=yes
36283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36287 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36288 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36290 if test "$wx_cv_size_t_is_uint" = "yes"; then
36291 cat >>confdefs.h <<\_ACEOF
36292 #define wxSIZE_T_IS_UINT 1
36296 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36297 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36298 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36299 echo $ECHO_N "(cached) $ECHO_C" >&6
36301 cat >conftest.$ac_ext <<_ACEOF
36304 cat confdefs.h >>conftest.$ac_ext
36305 cat >>conftest.$ac_ext <<_ACEOF
36306 /* end confdefs.h. */
36307 #include <stddef.h>
36314 struct Foo { void foo(size_t); void foo(unsigned long); };
36322 rm -f conftest.$ac_objext
36323 if { (ac_try="$ac_compile"
36324 case "(($ac_try" in
36325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36326 *) ac_try_echo=$ac_try;;
36328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36329 (eval "$ac_compile") 2>conftest.er1
36331 grep -v '^ *+' conftest.er1 >conftest.err
36333 cat conftest.err >&5
36334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36335 (exit $ac_status); } && {
36336 test -z "$ac_cxx_werror_flag" ||
36337 test ! -s conftest.err
36338 } && test -s conftest.$ac_objext; then
36339 wx_cv_size_t_is_ulong=no
36341 echo "$as_me: failed program was:" >&5
36342 sed 's/^/| /' conftest.$ac_ext >&5
36344 wx_cv_size_t_is_ulong=yes
36348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36351 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36352 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36354 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36355 cat >>confdefs.h <<\_ACEOF
36356 #define wxSIZE_T_IS_ULONG 1
36362 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36363 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36364 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36365 echo $ECHO_N "(cached) $ECHO_C" >&6
36367 cat >conftest.$ac_ext <<_ACEOF
36370 cat confdefs.h >>conftest.$ac_ext
36371 cat >>conftest.$ac_ext <<_ACEOF
36372 /* end confdefs.h. */
36380 struct Foo { void foo(wchar_t);
36381 void foo(unsigned short);
36382 void foo(unsigned int);
36383 void foo(unsigned long); };
36391 rm -f conftest.$ac_objext
36392 if { (ac_try="$ac_compile"
36393 case "(($ac_try" in
36394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36395 *) ac_try_echo=$ac_try;;
36397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36398 (eval "$ac_compile") 2>conftest.er1
36400 grep -v '^ *+' conftest.er1 >conftest.err
36402 cat conftest.err >&5
36403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36404 (exit $ac_status); } && {
36405 test -z "$ac_cxx_werror_flag" ||
36406 test ! -s conftest.err
36407 } && test -s conftest.$ac_objext; then
36408 wx_cv_wchar_t_is_separate_type=yes
36410 echo "$as_me: failed program was:" >&5
36411 sed 's/^/| /' conftest.$ac_ext >&5
36413 wx_cv_wchar_t_is_separate_type=no
36417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36420 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36421 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36423 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36424 cat >>confdefs.h <<\_ACEOF
36425 #define wxWCHAR_T_IS_REAL_TYPE 1
36429 cat >>confdefs.h <<\_ACEOF
36430 #define wxWCHAR_T_IS_REAL_TYPE 0
36436 ac_cpp='$CPP $CPPFLAGS'
36437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36442 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36443 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36444 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36445 echo $ECHO_N "(cached) $ECHO_C" >&6
36448 cat >conftest.$ac_ext <<_ACEOF
36451 cat confdefs.h >>conftest.$ac_ext
36452 cat >>conftest.$ac_ext <<_ACEOF
36453 /* end confdefs.h. */
36467 rm -f conftest.$ac_objext
36468 if { (ac_try="$ac_compile"
36469 case "(($ac_try" in
36470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36471 *) ac_try_echo=$ac_try;;
36473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36474 (eval "$ac_compile") 2>conftest.er1
36476 grep -v '^ *+' conftest.er1 >conftest.err
36478 cat conftest.err >&5
36479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36480 (exit $ac_status); } && {
36481 test -z "$ac_c_werror_flag" ||
36482 test ! -s conftest.err
36483 } && test -s conftest.$ac_objext; then
36485 wx_cv_struct_pw_gecos=yes
36488 echo "$as_me: failed program was:" >&5
36489 sed 's/^/| /' conftest.$ac_ext >&5
36492 wx_cv_struct_pw_gecos=no
36497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36501 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36502 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36504 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36505 cat >>confdefs.h <<\_ACEOF
36506 #define HAVE_PW_GECOS 1
36515 for ac_func in wcslen
36517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36518 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36520 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36521 echo $ECHO_N "(cached) $ECHO_C" >&6
36523 cat >conftest.$ac_ext <<_ACEOF
36526 cat confdefs.h >>conftest.$ac_ext
36527 cat >>conftest.$ac_ext <<_ACEOF
36528 /* end confdefs.h. */
36529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36531 #define $ac_func innocuous_$ac_func
36533 /* System header to define __stub macros and hopefully few prototypes,
36534 which can conflict with char $ac_func (); below.
36535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36536 <limits.h> exists even on freestanding compilers. */
36539 # include <limits.h>
36541 # include <assert.h>
36546 /* Override any GCC internal prototype to avoid an error.
36547 Use char because int might match the return type of a GCC
36548 builtin and then its argument prototype would still apply. */
36553 /* The GNU C library defines this for functions which it implements
36554 to always fail with ENOSYS. Some functions are actually named
36555 something starting with __ and the normal name is an alias. */
36556 #if defined __stub_$ac_func || defined __stub___$ac_func
36563 return $ac_func ();
36568 rm -f conftest.$ac_objext conftest$ac_exeext
36569 if { (ac_try="$ac_link"
36570 case "(($ac_try" in
36571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36572 *) ac_try_echo=$ac_try;;
36574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36575 (eval "$ac_link") 2>conftest.er1
36577 grep -v '^ *+' conftest.er1 >conftest.err
36579 cat conftest.err >&5
36580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36581 (exit $ac_status); } && {
36582 test -z "$ac_c_werror_flag" ||
36583 test ! -s conftest.err
36584 } && test -s conftest$ac_exeext &&
36585 $as_test_x conftest$ac_exeext; then
36586 eval "$as_ac_var=yes"
36588 echo "$as_me: failed program was:" >&5
36589 sed 's/^/| /' conftest.$ac_ext >&5
36591 eval "$as_ac_var=no"
36594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36595 conftest$ac_exeext conftest.$ac_ext
36597 ac_res=`eval echo '${'$as_ac_var'}'`
36598 { echo "$as_me:$LINENO: result: $ac_res" >&5
36599 echo "${ECHO_T}$ac_res" >&6; }
36600 if test `eval echo '${'$as_ac_var'}'` = yes; then
36601 cat >>confdefs.h <<_ACEOF
36602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36609 if test "$WCSLEN_FOUND" = 0; then
36610 if test "$TOOLKIT" = "MSW"; then
36611 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36612 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36613 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36614 echo $ECHO_N "(cached) $ECHO_C" >&6
36616 ac_check_lib_save_LIBS=$LIBS
36617 LIBS="-lmsvcrt $LIBS"
36618 cat >conftest.$ac_ext <<_ACEOF
36621 cat confdefs.h >>conftest.$ac_ext
36622 cat >>conftest.$ac_ext <<_ACEOF
36623 /* end confdefs.h. */
36625 /* Override any GCC internal prototype to avoid an error.
36626 Use char because int might match the return type of a GCC
36627 builtin and then its argument prototype would still apply. */
36640 rm -f conftest.$ac_objext conftest$ac_exeext
36641 if { (ac_try="$ac_link"
36642 case "(($ac_try" in
36643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36644 *) ac_try_echo=$ac_try;;
36646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36647 (eval "$ac_link") 2>conftest.er1
36649 grep -v '^ *+' conftest.er1 >conftest.err
36651 cat conftest.err >&5
36652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36653 (exit $ac_status); } && {
36654 test -z "$ac_c_werror_flag" ||
36655 test ! -s conftest.err
36656 } && test -s conftest$ac_exeext &&
36657 $as_test_x conftest$ac_exeext; then
36658 ac_cv_lib_msvcrt_wcslen=yes
36660 echo "$as_me: failed program was:" >&5
36661 sed 's/^/| /' conftest.$ac_ext >&5
36663 ac_cv_lib_msvcrt_wcslen=no
36666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36667 conftest$ac_exeext conftest.$ac_ext
36668 LIBS=$ac_check_lib_save_LIBS
36670 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36671 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36672 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36677 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36678 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36679 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36680 echo $ECHO_N "(cached) $ECHO_C" >&6
36682 ac_check_lib_save_LIBS=$LIBS
36684 cat >conftest.$ac_ext <<_ACEOF
36687 cat confdefs.h >>conftest.$ac_ext
36688 cat >>conftest.$ac_ext <<_ACEOF
36689 /* end confdefs.h. */
36691 /* Override any GCC internal prototype to avoid an error.
36692 Use char because int might match the return type of a GCC
36693 builtin and then its argument prototype would still apply. */
36706 rm -f conftest.$ac_objext conftest$ac_exeext
36707 if { (ac_try="$ac_link"
36708 case "(($ac_try" in
36709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36710 *) ac_try_echo=$ac_try;;
36712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36713 (eval "$ac_link") 2>conftest.er1
36715 grep -v '^ *+' conftest.er1 >conftest.err
36717 cat conftest.err >&5
36718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36719 (exit $ac_status); } && {
36720 test -z "$ac_c_werror_flag" ||
36721 test ! -s conftest.err
36722 } && test -s conftest$ac_exeext &&
36723 $as_test_x conftest$ac_exeext; then
36724 ac_cv_lib_w_wcslen=yes
36726 echo "$as_me: failed program was:" >&5
36727 sed 's/^/| /' conftest.$ac_ext >&5
36729 ac_cv_lib_w_wcslen=no
36732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36733 conftest$ac_exeext conftest.$ac_ext
36734 LIBS=$ac_check_lib_save_LIBS
36736 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36737 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36738 if test $ac_cv_lib_w_wcslen = yes; then
36748 if test "$WCSLEN_FOUND" = 1; then
36749 cat >>confdefs.h <<\_ACEOF
36750 #define HAVE_WCSLEN 1
36761 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
36763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36764 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36766 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36767 echo $ECHO_N "(cached) $ECHO_C" >&6
36769 cat >conftest.$ac_ext <<_ACEOF
36772 cat confdefs.h >>conftest.$ac_ext
36773 cat >>conftest.$ac_ext <<_ACEOF
36774 /* end confdefs.h. */
36775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36777 #define $ac_func innocuous_$ac_func
36779 /* System header to define __stub macros and hopefully few prototypes,
36780 which can conflict with char $ac_func (); below.
36781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36782 <limits.h> exists even on freestanding compilers. */
36785 # include <limits.h>
36787 # include <assert.h>
36792 /* Override any GCC internal prototype to avoid an error.
36793 Use char because int might match the return type of a GCC
36794 builtin and then its argument prototype would still apply. */
36799 /* The GNU C library defines this for functions which it implements
36800 to always fail with ENOSYS. Some functions are actually named
36801 something starting with __ and the normal name is an alias. */
36802 #if defined __stub_$ac_func || defined __stub___$ac_func
36809 return $ac_func ();
36814 rm -f conftest.$ac_objext conftest$ac_exeext
36815 if { (ac_try="$ac_link"
36816 case "(($ac_try" in
36817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36818 *) ac_try_echo=$ac_try;;
36820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36821 (eval "$ac_link") 2>conftest.er1
36823 grep -v '^ *+' conftest.er1 >conftest.err
36825 cat conftest.err >&5
36826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36827 (exit $ac_status); } && {
36828 test -z "$ac_c_werror_flag" ||
36829 test ! -s conftest.err
36830 } && test -s conftest$ac_exeext &&
36831 $as_test_x conftest$ac_exeext; then
36832 eval "$as_ac_var=yes"
36834 echo "$as_me: failed program was:" >&5
36835 sed 's/^/| /' conftest.$ac_ext >&5
36837 eval "$as_ac_var=no"
36840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36841 conftest$ac_exeext conftest.$ac_ext
36843 ac_res=`eval echo '${'$as_ac_var'}'`
36844 { echo "$as_me:$LINENO: result: $ac_res" >&5
36845 echo "${ECHO_T}$ac_res" >&6; }
36846 if test `eval echo '${'$as_ac_var'}'` = yes; then
36847 cat >>confdefs.h <<_ACEOF
36848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36855 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36856 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36859 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36860 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36861 if test "${ac_cv_type_mbstate_t+set}" = set; then
36862 echo $ECHO_N "(cached) $ECHO_C" >&6
36864 cat >conftest.$ac_ext <<_ACEOF
36867 cat confdefs.h >>conftest.$ac_ext
36868 cat >>conftest.$ac_ext <<_ACEOF
36869 /* end confdefs.h. */
36872 typedef mbstate_t ac__type_new_;
36876 if ((ac__type_new_ *) 0)
36878 if (sizeof (ac__type_new_))
36884 rm -f conftest.$ac_objext
36885 if { (ac_try="$ac_compile"
36886 case "(($ac_try" in
36887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36888 *) ac_try_echo=$ac_try;;
36890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36891 (eval "$ac_compile") 2>conftest.er1
36893 grep -v '^ *+' conftest.er1 >conftest.err
36895 cat conftest.err >&5
36896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36897 (exit $ac_status); } && {
36898 test -z "$ac_c_werror_flag" ||
36899 test ! -s conftest.err
36900 } && test -s conftest.$ac_objext; then
36901 ac_cv_type_mbstate_t=yes
36903 echo "$as_me: failed program was:" >&5
36904 sed 's/^/| /' conftest.$ac_ext >&5
36906 ac_cv_type_mbstate_t=no
36909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36911 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36912 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36913 if test $ac_cv_type_mbstate_t = yes; then
36915 cat >>confdefs.h <<_ACEOF
36916 #define HAVE_MBSTATE_T 1
36920 for ac_func in wcsrtombs
36922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36923 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36925 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36926 echo $ECHO_N "(cached) $ECHO_C" >&6
36928 cat >conftest.$ac_ext <<_ACEOF
36931 cat confdefs.h >>conftest.$ac_ext
36932 cat >>conftest.$ac_ext <<_ACEOF
36933 /* end confdefs.h. */
36934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36936 #define $ac_func innocuous_$ac_func
36938 /* System header to define __stub macros and hopefully few prototypes,
36939 which can conflict with char $ac_func (); below.
36940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36941 <limits.h> exists even on freestanding compilers. */
36944 # include <limits.h>
36946 # include <assert.h>
36951 /* Override any GCC internal prototype to avoid an error.
36952 Use char because int might match the return type of a GCC
36953 builtin and then its argument prototype would still apply. */
36958 /* The GNU C library defines this for functions which it implements
36959 to always fail with ENOSYS. Some functions are actually named
36960 something starting with __ and the normal name is an alias. */
36961 #if defined __stub_$ac_func || defined __stub___$ac_func
36968 return $ac_func ();
36973 rm -f conftest.$ac_objext conftest$ac_exeext
36974 if { (ac_try="$ac_link"
36975 case "(($ac_try" in
36976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36977 *) ac_try_echo=$ac_try;;
36979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36980 (eval "$ac_link") 2>conftest.er1
36982 grep -v '^ *+' conftest.er1 >conftest.err
36984 cat conftest.err >&5
36985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36986 (exit $ac_status); } && {
36987 test -z "$ac_c_werror_flag" ||
36988 test ! -s conftest.err
36989 } && test -s conftest$ac_exeext &&
36990 $as_test_x conftest$ac_exeext; then
36991 eval "$as_ac_var=yes"
36993 echo "$as_me: failed program was:" >&5
36994 sed 's/^/| /' conftest.$ac_ext >&5
36996 eval "$as_ac_var=no"
36999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37000 conftest$ac_exeext conftest.$ac_ext
37002 ac_res=`eval echo '${'$as_ac_var'}'`
37003 { echo "$as_me:$LINENO: result: $ac_res" >&5
37004 echo "${ECHO_T}$ac_res" >&6; }
37005 if test `eval echo '${'$as_ac_var'}'` = yes; then
37006 cat >>confdefs.h <<_ACEOF
37007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37019 for ac_func in snprintf vsnprintf vsscanf
37021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37022 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37024 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37025 echo $ECHO_N "(cached) $ECHO_C" >&6
37027 cat >conftest.$ac_ext <<_ACEOF
37030 cat confdefs.h >>conftest.$ac_ext
37031 cat >>conftest.$ac_ext <<_ACEOF
37032 /* end confdefs.h. */
37033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37035 #define $ac_func innocuous_$ac_func
37037 /* System header to define __stub macros and hopefully few prototypes,
37038 which can conflict with char $ac_func (); below.
37039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37040 <limits.h> exists even on freestanding compilers. */
37043 # include <limits.h>
37045 # include <assert.h>
37050 /* Override any GCC internal prototype to avoid an error.
37051 Use char because int might match the return type of a GCC
37052 builtin and then its argument prototype would still apply. */
37057 /* The GNU C library defines this for functions which it implements
37058 to always fail with ENOSYS. Some functions are actually named
37059 something starting with __ and the normal name is an alias. */
37060 #if defined __stub_$ac_func || defined __stub___$ac_func
37067 return $ac_func ();
37072 rm -f conftest.$ac_objext conftest$ac_exeext
37073 if { (ac_try="$ac_link"
37074 case "(($ac_try" in
37075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37076 *) ac_try_echo=$ac_try;;
37078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37079 (eval "$ac_link") 2>conftest.er1
37081 grep -v '^ *+' conftest.er1 >conftest.err
37083 cat conftest.err >&5
37084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37085 (exit $ac_status); } && {
37086 test -z "$ac_c_werror_flag" ||
37087 test ! -s conftest.err
37088 } && test -s conftest$ac_exeext &&
37089 $as_test_x conftest$ac_exeext; then
37090 eval "$as_ac_var=yes"
37092 echo "$as_me: failed program was:" >&5
37093 sed 's/^/| /' conftest.$ac_ext >&5
37095 eval "$as_ac_var=no"
37098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37099 conftest$ac_exeext conftest.$ac_ext
37101 ac_res=`eval echo '${'$as_ac_var'}'`
37102 { echo "$as_me:$LINENO: result: $ac_res" >&5
37103 echo "${ECHO_T}$ac_res" >&6; }
37104 if test `eval echo '${'$as_ac_var'}'` = yes; then
37105 cat >>confdefs.h <<_ACEOF
37106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37114 ac_cpp='$CXXCPP $CPPFLAGS'
37115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37119 if test "$ac_cv_func_vsnprintf" = "yes"; then
37120 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37121 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37122 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37123 echo $ECHO_N "(cached) $ECHO_C" >&6
37126 cat >conftest.$ac_ext <<_ACEOF
37129 cat confdefs.h >>conftest.$ac_ext
37130 cat >>conftest.$ac_ext <<_ACEOF
37131 /* end confdefs.h. */
37134 #include <stdarg.h>
37136 #if __MSL__ >= 0x6000
37138 using namespace std;
37148 vsnprintf(buf, 10u, "%s", ap);
37154 rm -f conftest.$ac_objext
37155 if { (ac_try="$ac_compile"
37156 case "(($ac_try" in
37157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37158 *) ac_try_echo=$ac_try;;
37160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37161 (eval "$ac_compile") 2>conftest.er1
37163 grep -v '^ *+' conftest.er1 >conftest.err
37165 cat conftest.err >&5
37166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37167 (exit $ac_status); } && {
37168 test -z "$ac_cxx_werror_flag" ||
37169 test ! -s conftest.err
37170 } && test -s conftest.$ac_objext; then
37171 wx_cv_func_vsnprintf_decl=yes
37173 echo "$as_me: failed program was:" >&5
37174 sed 's/^/| /' conftest.$ac_ext >&5
37176 wx_cv_func_vsnprintf_decl=no
37180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37184 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37185 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37187 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37188 cat >>confdefs.h <<\_ACEOF
37189 #define HAVE_VSNPRINTF_DECL 1
37193 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37194 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37195 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37196 echo $ECHO_N "(cached) $ECHO_C" >&6
37199 cat >conftest.$ac_ext <<_ACEOF
37202 cat confdefs.h >>conftest.$ac_ext
37203 cat >>conftest.$ac_ext <<_ACEOF
37204 /* end confdefs.h. */
37207 #include <stdarg.h>
37209 #if __MSL__ >= 0x6000
37211 using namespace std;
37221 const char *fmt = "%s";
37222 vsnprintf(buf, 10u, fmt, ap);
37228 rm -f conftest.$ac_objext
37229 if { (ac_try="$ac_compile"
37230 case "(($ac_try" in
37231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37232 *) ac_try_echo=$ac_try;;
37234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37235 (eval "$ac_compile") 2>conftest.er1
37237 grep -v '^ *+' conftest.er1 >conftest.err
37239 cat conftest.err >&5
37240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37241 (exit $ac_status); } && {
37242 test -z "$ac_cxx_werror_flag" ||
37243 test ! -s conftest.err
37244 } && test -s conftest.$ac_objext; then
37245 wx_cv_func_broken_vsnprintf_decl=no
37247 echo "$as_me: failed program was:" >&5
37248 sed 's/^/| /' conftest.$ac_ext >&5
37250 wx_cv_func_broken_vsnprintf_decl=yes
37254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37258 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37259 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37261 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37262 cat >>confdefs.h <<\_ACEOF
37263 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37270 if test "$ac_cv_func_snprintf" = "yes"; then
37271 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37272 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37273 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37274 echo $ECHO_N "(cached) $ECHO_C" >&6
37277 cat >conftest.$ac_ext <<_ACEOF
37280 cat confdefs.h >>conftest.$ac_ext
37281 cat >>conftest.$ac_ext <<_ACEOF
37282 /* end confdefs.h. */
37285 #include <stdarg.h>
37287 #if __MSL__ >= 0x6000
37289 using namespace std;
37298 snprintf(buf, 10u, "%s", "wx");
37304 rm -f conftest.$ac_objext
37305 if { (ac_try="$ac_compile"
37306 case "(($ac_try" in
37307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37308 *) ac_try_echo=$ac_try;;
37310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37311 (eval "$ac_compile") 2>conftest.er1
37313 grep -v '^ *+' conftest.er1 >conftest.err
37315 cat conftest.err >&5
37316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37317 (exit $ac_status); } && {
37318 test -z "$ac_cxx_werror_flag" ||
37319 test ! -s conftest.err
37320 } && test -s conftest.$ac_objext; then
37321 wx_cv_func_snprintf_decl=yes
37323 echo "$as_me: failed program was:" >&5
37324 sed 's/^/| /' conftest.$ac_ext >&5
37326 wx_cv_func_snprintf_decl=no
37330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37334 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37335 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37337 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37338 cat >>confdefs.h <<\_ACEOF
37339 #define HAVE_SNPRINTF_DECL 1
37344 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37346 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37347 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37348 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37349 echo $ECHO_N "(cached) $ECHO_C" >&6
37352 if test "$cross_compiling" = yes; then
37354 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37355 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37356 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37357 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37358 wx_cv_func_snprintf_pos_params=no
37362 cat >conftest.$ac_ext <<_ACEOF
37365 cat confdefs.h >>conftest.$ac_ext
37366 cat >>conftest.$ac_ext <<_ACEOF
37367 /* end confdefs.h. */
37374 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37375 if (strcmp ("2 3 1", buffer) == 0)
37381 rm -f conftest$ac_exeext
37382 if { (ac_try="$ac_link"
37383 case "(($ac_try" in
37384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37385 *) ac_try_echo=$ac_try;;
37387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37388 (eval "$ac_link") 2>&5
37390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37391 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37392 { (case "(($ac_try" in
37393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37394 *) ac_try_echo=$ac_try;;
37396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37397 (eval "$ac_try") 2>&5
37399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37400 (exit $ac_status); }; }; then
37401 wx_cv_func_snprintf_pos_params=no
37403 echo "$as_me: program exited with status $ac_status" >&5
37404 echo "$as_me: failed program was:" >&5
37405 sed 's/^/| /' conftest.$ac_ext >&5
37407 ( exit $ac_status )
37408 wx_cv_func_snprintf_pos_params=yes
37410 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37417 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37418 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37420 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37421 cat >>confdefs.h <<\_ACEOF
37422 #define HAVE_UNIX98_PRINTF 1
37429 if test "$ac_cv_func_vsscanf" = "yes"; then
37430 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
37431 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
37432 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
37433 echo $ECHO_N "(cached) $ECHO_C" >&6
37436 cat >conftest.$ac_ext <<_ACEOF
37439 cat confdefs.h >>conftest.$ac_ext
37440 cat >>conftest.$ac_ext <<_ACEOF
37441 /* end confdefs.h. */
37444 #include <stdarg.h>
37446 #if __MSL__ >= 0x6000
37448 using namespace std;
37458 vsscanf(buf, "%s", args);
37464 rm -f conftest.$ac_objext
37465 if { (ac_try="$ac_compile"
37466 case "(($ac_try" in
37467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37468 *) ac_try_echo=$ac_try;;
37470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37471 (eval "$ac_compile") 2>conftest.er1
37473 grep -v '^ *+' conftest.er1 >conftest.err
37475 cat conftest.err >&5
37476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37477 (exit $ac_status); } && {
37478 test -z "$ac_cxx_werror_flag" ||
37479 test ! -s conftest.err
37480 } && test -s conftest.$ac_objext; then
37481 wx_cv_func_vsscanf_decl=yes
37483 echo "$as_me: failed program was:" >&5
37484 sed 's/^/| /' conftest.$ac_ext >&5
37486 wx_cv_func_vsscanf_decl=no
37490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37494 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
37495 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
37497 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
37498 cat >>confdefs.h <<\_ACEOF
37499 #define HAVE_VSSCANF_DECL 1
37505 ac_cpp='$CPP $CPPFLAGS'
37506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37511 if test "$wxUSE_UNICODE" = yes; then
37513 wchar_headers="#include <stdio.h>
37514 #include <wchar.h>"
37518 for ac_header in widec.h
37520 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37521 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37523 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37524 echo $ECHO_N "(cached) $ECHO_C" >&6
37526 cat >conftest.$ac_ext <<_ACEOF
37529 cat confdefs.h >>conftest.$ac_ext
37530 cat >>conftest.$ac_ext <<_ACEOF
37531 /* end confdefs.h. */
37532 $ac_includes_default
37534 #include <$ac_header>
37536 rm -f conftest.$ac_objext
37537 if { (ac_try="$ac_compile"
37538 case "(($ac_try" in
37539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37540 *) ac_try_echo=$ac_try;;
37542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37543 (eval "$ac_compile") 2>conftest.er1
37545 grep -v '^ *+' conftest.er1 >conftest.err
37547 cat conftest.err >&5
37548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37549 (exit $ac_status); } && {
37550 test -z "$ac_c_werror_flag" ||
37551 test ! -s conftest.err
37552 } && test -s conftest.$ac_objext; then
37553 eval "$as_ac_Header=yes"
37555 echo "$as_me: failed program was:" >&5
37556 sed 's/^/| /' conftest.$ac_ext >&5
37558 eval "$as_ac_Header=no"
37561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37563 ac_res=`eval echo '${'$as_ac_Header'}'`
37564 { echo "$as_me:$LINENO: result: $ac_res" >&5
37565 echo "${ECHO_T}$ac_res" >&6; }
37566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37567 cat >>confdefs.h <<_ACEOF
37568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37575 if test "$ac_cv_header_widec_h" = "yes"; then
37576 wchar_headers="$wchar_headers
37577 #include <widec.h>"
37582 for wx_func in putws fputws wprintf vswprintf vswscanf
37584 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37585 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37586 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37587 echo $ECHO_N "(cached) $ECHO_C" >&6
37590 cat >conftest.$ac_ext <<_ACEOF
37594 cat confdefs.h >>conftest.$ac_ext
37595 cat >>conftest.$ac_ext <<_ACEOF
37596 /* end confdefs.h. */
37599 $ac_includes_default
37615 rm -f conftest.$ac_objext conftest$ac_exeext
37616 if { (ac_try="$ac_link"
37617 case "(($ac_try" in
37618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37619 *) ac_try_echo=$ac_try;;
37621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37622 (eval "$ac_link") 2>conftest.er1
37624 grep -v '^ *+' conftest.er1 >conftest.err
37626 cat conftest.err >&5
37627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37628 (exit $ac_status); } && {
37629 test -z "$ac_c_werror_flag" ||
37630 test ! -s conftest.err
37631 } && test -s conftest$ac_exeext &&
37632 $as_test_x conftest$ac_exeext; then
37633 eval wx_cv_func_$wx_func=yes
37635 echo "$as_me: failed program was:" >&5
37636 sed 's/^/| /' conftest.$ac_ext >&5
37638 eval wx_cv_func_$wx_func=no
37641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37642 conftest$ac_exeext conftest.$ac_ext
37645 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37646 { echo "$as_me:$LINENO: result: $ac_res" >&5
37647 echo "${ECHO_T}$ac_res" >&6; }
37649 if eval test \$wx_cv_func_$wx_func = yes
37651 cat >>confdefs.h <<_ACEOF
37652 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37663 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37664 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37665 cat >conftest.$ac_ext <<_ACEOF
37668 cat confdefs.h >>conftest.$ac_ext
37669 cat >>conftest.$ac_ext <<_ACEOF
37670 /* end confdefs.h. */
37680 rm -f conftest.$ac_objext
37681 if { (ac_try="$ac_compile"
37682 case "(($ac_try" in
37683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37684 *) ac_try_echo=$ac_try;;
37686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37687 (eval "$ac_compile") 2>conftest.er1
37689 grep -v '^ *+' conftest.er1 >conftest.err
37691 cat conftest.err >&5
37692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37693 (exit $ac_status); } && {
37694 test -z "$ac_c_werror_flag" ||
37695 test ! -s conftest.err
37696 } && test -s conftest.$ac_objext; then
37697 { echo "$as_me:$LINENO: result: yes" >&5
37698 echo "${ECHO_T}yes" >&6; }
37699 cat >>confdefs.h <<\_ACEOF
37700 #define HAVE__VSNWPRINTF 1
37704 echo "$as_me: failed program was:" >&5
37705 sed 's/^/| /' conftest.$ac_ext >&5
37707 { echo "$as_me:$LINENO: result: no" >&5
37708 echo "${ECHO_T}no" >&6; }
37711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37714 if test "$wxUSE_FILE" = "yes"; then
37716 for wx_func in fsync
37718 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37719 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37720 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37721 echo $ECHO_N "(cached) $ECHO_C" >&6
37724 cat >conftest.$ac_ext <<_ACEOF
37728 cat confdefs.h >>conftest.$ac_ext
37729 cat >>conftest.$ac_ext <<_ACEOF
37730 /* end confdefs.h. */
37733 $ac_includes_default
37749 rm -f conftest.$ac_objext conftest$ac_exeext
37750 if { (ac_try="$ac_link"
37751 case "(($ac_try" in
37752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37753 *) ac_try_echo=$ac_try;;
37755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37756 (eval "$ac_link") 2>conftest.er1
37758 grep -v '^ *+' conftest.er1 >conftest.err
37760 cat conftest.err >&5
37761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37762 (exit $ac_status); } && {
37763 test -z "$ac_c_werror_flag" ||
37764 test ! -s conftest.err
37765 } && test -s conftest$ac_exeext &&
37766 $as_test_x conftest$ac_exeext; then
37767 eval wx_cv_func_$wx_func=yes
37769 echo "$as_me: failed program was:" >&5
37770 sed 's/^/| /' conftest.$ac_ext >&5
37772 eval wx_cv_func_$wx_func=no
37775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37776 conftest$ac_exeext conftest.$ac_ext
37779 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37780 { echo "$as_me:$LINENO: result: $ac_res" >&5
37781 echo "${ECHO_T}$ac_res" >&6; }
37783 if eval test \$wx_cv_func_$wx_func = yes
37785 cat >>confdefs.h <<_ACEOF
37786 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37799 ac_cpp='$CXXCPP $CPPFLAGS'
37800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37805 for wx_func in round
37807 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37808 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37809 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37810 echo $ECHO_N "(cached) $ECHO_C" >&6
37813 cat >conftest.$ac_ext <<_ACEOF
37817 cat confdefs.h >>conftest.$ac_ext
37818 cat >>conftest.$ac_ext <<_ACEOF
37819 /* end confdefs.h. */
37822 $ac_includes_default
37838 rm -f conftest.$ac_objext conftest$ac_exeext
37839 if { (ac_try="$ac_link"
37840 case "(($ac_try" in
37841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37842 *) ac_try_echo=$ac_try;;
37844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37845 (eval "$ac_link") 2>conftest.er1
37847 grep -v '^ *+' conftest.er1 >conftest.err
37849 cat conftest.err >&5
37850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37851 (exit $ac_status); } && {
37852 test -z "$ac_cxx_werror_flag" ||
37853 test ! -s conftest.err
37854 } && test -s conftest$ac_exeext &&
37855 $as_test_x conftest$ac_exeext; then
37856 eval wx_cv_func_$wx_func=yes
37858 echo "$as_me: failed program was:" >&5
37859 sed 's/^/| /' conftest.$ac_ext >&5
37861 eval wx_cv_func_$wx_func=no
37864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37865 conftest$ac_exeext conftest.$ac_ext
37868 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37869 { echo "$as_me:$LINENO: result: $ac_res" >&5
37870 echo "${ECHO_T}$ac_res" >&6; }
37872 if eval test \$wx_cv_func_$wx_func = yes
37874 cat >>confdefs.h <<_ACEOF
37875 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37886 ac_cpp='$CPP $CPPFLAGS'
37887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37892 if test "$TOOLKIT" != "MSW"; then
37894 if test "$wxUSE_LIBICONV" != "no" ; then
37898 # Check whether --with-libiconv-prefix was given.
37899 if test "${with_libiconv_prefix+set}" = set; then
37900 withval=$with_libiconv_prefix;
37901 for dir in `echo "$withval" | tr : ' '`; do
37902 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37903 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37909 { echo "$as_me:$LINENO: checking for iconv" >&5
37910 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37911 if test "${am_cv_func_iconv+set}" = set; then
37912 echo $ECHO_N "(cached) $ECHO_C" >&6
37915 am_cv_func_iconv="no, consider installing GNU libiconv"
37917 cat >conftest.$ac_ext <<_ACEOF
37920 cat confdefs.h >>conftest.$ac_ext
37921 cat >>conftest.$ac_ext <<_ACEOF
37922 /* end confdefs.h. */
37923 #include <stdlib.h>
37928 iconv_t cd = iconv_open("","");
37929 iconv(cd,NULL,NULL,NULL,NULL);
37935 rm -f conftest.$ac_objext conftest$ac_exeext
37936 if { (ac_try="$ac_link"
37937 case "(($ac_try" in
37938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37939 *) ac_try_echo=$ac_try;;
37941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37942 (eval "$ac_link") 2>conftest.er1
37944 grep -v '^ *+' conftest.er1 >conftest.err
37946 cat conftest.err >&5
37947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37948 (exit $ac_status); } && {
37949 test -z "$ac_c_werror_flag" ||
37950 test ! -s conftest.err
37951 } && test -s conftest$ac_exeext &&
37952 $as_test_x conftest$ac_exeext; then
37953 am_cv_func_iconv=yes
37955 echo "$as_me: failed program was:" >&5
37956 sed 's/^/| /' conftest.$ac_ext >&5
37961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37962 conftest$ac_exeext conftest.$ac_ext
37963 if test "$am_cv_func_iconv" != yes; then
37964 am_save_LIBS="$LIBS"
37965 LIBS="$LIBS -liconv"
37966 cat >conftest.$ac_ext <<_ACEOF
37969 cat confdefs.h >>conftest.$ac_ext
37970 cat >>conftest.$ac_ext <<_ACEOF
37971 /* end confdefs.h. */
37972 #include <stdlib.h>
37977 iconv_t cd = iconv_open("","");
37978 iconv(cd,NULL,NULL,NULL,NULL);
37984 rm -f conftest.$ac_objext conftest$ac_exeext
37985 if { (ac_try="$ac_link"
37986 case "(($ac_try" in
37987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37988 *) ac_try_echo=$ac_try;;
37990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37991 (eval "$ac_link") 2>conftest.er1
37993 grep -v '^ *+' conftest.er1 >conftest.err
37995 cat conftest.err >&5
37996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37997 (exit $ac_status); } && {
37998 test -z "$ac_c_werror_flag" ||
37999 test ! -s conftest.err
38000 } && test -s conftest$ac_exeext &&
38001 $as_test_x conftest$ac_exeext; then
38002 am_cv_lib_iconv=yes
38003 am_cv_func_iconv=yes
38005 echo "$as_me: failed program was:" >&5
38006 sed 's/^/| /' conftest.$ac_ext >&5
38011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38012 conftest$ac_exeext conftest.$ac_ext
38013 LIBS="$am_save_LIBS"
38017 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38018 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38019 if test "$am_cv_func_iconv" = yes; then
38021 cat >>confdefs.h <<\_ACEOF
38022 #define HAVE_ICONV 1
38025 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38026 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38027 if test "${wx_cv_func_iconv_const+set}" = set; then
38028 echo $ECHO_N "(cached) $ECHO_C" >&6
38030 cat >conftest.$ac_ext <<_ACEOF
38033 cat confdefs.h >>conftest.$ac_ext
38034 cat >>conftest.$ac_ext <<_ACEOF
38035 /* end confdefs.h. */
38037 #include <stdlib.h>
38043 #if defined(__STDC__) || defined(__cplusplus)
38044 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38057 rm -f conftest.$ac_objext
38058 if { (ac_try="$ac_compile"
38059 case "(($ac_try" in
38060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38061 *) ac_try_echo=$ac_try;;
38063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38064 (eval "$ac_compile") 2>conftest.er1
38066 grep -v '^ *+' conftest.er1 >conftest.err
38068 cat conftest.err >&5
38069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38070 (exit $ac_status); } && {
38071 test -z "$ac_c_werror_flag" ||
38072 test ! -s conftest.err
38073 } && test -s conftest.$ac_objext; then
38074 wx_cv_func_iconv_const="no"
38076 echo "$as_me: failed program was:" >&5
38077 sed 's/^/| /' conftest.$ac_ext >&5
38079 wx_cv_func_iconv_const="yes"
38083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38086 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38087 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38090 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38091 iconv_const="const"
38095 cat >>confdefs.h <<_ACEOF
38096 #define ICONV_CONST $iconv_const
38101 if test "$am_cv_lib_iconv" = yes; then
38106 LIBS="$LIBICONV $LIBS"
38109 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38111 for ac_func in sigaction
38113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38114 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38116 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38117 echo $ECHO_N "(cached) $ECHO_C" >&6
38119 cat >conftest.$ac_ext <<_ACEOF
38122 cat confdefs.h >>conftest.$ac_ext
38123 cat >>conftest.$ac_ext <<_ACEOF
38124 /* end confdefs.h. */
38125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38127 #define $ac_func innocuous_$ac_func
38129 /* System header to define __stub macros and hopefully few prototypes,
38130 which can conflict with char $ac_func (); below.
38131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38132 <limits.h> exists even on freestanding compilers. */
38135 # include <limits.h>
38137 # include <assert.h>
38142 /* Override any GCC internal prototype to avoid an error.
38143 Use char because int might match the return type of a GCC
38144 builtin and then its argument prototype would still apply. */
38149 /* The GNU C library defines this for functions which it implements
38150 to always fail with ENOSYS. Some functions are actually named
38151 something starting with __ and the normal name is an alias. */
38152 #if defined __stub_$ac_func || defined __stub___$ac_func
38159 return $ac_func ();
38164 rm -f conftest.$ac_objext conftest$ac_exeext
38165 if { (ac_try="$ac_link"
38166 case "(($ac_try" in
38167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38168 *) ac_try_echo=$ac_try;;
38170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38171 (eval "$ac_link") 2>conftest.er1
38173 grep -v '^ *+' conftest.er1 >conftest.err
38175 cat conftest.err >&5
38176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38177 (exit $ac_status); } && {
38178 test -z "$ac_c_werror_flag" ||
38179 test ! -s conftest.err
38180 } && test -s conftest$ac_exeext &&
38181 $as_test_x conftest$ac_exeext; then
38182 eval "$as_ac_var=yes"
38184 echo "$as_me: failed program was:" >&5
38185 sed 's/^/| /' conftest.$ac_ext >&5
38187 eval "$as_ac_var=no"
38190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38191 conftest$ac_exeext conftest.$ac_ext
38193 ac_res=`eval echo '${'$as_ac_var'}'`
38194 { echo "$as_me:$LINENO: result: $ac_res" >&5
38195 echo "${ECHO_T}$ac_res" >&6; }
38196 if test `eval echo '${'$as_ac_var'}'` = yes; then
38197 cat >>confdefs.h <<_ACEOF
38198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38205 if test "$ac_cv_func_sigaction" = "no"; then
38206 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38207 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38208 wxUSE_ON_FATAL_EXCEPTION=no
38211 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38212 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38213 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38214 if test "${wx_cv_type_sa_handler+set}" = set; then
38215 echo $ECHO_N "(cached) $ECHO_C" >&6
38219 ac_cpp='$CXXCPP $CPPFLAGS'
38220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38224 cat >conftest.$ac_ext <<_ACEOF
38227 cat confdefs.h >>conftest.$ac_ext
38228 cat >>conftest.$ac_ext <<_ACEOF
38229 /* end confdefs.h. */
38230 #include <signal.h>
38235 extern void testSigHandler(int);
38237 struct sigaction sa;
38238 sa.sa_handler = testSigHandler;
38244 rm -f conftest.$ac_objext
38245 if { (ac_try="$ac_compile"
38246 case "(($ac_try" in
38247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38248 *) ac_try_echo=$ac_try;;
38250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38251 (eval "$ac_compile") 2>conftest.er1
38253 grep -v '^ *+' conftest.er1 >conftest.err
38255 cat conftest.err >&5
38256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38257 (exit $ac_status); } && {
38258 test -z "$ac_cxx_werror_flag" ||
38259 test ! -s conftest.err
38260 } && test -s conftest.$ac_objext; then
38262 wx_cv_type_sa_handler=int
38265 echo "$as_me: failed program was:" >&5
38266 sed 's/^/| /' conftest.$ac_ext >&5
38269 wx_cv_type_sa_handler=void
38273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38275 ac_cpp='$CPP $CPPFLAGS'
38276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38282 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38283 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38285 cat >>confdefs.h <<_ACEOF
38286 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38292 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38293 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38294 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38295 if test "${wx_cv_func_backtrace+set}" = set; then
38296 echo $ECHO_N "(cached) $ECHO_C" >&6
38300 ac_cpp='$CXXCPP $CPPFLAGS'
38301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38305 cat >conftest.$ac_ext <<_ACEOF
38308 cat confdefs.h >>conftest.$ac_ext
38309 cat >>conftest.$ac_ext <<_ACEOF
38310 /* end confdefs.h. */
38311 #include <execinfo.h>
38319 backtrace(trace, 1);
38320 messages = backtrace_symbols(trace, 1);
38326 rm -f conftest.$ac_objext
38327 if { (ac_try="$ac_compile"
38328 case "(($ac_try" in
38329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38330 *) ac_try_echo=$ac_try;;
38332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38333 (eval "$ac_compile") 2>conftest.er1
38335 grep -v '^ *+' conftest.er1 >conftest.err
38337 cat conftest.err >&5
38338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38339 (exit $ac_status); } && {
38340 test -z "$ac_cxx_werror_flag" ||
38341 test ! -s conftest.err
38342 } && test -s conftest.$ac_objext; then
38343 wx_cv_func_backtrace=yes
38345 echo "$as_me: failed program was:" >&5
38346 sed 's/^/| /' conftest.$ac_ext >&5
38348 wx_cv_func_backtrace=no
38352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38354 ac_cpp='$CPP $CPPFLAGS'
38355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38362 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38363 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38366 if test "$wx_cv_func_backtrace" = "no"; then
38367 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38368 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38369 wxUSE_STACKWALKER=no
38371 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38372 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38373 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38374 echo $ECHO_N "(cached) $ECHO_C" >&6
38378 ac_cpp='$CXXCPP $CPPFLAGS'
38379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38383 cat >conftest.$ac_ext <<_ACEOF
38386 cat confdefs.h >>conftest.$ac_ext
38387 cat >>conftest.$ac_ext <<_ACEOF
38388 /* end confdefs.h. */
38389 #include <cxxabi.h>
38395 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38401 rm -f conftest.$ac_objext conftest$ac_exeext
38402 if { (ac_try="$ac_link"
38403 case "(($ac_try" in
38404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38405 *) ac_try_echo=$ac_try;;
38407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38408 (eval "$ac_link") 2>conftest.er1
38410 grep -v '^ *+' conftest.er1 >conftest.err
38412 cat conftest.err >&5
38413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38414 (exit $ac_status); } && {
38415 test -z "$ac_cxx_werror_flag" ||
38416 test ! -s conftest.err
38417 } && test -s conftest$ac_exeext &&
38418 $as_test_x conftest$ac_exeext; then
38419 wx_cv_func_cxa_demangle=yes
38421 echo "$as_me: failed program was:" >&5
38422 sed 's/^/| /' conftest.$ac_ext >&5
38424 wx_cv_func_cxa_demangle=no
38428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38429 conftest$ac_exeext conftest.$ac_ext
38431 ac_cpp='$CPP $CPPFLAGS'
38432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38439 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38440 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38442 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38443 cat >>confdefs.h <<\_ACEOF
38444 #define HAVE_CXA_DEMANGLE 1
38451 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
38452 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38453 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38454 wxUSE_STACKWALKER=no
38460 for ac_func in mkstemp mktemp
38462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38463 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38465 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38466 echo $ECHO_N "(cached) $ECHO_C" >&6
38468 cat >conftest.$ac_ext <<_ACEOF
38471 cat confdefs.h >>conftest.$ac_ext
38472 cat >>conftest.$ac_ext <<_ACEOF
38473 /* end confdefs.h. */
38474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38476 #define $ac_func innocuous_$ac_func
38478 /* System header to define __stub macros and hopefully few prototypes,
38479 which can conflict with char $ac_func (); below.
38480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38481 <limits.h> exists even on freestanding compilers. */
38484 # include <limits.h>
38486 # include <assert.h>
38491 /* Override any GCC internal prototype to avoid an error.
38492 Use char because int might match the return type of a GCC
38493 builtin and then its argument prototype would still apply. */
38498 /* The GNU C library defines this for functions which it implements
38499 to always fail with ENOSYS. Some functions are actually named
38500 something starting with __ and the normal name is an alias. */
38501 #if defined __stub_$ac_func || defined __stub___$ac_func
38508 return $ac_func ();
38513 rm -f conftest.$ac_objext conftest$ac_exeext
38514 if { (ac_try="$ac_link"
38515 case "(($ac_try" in
38516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38517 *) ac_try_echo=$ac_try;;
38519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38520 (eval "$ac_link") 2>conftest.er1
38522 grep -v '^ *+' conftest.er1 >conftest.err
38524 cat conftest.err >&5
38525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38526 (exit $ac_status); } && {
38527 test -z "$ac_c_werror_flag" ||
38528 test ! -s conftest.err
38529 } && test -s conftest$ac_exeext &&
38530 $as_test_x conftest$ac_exeext; then
38531 eval "$as_ac_var=yes"
38533 echo "$as_me: failed program was:" >&5
38534 sed 's/^/| /' conftest.$ac_ext >&5
38536 eval "$as_ac_var=no"
38539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38540 conftest$ac_exeext conftest.$ac_ext
38542 ac_res=`eval echo '${'$as_ac_var'}'`
38543 { echo "$as_me:$LINENO: result: $ac_res" >&5
38544 echo "${ECHO_T}$ac_res" >&6; }
38545 if test `eval echo '${'$as_ac_var'}'` = yes; then
38546 cat >>confdefs.h <<_ACEOF
38547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38554 { echo "$as_me:$LINENO: checking for statfs" >&5
38555 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38556 if test "${wx_cv_func_statfs+set}" = set; then
38557 echo $ECHO_N "(cached) $ECHO_C" >&6
38559 cat >conftest.$ac_ext <<_ACEOF
38562 cat confdefs.h >>conftest.$ac_ext
38563 cat >>conftest.$ac_ext <<_ACEOF
38564 /* end confdefs.h. */
38566 #if defined(__BSD__)
38567 #include <sys/param.h>
38568 #include <sys/mount.h>
38570 #include <sys/vfs.h>
38588 rm -f conftest.$ac_objext
38589 if { (ac_try="$ac_compile"
38590 case "(($ac_try" in
38591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38592 *) ac_try_echo=$ac_try;;
38594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38595 (eval "$ac_compile") 2>conftest.er1
38597 grep -v '^ *+' conftest.er1 >conftest.err
38599 cat conftest.err >&5
38600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38601 (exit $ac_status); } && {
38602 test -z "$ac_c_werror_flag" ||
38603 test ! -s conftest.err
38604 } && test -s conftest.$ac_objext; then
38605 wx_cv_func_statfs=yes
38607 echo "$as_me: failed program was:" >&5
38608 sed 's/^/| /' conftest.$ac_ext >&5
38610 wx_cv_func_statfs=no
38614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38617 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38618 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38620 if test "$wx_cv_func_statfs" = "yes"; then
38621 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38622 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38623 if test "${wx_cv_func_statfs_decl+set}" = set; then
38624 echo $ECHO_N "(cached) $ECHO_C" >&6
38627 ac_cpp='$CXXCPP $CPPFLAGS'
38628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38632 cat >conftest.$ac_ext <<_ACEOF
38635 cat confdefs.h >>conftest.$ac_ext
38636 cat >>conftest.$ac_ext <<_ACEOF
38637 /* end confdefs.h. */
38639 #if defined(__BSD__)
38640 #include <sys/param.h>
38641 #include <sys/mount.h>
38643 #include <sys/vfs.h>
38657 rm -f conftest.$ac_objext
38658 if { (ac_try="$ac_compile"
38659 case "(($ac_try" in
38660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38661 *) ac_try_echo=$ac_try;;
38663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38664 (eval "$ac_compile") 2>conftest.er1
38666 grep -v '^ *+' conftest.er1 >conftest.err
38668 cat conftest.err >&5
38669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38670 (exit $ac_status); } && {
38671 test -z "$ac_cxx_werror_flag" ||
38672 test ! -s conftest.err
38673 } && test -s conftest.$ac_objext; then
38674 wx_cv_func_statfs_decl=yes
38676 echo "$as_me: failed program was:" >&5
38677 sed 's/^/| /' conftest.$ac_ext >&5
38679 wx_cv_func_statfs_decl=no
38683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38685 ac_cpp='$CPP $CPPFLAGS'
38686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38692 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38693 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38695 if test "$wx_cv_func_statfs_decl" = "yes"; then
38696 cat >>confdefs.h <<\_ACEOF
38697 #define HAVE_STATFS_DECL 1
38702 wx_cv_type_statvfs_t="struct statfs"
38703 cat >>confdefs.h <<\_ACEOF
38704 #define HAVE_STATFS 1
38708 { echo "$as_me:$LINENO: checking for statvfs" >&5
38709 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38710 if test "${wx_cv_func_statvfs+set}" = set; then
38711 echo $ECHO_N "(cached) $ECHO_C" >&6
38713 cat >conftest.$ac_ext <<_ACEOF
38716 cat confdefs.h >>conftest.$ac_ext
38717 cat >>conftest.$ac_ext <<_ACEOF
38718 /* end confdefs.h. */
38720 #include <stddef.h>
38721 #include <sys/statvfs.h>
38727 statvfs("/", NULL);
38733 rm -f conftest.$ac_objext
38734 if { (ac_try="$ac_compile"
38735 case "(($ac_try" in
38736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38737 *) ac_try_echo=$ac_try;;
38739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38740 (eval "$ac_compile") 2>conftest.er1
38742 grep -v '^ *+' conftest.er1 >conftest.err
38744 cat conftest.err >&5
38745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38746 (exit $ac_status); } && {
38747 test -z "$ac_c_werror_flag" ||
38748 test ! -s conftest.err
38749 } && test -s conftest.$ac_objext; then
38750 wx_cv_func_statvfs=yes
38752 echo "$as_me: failed program was:" >&5
38753 sed 's/^/| /' conftest.$ac_ext >&5
38755 wx_cv_func_statvfs=no
38759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38762 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38763 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38765 if test "$wx_cv_func_statvfs" = "yes"; then
38766 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38767 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38768 if test "${wx_cv_type_statvfs_t+set}" = set; then
38769 echo $ECHO_N "(cached) $ECHO_C" >&6
38772 ac_cpp='$CXXCPP $CPPFLAGS'
38773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38777 cat >conftest.$ac_ext <<_ACEOF
38780 cat confdefs.h >>conftest.$ac_ext
38781 cat >>conftest.$ac_ext <<_ACEOF
38782 /* end confdefs.h. */
38784 #include <sys/statvfs.h>
38801 rm -f conftest.$ac_objext
38802 if { (ac_try="$ac_compile"
38803 case "(($ac_try" in
38804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38805 *) ac_try_echo=$ac_try;;
38807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38808 (eval "$ac_compile") 2>conftest.er1
38810 grep -v '^ *+' conftest.er1 >conftest.err
38812 cat conftest.err >&5
38813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38814 (exit $ac_status); } && {
38815 test -z "$ac_cxx_werror_flag" ||
38816 test ! -s conftest.err
38817 } && test -s conftest.$ac_objext; then
38818 wx_cv_type_statvfs_t=statvfs_t
38820 echo "$as_me: failed program was:" >&5
38821 sed 's/^/| /' conftest.$ac_ext >&5
38824 cat >conftest.$ac_ext <<_ACEOF
38827 cat confdefs.h >>conftest.$ac_ext
38828 cat >>conftest.$ac_ext <<_ACEOF
38829 /* end confdefs.h. */
38831 #include <sys/statvfs.h>
38848 rm -f conftest.$ac_objext
38849 if { (ac_try="$ac_compile"
38850 case "(($ac_try" in
38851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38852 *) ac_try_echo=$ac_try;;
38854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38855 (eval "$ac_compile") 2>conftest.er1
38857 grep -v '^ *+' conftest.er1 >conftest.err
38859 cat conftest.err >&5
38860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38861 (exit $ac_status); } && {
38862 test -z "$ac_cxx_werror_flag" ||
38863 test ! -s conftest.err
38864 } && test -s conftest.$ac_objext; then
38865 wx_cv_type_statvfs_t="struct statvfs"
38867 echo "$as_me: failed program was:" >&5
38868 sed 's/^/| /' conftest.$ac_ext >&5
38870 wx_cv_type_statvfs_t="unknown"
38874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38881 ac_cpp='$CPP $CPPFLAGS'
38882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38888 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38889 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38891 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38892 cat >>confdefs.h <<\_ACEOF
38893 #define HAVE_STATVFS 1
38898 wx_cv_type_statvfs_t="unknown"
38902 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38903 cat >>confdefs.h <<_ACEOF
38904 #define WX_STATFS_T $wx_cv_type_statvfs_t
38908 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38909 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38912 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38915 for ac_func in fcntl flock
38917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38918 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38920 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38921 echo $ECHO_N "(cached) $ECHO_C" >&6
38923 cat >conftest.$ac_ext <<_ACEOF
38926 cat confdefs.h >>conftest.$ac_ext
38927 cat >>conftest.$ac_ext <<_ACEOF
38928 /* end confdefs.h. */
38929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38931 #define $ac_func innocuous_$ac_func
38933 /* System header to define __stub macros and hopefully few prototypes,
38934 which can conflict with char $ac_func (); below.
38935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38936 <limits.h> exists even on freestanding compilers. */
38939 # include <limits.h>
38941 # include <assert.h>
38946 /* Override any GCC internal prototype to avoid an error.
38947 Use char because int might match the return type of a GCC
38948 builtin and then its argument prototype would still apply. */
38953 /* The GNU C library defines this for functions which it implements
38954 to always fail with ENOSYS. Some functions are actually named
38955 something starting with __ and the normal name is an alias. */
38956 #if defined __stub_$ac_func || defined __stub___$ac_func
38963 return $ac_func ();
38968 rm -f conftest.$ac_objext conftest$ac_exeext
38969 if { (ac_try="$ac_link"
38970 case "(($ac_try" in
38971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38972 *) ac_try_echo=$ac_try;;
38974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38975 (eval "$ac_link") 2>conftest.er1
38977 grep -v '^ *+' conftest.er1 >conftest.err
38979 cat conftest.err >&5
38980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38981 (exit $ac_status); } && {
38982 test -z "$ac_c_werror_flag" ||
38983 test ! -s conftest.err
38984 } && test -s conftest$ac_exeext &&
38985 $as_test_x conftest$ac_exeext; then
38986 eval "$as_ac_var=yes"
38988 echo "$as_me: failed program was:" >&5
38989 sed 's/^/| /' conftest.$ac_ext >&5
38991 eval "$as_ac_var=no"
38994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38995 conftest$ac_exeext conftest.$ac_ext
38997 ac_res=`eval echo '${'$as_ac_var'}'`
38998 { echo "$as_me:$LINENO: result: $ac_res" >&5
38999 echo "${ECHO_T}$ac_res" >&6; }
39000 if test `eval echo '${'$as_ac_var'}'` = yes; then
39001 cat >>confdefs.h <<_ACEOF
39002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39009 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39010 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39011 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39012 wxUSE_SNGLINST_CHECKER=no
39018 for ac_func in setenv putenv
39020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39021 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39023 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39024 echo $ECHO_N "(cached) $ECHO_C" >&6
39026 cat >conftest.$ac_ext <<_ACEOF
39029 cat confdefs.h >>conftest.$ac_ext
39030 cat >>conftest.$ac_ext <<_ACEOF
39031 /* end confdefs.h. */
39032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39034 #define $ac_func innocuous_$ac_func
39036 /* System header to define __stub macros and hopefully few prototypes,
39037 which can conflict with char $ac_func (); below.
39038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39039 <limits.h> exists even on freestanding compilers. */
39042 # include <limits.h>
39044 # include <assert.h>
39049 /* Override any GCC internal prototype to avoid an error.
39050 Use char because int might match the return type of a GCC
39051 builtin and then its argument prototype would still apply. */
39056 /* The GNU C library defines this for functions which it implements
39057 to always fail with ENOSYS. Some functions are actually named
39058 something starting with __ and the normal name is an alias. */
39059 #if defined __stub_$ac_func || defined __stub___$ac_func
39066 return $ac_func ();
39071 rm -f conftest.$ac_objext conftest$ac_exeext
39072 if { (ac_try="$ac_link"
39073 case "(($ac_try" in
39074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39075 *) ac_try_echo=$ac_try;;
39077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39078 (eval "$ac_link") 2>conftest.er1
39080 grep -v '^ *+' conftest.er1 >conftest.err
39082 cat conftest.err >&5
39083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39084 (exit $ac_status); } && {
39085 test -z "$ac_c_werror_flag" ||
39086 test ! -s conftest.err
39087 } && test -s conftest$ac_exeext &&
39088 $as_test_x conftest$ac_exeext; then
39089 eval "$as_ac_var=yes"
39091 echo "$as_me: failed program was:" >&5
39092 sed 's/^/| /' conftest.$ac_ext >&5
39094 eval "$as_ac_var=no"
39097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39098 conftest$ac_exeext conftest.$ac_ext
39100 ac_res=`eval echo '${'$as_ac_var'}'`
39101 { echo "$as_me:$LINENO: result: $ac_res" >&5
39102 echo "${ECHO_T}$ac_res" >&6; }
39103 if test `eval echo '${'$as_ac_var'}'` = yes; then
39104 cat >>confdefs.h <<_ACEOF
39105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39111 if test "$ac_cv_func_setenv" = "yes"; then
39113 for ac_func in unsetenv
39115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39116 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39118 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39119 echo $ECHO_N "(cached) $ECHO_C" >&6
39121 cat >conftest.$ac_ext <<_ACEOF
39124 cat confdefs.h >>conftest.$ac_ext
39125 cat >>conftest.$ac_ext <<_ACEOF
39126 /* end confdefs.h. */
39127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39129 #define $ac_func innocuous_$ac_func
39131 /* System header to define __stub macros and hopefully few prototypes,
39132 which can conflict with char $ac_func (); below.
39133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39134 <limits.h> exists even on freestanding compilers. */
39137 # include <limits.h>
39139 # include <assert.h>
39144 /* Override any GCC internal prototype to avoid an error.
39145 Use char because int might match the return type of a GCC
39146 builtin and then its argument prototype would still apply. */
39151 /* The GNU C library defines this for functions which it implements
39152 to always fail with ENOSYS. Some functions are actually named
39153 something starting with __ and the normal name is an alias. */
39154 #if defined __stub_$ac_func || defined __stub___$ac_func
39161 return $ac_func ();
39166 rm -f conftest.$ac_objext conftest$ac_exeext
39167 if { (ac_try="$ac_link"
39168 case "(($ac_try" in
39169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39170 *) ac_try_echo=$ac_try;;
39172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39173 (eval "$ac_link") 2>conftest.er1
39175 grep -v '^ *+' conftest.er1 >conftest.err
39177 cat conftest.err >&5
39178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39179 (exit $ac_status); } && {
39180 test -z "$ac_c_werror_flag" ||
39181 test ! -s conftest.err
39182 } && test -s conftest$ac_exeext &&
39183 $as_test_x conftest$ac_exeext; then
39184 eval "$as_ac_var=yes"
39186 echo "$as_me: failed program was:" >&5
39187 sed 's/^/| /' conftest.$ac_ext >&5
39189 eval "$as_ac_var=no"
39192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39193 conftest$ac_exeext conftest.$ac_ext
39195 ac_res=`eval echo '${'$as_ac_var'}'`
39196 { echo "$as_me:$LINENO: result: $ac_res" >&5
39197 echo "${ECHO_T}$ac_res" >&6; }
39198 if test `eval echo '${'$as_ac_var'}'` = yes; then
39199 cat >>confdefs.h <<_ACEOF
39200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39208 HAVE_SOME_SLEEP_FUNC=0
39209 if test "$USE_BEOS" = 1; then
39210 cat >>confdefs.h <<\_ACEOF
39211 #define HAVE_SLEEP 1
39214 HAVE_SOME_SLEEP_FUNC=1
39217 if test "$USE_DARWIN" = 1; then
39218 cat >>confdefs.h <<\_ACEOF
39219 #define HAVE_USLEEP 1
39222 HAVE_SOME_SLEEP_FUNC=1
39225 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39228 for ac_func in nanosleep
39230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39231 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39233 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39234 echo $ECHO_N "(cached) $ECHO_C" >&6
39236 cat >conftest.$ac_ext <<_ACEOF
39239 cat confdefs.h >>conftest.$ac_ext
39240 cat >>conftest.$ac_ext <<_ACEOF
39241 /* end confdefs.h. */
39242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39244 #define $ac_func innocuous_$ac_func
39246 /* System header to define __stub macros and hopefully few prototypes,
39247 which can conflict with char $ac_func (); below.
39248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39249 <limits.h> exists even on freestanding compilers. */
39252 # include <limits.h>
39254 # include <assert.h>
39259 /* Override any GCC internal prototype to avoid an error.
39260 Use char because int might match the return type of a GCC
39261 builtin and then its argument prototype would still apply. */
39266 /* The GNU C library defines this for functions which it implements
39267 to always fail with ENOSYS. Some functions are actually named
39268 something starting with __ and the normal name is an alias. */
39269 #if defined __stub_$ac_func || defined __stub___$ac_func
39276 return $ac_func ();
39281 rm -f conftest.$ac_objext conftest$ac_exeext
39282 if { (ac_try="$ac_link"
39283 case "(($ac_try" in
39284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39285 *) ac_try_echo=$ac_try;;
39287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39288 (eval "$ac_link") 2>conftest.er1
39290 grep -v '^ *+' conftest.er1 >conftest.err
39292 cat conftest.err >&5
39293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39294 (exit $ac_status); } && {
39295 test -z "$ac_c_werror_flag" ||
39296 test ! -s conftest.err
39297 } && test -s conftest$ac_exeext &&
39298 $as_test_x conftest$ac_exeext; then
39299 eval "$as_ac_var=yes"
39301 echo "$as_me: failed program was:" >&5
39302 sed 's/^/| /' conftest.$ac_ext >&5
39304 eval "$as_ac_var=no"
39307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39308 conftest$ac_exeext conftest.$ac_ext
39310 ac_res=`eval echo '${'$as_ac_var'}'`
39311 { echo "$as_me:$LINENO: result: $ac_res" >&5
39312 echo "${ECHO_T}$ac_res" >&6; }
39313 if test `eval echo '${'$as_ac_var'}'` = yes; then
39314 cat >>confdefs.h <<_ACEOF
39315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39317 cat >>confdefs.h <<\_ACEOF
39318 #define HAVE_NANOSLEEP 1
39323 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39324 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
39325 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39326 echo $ECHO_N "(cached) $ECHO_C" >&6
39328 ac_check_lib_save_LIBS=$LIBS
39329 LIBS="-lposix4 $LIBS"
39330 cat >conftest.$ac_ext <<_ACEOF
39333 cat confdefs.h >>conftest.$ac_ext
39334 cat >>conftest.$ac_ext <<_ACEOF
39335 /* end confdefs.h. */
39337 /* Override any GCC internal prototype to avoid an error.
39338 Use char because int might match the return type of a GCC
39339 builtin and then its argument prototype would still apply. */
39347 return nanosleep ();
39352 rm -f conftest.$ac_objext conftest$ac_exeext
39353 if { (ac_try="$ac_link"
39354 case "(($ac_try" in
39355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39356 *) ac_try_echo=$ac_try;;
39358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39359 (eval "$ac_link") 2>conftest.er1
39361 grep -v '^ *+' conftest.er1 >conftest.err
39363 cat conftest.err >&5
39364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39365 (exit $ac_status); } && {
39366 test -z "$ac_c_werror_flag" ||
39367 test ! -s conftest.err
39368 } && test -s conftest$ac_exeext &&
39369 $as_test_x conftest$ac_exeext; then
39370 ac_cv_lib_posix4_nanosleep=yes
39372 echo "$as_me: failed program was:" >&5
39373 sed 's/^/| /' conftest.$ac_ext >&5
39375 ac_cv_lib_posix4_nanosleep=no
39378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39379 conftest$ac_exeext conftest.$ac_ext
39380 LIBS=$ac_check_lib_save_LIBS
39382 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39383 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39384 if test $ac_cv_lib_posix4_nanosleep = yes; then
39386 cat >>confdefs.h <<\_ACEOF
39387 #define HAVE_NANOSLEEP 1
39390 POSIX4_LINK=" -lposix4"
39395 for wx_func in usleep
39397 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39398 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39399 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39400 echo $ECHO_N "(cached) $ECHO_C" >&6
39403 cat >conftest.$ac_ext <<_ACEOF
39407 cat confdefs.h >>conftest.$ac_ext
39408 cat >>conftest.$ac_ext <<_ACEOF
39409 /* end confdefs.h. */
39412 $ac_includes_default
39428 rm -f conftest.$ac_objext conftest$ac_exeext
39429 if { (ac_try="$ac_link"
39430 case "(($ac_try" in
39431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39432 *) ac_try_echo=$ac_try;;
39434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39435 (eval "$ac_link") 2>conftest.er1
39437 grep -v '^ *+' conftest.er1 >conftest.err
39439 cat conftest.err >&5
39440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39441 (exit $ac_status); } && {
39442 test -z "$ac_c_werror_flag" ||
39443 test ! -s conftest.err
39444 } && test -s conftest$ac_exeext &&
39445 $as_test_x conftest$ac_exeext; then
39446 eval wx_cv_func_$wx_func=yes
39448 echo "$as_me: failed program was:" >&5
39449 sed 's/^/| /' conftest.$ac_ext >&5
39451 eval wx_cv_func_$wx_func=no
39454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39455 conftest$ac_exeext conftest.$ac_ext
39458 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39459 { echo "$as_me:$LINENO: result: $ac_res" >&5
39460 echo "${ECHO_T}$ac_res" >&6; }
39462 if eval test \$wx_cv_func_$wx_func = yes
39464 cat >>confdefs.h <<_ACEOF
39465 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39471 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39472 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39489 for wx_func in uname
39491 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39492 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39493 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39494 echo $ECHO_N "(cached) $ECHO_C" >&6
39497 cat >conftest.$ac_ext <<_ACEOF
39501 cat confdefs.h >>conftest.$ac_ext
39502 cat >>conftest.$ac_ext <<_ACEOF
39503 /* end confdefs.h. */
39505 #include <sys/utsname.h>
39506 $ac_includes_default
39522 rm -f conftest.$ac_objext conftest$ac_exeext
39523 if { (ac_try="$ac_link"
39524 case "(($ac_try" in
39525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39526 *) ac_try_echo=$ac_try;;
39528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39529 (eval "$ac_link") 2>conftest.er1
39531 grep -v '^ *+' conftest.er1 >conftest.err
39533 cat conftest.err >&5
39534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39535 (exit $ac_status); } && {
39536 test -z "$ac_c_werror_flag" ||
39537 test ! -s conftest.err
39538 } && test -s conftest$ac_exeext &&
39539 $as_test_x conftest$ac_exeext; then
39540 eval wx_cv_func_$wx_func=yes
39542 echo "$as_me: failed program was:" >&5
39543 sed 's/^/| /' conftest.$ac_ext >&5
39545 eval wx_cv_func_$wx_func=no
39548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39549 conftest$ac_exeext conftest.$ac_ext
39552 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39553 { echo "$as_me:$LINENO: result: $ac_res" >&5
39554 echo "${ECHO_T}$ac_res" >&6; }
39556 if eval test \$wx_cv_func_$wx_func = yes
39558 cat >>confdefs.h <<_ACEOF
39559 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39569 if test "$wx_cv_func_uname" != yes; then
39571 for wx_func in gethostname
39573 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39574 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39575 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39576 echo $ECHO_N "(cached) $ECHO_C" >&6
39579 cat >conftest.$ac_ext <<_ACEOF
39583 cat confdefs.h >>conftest.$ac_ext
39584 cat >>conftest.$ac_ext <<_ACEOF
39585 /* end confdefs.h. */
39588 $ac_includes_default
39604 rm -f conftest.$ac_objext conftest$ac_exeext
39605 if { (ac_try="$ac_link"
39606 case "(($ac_try" in
39607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39608 *) ac_try_echo=$ac_try;;
39610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39611 (eval "$ac_link") 2>conftest.er1
39613 grep -v '^ *+' conftest.er1 >conftest.err
39615 cat conftest.err >&5
39616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39617 (exit $ac_status); } && {
39618 test -z "$ac_c_werror_flag" ||
39619 test ! -s conftest.err
39620 } && test -s conftest$ac_exeext &&
39621 $as_test_x conftest$ac_exeext; then
39622 eval wx_cv_func_$wx_func=yes
39624 echo "$as_me: failed program was:" >&5
39625 sed 's/^/| /' conftest.$ac_ext >&5
39627 eval wx_cv_func_$wx_func=no
39630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39631 conftest$ac_exeext conftest.$ac_ext
39634 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39635 { echo "$as_me:$LINENO: result: $ac_res" >&5
39636 echo "${ECHO_T}$ac_res" >&6; }
39638 if eval test \$wx_cv_func_$wx_func = yes
39640 cat >>confdefs.h <<_ACEOF
39641 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39654 for wx_func in strtok_r
39656 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39657 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39658 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39659 echo $ECHO_N "(cached) $ECHO_C" >&6
39662 cat >conftest.$ac_ext <<_ACEOF
39666 cat confdefs.h >>conftest.$ac_ext
39667 cat >>conftest.$ac_ext <<_ACEOF
39668 /* end confdefs.h. */
39671 $ac_includes_default
39687 rm -f conftest.$ac_objext conftest$ac_exeext
39688 if { (ac_try="$ac_link"
39689 case "(($ac_try" in
39690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39691 *) ac_try_echo=$ac_try;;
39693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39694 (eval "$ac_link") 2>conftest.er1
39696 grep -v '^ *+' conftest.er1 >conftest.err
39698 cat conftest.err >&5
39699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39700 (exit $ac_status); } && {
39701 test -z "$ac_c_werror_flag" ||
39702 test ! -s conftest.err
39703 } && test -s conftest$ac_exeext &&
39704 $as_test_x conftest$ac_exeext; then
39705 eval wx_cv_func_$wx_func=yes
39707 echo "$as_me: failed program was:" >&5
39708 sed 's/^/| /' conftest.$ac_ext >&5
39710 eval wx_cv_func_$wx_func=no
39713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39714 conftest$ac_exeext conftest.$ac_ext
39717 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39718 { echo "$as_me:$LINENO: result: $ac_res" >&5
39719 echo "${ECHO_T}$ac_res" >&6; }
39721 if eval test \$wx_cv_func_$wx_func = yes
39723 cat >>confdefs.h <<_ACEOF
39724 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39737 for ac_func in inet_addr
39739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39740 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39742 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39743 echo $ECHO_N "(cached) $ECHO_C" >&6
39745 cat >conftest.$ac_ext <<_ACEOF
39748 cat confdefs.h >>conftest.$ac_ext
39749 cat >>conftest.$ac_ext <<_ACEOF
39750 /* end confdefs.h. */
39751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39753 #define $ac_func innocuous_$ac_func
39755 /* System header to define __stub macros and hopefully few prototypes,
39756 which can conflict with char $ac_func (); below.
39757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39758 <limits.h> exists even on freestanding compilers. */
39761 # include <limits.h>
39763 # include <assert.h>
39768 /* Override any GCC internal prototype to avoid an error.
39769 Use char because int might match the return type of a GCC
39770 builtin and then its argument prototype would still apply. */
39775 /* The GNU C library defines this for functions which it implements
39776 to always fail with ENOSYS. Some functions are actually named
39777 something starting with __ and the normal name is an alias. */
39778 #if defined __stub_$ac_func || defined __stub___$ac_func
39785 return $ac_func ();
39790 rm -f conftest.$ac_objext conftest$ac_exeext
39791 if { (ac_try="$ac_link"
39792 case "(($ac_try" in
39793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39794 *) ac_try_echo=$ac_try;;
39796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39797 (eval "$ac_link") 2>conftest.er1
39799 grep -v '^ *+' conftest.er1 >conftest.err
39801 cat conftest.err >&5
39802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39803 (exit $ac_status); } && {
39804 test -z "$ac_c_werror_flag" ||
39805 test ! -s conftest.err
39806 } && test -s conftest$ac_exeext &&
39807 $as_test_x conftest$ac_exeext; then
39808 eval "$as_ac_var=yes"
39810 echo "$as_me: failed program was:" >&5
39811 sed 's/^/| /' conftest.$ac_ext >&5
39813 eval "$as_ac_var=no"
39816 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39817 conftest$ac_exeext conftest.$ac_ext
39819 ac_res=`eval echo '${'$as_ac_var'}'`
39820 { echo "$as_me:$LINENO: result: $ac_res" >&5
39821 echo "${ECHO_T}$ac_res" >&6; }
39822 if test `eval echo '${'$as_ac_var'}'` = yes; then
39823 cat >>confdefs.h <<_ACEOF
39824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39826 cat >>confdefs.h <<\_ACEOF
39827 #define HAVE_INET_ADDR 1
39832 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39833 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39834 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39835 echo $ECHO_N "(cached) $ECHO_C" >&6
39837 ac_check_lib_save_LIBS=$LIBS
39839 cat >conftest.$ac_ext <<_ACEOF
39842 cat confdefs.h >>conftest.$ac_ext
39843 cat >>conftest.$ac_ext <<_ACEOF
39844 /* end confdefs.h. */
39846 /* Override any GCC internal prototype to avoid an error.
39847 Use char because int might match the return type of a GCC
39848 builtin and then its argument prototype would still apply. */
39856 return inet_addr ();
39861 rm -f conftest.$ac_objext conftest$ac_exeext
39862 if { (ac_try="$ac_link"
39863 case "(($ac_try" in
39864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39865 *) ac_try_echo=$ac_try;;
39867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39868 (eval "$ac_link") 2>conftest.er1
39870 grep -v '^ *+' conftest.er1 >conftest.err
39872 cat conftest.err >&5
39873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39874 (exit $ac_status); } && {
39875 test -z "$ac_c_werror_flag" ||
39876 test ! -s conftest.err
39877 } && test -s conftest$ac_exeext &&
39878 $as_test_x conftest$ac_exeext; then
39879 ac_cv_lib_nsl_inet_addr=yes
39881 echo "$as_me: failed program was:" >&5
39882 sed 's/^/| /' conftest.$ac_ext >&5
39884 ac_cv_lib_nsl_inet_addr=no
39887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39888 conftest$ac_exeext conftest.$ac_ext
39889 LIBS=$ac_check_lib_save_LIBS
39891 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39892 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39893 if test $ac_cv_lib_nsl_inet_addr = yes; then
39897 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39898 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39899 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39900 echo $ECHO_N "(cached) $ECHO_C" >&6
39902 ac_check_lib_save_LIBS=$LIBS
39903 LIBS="-lresolv $LIBS"
39904 cat >conftest.$ac_ext <<_ACEOF
39907 cat confdefs.h >>conftest.$ac_ext
39908 cat >>conftest.$ac_ext <<_ACEOF
39909 /* end confdefs.h. */
39911 /* Override any GCC internal prototype to avoid an error.
39912 Use char because int might match the return type of a GCC
39913 builtin and then its argument prototype would still apply. */
39921 return inet_addr ();
39926 rm -f conftest.$ac_objext conftest$ac_exeext
39927 if { (ac_try="$ac_link"
39928 case "(($ac_try" in
39929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39930 *) ac_try_echo=$ac_try;;
39932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39933 (eval "$ac_link") 2>conftest.er1
39935 grep -v '^ *+' conftest.er1 >conftest.err
39937 cat conftest.err >&5
39938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39939 (exit $ac_status); } && {
39940 test -z "$ac_c_werror_flag" ||
39941 test ! -s conftest.err
39942 } && test -s conftest$ac_exeext &&
39943 $as_test_x conftest$ac_exeext; then
39944 ac_cv_lib_resolv_inet_addr=yes
39946 echo "$as_me: failed program was:" >&5
39947 sed 's/^/| /' conftest.$ac_ext >&5
39949 ac_cv_lib_resolv_inet_addr=no
39952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39953 conftest$ac_exeext conftest.$ac_ext
39954 LIBS=$ac_check_lib_save_LIBS
39956 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39957 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39958 if test $ac_cv_lib_resolv_inet_addr = yes; then
39962 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39963 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39964 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39965 echo $ECHO_N "(cached) $ECHO_C" >&6
39967 ac_check_lib_save_LIBS=$LIBS
39968 LIBS="-lsocket $LIBS"
39969 cat >conftest.$ac_ext <<_ACEOF
39972 cat confdefs.h >>conftest.$ac_ext
39973 cat >>conftest.$ac_ext <<_ACEOF
39974 /* end confdefs.h. */
39976 /* Override any GCC internal prototype to avoid an error.
39977 Use char because int might match the return type of a GCC
39978 builtin and then its argument prototype would still apply. */
39986 return inet_addr ();
39991 rm -f conftest.$ac_objext conftest$ac_exeext
39992 if { (ac_try="$ac_link"
39993 case "(($ac_try" in
39994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39995 *) ac_try_echo=$ac_try;;
39997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39998 (eval "$ac_link") 2>conftest.er1
40000 grep -v '^ *+' conftest.er1 >conftest.err
40002 cat conftest.err >&5
40003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40004 (exit $ac_status); } && {
40005 test -z "$ac_c_werror_flag" ||
40006 test ! -s conftest.err
40007 } && test -s conftest$ac_exeext &&
40008 $as_test_x conftest$ac_exeext; then
40009 ac_cv_lib_socket_inet_addr=yes
40011 echo "$as_me: failed program was:" >&5
40012 sed 's/^/| /' conftest.$ac_ext >&5
40014 ac_cv_lib_socket_inet_addr=no
40017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40018 conftest$ac_exeext conftest.$ac_ext
40019 LIBS=$ac_check_lib_save_LIBS
40021 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40022 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40023 if test $ac_cv_lib_socket_inet_addr = yes; then
40043 for ac_func in inet_aton
40045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40046 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40048 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40049 echo $ECHO_N "(cached) $ECHO_C" >&6
40051 cat >conftest.$ac_ext <<_ACEOF
40054 cat confdefs.h >>conftest.$ac_ext
40055 cat >>conftest.$ac_ext <<_ACEOF
40056 /* end confdefs.h. */
40057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40059 #define $ac_func innocuous_$ac_func
40061 /* System header to define __stub macros and hopefully few prototypes,
40062 which can conflict with char $ac_func (); below.
40063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40064 <limits.h> exists even on freestanding compilers. */
40067 # include <limits.h>
40069 # include <assert.h>
40074 /* Override any GCC internal prototype to avoid an error.
40075 Use char because int might match the return type of a GCC
40076 builtin and then its argument prototype would still apply. */
40081 /* The GNU C library defines this for functions which it implements
40082 to always fail with ENOSYS. Some functions are actually named
40083 something starting with __ and the normal name is an alias. */
40084 #if defined __stub_$ac_func || defined __stub___$ac_func
40091 return $ac_func ();
40096 rm -f conftest.$ac_objext conftest$ac_exeext
40097 if { (ac_try="$ac_link"
40098 case "(($ac_try" in
40099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40100 *) ac_try_echo=$ac_try;;
40102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40103 (eval "$ac_link") 2>conftest.er1
40105 grep -v '^ *+' conftest.er1 >conftest.err
40107 cat conftest.err >&5
40108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40109 (exit $ac_status); } && {
40110 test -z "$ac_c_werror_flag" ||
40111 test ! -s conftest.err
40112 } && test -s conftest$ac_exeext &&
40113 $as_test_x conftest$ac_exeext; then
40114 eval "$as_ac_var=yes"
40116 echo "$as_me: failed program was:" >&5
40117 sed 's/^/| /' conftest.$ac_ext >&5
40119 eval "$as_ac_var=no"
40122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40123 conftest$ac_exeext conftest.$ac_ext
40125 ac_res=`eval echo '${'$as_ac_var'}'`
40126 { echo "$as_me:$LINENO: result: $ac_res" >&5
40127 echo "${ECHO_T}$ac_res" >&6; }
40128 if test `eval echo '${'$as_ac_var'}'` = yes; then
40129 cat >>confdefs.h <<_ACEOF
40130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40132 cat >>confdefs.h <<\_ACEOF
40133 #define HAVE_INET_ATON 1
40138 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40139 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40140 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40141 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40142 echo $ECHO_N "(cached) $ECHO_C" >&6
40144 ac_check_lib_save_LIBS=$LIBS
40145 LIBS="-l$INET_LINK $LIBS"
40146 cat >conftest.$ac_ext <<_ACEOF
40149 cat confdefs.h >>conftest.$ac_ext
40150 cat >>conftest.$ac_ext <<_ACEOF
40151 /* end confdefs.h. */
40153 /* Override any GCC internal prototype to avoid an error.
40154 Use char because int might match the return type of a GCC
40155 builtin and then its argument prototype would still apply. */
40163 return inet_aton ();
40168 rm -f conftest.$ac_objext conftest$ac_exeext
40169 if { (ac_try="$ac_link"
40170 case "(($ac_try" in
40171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40172 *) ac_try_echo=$ac_try;;
40174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40175 (eval "$ac_link") 2>conftest.er1
40177 grep -v '^ *+' conftest.er1 >conftest.err
40179 cat conftest.err >&5
40180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40181 (exit $ac_status); } && {
40182 test -z "$ac_c_werror_flag" ||
40183 test ! -s conftest.err
40184 } && test -s conftest$ac_exeext &&
40185 $as_test_x conftest$ac_exeext; then
40186 eval "$as_ac_Lib=yes"
40188 echo "$as_me: failed program was:" >&5
40189 sed 's/^/| /' conftest.$ac_ext >&5
40191 eval "$as_ac_Lib=no"
40194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40195 conftest$ac_exeext conftest.$ac_ext
40196 LIBS=$ac_check_lib_save_LIBS
40198 ac_res=`eval echo '${'$as_ac_Lib'}'`
40199 { echo "$as_me:$LINENO: result: $ac_res" >&5
40200 echo "${ECHO_T}$ac_res" >&6; }
40201 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40202 cat >>confdefs.h <<\_ACEOF
40203 #define HAVE_INET_ATON 1
40213 if test "x$INET_LINK" != "x"; then
40214 cat >>confdefs.h <<\_ACEOF
40215 #define HAVE_INET_ADDR 1
40218 INET_LINK=" -l$INET_LINK"
40222 for wx_func in fdopen
40224 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40225 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40226 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40227 echo $ECHO_N "(cached) $ECHO_C" >&6
40230 cat >conftest.$ac_ext <<_ACEOF
40234 cat confdefs.h >>conftest.$ac_ext
40235 cat >>conftest.$ac_ext <<_ACEOF
40236 /* end confdefs.h. */
40239 $ac_includes_default
40255 rm -f conftest.$ac_objext conftest$ac_exeext
40256 if { (ac_try="$ac_link"
40257 case "(($ac_try" in
40258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40259 *) ac_try_echo=$ac_try;;
40261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40262 (eval "$ac_link") 2>conftest.er1
40264 grep -v '^ *+' conftest.er1 >conftest.err
40266 cat conftest.err >&5
40267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40268 (exit $ac_status); } && {
40269 test -z "$ac_c_werror_flag" ||
40270 test ! -s conftest.err
40271 } && test -s conftest$ac_exeext &&
40272 $as_test_x conftest$ac_exeext; then
40273 eval wx_cv_func_$wx_func=yes
40275 echo "$as_me: failed program was:" >&5
40276 sed 's/^/| /' conftest.$ac_ext >&5
40278 eval wx_cv_func_$wx_func=no
40281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40282 conftest$ac_exeext conftest.$ac_ext
40285 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40286 { echo "$as_me:$LINENO: result: $ac_res" >&5
40287 echo "${ECHO_T}$ac_res" >&6; }
40289 if eval test \$wx_cv_func_$wx_func = yes
40291 cat >>confdefs.h <<_ACEOF
40292 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40303 if test "$wxUSE_TARSTREAM" = "yes"; then
40305 for wx_func in sysconf
40307 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40308 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40309 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40310 echo $ECHO_N "(cached) $ECHO_C" >&6
40313 cat >conftest.$ac_ext <<_ACEOF
40317 cat confdefs.h >>conftest.$ac_ext
40318 cat >>conftest.$ac_ext <<_ACEOF
40319 /* end confdefs.h. */
40322 $ac_includes_default
40338 rm -f conftest.$ac_objext conftest$ac_exeext
40339 if { (ac_try="$ac_link"
40340 case "(($ac_try" in
40341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40342 *) ac_try_echo=$ac_try;;
40344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40345 (eval "$ac_link") 2>conftest.er1
40347 grep -v '^ *+' conftest.er1 >conftest.err
40349 cat conftest.err >&5
40350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40351 (exit $ac_status); } && {
40352 test -z "$ac_c_werror_flag" ||
40353 test ! -s conftest.err
40354 } && test -s conftest$ac_exeext &&
40355 $as_test_x conftest$ac_exeext; then
40356 eval wx_cv_func_$wx_func=yes
40358 echo "$as_me: failed program was:" >&5
40359 sed 's/^/| /' conftest.$ac_ext >&5
40361 eval wx_cv_func_$wx_func=no
40364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40365 conftest$ac_exeext conftest.$ac_ext
40368 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40369 { echo "$as_me:$LINENO: result: $ac_res" >&5
40370 echo "${ECHO_T}$ac_res" >&6; }
40372 if eval test \$wx_cv_func_$wx_func = yes
40374 cat >>confdefs.h <<_ACEOF
40375 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40387 for wx_func in getpwuid_r
40389 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40390 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40391 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40392 echo $ECHO_N "(cached) $ECHO_C" >&6
40395 cat >conftest.$ac_ext <<_ACEOF
40399 cat confdefs.h >>conftest.$ac_ext
40400 cat >>conftest.$ac_ext <<_ACEOF
40401 /* end confdefs.h. */
40407 $ac_includes_default
40417 struct passwd pw, *ppw;
40419 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
40427 rm -f conftest.$ac_objext conftest$ac_exeext
40428 if { (ac_try="$ac_link"
40429 case "(($ac_try" in
40430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40431 *) ac_try_echo=$ac_try;;
40433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40434 (eval "$ac_link") 2>conftest.er1
40436 grep -v '^ *+' conftest.er1 >conftest.err
40438 cat conftest.err >&5
40439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40440 (exit $ac_status); } && {
40441 test -z "$ac_c_werror_flag" ||
40442 test ! -s conftest.err
40443 } && test -s conftest$ac_exeext &&
40444 $as_test_x conftest$ac_exeext; then
40445 eval wx_cv_func_$wx_func=yes
40447 echo "$as_me: failed program was:" >&5
40448 sed 's/^/| /' conftest.$ac_ext >&5
40450 eval wx_cv_func_$wx_func=no
40453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40454 conftest$ac_exeext conftest.$ac_ext
40457 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40458 { echo "$as_me:$LINENO: result: $ac_res" >&5
40459 echo "${ECHO_T}$ac_res" >&6; }
40461 if eval test \$wx_cv_func_$wx_func = yes
40463 cat >>confdefs.h <<_ACEOF
40464 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40476 for wx_func in getgrgid_r
40478 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40479 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40480 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40481 echo $ECHO_N "(cached) $ECHO_C" >&6
40484 cat >conftest.$ac_ext <<_ACEOF
40488 cat confdefs.h >>conftest.$ac_ext
40489 cat >>conftest.$ac_ext <<_ACEOF
40490 /* end confdefs.h. */
40496 $ac_includes_default
40506 struct group grp, *pgrp;
40508 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
40516 rm -f conftest.$ac_objext conftest$ac_exeext
40517 if { (ac_try="$ac_link"
40518 case "(($ac_try" in
40519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40520 *) ac_try_echo=$ac_try;;
40522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40523 (eval "$ac_link") 2>conftest.er1
40525 grep -v '^ *+' conftest.er1 >conftest.err
40527 cat conftest.err >&5
40528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40529 (exit $ac_status); } && {
40530 test -z "$ac_c_werror_flag" ||
40531 test ! -s conftest.err
40532 } && test -s conftest$ac_exeext &&
40533 $as_test_x conftest$ac_exeext; then
40534 eval wx_cv_func_$wx_func=yes
40536 echo "$as_me: failed program was:" >&5
40537 sed 's/^/| /' conftest.$ac_ext >&5
40539 eval wx_cv_func_$wx_func=no
40542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40543 conftest$ac_exeext conftest.$ac_ext
40546 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40547 { echo "$as_me:$LINENO: result: $ac_res" >&5
40548 echo "${ECHO_T}$ac_res" >&6; }
40550 if eval test \$wx_cv_func_$wx_func = yes
40552 cat >>confdefs.h <<_ACEOF
40553 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40569 cat >confcache <<\_ACEOF
40570 # This file is a shell script that caches the results of configure
40571 # tests run on this system so they can be shared between configure
40572 # scripts and configure runs, see configure's option --config-cache.
40573 # It is not useful on other systems. If it contains results you don't
40574 # want to keep, you may remove or edit it.
40576 # config.status only pays attention to the cache file if you give it
40577 # the --recheck option to rerun configure.
40579 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40580 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40581 # following values.
40585 # The following way of writing the cache mishandles newlines in values,
40586 # but we know of no workaround that is simple, portable, and efficient.
40587 # So, we kill variables containing newlines.
40588 # Ultrix sh set writes to stderr and can't be redirected directly,
40589 # and sets the high bit in the cache file unless we assign to the vars.
40591 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40592 eval ac_val=\$$ac_var
40596 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40597 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40600 _ | IFS | as_nl) ;; #(
40601 *) $as_unset $ac_var ;;
40607 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40608 *${as_nl}ac_space=\ *)
40609 # `set' does not quote correctly, so add quotes (double-quote
40610 # substitution turns \\\\ into \\, and sed turns \\ into \).
40613 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40616 # `set' quotes correctly as required by POSIX, so do not add quotes.
40617 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40626 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40628 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40630 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40631 if test -w "$cache_file"; then
40632 test "x$cache_file" != "x/dev/null" &&
40633 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40634 echo "$as_me: updating cache $cache_file" >&6;}
40635 cat confcache >$cache_file
40637 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40638 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40644 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40650 if test "$wxUSE_THREADS" = "yes" ; then
40651 if test "$USE_BEOS" = 1; then
40652 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40653 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40658 if test "$wxUSE_THREADS" = "yes" ; then
40661 THREAD_OPTS="-pthread"
40662 if test "x$SUNCXX" = xyes; then
40663 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40667 *-*-solaris2* | *-*-sunos4* )
40668 if test "x$GCC" = "xyes"; then
40669 THREAD_OPTS="-pthreads $THREAD_OPTS"
40673 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40675 *-*-darwin* | *-*-cygwin* )
40679 THREAD_OPTS="pthreads"
40682 if test "x$GCC" = "xyes"; then
40683 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40691 if test "x$GCC" = "xyes"; then
40701 if test "x$GCC" != "xyes"; then
40702 THREAD_OPTS="-Ethread"
40709 THREAD_OPTS="none pthread"
40713 THREAD_OPTS="$THREAD_OPTS pthread none"
40718 for flag in $THREAD_OPTS; do
40721 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40722 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40726 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40727 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40728 THREADS_CFLAGS="$flag"
40732 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40733 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40734 THREADS_LINK="-l$flag"
40739 save_CFLAGS="$CFLAGS"
40740 LIBS="$THREADS_LINK $LIBS"
40741 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40743 cat >conftest.$ac_ext <<_ACEOF
40746 cat confdefs.h >>conftest.$ac_ext
40747 cat >>conftest.$ac_ext <<_ACEOF
40748 /* end confdefs.h. */
40749 #include <pthread.h>
40753 pthread_create(0,0,0,0);
40758 rm -f conftest.$ac_objext conftest$ac_exeext
40759 if { (ac_try="$ac_link"
40760 case "(($ac_try" in
40761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40762 *) ac_try_echo=$ac_try;;
40764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40765 (eval "$ac_link") 2>conftest.er1
40767 grep -v '^ *+' conftest.er1 >conftest.err
40769 cat conftest.err >&5
40770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40771 (exit $ac_status); } && {
40772 test -z "$ac_c_werror_flag" ||
40773 test ! -s conftest.err
40774 } && test -s conftest$ac_exeext &&
40775 $as_test_x conftest$ac_exeext; then
40778 echo "$as_me: failed program was:" >&5
40779 sed 's/^/| /' conftest.$ac_ext >&5
40784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40785 conftest$ac_exeext conftest.$ac_ext
40788 CFLAGS="$save_CFLAGS"
40790 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40791 echo "${ECHO_T}$THREADS_OK" >&6; }
40792 if test "x$THREADS_OK" = "xyes"; then
40800 if test "x$THREADS_OK" != "xyes"; then
40802 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40803 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40805 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40806 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40807 LIBS="$THREADS_LINK $LIBS"
40809 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40810 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40814 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40815 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40816 flag="-D_THREAD_SAFE"
40819 flag="-D_THREAD_SAFE"
40822 flag="-D_REENTRANT"
40823 if test "x$GCC" != "xyes"; then
40824 flag="$flag -D_RWSTD_MULTI_THREAD"
40827 *solaris* | alpha*-osf*)
40828 flag="-D_REENTRANT"
40831 { echo "$as_me:$LINENO: result: ${flag}" >&5
40832 echo "${ECHO_T}${flag}" >&6; }
40833 if test "x$flag" != xno; then
40834 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40837 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40841 if test "$wxUSE_THREADS" = "yes" ; then
40843 for ac_func in thr_setconcurrency
40845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40846 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40848 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40849 echo $ECHO_N "(cached) $ECHO_C" >&6
40851 cat >conftest.$ac_ext <<_ACEOF
40854 cat confdefs.h >>conftest.$ac_ext
40855 cat >>conftest.$ac_ext <<_ACEOF
40856 /* end confdefs.h. */
40857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40859 #define $ac_func innocuous_$ac_func
40861 /* System header to define __stub macros and hopefully few prototypes,
40862 which can conflict with char $ac_func (); below.
40863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40864 <limits.h> exists even on freestanding compilers. */
40867 # include <limits.h>
40869 # include <assert.h>
40874 /* Override any GCC internal prototype to avoid an error.
40875 Use char because int might match the return type of a GCC
40876 builtin and then its argument prototype would still apply. */
40881 /* The GNU C library defines this for functions which it implements
40882 to always fail with ENOSYS. Some functions are actually named
40883 something starting with __ and the normal name is an alias. */
40884 #if defined __stub_$ac_func || defined __stub___$ac_func
40891 return $ac_func ();
40896 rm -f conftest.$ac_objext conftest$ac_exeext
40897 if { (ac_try="$ac_link"
40898 case "(($ac_try" in
40899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40900 *) ac_try_echo=$ac_try;;
40902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40903 (eval "$ac_link") 2>conftest.er1
40905 grep -v '^ *+' conftest.er1 >conftest.err
40907 cat conftest.err >&5
40908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40909 (exit $ac_status); } && {
40910 test -z "$ac_c_werror_flag" ||
40911 test ! -s conftest.err
40912 } && test -s conftest$ac_exeext &&
40913 $as_test_x conftest$ac_exeext; then
40914 eval "$as_ac_var=yes"
40916 echo "$as_me: failed program was:" >&5
40917 sed 's/^/| /' conftest.$ac_ext >&5
40919 eval "$as_ac_var=no"
40922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40923 conftest$ac_exeext conftest.$ac_ext
40925 ac_res=`eval echo '${'$as_ac_var'}'`
40926 { echo "$as_me:$LINENO: result: $ac_res" >&5
40927 echo "${ECHO_T}$ac_res" >&6; }
40928 if test `eval echo '${'$as_ac_var'}'` = yes; then
40929 cat >>confdefs.h <<_ACEOF
40930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40937 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40938 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40939 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40940 echo $ECHO_N "(cached) $ECHO_C" >&6
40944 ac_cpp='$CXXCPP $CPPFLAGS'
40945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40949 cat >conftest.$ac_ext <<_ACEOF
40952 cat confdefs.h >>conftest.$ac_ext
40953 cat >>conftest.$ac_ext <<_ACEOF
40954 /* end confdefs.h. */
40955 #include <pthread.h>
40956 void ThreadCleanupFunc(void *p);
40963 pthread_cleanup_push(ThreadCleanupFunc, p);
40964 pthread_cleanup_pop(0);
40970 rm -f conftest.$ac_objext
40971 if { (ac_try="$ac_compile"
40972 case "(($ac_try" in
40973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40974 *) ac_try_echo=$ac_try;;
40976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40977 (eval "$ac_compile") 2>conftest.er1
40979 grep -v '^ *+' conftest.er1 >conftest.err
40981 cat conftest.err >&5
40982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40983 (exit $ac_status); } && {
40984 test -z "$ac_cxx_werror_flag" ||
40985 test ! -s conftest.err
40986 } && test -s conftest.$ac_objext; then
40988 wx_cv_func_pthread_cleanup=yes
40991 echo "$as_me: failed program was:" >&5
40992 sed 's/^/| /' conftest.$ac_ext >&5
40995 wx_cv_func_pthread_cleanup=no
41000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41002 ac_cpp='$CPP $CPPFLAGS'
41003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41009 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41010 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41011 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41012 cat >>confdefs.h <<\_ACEOF
41013 #define wxHAVE_PTHREAD_CLEANUP 1
41019 for ac_header in sched.h
41021 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41022 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41024 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41025 echo $ECHO_N "(cached) $ECHO_C" >&6
41027 cat >conftest.$ac_ext <<_ACEOF
41030 cat confdefs.h >>conftest.$ac_ext
41031 cat >>conftest.$ac_ext <<_ACEOF
41032 /* end confdefs.h. */
41033 $ac_includes_default
41035 #include <$ac_header>
41037 rm -f conftest.$ac_objext
41038 if { (ac_try="$ac_compile"
41039 case "(($ac_try" in
41040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41041 *) ac_try_echo=$ac_try;;
41043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41044 (eval "$ac_compile") 2>conftest.er1
41046 grep -v '^ *+' conftest.er1 >conftest.err
41048 cat conftest.err >&5
41049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41050 (exit $ac_status); } && {
41051 test -z "$ac_c_werror_flag" ||
41052 test ! -s conftest.err
41053 } && test -s conftest.$ac_objext; then
41054 eval "$as_ac_Header=yes"
41056 echo "$as_me: failed program was:" >&5
41057 sed 's/^/| /' conftest.$ac_ext >&5
41059 eval "$as_ac_Header=no"
41062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41064 ac_res=`eval echo '${'$as_ac_Header'}'`
41065 { echo "$as_me:$LINENO: result: $ac_res" >&5
41066 echo "${ECHO_T}$ac_res" >&6; }
41067 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41068 cat >>confdefs.h <<_ACEOF
41069 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41076 if test "$ac_cv_header_sched_h" = "yes"; then
41077 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41078 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41079 if test "${ac_cv_func_sched_yield+set}" = set; then
41080 echo $ECHO_N "(cached) $ECHO_C" >&6
41082 cat >conftest.$ac_ext <<_ACEOF
41085 cat confdefs.h >>conftest.$ac_ext
41086 cat >>conftest.$ac_ext <<_ACEOF
41087 /* end confdefs.h. */
41088 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41090 #define sched_yield innocuous_sched_yield
41092 /* System header to define __stub macros and hopefully few prototypes,
41093 which can conflict with char sched_yield (); below.
41094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41095 <limits.h> exists even on freestanding compilers. */
41098 # include <limits.h>
41100 # include <assert.h>
41105 /* Override any GCC internal prototype to avoid an error.
41106 Use char because int might match the return type of a GCC
41107 builtin and then its argument prototype would still apply. */
41111 char sched_yield ();
41112 /* The GNU C library defines this for functions which it implements
41113 to always fail with ENOSYS. Some functions are actually named
41114 something starting with __ and the normal name is an alias. */
41115 #if defined __stub_sched_yield || defined __stub___sched_yield
41122 return sched_yield ();
41127 rm -f conftest.$ac_objext conftest$ac_exeext
41128 if { (ac_try="$ac_link"
41129 case "(($ac_try" in
41130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41131 *) ac_try_echo=$ac_try;;
41133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41134 (eval "$ac_link") 2>conftest.er1
41136 grep -v '^ *+' conftest.er1 >conftest.err
41138 cat conftest.err >&5
41139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41140 (exit $ac_status); } && {
41141 test -z "$ac_c_werror_flag" ||
41142 test ! -s conftest.err
41143 } && test -s conftest$ac_exeext &&
41144 $as_test_x conftest$ac_exeext; then
41145 ac_cv_func_sched_yield=yes
41147 echo "$as_me: failed program was:" >&5
41148 sed 's/^/| /' conftest.$ac_ext >&5
41150 ac_cv_func_sched_yield=no
41153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41154 conftest$ac_exeext conftest.$ac_ext
41156 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41157 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41158 if test $ac_cv_func_sched_yield = yes; then
41159 cat >>confdefs.h <<\_ACEOF
41160 #define HAVE_SCHED_YIELD 1
41165 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41166 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41167 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41168 echo $ECHO_N "(cached) $ECHO_C" >&6
41170 ac_check_lib_save_LIBS=$LIBS
41171 LIBS="-lposix4 $LIBS"
41172 cat >conftest.$ac_ext <<_ACEOF
41175 cat confdefs.h >>conftest.$ac_ext
41176 cat >>conftest.$ac_ext <<_ACEOF
41177 /* end confdefs.h. */
41179 /* Override any GCC internal prototype to avoid an error.
41180 Use char because int might match the return type of a GCC
41181 builtin and then its argument prototype would still apply. */
41185 char sched_yield ();
41189 return sched_yield ();
41194 rm -f conftest.$ac_objext conftest$ac_exeext
41195 if { (ac_try="$ac_link"
41196 case "(($ac_try" in
41197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41198 *) ac_try_echo=$ac_try;;
41200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41201 (eval "$ac_link") 2>conftest.er1
41203 grep -v '^ *+' conftest.er1 >conftest.err
41205 cat conftest.err >&5
41206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41207 (exit $ac_status); } && {
41208 test -z "$ac_c_werror_flag" ||
41209 test ! -s conftest.err
41210 } && test -s conftest$ac_exeext &&
41211 $as_test_x conftest$ac_exeext; then
41212 ac_cv_lib_posix4_sched_yield=yes
41214 echo "$as_me: failed program was:" >&5
41215 sed 's/^/| /' conftest.$ac_ext >&5
41217 ac_cv_lib_posix4_sched_yield=no
41220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41221 conftest$ac_exeext conftest.$ac_ext
41222 LIBS=$ac_check_lib_save_LIBS
41224 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41225 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41226 if test $ac_cv_lib_posix4_sched_yield = yes; then
41227 cat >>confdefs.h <<\_ACEOF
41228 #define HAVE_SCHED_YIELD 1
41230 POSIX4_LINK=" -lposix4"
41232 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41233 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41244 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41245 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41246 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41247 echo $ECHO_N "(cached) $ECHO_C" >&6
41249 cat >conftest.$ac_ext <<_ACEOF
41252 cat confdefs.h >>conftest.$ac_ext
41253 cat >>conftest.$ac_ext <<_ACEOF
41254 /* end confdefs.h. */
41255 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41257 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41259 /* System header to define __stub macros and hopefully few prototypes,
41260 which can conflict with char pthread_attr_getschedpolicy (); below.
41261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41262 <limits.h> exists even on freestanding compilers. */
41265 # include <limits.h>
41267 # include <assert.h>
41270 #undef pthread_attr_getschedpolicy
41272 /* Override any GCC internal prototype to avoid an error.
41273 Use char because int might match the return type of a GCC
41274 builtin and then its argument prototype would still apply. */
41278 char pthread_attr_getschedpolicy ();
41279 /* The GNU C library defines this for functions which it implements
41280 to always fail with ENOSYS. Some functions are actually named
41281 something starting with __ and the normal name is an alias. */
41282 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41289 return pthread_attr_getschedpolicy ();
41294 rm -f conftest.$ac_objext conftest$ac_exeext
41295 if { (ac_try="$ac_link"
41296 case "(($ac_try" in
41297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41298 *) ac_try_echo=$ac_try;;
41300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41301 (eval "$ac_link") 2>conftest.er1
41303 grep -v '^ *+' conftest.er1 >conftest.err
41305 cat conftest.err >&5
41306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41307 (exit $ac_status); } && {
41308 test -z "$ac_c_werror_flag" ||
41309 test ! -s conftest.err
41310 } && test -s conftest$ac_exeext &&
41311 $as_test_x conftest$ac_exeext; then
41312 ac_cv_func_pthread_attr_getschedpolicy=yes
41314 echo "$as_me: failed program was:" >&5
41315 sed 's/^/| /' conftest.$ac_ext >&5
41317 ac_cv_func_pthread_attr_getschedpolicy=no
41320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41321 conftest$ac_exeext conftest.$ac_ext
41323 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41324 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41325 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41326 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41327 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41328 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41329 echo $ECHO_N "(cached) $ECHO_C" >&6
41331 cat >conftest.$ac_ext <<_ACEOF
41334 cat confdefs.h >>conftest.$ac_ext
41335 cat >>conftest.$ac_ext <<_ACEOF
41336 /* end confdefs.h. */
41337 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41339 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41341 /* System header to define __stub macros and hopefully few prototypes,
41342 which can conflict with char pthread_attr_setschedparam (); below.
41343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41344 <limits.h> exists even on freestanding compilers. */
41347 # include <limits.h>
41349 # include <assert.h>
41352 #undef pthread_attr_setschedparam
41354 /* Override any GCC internal prototype to avoid an error.
41355 Use char because int might match the return type of a GCC
41356 builtin and then its argument prototype would still apply. */
41360 char pthread_attr_setschedparam ();
41361 /* The GNU C library defines this for functions which it implements
41362 to always fail with ENOSYS. Some functions are actually named
41363 something starting with __ and the normal name is an alias. */
41364 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41371 return pthread_attr_setschedparam ();
41376 rm -f conftest.$ac_objext conftest$ac_exeext
41377 if { (ac_try="$ac_link"
41378 case "(($ac_try" in
41379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41380 *) ac_try_echo=$ac_try;;
41382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41383 (eval "$ac_link") 2>conftest.er1
41385 grep -v '^ *+' conftest.er1 >conftest.err
41387 cat conftest.err >&5
41388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41389 (exit $ac_status); } && {
41390 test -z "$ac_c_werror_flag" ||
41391 test ! -s conftest.err
41392 } && test -s conftest$ac_exeext &&
41393 $as_test_x conftest$ac_exeext; then
41394 ac_cv_func_pthread_attr_setschedparam=yes
41396 echo "$as_me: failed program was:" >&5
41397 sed 's/^/| /' conftest.$ac_ext >&5
41399 ac_cv_func_pthread_attr_setschedparam=no
41402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41403 conftest$ac_exeext conftest.$ac_ext
41405 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41406 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41407 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41408 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41409 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41410 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41411 echo $ECHO_N "(cached) $ECHO_C" >&6
41413 cat >conftest.$ac_ext <<_ACEOF
41416 cat confdefs.h >>conftest.$ac_ext
41417 cat >>conftest.$ac_ext <<_ACEOF
41418 /* end confdefs.h. */
41419 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41421 #define sched_get_priority_max innocuous_sched_get_priority_max
41423 /* System header to define __stub macros and hopefully few prototypes,
41424 which can conflict with char sched_get_priority_max (); below.
41425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41426 <limits.h> exists even on freestanding compilers. */
41429 # include <limits.h>
41431 # include <assert.h>
41434 #undef sched_get_priority_max
41436 /* Override any GCC internal prototype to avoid an error.
41437 Use char because int might match the return type of a GCC
41438 builtin and then its argument prototype would still apply. */
41442 char sched_get_priority_max ();
41443 /* The GNU C library defines this for functions which it implements
41444 to always fail with ENOSYS. Some functions are actually named
41445 something starting with __ and the normal name is an alias. */
41446 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41453 return sched_get_priority_max ();
41458 rm -f conftest.$ac_objext conftest$ac_exeext
41459 if { (ac_try="$ac_link"
41460 case "(($ac_try" in
41461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41462 *) ac_try_echo=$ac_try;;
41464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41465 (eval "$ac_link") 2>conftest.er1
41467 grep -v '^ *+' conftest.er1 >conftest.err
41469 cat conftest.err >&5
41470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41471 (exit $ac_status); } && {
41472 test -z "$ac_c_werror_flag" ||
41473 test ! -s conftest.err
41474 } && test -s conftest$ac_exeext &&
41475 $as_test_x conftest$ac_exeext; then
41476 ac_cv_func_sched_get_priority_max=yes
41478 echo "$as_me: failed program was:" >&5
41479 sed 's/^/| /' conftest.$ac_ext >&5
41481 ac_cv_func_sched_get_priority_max=no
41484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41485 conftest$ac_exeext conftest.$ac_ext
41487 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41488 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41489 if test $ac_cv_func_sched_get_priority_max = yes; then
41492 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41493 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41494 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41495 echo $ECHO_N "(cached) $ECHO_C" >&6
41497 ac_check_lib_save_LIBS=$LIBS
41498 LIBS="-lposix4 $LIBS"
41499 cat >conftest.$ac_ext <<_ACEOF
41502 cat confdefs.h >>conftest.$ac_ext
41503 cat >>conftest.$ac_ext <<_ACEOF
41504 /* end confdefs.h. */
41506 /* Override any GCC internal prototype to avoid an error.
41507 Use char because int might match the return type of a GCC
41508 builtin and then its argument prototype would still apply. */
41512 char sched_get_priority_max ();
41516 return sched_get_priority_max ();
41521 rm -f conftest.$ac_objext conftest$ac_exeext
41522 if { (ac_try="$ac_link"
41523 case "(($ac_try" in
41524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41525 *) ac_try_echo=$ac_try;;
41527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41528 (eval "$ac_link") 2>conftest.er1
41530 grep -v '^ *+' conftest.er1 >conftest.err
41532 cat conftest.err >&5
41533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41534 (exit $ac_status); } && {
41535 test -z "$ac_c_werror_flag" ||
41536 test ! -s conftest.err
41537 } && test -s conftest$ac_exeext &&
41538 $as_test_x conftest$ac_exeext; then
41539 ac_cv_lib_posix4_sched_get_priority_max=yes
41541 echo "$as_me: failed program was:" >&5
41542 sed 's/^/| /' conftest.$ac_ext >&5
41544 ac_cv_lib_posix4_sched_get_priority_max=no
41547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41548 conftest$ac_exeext conftest.$ac_ext
41549 LIBS=$ac_check_lib_save_LIBS
41551 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41552 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41553 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41556 POSIX4_LINK=" -lposix4"
41570 if test "$HAVE_PRIOR_FUNCS" = 1; then
41571 cat >>confdefs.h <<\_ACEOF
41572 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41576 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41577 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41580 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41581 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41582 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41583 echo $ECHO_N "(cached) $ECHO_C" >&6
41585 cat >conftest.$ac_ext <<_ACEOF
41588 cat confdefs.h >>conftest.$ac_ext
41589 cat >>conftest.$ac_ext <<_ACEOF
41590 /* end confdefs.h. */
41591 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41593 #define pthread_cancel innocuous_pthread_cancel
41595 /* System header to define __stub macros and hopefully few prototypes,
41596 which can conflict with char pthread_cancel (); below.
41597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41598 <limits.h> exists even on freestanding compilers. */
41601 # include <limits.h>
41603 # include <assert.h>
41606 #undef pthread_cancel
41608 /* Override any GCC internal prototype to avoid an error.
41609 Use char because int might match the return type of a GCC
41610 builtin and then its argument prototype would still apply. */
41614 char pthread_cancel ();
41615 /* The GNU C library defines this for functions which it implements
41616 to always fail with ENOSYS. Some functions are actually named
41617 something starting with __ and the normal name is an alias. */
41618 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41625 return pthread_cancel ();
41630 rm -f conftest.$ac_objext conftest$ac_exeext
41631 if { (ac_try="$ac_link"
41632 case "(($ac_try" in
41633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41634 *) ac_try_echo=$ac_try;;
41636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41637 (eval "$ac_link") 2>conftest.er1
41639 grep -v '^ *+' conftest.er1 >conftest.err
41641 cat conftest.err >&5
41642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41643 (exit $ac_status); } && {
41644 test -z "$ac_c_werror_flag" ||
41645 test ! -s conftest.err
41646 } && test -s conftest$ac_exeext &&
41647 $as_test_x conftest$ac_exeext; then
41648 ac_cv_func_pthread_cancel=yes
41650 echo "$as_me: failed program was:" >&5
41651 sed 's/^/| /' conftest.$ac_ext >&5
41653 ac_cv_func_pthread_cancel=no
41656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41657 conftest$ac_exeext conftest.$ac_ext
41659 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41660 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41661 if test $ac_cv_func_pthread_cancel = yes; then
41662 cat >>confdefs.h <<\_ACEOF
41663 #define HAVE_PTHREAD_CANCEL 1
41667 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41668 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41672 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41673 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41674 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41675 echo $ECHO_N "(cached) $ECHO_C" >&6
41677 cat >conftest.$ac_ext <<_ACEOF
41680 cat confdefs.h >>conftest.$ac_ext
41681 cat >>conftest.$ac_ext <<_ACEOF
41682 /* end confdefs.h. */
41683 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41685 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41687 /* System header to define __stub macros and hopefully few prototypes,
41688 which can conflict with char pthread_mutex_timedlock (); below.
41689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41690 <limits.h> exists even on freestanding compilers. */
41693 # include <limits.h>
41695 # include <assert.h>
41698 #undef pthread_mutex_timedlock
41700 /* Override any GCC internal prototype to avoid an error.
41701 Use char because int might match the return type of a GCC
41702 builtin and then its argument prototype would still apply. */
41706 char pthread_mutex_timedlock ();
41707 /* The GNU C library defines this for functions which it implements
41708 to always fail with ENOSYS. Some functions are actually named
41709 something starting with __ and the normal name is an alias. */
41710 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41717 return pthread_mutex_timedlock ();
41722 rm -f conftest.$ac_objext conftest$ac_exeext
41723 if { (ac_try="$ac_link"
41724 case "(($ac_try" in
41725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41726 *) ac_try_echo=$ac_try;;
41728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41729 (eval "$ac_link") 2>conftest.er1
41731 grep -v '^ *+' conftest.er1 >conftest.err
41733 cat conftest.err >&5
41734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41735 (exit $ac_status); } && {
41736 test -z "$ac_c_werror_flag" ||
41737 test ! -s conftest.err
41738 } && test -s conftest$ac_exeext &&
41739 $as_test_x conftest$ac_exeext; then
41740 ac_cv_func_pthread_mutex_timedlock=yes
41742 echo "$as_me: failed program was:" >&5
41743 sed 's/^/| /' conftest.$ac_ext >&5
41745 ac_cv_func_pthread_mutex_timedlock=no
41748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41749 conftest$ac_exeext conftest.$ac_ext
41751 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41752 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41753 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41754 cat >>confdefs.h <<\_ACEOF
41755 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41759 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41760 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41764 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41765 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41766 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41767 echo $ECHO_N "(cached) $ECHO_C" >&6
41769 cat >conftest.$ac_ext <<_ACEOF
41772 cat confdefs.h >>conftest.$ac_ext
41773 cat >>conftest.$ac_ext <<_ACEOF
41774 /* end confdefs.h. */
41775 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41777 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41779 /* System header to define __stub macros and hopefully few prototypes,
41780 which can conflict with char pthread_attr_setstacksize (); below.
41781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41782 <limits.h> exists even on freestanding compilers. */
41785 # include <limits.h>
41787 # include <assert.h>
41790 #undef pthread_attr_setstacksize
41792 /* Override any GCC internal prototype to avoid an error.
41793 Use char because int might match the return type of a GCC
41794 builtin and then its argument prototype would still apply. */
41798 char pthread_attr_setstacksize ();
41799 /* The GNU C library defines this for functions which it implements
41800 to always fail with ENOSYS. Some functions are actually named
41801 something starting with __ and the normal name is an alias. */
41802 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41809 return pthread_attr_setstacksize ();
41814 rm -f conftest.$ac_objext conftest$ac_exeext
41815 if { (ac_try="$ac_link"
41816 case "(($ac_try" in
41817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41818 *) ac_try_echo=$ac_try;;
41820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41821 (eval "$ac_link") 2>conftest.er1
41823 grep -v '^ *+' conftest.er1 >conftest.err
41825 cat conftest.err >&5
41826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41827 (exit $ac_status); } && {
41828 test -z "$ac_c_werror_flag" ||
41829 test ! -s conftest.err
41830 } && test -s conftest$ac_exeext &&
41831 $as_test_x conftest$ac_exeext; then
41832 ac_cv_func_pthread_attr_setstacksize=yes
41834 echo "$as_me: failed program was:" >&5
41835 sed 's/^/| /' conftest.$ac_ext >&5
41837 ac_cv_func_pthread_attr_setstacksize=no
41840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41841 conftest$ac_exeext conftest.$ac_ext
41843 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41844 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41845 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41846 cat >>confdefs.h <<\_ACEOF
41847 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41854 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41855 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41856 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41857 echo $ECHO_N "(cached) $ECHO_C" >&6
41860 cat >conftest.$ac_ext <<_ACEOF
41863 cat confdefs.h >>conftest.$ac_ext
41864 cat >>conftest.$ac_ext <<_ACEOF
41865 /* end confdefs.h. */
41866 #include <pthread.h>
41871 pthread_mutexattr_t attr;
41872 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41878 rm -f conftest.$ac_objext
41879 if { (ac_try="$ac_compile"
41880 case "(($ac_try" in
41881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41882 *) ac_try_echo=$ac_try;;
41884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41885 (eval "$ac_compile") 2>conftest.er1
41887 grep -v '^ *+' conftest.er1 >conftest.err
41889 cat conftest.err >&5
41890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41891 (exit $ac_status); } && {
41892 test -z "$ac_c_werror_flag" ||
41893 test ! -s conftest.err
41894 } && test -s conftest.$ac_objext; then
41895 wx_cv_type_pthread_mutexattr_t=yes
41897 echo "$as_me: failed program was:" >&5
41898 sed 's/^/| /' conftest.$ac_ext >&5
41900 wx_cv_type_pthread_mutexattr_t=no
41904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41907 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41908 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41910 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41911 cat >>confdefs.h <<\_ACEOF
41912 #define HAVE_PTHREAD_MUTEXATTR_T 1
41916 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41917 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41918 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41919 echo $ECHO_N "(cached) $ECHO_C" >&6
41922 cat >conftest.$ac_ext <<_ACEOF
41925 cat confdefs.h >>conftest.$ac_ext
41926 cat >>conftest.$ac_ext <<_ACEOF
41927 /* end confdefs.h. */
41928 #include <pthread.h>
41933 pthread_mutexattr_t attr;
41934 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41940 rm -f conftest.$ac_objext
41941 if { (ac_try="$ac_compile"
41942 case "(($ac_try" in
41943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41944 *) ac_try_echo=$ac_try;;
41946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41947 (eval "$ac_compile") 2>conftest.er1
41949 grep -v '^ *+' conftest.er1 >conftest.err
41951 cat conftest.err >&5
41952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41953 (exit $ac_status); } && {
41954 test -z "$ac_c_werror_flag" ||
41955 test ! -s conftest.err
41956 } && test -s conftest.$ac_objext; then
41957 wx_cv_func_pthread_mutexattr_settype_decl=yes
41959 echo "$as_me: failed program was:" >&5
41960 sed 's/^/| /' conftest.$ac_ext >&5
41962 wx_cv_func_pthread_mutexattr_settype_decl=no
41966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41969 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41970 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41971 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41972 cat >>confdefs.h <<\_ACEOF
41973 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41978 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41979 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41980 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41981 echo $ECHO_N "(cached) $ECHO_C" >&6
41984 cat >conftest.$ac_ext <<_ACEOF
41987 cat confdefs.h >>conftest.$ac_ext
41988 cat >>conftest.$ac_ext <<_ACEOF
41989 /* end confdefs.h. */
41990 #include <pthread.h>
41995 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42001 rm -f conftest.$ac_objext
42002 if { (ac_try="$ac_compile"
42003 case "(($ac_try" in
42004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42005 *) ac_try_echo=$ac_try;;
42007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42008 (eval "$ac_compile") 2>conftest.er1
42010 grep -v '^ *+' conftest.er1 >conftest.err
42012 cat conftest.err >&5
42013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42014 (exit $ac_status); } && {
42015 test -z "$ac_c_werror_flag" ||
42016 test ! -s conftest.err
42017 } && test -s conftest.$ac_objext; then
42019 wx_cv_type_pthread_rec_mutex_init=yes
42022 echo "$as_me: failed program was:" >&5
42023 sed 's/^/| /' conftest.$ac_ext >&5
42026 wx_cv_type_pthread_rec_mutex_init=no
42031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42034 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42035 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42036 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42037 cat >>confdefs.h <<\_ACEOF
42038 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42042 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42043 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42047 if test "$wxUSE_COMPILER_TLS" = "auto"; then
42048 if test "$USE_NETBSD" = 1; then
42049 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
42050 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
42051 wxUSE_COMPILER_TLS=no
42053 wxUSE_COMPILER_TLS=yes
42057 if test "$wxUSE_COMPILER_TLS" = "yes"; then
42058 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
42059 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
42060 if test "${wx_cv_cc___thread+set}" = set; then
42061 echo $ECHO_N "(cached) $ECHO_C" >&6
42064 cat >conftest.$ac_ext <<_ACEOF
42067 cat confdefs.h >>conftest.$ac_ext
42068 cat >>conftest.$ac_ext <<_ACEOF
42069 /* end confdefs.h. */
42070 #include <pthread.h>
42075 static __thread int n = 0;
42076 static __thread int *p = 0;
42082 rm -f conftest.$ac_objext
42083 if { (ac_try="$ac_compile"
42084 case "(($ac_try" in
42085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42086 *) ac_try_echo=$ac_try;;
42088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42089 (eval "$ac_compile") 2>conftest.er1
42091 grep -v '^ *+' conftest.er1 >conftest.err
42093 cat conftest.err >&5
42094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42095 (exit $ac_status); } && {
42096 test -z "$ac_c_werror_flag" ||
42097 test ! -s conftest.err
42098 } && test -s conftest.$ac_objext; then
42099 wx_cv_cc___thread=yes
42101 echo "$as_me: failed program was:" >&5
42102 sed 's/^/| /' conftest.$ac_ext >&5
42104 wx_cv_cc___thread=no
42108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42112 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
42113 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
42115 if test "$wx_cv_cc___thread" = "yes"; then
42121 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
42122 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
42124 if test "x$GCC" = "xyes" ; then
42126 if test -z "" ; then
42128 ax_gcc_option_test="int main()
42135 ax_gcc_option_test=""
42140 # Dump the test program to file
42141 cat <<EOF > conftest.c
42142 $ax_gcc_option_test
42145 # Dump back the file to the log, useful for debugging purposes
42146 { ac_try='cat conftest.c 1>&5'
42147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42148 (eval $ac_try) 2>&5
42150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42151 (exit $ac_status); }; }
42153 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
42154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42155 (eval $ac_try) 2>&5
42157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42158 (exit $ac_status); }; } ; then
42160 { echo "$as_me:$LINENO: result: yes" >&5
42161 echo "${ECHO_T}yes" >&6; }
42163 ax_gcc_version_option=yes
42168 { echo "$as_me:$LINENO: result: no" >&5
42169 echo "${ECHO_T}no" >&6; }
42171 ax_gcc_version_option=no
42179 { echo "$as_me:$LINENO: result: no gcc available" >&5
42180 echo "${ECHO_T}no gcc available" >&6; }
42185 if test "x$GXX" = "xyes"; then
42187 if test "x$ax_gxx_version_option" != "no"; then
42189 { echo "$as_me:$LINENO: checking gxx version" >&5
42190 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
42191 if test "${ax_cv_gxx_version+set}" = set; then
42192 echo $ECHO_N "(cached) $ECHO_C" >&6
42195 ax_cv_gxx_version="`$CXX -dumpversion`"
42196 if test "x$ax_cv_gxx_version" = "x"; then
42198 ax_cv_gxx_version=""
42204 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
42205 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
42206 GXX_VERSION=$ax_cv_gxx_version
42215 if test -n "$ax_cv_gxx_version"; then
42216 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
42217 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
42218 case "$ax_cv_gxx_version" in
42220 { echo "$as_me:$LINENO: result: no, it's broken" >&5
42221 echo "${ECHO_T}no, it's broken" >&6; }
42222 wx_cv_cc___thread=no
42225 { echo "$as_me:$LINENO: result: yes, it works" >&5
42226 echo "${ECHO_T}yes, it works" >&6; }
42232 if test "$wx_cv_cc___thread" = "yes"; then
42233 cat >>confdefs.h <<\_ACEOF
42234 #define HAVE___THREAD_KEYWORD 1
42242 if test "$wxUSE_THREADS" = "yes" ; then
42244 x86_64-*-mingw32* )
42247 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42248 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42249 if test "${wx_cv_cflags_mthread+set}" = set; then
42250 echo $ECHO_N "(cached) $ECHO_C" >&6
42253 CFLAGS_OLD="$CFLAGS"
42254 CFLAGS="-mthreads $CFLAGS"
42255 cat >conftest.$ac_ext <<_ACEOF
42258 cat confdefs.h >>conftest.$ac_ext
42259 cat >>conftest.$ac_ext <<_ACEOF
42260 /* end confdefs.h. */
42270 rm -f conftest.$ac_objext
42271 if { (ac_try="$ac_compile"
42272 case "(($ac_try" in
42273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42274 *) ac_try_echo=$ac_try;;
42276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42277 (eval "$ac_compile") 2>conftest.er1
42279 grep -v '^ *+' conftest.er1 >conftest.err
42281 cat conftest.err >&5
42282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42283 (exit $ac_status); } && {
42284 test -z "$ac_c_werror_flag" ||
42285 test ! -s conftest.err
42286 } && test -s conftest.$ac_objext; then
42287 wx_cv_cflags_mthread=yes
42289 echo "$as_me: failed program was:" >&5
42290 sed 's/^/| /' conftest.$ac_ext >&5
42292 wx_cv_cflags_mthread=no
42296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42300 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42301 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42303 if test "$wx_cv_cflags_mthread" = "yes"; then
42304 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42305 LDFLAGS="$LDFLAGS -mthreads"
42307 CFLAGS="$CFLAGS_OLD"
42311 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42312 LDFLAGS="$LDFLAGS -Zmt"
42318 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42319 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42320 if test "${ac_cv_func_localtime_r+set}" = set; then
42321 echo $ECHO_N "(cached) $ECHO_C" >&6
42323 cat >conftest.$ac_ext <<_ACEOF
42326 cat confdefs.h >>conftest.$ac_ext
42327 cat >>conftest.$ac_ext <<_ACEOF
42328 /* end confdefs.h. */
42329 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42331 #define localtime_r innocuous_localtime_r
42333 /* System header to define __stub macros and hopefully few prototypes,
42334 which can conflict with char localtime_r (); below.
42335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42336 <limits.h> exists even on freestanding compilers. */
42339 # include <limits.h>
42341 # include <assert.h>
42346 /* Override any GCC internal prototype to avoid an error.
42347 Use char because int might match the return type of a GCC
42348 builtin and then its argument prototype would still apply. */
42352 char localtime_r ();
42353 /* The GNU C library defines this for functions which it implements
42354 to always fail with ENOSYS. Some functions are actually named
42355 something starting with __ and the normal name is an alias. */
42356 #if defined __stub_localtime_r || defined __stub___localtime_r
42363 return localtime_r ();
42368 rm -f conftest.$ac_objext conftest$ac_exeext
42369 if { (ac_try="$ac_link"
42370 case "(($ac_try" in
42371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42372 *) ac_try_echo=$ac_try;;
42374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42375 (eval "$ac_link") 2>conftest.er1
42377 grep -v '^ *+' conftest.er1 >conftest.err
42379 cat conftest.err >&5
42380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42381 (exit $ac_status); } && {
42382 test -z "$ac_c_werror_flag" ||
42383 test ! -s conftest.err
42384 } && test -s conftest$ac_exeext &&
42385 $as_test_x conftest$ac_exeext; then
42386 ac_cv_func_localtime_r=yes
42388 echo "$as_me: failed program was:" >&5
42389 sed 's/^/| /' conftest.$ac_ext >&5
42391 ac_cv_func_localtime_r=no
42394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42395 conftest$ac_exeext conftest.$ac_ext
42397 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42398 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42399 if test $ac_cv_func_localtime_r = yes; then
42400 cat >>confdefs.h <<\_ACEOF
42401 #define HAVE_LOCALTIME_R 1
42406 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42407 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42408 if test "${ac_cv_func_gmtime_r+set}" = set; then
42409 echo $ECHO_N "(cached) $ECHO_C" >&6
42411 cat >conftest.$ac_ext <<_ACEOF
42414 cat confdefs.h >>conftest.$ac_ext
42415 cat >>conftest.$ac_ext <<_ACEOF
42416 /* end confdefs.h. */
42417 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42419 #define gmtime_r innocuous_gmtime_r
42421 /* System header to define __stub macros and hopefully few prototypes,
42422 which can conflict with char gmtime_r (); below.
42423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42424 <limits.h> exists even on freestanding compilers. */
42427 # include <limits.h>
42429 # include <assert.h>
42434 /* Override any GCC internal prototype to avoid an error.
42435 Use char because int might match the return type of a GCC
42436 builtin and then its argument prototype would still apply. */
42441 /* The GNU C library defines this for functions which it implements
42442 to always fail with ENOSYS. Some functions are actually named
42443 something starting with __ and the normal name is an alias. */
42444 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42451 return gmtime_r ();
42456 rm -f conftest.$ac_objext conftest$ac_exeext
42457 if { (ac_try="$ac_link"
42458 case "(($ac_try" in
42459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42460 *) ac_try_echo=$ac_try;;
42462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42463 (eval "$ac_link") 2>conftest.er1
42465 grep -v '^ *+' conftest.er1 >conftest.err
42467 cat conftest.err >&5
42468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42469 (exit $ac_status); } && {
42470 test -z "$ac_c_werror_flag" ||
42471 test ! -s conftest.err
42472 } && test -s conftest$ac_exeext &&
42473 $as_test_x conftest$ac_exeext; then
42474 ac_cv_func_gmtime_r=yes
42476 echo "$as_me: failed program was:" >&5
42477 sed 's/^/| /' conftest.$ac_ext >&5
42479 ac_cv_func_gmtime_r=no
42482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42483 conftest$ac_exeext conftest.$ac_ext
42485 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42486 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42487 if test $ac_cv_func_gmtime_r = yes; then
42488 cat >>confdefs.h <<\_ACEOF
42489 #define HAVE_GMTIME_R 1
42498 ac_cpp='$CPP $CPPFLAGS'
42499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42503 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42504 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42506 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42507 echo $ECHO_N "(cached) $ECHO_C" >&6
42511 ################################################################
42513 ac_cv_func_which_gethostbyname_r=unknown
42516 # ONE ARGUMENT (sanity check)
42519 # This should fail, as there is no variant of gethostbyname_r() that takes
42520 # a single argument. If it actually compiles, then we can assume that
42521 # netdb.h is not declaring the function, and the compiler is thereby
42522 # assuming an implicit prototype. In which case, we're out of luck.
42524 cat >conftest.$ac_ext <<_ACEOF
42527 cat confdefs.h >>conftest.$ac_ext
42528 cat >>conftest.$ac_ext <<_ACEOF
42529 /* end confdefs.h. */
42535 char *name = "www.gnu.org";
42536 (void)gethostbyname_r(name) /* ; */
42542 rm -f conftest.$ac_objext
42543 if { (ac_try="$ac_compile"
42544 case "(($ac_try" in
42545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42546 *) ac_try_echo=$ac_try;;
42548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42549 (eval "$ac_compile") 2>conftest.er1
42551 grep -v '^ *+' conftest.er1 >conftest.err
42553 cat conftest.err >&5
42554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42555 (exit $ac_status); } && {
42556 test -z "$ac_c_werror_flag" ||
42557 test ! -s conftest.err
42558 } && test -s conftest.$ac_objext; then
42559 ac_cv_func_which_gethostbyname_r=no
42561 echo "$as_me: failed program was:" >&5
42562 sed 's/^/| /' conftest.$ac_ext >&5
42567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42574 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42576 cat >conftest.$ac_ext <<_ACEOF
42579 cat confdefs.h >>conftest.$ac_ext
42580 cat >>conftest.$ac_ext <<_ACEOF
42581 /* end confdefs.h. */
42587 char *name = "www.gnu.org";
42588 struct hostent ret, *retp;
42592 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42598 rm -f conftest.$ac_objext
42599 if { (ac_try="$ac_compile"
42600 case "(($ac_try" in
42601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42602 *) ac_try_echo=$ac_try;;
42604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42605 (eval "$ac_compile") 2>conftest.er1
42607 grep -v '^ *+' conftest.er1 >conftest.err
42609 cat conftest.err >&5
42610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42611 (exit $ac_status); } && {
42612 test -z "$ac_c_werror_flag" ||
42613 test ! -s conftest.err
42614 } && test -s conftest.$ac_objext; then
42615 ac_cv_func_which_gethostbyname_r=six
42617 echo "$as_me: failed program was:" >&5
42618 sed 's/^/| /' conftest.$ac_ext >&5
42623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42632 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42634 cat >conftest.$ac_ext <<_ACEOF
42637 cat confdefs.h >>conftest.$ac_ext
42638 cat >>conftest.$ac_ext <<_ACEOF
42639 /* end confdefs.h. */
42645 char *name = "www.gnu.org";
42646 struct hostent ret;
42650 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42656 rm -f conftest.$ac_objext
42657 if { (ac_try="$ac_compile"
42658 case "(($ac_try" in
42659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42660 *) ac_try_echo=$ac_try;;
42662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42663 (eval "$ac_compile") 2>conftest.er1
42665 grep -v '^ *+' conftest.er1 >conftest.err
42667 cat conftest.err >&5
42668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42669 (exit $ac_status); } && {
42670 test -z "$ac_c_werror_flag" ||
42671 test ! -s conftest.err
42672 } && test -s conftest.$ac_objext; then
42673 ac_cv_func_which_gethostbyname_r=five
42675 echo "$as_me: failed program was:" >&5
42676 sed 's/^/| /' conftest.$ac_ext >&5
42681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42687 # (e.g. AIX, HP-UX, Tru64)
42690 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42692 cat >conftest.$ac_ext <<_ACEOF
42695 cat confdefs.h >>conftest.$ac_ext
42696 cat >>conftest.$ac_ext <<_ACEOF
42697 /* end confdefs.h. */
42703 char *name = "www.gnu.org";
42704 struct hostent ret;
42705 struct hostent_data data;
42706 (void)gethostbyname_r(name, &ret, &data) /* ; */
42712 rm -f conftest.$ac_objext
42713 if { (ac_try="$ac_compile"
42714 case "(($ac_try" in
42715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42716 *) ac_try_echo=$ac_try;;
42718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42719 (eval "$ac_compile") 2>conftest.er1
42721 grep -v '^ *+' conftest.er1 >conftest.err
42723 cat conftest.err >&5
42724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42725 (exit $ac_status); } && {
42726 test -z "$ac_c_werror_flag" ||
42727 test ! -s conftest.err
42728 } && test -s conftest.$ac_objext; then
42729 ac_cv_func_which_gethostbyname_r=three
42731 echo "$as_me: failed program was:" >&5
42732 sed 's/^/| /' conftest.$ac_ext >&5
42737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42741 ################################################################
42746 case "$ac_cv_func_which_gethostbyname_r" in
42748 { echo "$as_me:$LINENO: result: three" >&5
42749 echo "${ECHO_T}three" >&6; }
42750 cat >>confdefs.h <<\_ACEOF
42751 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42757 { echo "$as_me:$LINENO: result: five" >&5
42758 echo "${ECHO_T}five" >&6; }
42759 cat >>confdefs.h <<\_ACEOF
42760 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42766 { echo "$as_me:$LINENO: result: six" >&5
42767 echo "${ECHO_T}six" >&6; }
42768 cat >>confdefs.h <<\_ACEOF
42769 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42775 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42776 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42780 { echo "$as_me:$LINENO: result: can't tell" >&5
42781 echo "${ECHO_T}can't tell" >&6; }
42785 { { echo "$as_me:$LINENO: error: internal error" >&5
42786 echo "$as_me: error: internal error" >&2;}
42787 { (exit 1); exit 1; }; }
42792 ac_cpp='$CPP $CPPFLAGS'
42793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42799 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42800 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42801 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42802 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42803 if test "${ac_cv_func_gethostbyname+set}" = set; then
42804 echo $ECHO_N "(cached) $ECHO_C" >&6
42806 cat >conftest.$ac_ext <<_ACEOF
42809 cat confdefs.h >>conftest.$ac_ext
42810 cat >>conftest.$ac_ext <<_ACEOF
42811 /* end confdefs.h. */
42812 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42814 #define gethostbyname innocuous_gethostbyname
42816 /* System header to define __stub macros and hopefully few prototypes,
42817 which can conflict with char gethostbyname (); below.
42818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42819 <limits.h> exists even on freestanding compilers. */
42822 # include <limits.h>
42824 # include <assert.h>
42827 #undef gethostbyname
42829 /* Override any GCC internal prototype to avoid an error.
42830 Use char because int might match the return type of a GCC
42831 builtin and then its argument prototype would still apply. */
42835 char gethostbyname ();
42836 /* The GNU C library defines this for functions which it implements
42837 to always fail with ENOSYS. Some functions are actually named
42838 something starting with __ and the normal name is an alias. */
42839 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42846 return gethostbyname ();
42851 rm -f conftest.$ac_objext conftest$ac_exeext
42852 if { (ac_try="$ac_link"
42853 case "(($ac_try" in
42854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42855 *) ac_try_echo=$ac_try;;
42857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42858 (eval "$ac_link") 2>conftest.er1
42860 grep -v '^ *+' conftest.er1 >conftest.err
42862 cat conftest.err >&5
42863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42864 (exit $ac_status); } && {
42865 test -z "$ac_c_werror_flag" ||
42866 test ! -s conftest.err
42867 } && test -s conftest$ac_exeext &&
42868 $as_test_x conftest$ac_exeext; then
42869 ac_cv_func_gethostbyname=yes
42871 echo "$as_me: failed program was:" >&5
42872 sed 's/^/| /' conftest.$ac_ext >&5
42874 ac_cv_func_gethostbyname=no
42877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42878 conftest$ac_exeext conftest.$ac_ext
42880 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42881 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42882 if test $ac_cv_func_gethostbyname = yes; then
42883 cat >>confdefs.h <<\_ACEOF
42884 #define HAVE_GETHOSTBYNAME 1
42891 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42892 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42893 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42894 echo $ECHO_N "(cached) $ECHO_C" >&6
42898 ac_cpp='$CXXCPP $CPPFLAGS'
42899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42904 cat >conftest.$ac_ext <<_ACEOF
42907 cat confdefs.h >>conftest.$ac_ext
42908 cat >>conftest.$ac_ext <<_ACEOF
42909 /* end confdefs.h. */
42917 struct servent *se, *res;
42920 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42926 rm -f conftest.$ac_objext
42927 if { (ac_try="$ac_compile"
42928 case "(($ac_try" in
42929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42930 *) ac_try_echo=$ac_try;;
42932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42933 (eval "$ac_compile") 2>conftest.er1
42935 grep -v '^ *+' conftest.er1 >conftest.err
42937 cat conftest.err >&5
42938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42939 (exit $ac_status); } && {
42940 test -z "$ac_cxx_werror_flag" ||
42941 test ! -s conftest.err
42942 } && test -s conftest.$ac_objext; then
42943 ac_cv_func_which_getservbyname_r=six
42945 echo "$as_me: failed program was:" >&5
42946 sed 's/^/| /' conftest.$ac_ext >&5
42949 cat >conftest.$ac_ext <<_ACEOF
42952 cat confdefs.h >>conftest.$ac_ext
42953 cat >>conftest.$ac_ext <<_ACEOF
42954 /* end confdefs.h. */
42962 struct servent *se;
42965 (void) getservbyname_r(name, proto, se, buffer, buflen)
42971 rm -f conftest.$ac_objext
42972 if { (ac_try="$ac_compile"
42973 case "(($ac_try" in
42974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42975 *) ac_try_echo=$ac_try;;
42977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42978 (eval "$ac_compile") 2>conftest.er1
42980 grep -v '^ *+' conftest.er1 >conftest.err
42982 cat conftest.err >&5
42983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42984 (exit $ac_status); } && {
42985 test -z "$ac_cxx_werror_flag" ||
42986 test ! -s conftest.err
42987 } && test -s conftest.$ac_objext; then
42988 ac_cv_func_which_getservbyname_r=five
42990 echo "$as_me: failed program was:" >&5
42991 sed 's/^/| /' conftest.$ac_ext >&5
42994 cat >conftest.$ac_ext <<_ACEOF
42997 cat confdefs.h >>conftest.$ac_ext
42998 cat >>conftest.$ac_ext <<_ACEOF
42999 /* end confdefs.h. */
43007 struct servent *se;
43008 struct servent_data data;
43009 (void) getservbyname_r(name, proto, se, &data);
43015 rm -f conftest.$ac_objext
43016 if { (ac_try="$ac_compile"
43017 case "(($ac_try" in
43018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43019 *) ac_try_echo=$ac_try;;
43021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43022 (eval "$ac_compile") 2>conftest.er1
43024 grep -v '^ *+' conftest.er1 >conftest.err
43026 cat conftest.err >&5
43027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43028 (exit $ac_status); } && {
43029 test -z "$ac_cxx_werror_flag" ||
43030 test ! -s conftest.err
43031 } && test -s conftest.$ac_objext; then
43032 ac_cv_func_which_getservbyname_r=four
43034 echo "$as_me: failed program was:" >&5
43035 sed 's/^/| /' conftest.$ac_ext >&5
43037 ac_cv_func_which_getservbyname_r=no
43041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43053 ac_cpp='$CPP $CPPFLAGS'
43054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43061 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43062 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43064 if test $ac_cv_func_which_getservbyname_r = six; then
43065 cat >>confdefs.h <<\_ACEOF
43066 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43069 elif test $ac_cv_func_which_getservbyname_r = five; then
43070 cat >>confdefs.h <<\_ACEOF
43071 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43074 elif test $ac_cv_func_which_getservbyname_r = four; then
43075 cat >>confdefs.h <<\_ACEOF
43076 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43082 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43083 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43085 for ac_func in getservbyname
43087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43088 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43090 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43091 echo $ECHO_N "(cached) $ECHO_C" >&6
43093 cat >conftest.$ac_ext <<_ACEOF
43096 cat confdefs.h >>conftest.$ac_ext
43097 cat >>conftest.$ac_ext <<_ACEOF
43098 /* end confdefs.h. */
43099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43101 #define $ac_func innocuous_$ac_func
43103 /* System header to define __stub macros and hopefully few prototypes,
43104 which can conflict with char $ac_func (); below.
43105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43106 <limits.h> exists even on freestanding compilers. */
43109 # include <limits.h>
43111 # include <assert.h>
43116 /* Override any GCC internal prototype to avoid an error.
43117 Use char because int might match the return type of a GCC
43118 builtin and then its argument prototype would still apply. */
43123 /* The GNU C library defines this for functions which it implements
43124 to always fail with ENOSYS. Some functions are actually named
43125 something starting with __ and the normal name is an alias. */
43126 #if defined __stub_$ac_func || defined __stub___$ac_func
43133 return $ac_func ();
43138 rm -f conftest.$ac_objext conftest$ac_exeext
43139 if { (ac_try="$ac_link"
43140 case "(($ac_try" in
43141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43142 *) ac_try_echo=$ac_try;;
43144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43145 (eval "$ac_link") 2>conftest.er1
43147 grep -v '^ *+' conftest.er1 >conftest.err
43149 cat conftest.err >&5
43150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43151 (exit $ac_status); } && {
43152 test -z "$ac_c_werror_flag" ||
43153 test ! -s conftest.err
43154 } && test -s conftest$ac_exeext &&
43155 $as_test_x conftest$ac_exeext; then
43156 eval "$as_ac_var=yes"
43158 echo "$as_me: failed program was:" >&5
43159 sed 's/^/| /' conftest.$ac_ext >&5
43161 eval "$as_ac_var=no"
43164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43165 conftest$ac_exeext conftest.$ac_ext
43167 ac_res=`eval echo '${'$as_ac_var'}'`
43168 { echo "$as_me:$LINENO: result: $ac_res" >&5
43169 echo "${ECHO_T}$ac_res" >&6; }
43170 if test `eval echo '${'$as_ac_var'}'` = yes; then
43171 cat >>confdefs.h <<_ACEOF
43172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43174 cat >>confdefs.h <<\_ACEOF
43175 #define HAVE_GETSERVBYNAME 1
43183 if test "$wxUSE_THREADS" = "yes"; then
43184 cat >>confdefs.h <<\_ACEOF
43185 #define wxUSE_THREADS 1
43189 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43191 if test "$wx_cv_func_strtok_r" = "yes"; then
43192 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43193 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43194 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43195 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43196 { echo "$as_me:$LINENO: result: yes" >&5
43197 echo "${ECHO_T}yes" >&6; }
43199 { echo "$as_me:$LINENO: result: no" >&5
43200 echo "${ECHO_T}no" >&6; }
43205 if test "$WXGTK2" = 1 ; then
43206 cat >>confdefs.h <<_ACEOF
43207 #define __WXGTK20__ $WXGTK2
43212 if test "$WXGTK127" = 1 ; then
43213 cat >>confdefs.h <<_ACEOF
43214 #define __WXGTK127__ $WXGTK127
43219 if test "$WXGPE" = 1 ; then
43220 cat >>confdefs.h <<_ACEOF
43221 #define __WXGPE__ $WXGPE
43227 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
43228 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
43229 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
43230 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
43234 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43235 wxUSE_DEBUG_INFO=yes
43236 if test "$GCC" = yes; then
43237 DEBUG_CFLAGS="-ggdb"
43241 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
43242 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
43244 if test "$wxUSE_GTK" = 1 ; then
43245 if test "x$wxGTK_VERSION" = "x1" ; then
43246 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43248 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
43253 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43254 cat >>confdefs.h <<\_ACEOF
43255 #define wxUSE_MEMORY_TRACING 1
43258 cat >>confdefs.h <<\_ACEOF
43259 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43262 cat >>confdefs.h <<\_ACEOF
43263 #define wxUSE_DEBUG_NEW_ALWAYS 1
43266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43269 if test "$wxUSE_DMALLOC" = "yes" ; then
43270 DMALLOC_LIBS="-ldmallocthcxx"
43274 if test "$wxUSE_PROFILE" = "yes" ; then
43275 PROFILE_FLAGS=" -pg"
43278 if test "$GCC" = "yes" ; then
43279 if test "$wxUSE_NO_RTTI" = "yes" ; then
43280 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
43282 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43283 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43285 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43286 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43291 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43294 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43300 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
43301 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
43302 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
43304 if test "$wxUSE_OPTIMISE" = "no" ; then
43305 if test "$GCC" = yes ; then
43306 OPTIMISE_CFLAGS="-O0"
43309 if test "$GCC" = yes ; then
43311 *-pc-os2_emx | *-pc-os2-emx )
43312 OPTIMISE_CFLAGS="-O2"
43315 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43319 OPTIMISE_CFLAGS="-O"
43325 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43326 cat >>confdefs.h <<\_ACEOF
43327 #define WXWIN_COMPATIBILITY_2_6 1
43331 WXWIN_COMPATIBILITY_2_8="yes"
43334 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43335 cat >>confdefs.h <<\_ACEOF
43336 #define WXWIN_COMPATIBILITY_2_8 1
43342 if test "$wxUSE_GUI" = "yes"; then
43343 cat >>confdefs.h <<\_ACEOF
43344 #define wxUSE_GUI 1
43351 if test "$wxUSE_UNIX" = "yes"; then
43352 cat >>confdefs.h <<\_ACEOF
43353 #define wxUSE_UNIX 1
43359 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43363 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43364 if test "$USE_DOS" = 1; then
43368 for ac_func in dlopen
43370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43371 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43373 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43374 echo $ECHO_N "(cached) $ECHO_C" >&6
43376 cat >conftest.$ac_ext <<_ACEOF
43379 cat confdefs.h >>conftest.$ac_ext
43380 cat >>conftest.$ac_ext <<_ACEOF
43381 /* end confdefs.h. */
43382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43384 #define $ac_func innocuous_$ac_func
43386 /* System header to define __stub macros and hopefully few prototypes,
43387 which can conflict with char $ac_func (); below.
43388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43389 <limits.h> exists even on freestanding compilers. */
43392 # include <limits.h>
43394 # include <assert.h>
43399 /* Override any GCC internal prototype to avoid an error.
43400 Use char because int might match the return type of a GCC
43401 builtin and then its argument prototype would still apply. */
43406 /* The GNU C library defines this for functions which it implements
43407 to always fail with ENOSYS. Some functions are actually named
43408 something starting with __ and the normal name is an alias. */
43409 #if defined __stub_$ac_func || defined __stub___$ac_func
43416 return $ac_func ();
43421 rm -f conftest.$ac_objext conftest$ac_exeext
43422 if { (ac_try="$ac_link"
43423 case "(($ac_try" in
43424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43425 *) ac_try_echo=$ac_try;;
43427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43428 (eval "$ac_link") 2>conftest.er1
43430 grep -v '^ *+' conftest.er1 >conftest.err
43432 cat conftest.err >&5
43433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43434 (exit $ac_status); } && {
43435 test -z "$ac_c_werror_flag" ||
43436 test ! -s conftest.err
43437 } && test -s conftest$ac_exeext &&
43438 $as_test_x conftest$ac_exeext; then
43439 eval "$as_ac_var=yes"
43441 echo "$as_me: failed program was:" >&5
43442 sed 's/^/| /' conftest.$ac_ext >&5
43444 eval "$as_ac_var=no"
43447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43448 conftest$ac_exeext conftest.$ac_ext
43450 ac_res=`eval echo '${'$as_ac_var'}'`
43451 { echo "$as_me:$LINENO: result: $ac_res" >&5
43452 echo "${ECHO_T}$ac_res" >&6; }
43453 if test `eval echo '${'$as_ac_var'}'` = yes; then
43454 cat >>confdefs.h <<_ACEOF
43455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43458 cat >>confdefs.h <<\_ACEOF
43459 #define HAVE_DLOPEN 1
43466 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43467 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43468 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43469 echo $ECHO_N "(cached) $ECHO_C" >&6
43471 ac_check_lib_save_LIBS=$LIBS
43473 cat >conftest.$ac_ext <<_ACEOF
43476 cat confdefs.h >>conftest.$ac_ext
43477 cat >>conftest.$ac_ext <<_ACEOF
43478 /* end confdefs.h. */
43480 /* Override any GCC internal prototype to avoid an error.
43481 Use char because int might match the return type of a GCC
43482 builtin and then its argument prototype would still apply. */
43495 rm -f conftest.$ac_objext conftest$ac_exeext
43496 if { (ac_try="$ac_link"
43497 case "(($ac_try" in
43498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43499 *) ac_try_echo=$ac_try;;
43501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43502 (eval "$ac_link") 2>conftest.er1
43504 grep -v '^ *+' conftest.er1 >conftest.err
43506 cat conftest.err >&5
43507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43508 (exit $ac_status); } && {
43509 test -z "$ac_c_werror_flag" ||
43510 test ! -s conftest.err
43511 } && test -s conftest$ac_exeext &&
43512 $as_test_x conftest$ac_exeext; then
43513 ac_cv_lib_dl_dlopen=yes
43515 echo "$as_me: failed program was:" >&5
43516 sed 's/^/| /' conftest.$ac_ext >&5
43518 ac_cv_lib_dl_dlopen=no
43521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43522 conftest$ac_exeext conftest.$ac_ext
43523 LIBS=$ac_check_lib_save_LIBS
43525 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43526 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43527 if test $ac_cv_lib_dl_dlopen = yes; then
43529 cat >>confdefs.h <<\_ACEOF
43530 #define HAVE_DLOPEN 1
43534 DL_LINK=" -ldl$DL_LINK"
43539 for ac_func in shl_load
43541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43542 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43544 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43545 echo $ECHO_N "(cached) $ECHO_C" >&6
43547 cat >conftest.$ac_ext <<_ACEOF
43550 cat confdefs.h >>conftest.$ac_ext
43551 cat >>conftest.$ac_ext <<_ACEOF
43552 /* end confdefs.h. */
43553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43555 #define $ac_func innocuous_$ac_func
43557 /* System header to define __stub macros and hopefully few prototypes,
43558 which can conflict with char $ac_func (); below.
43559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43560 <limits.h> exists even on freestanding compilers. */
43563 # include <limits.h>
43565 # include <assert.h>
43570 /* Override any GCC internal prototype to avoid an error.
43571 Use char because int might match the return type of a GCC
43572 builtin and then its argument prototype would still apply. */
43577 /* The GNU C library defines this for functions which it implements
43578 to always fail with ENOSYS. Some functions are actually named
43579 something starting with __ and the normal name is an alias. */
43580 #if defined __stub_$ac_func || defined __stub___$ac_func
43587 return $ac_func ();
43592 rm -f conftest.$ac_objext conftest$ac_exeext
43593 if { (ac_try="$ac_link"
43594 case "(($ac_try" in
43595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43596 *) ac_try_echo=$ac_try;;
43598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43599 (eval "$ac_link") 2>conftest.er1
43601 grep -v '^ *+' conftest.er1 >conftest.err
43603 cat conftest.err >&5
43604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43605 (exit $ac_status); } && {
43606 test -z "$ac_c_werror_flag" ||
43607 test ! -s conftest.err
43608 } && test -s conftest$ac_exeext &&
43609 $as_test_x conftest$ac_exeext; then
43610 eval "$as_ac_var=yes"
43612 echo "$as_me: failed program was:" >&5
43613 sed 's/^/| /' conftest.$ac_ext >&5
43615 eval "$as_ac_var=no"
43618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43619 conftest$ac_exeext conftest.$ac_ext
43621 ac_res=`eval echo '${'$as_ac_var'}'`
43622 { echo "$as_me:$LINENO: result: $ac_res" >&5
43623 echo "${ECHO_T}$ac_res" >&6; }
43624 if test `eval echo '${'$as_ac_var'}'` = yes; then
43625 cat >>confdefs.h <<_ACEOF
43626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43629 cat >>confdefs.h <<\_ACEOF
43630 #define HAVE_SHL_LOAD 1
43637 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43638 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43639 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43640 echo $ECHO_N "(cached) $ECHO_C" >&6
43642 ac_check_lib_save_LIBS=$LIBS
43643 LIBS="-lshl_load $LIBS"
43644 cat >conftest.$ac_ext <<_ACEOF
43647 cat confdefs.h >>conftest.$ac_ext
43648 cat >>conftest.$ac_ext <<_ACEOF
43649 /* end confdefs.h. */
43651 /* Override any GCC internal prototype to avoid an error.
43652 Use char because int might match the return type of a GCC
43653 builtin and then its argument prototype would still apply. */
43666 rm -f conftest.$ac_objext conftest$ac_exeext
43667 if { (ac_try="$ac_link"
43668 case "(($ac_try" in
43669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43670 *) ac_try_echo=$ac_try;;
43672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43673 (eval "$ac_link") 2>conftest.er1
43675 grep -v '^ *+' conftest.er1 >conftest.err
43677 cat conftest.err >&5
43678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43679 (exit $ac_status); } && {
43680 test -z "$ac_c_werror_flag" ||
43681 test ! -s conftest.err
43682 } && test -s conftest$ac_exeext &&
43683 $as_test_x conftest$ac_exeext; then
43684 ac_cv_lib_shl_load_dld=yes
43686 echo "$as_me: failed program was:" >&5
43687 sed 's/^/| /' conftest.$ac_ext >&5
43689 ac_cv_lib_shl_load_dld=no
43692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43693 conftest$ac_exeext conftest.$ac_ext
43694 LIBS=$ac_check_lib_save_LIBS
43696 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43697 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43698 if test $ac_cv_lib_shl_load_dld = yes; then
43701 DL_LINK=" -ldld$DL_LINK"
43717 if test "$HAVE_DL_FUNCS" = 1; then
43719 for ac_func in dlerror
43721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43722 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43724 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43725 echo $ECHO_N "(cached) $ECHO_C" >&6
43727 cat >conftest.$ac_ext <<_ACEOF
43730 cat confdefs.h >>conftest.$ac_ext
43731 cat >>conftest.$ac_ext <<_ACEOF
43732 /* end confdefs.h. */
43733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43735 #define $ac_func innocuous_$ac_func
43737 /* System header to define __stub macros and hopefully few prototypes,
43738 which can conflict with char $ac_func (); below.
43739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43740 <limits.h> exists even on freestanding compilers. */
43743 # include <limits.h>
43745 # include <assert.h>
43750 /* Override any GCC internal prototype to avoid an error.
43751 Use char because int might match the return type of a GCC
43752 builtin and then its argument prototype would still apply. */
43757 /* The GNU C library defines this for functions which it implements
43758 to always fail with ENOSYS. Some functions are actually named
43759 something starting with __ and the normal name is an alias. */
43760 #if defined __stub_$ac_func || defined __stub___$ac_func
43767 return $ac_func ();
43772 rm -f conftest.$ac_objext conftest$ac_exeext
43773 if { (ac_try="$ac_link"
43774 case "(($ac_try" in
43775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43776 *) ac_try_echo=$ac_try;;
43778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43779 (eval "$ac_link") 2>conftest.er1
43781 grep -v '^ *+' conftest.er1 >conftest.err
43783 cat conftest.err >&5
43784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43785 (exit $ac_status); } && {
43786 test -z "$ac_c_werror_flag" ||
43787 test ! -s conftest.err
43788 } && test -s conftest$ac_exeext &&
43789 $as_test_x conftest$ac_exeext; then
43790 eval "$as_ac_var=yes"
43792 echo "$as_me: failed program was:" >&5
43793 sed 's/^/| /' conftest.$ac_ext >&5
43795 eval "$as_ac_var=no"
43798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43799 conftest$ac_exeext conftest.$ac_ext
43801 ac_res=`eval echo '${'$as_ac_var'}'`
43802 { echo "$as_me:$LINENO: result: $ac_res" >&5
43803 echo "${ECHO_T}$ac_res" >&6; }
43804 if test `eval echo '${'$as_ac_var'}'` = yes; then
43805 cat >>confdefs.h <<_ACEOF
43806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43808 cat >>confdefs.h <<\_ACEOF
43809 #define HAVE_DLERROR 1
43814 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43815 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43816 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43817 echo $ECHO_N "(cached) $ECHO_C" >&6
43819 ac_check_lib_save_LIBS=$LIBS
43821 cat >conftest.$ac_ext <<_ACEOF
43824 cat confdefs.h >>conftest.$ac_ext
43825 cat >>conftest.$ac_ext <<_ACEOF
43826 /* end confdefs.h. */
43828 /* Override any GCC internal prototype to avoid an error.
43829 Use char because int might match the return type of a GCC
43830 builtin and then its argument prototype would still apply. */
43843 rm -f conftest.$ac_objext conftest$ac_exeext
43844 if { (ac_try="$ac_link"
43845 case "(($ac_try" in
43846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43847 *) ac_try_echo=$ac_try;;
43849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43850 (eval "$ac_link") 2>conftest.er1
43852 grep -v '^ *+' conftest.er1 >conftest.err
43854 cat conftest.err >&5
43855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43856 (exit $ac_status); } && {
43857 test -z "$ac_c_werror_flag" ||
43858 test ! -s conftest.err
43859 } && test -s conftest$ac_exeext &&
43860 $as_test_x conftest$ac_exeext; then
43861 ac_cv_lib_dl_dlerror=yes
43863 echo "$as_me: failed program was:" >&5
43864 sed 's/^/| /' conftest.$ac_ext >&5
43866 ac_cv_lib_dl_dlerror=no
43869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43870 conftest$ac_exeext conftest.$ac_ext
43871 LIBS=$ac_check_lib_save_LIBS
43873 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43874 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43875 if test $ac_cv_lib_dl_dlerror = yes; then
43876 cat >>confdefs.h <<\_ACEOF
43877 #define HAVE_DLERROR 1
43890 if test "$USE_DARWIN" = 1; then
43894 if test "$HAVE_DL_FUNCS" = 0; then
43895 if test "$HAVE_SHL_FUNCS" = 0; then
43896 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43897 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43898 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43899 wxUSE_DYNAMIC_LOADER=no
43900 wxUSE_DYNLIB_CLASS=no
43902 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43903 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43910 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43911 cat >>confdefs.h <<\_ACEOF
43912 #define wxUSE_DYNAMIC_LOADER 1
43916 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43917 cat >>confdefs.h <<\_ACEOF
43918 #define wxUSE_DYNLIB_CLASS 1
43925 if test "$wxUSE_PLUGINS" = "yes" ; then
43926 if test "$wxUSE_SHARED" = "no" ; then
43927 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43928 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43931 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43932 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43933 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43936 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43937 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43938 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43941 if test "$wxUSE_PLUGINS" = "yes" ; then
43942 cat >>confdefs.h <<\_ACEOF
43943 #define wxUSE_PLUGINS 1
43950 if test "$wxUSE_FSWATCHER" = "yes"; then
43951 if test "$wxUSE_MSW" != "1"; then
43952 if test "$wxUSE_UNIX" = "yes"; then
43954 for ac_header in sys/inotify.h
43956 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43957 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43959 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43960 echo $ECHO_N "(cached) $ECHO_C" >&6
43962 cat >conftest.$ac_ext <<_ACEOF
43965 cat confdefs.h >>conftest.$ac_ext
43966 cat >>conftest.$ac_ext <<_ACEOF
43967 /* end confdefs.h. */
43968 $ac_includes_default
43970 #include <$ac_header>
43972 rm -f conftest.$ac_objext
43973 if { (ac_try="$ac_compile"
43974 case "(($ac_try" in
43975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43976 *) ac_try_echo=$ac_try;;
43978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43979 (eval "$ac_compile") 2>conftest.er1
43981 grep -v '^ *+' conftest.er1 >conftest.err
43983 cat conftest.err >&5
43984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43985 (exit $ac_status); } && {
43986 test -z "$ac_c_werror_flag" ||
43987 test ! -s conftest.err
43988 } && test -s conftest.$ac_objext; then
43989 eval "$as_ac_Header=yes"
43991 echo "$as_me: failed program was:" >&5
43992 sed 's/^/| /' conftest.$ac_ext >&5
43994 eval "$as_ac_Header=no"
43997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43999 ac_res=`eval echo '${'$as_ac_Header'}'`
44000 { echo "$as_me:$LINENO: result: $ac_res" >&5
44001 echo "${ECHO_T}$ac_res" >&6; }
44002 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44003 cat >>confdefs.h <<_ACEOF
44004 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44011 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
44012 cat >>confdefs.h <<\_ACEOF
44013 #define wxHAS_INOTIFY 1
44018 for ac_header in sys/event.h
44020 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44021 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44022 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44023 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44024 echo $ECHO_N "(cached) $ECHO_C" >&6
44026 cat >conftest.$ac_ext <<_ACEOF
44029 cat confdefs.h >>conftest.$ac_ext
44030 cat >>conftest.$ac_ext <<_ACEOF
44031 /* end confdefs.h. */
44032 $ac_includes_default
44034 #include <$ac_header>
44036 rm -f conftest.$ac_objext
44037 if { (ac_try="$ac_compile"
44038 case "(($ac_try" in
44039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44040 *) ac_try_echo=$ac_try;;
44042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44043 (eval "$ac_compile") 2>conftest.er1
44045 grep -v '^ *+' conftest.er1 >conftest.err
44047 cat conftest.err >&5
44048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44049 (exit $ac_status); } && {
44050 test -z "$ac_c_werror_flag" ||
44051 test ! -s conftest.err
44052 } && test -s conftest.$ac_objext; then
44053 eval "$as_ac_Header=yes"
44055 echo "$as_me: failed program was:" >&5
44056 sed 's/^/| /' conftest.$ac_ext >&5
44058 eval "$as_ac_Header=no"
44061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44063 ac_res=`eval echo '${'$as_ac_Header'}'`
44064 { echo "$as_me:$LINENO: result: $ac_res" >&5
44065 echo "${ECHO_T}$ac_res" >&6; }
44066 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44067 cat >>confdefs.h <<_ACEOF
44068 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44075 if test "$ac_cv_header_sys_event_h" = "yes"; then
44076 cat >>confdefs.h <<\_ACEOF
44077 #define wxHAS_KQUEUE 1
44088 if test "$wxUSE_THREADS" != "yes"; then
44089 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
44090 echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
44095 if test "$wxUSE_FSWATCHER" = "yes"; then
44096 cat >>confdefs.h <<\_ACEOF
44097 #define wxUSE_FSWATCHER 1
44100 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
44102 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
44103 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
44108 if test "$wxUSE_STL" = "yes"; then
44109 cat >>confdefs.h <<\_ACEOF
44110 #define wxUSE_STL 1
44115 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44116 cat >>confdefs.h <<\_ACEOF
44117 #define wxUSE_EXTENDED_RTTI 1
44122 if test "$wxUSE_ANY" = "yes"; then
44123 cat >>confdefs.h <<\_ACEOF
44124 #define wxUSE_ANY 1
44129 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44130 cat >>confdefs.h <<\_ACEOF
44131 #define wxUSE_APPLE_IEEE 1
44136 if test "$wxUSE_TIMER" = "yes"; then
44137 cat >>confdefs.h <<\_ACEOF
44138 #define wxUSE_TIMER 1
44143 if test "$USE_UNIX" = 1 ; then
44144 if test "$wxUSE_MGL" != 1; then
44145 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44146 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44147 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44148 echo $ECHO_N "(cached) $ECHO_C" >&6
44151 cat >conftest.$ac_ext <<_ACEOF
44154 cat confdefs.h >>conftest.$ac_ext
44155 cat >>conftest.$ac_ext <<_ACEOF
44156 /* end confdefs.h. */
44158 #include <sys/ioctl.h>
44159 #include <sys/soundcard.h>
44165 ioctl(0, SNDCTL_DSP_SPEED, 0);
44171 rm -f conftest.$ac_objext conftest$ac_exeext
44172 if { (ac_try="$ac_link"
44173 case "(($ac_try" in
44174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44175 *) ac_try_echo=$ac_try;;
44177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44178 (eval "$ac_link") 2>conftest.er1
44180 grep -v '^ *+' conftest.er1 >conftest.err
44182 cat conftest.err >&5
44183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44184 (exit $ac_status); } && {
44185 test -z "$ac_c_werror_flag" ||
44186 test ! -s conftest.err
44187 } && test -s conftest$ac_exeext &&
44188 $as_test_x conftest$ac_exeext; then
44189 ac_cv_header_sys_soundcard=yes
44191 echo "$as_me: failed program was:" >&5
44192 sed 's/^/| /' conftest.$ac_ext >&5
44196 LIBS="$saveLibs -lossaudio"
44197 cat >conftest.$ac_ext <<_ACEOF
44200 cat confdefs.h >>conftest.$ac_ext
44201 cat >>conftest.$ac_ext <<_ACEOF
44202 /* end confdefs.h. */
44204 #include <sys/ioctl.h>
44205 #include <sys/soundcard.h>
44211 ioctl(0, SNDCTL_DSP_SPEED, 0);
44217 rm -f conftest.$ac_objext conftest$ac_exeext
44218 if { (ac_try="$ac_link"
44219 case "(($ac_try" in
44220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44221 *) ac_try_echo=$ac_try;;
44223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44224 (eval "$ac_link") 2>conftest.er1
44226 grep -v '^ *+' conftest.er1 >conftest.err
44228 cat conftest.err >&5
44229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44230 (exit $ac_status); } && {
44231 test -z "$ac_c_werror_flag" ||
44232 test ! -s conftest.err
44233 } && test -s conftest$ac_exeext &&
44234 $as_test_x conftest$ac_exeext; then
44235 ac_cv_header_sys_soundcard=yes
44237 echo "$as_me: failed program was:" >&5
44238 sed 's/^/| /' conftest.$ac_ext >&5
44242 ac_cv_header_sys_soundcard=no
44247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44248 conftest$ac_exeext conftest.$ac_ext
44253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44254 conftest$ac_exeext conftest.$ac_ext
44257 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44258 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44261 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44262 cat >>confdefs.h <<\_ACEOF
44263 #define HAVE_SYS_SOUNDCARD_H 1
44270 if test "$wxUSE_SOUND" = "yes"; then
44271 if test "$USE_UNIX" = 1 ; then
44272 if test "$wxUSE_LIBSDL" != "no"; then
44274 # Check whether --with-sdl-prefix was given.
44275 if test "${with_sdl_prefix+set}" = set; then
44276 withval=$with_sdl_prefix; sdl_prefix="$withval"
44282 # Check whether --with-sdl-exec-prefix was given.
44283 if test "${with_sdl_exec_prefix+set}" = set; then
44284 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44289 # Check whether --enable-sdltest was given.
44290 if test "${enable_sdltest+set}" = set; then
44291 enableval=$enable_sdltest;
44297 if test x$sdl_exec_prefix != x ; then
44298 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44299 if test x${SDL_CONFIG+set} != xset ; then
44300 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44303 if test x$sdl_prefix != x ; then
44304 sdl_args="$sdl_args --prefix=$sdl_prefix"
44305 if test x${SDL_CONFIG+set} != xset ; then
44306 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44310 if test "x$prefix" != xNONE; then
44311 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44313 # Extract the first word of "sdl-config", so it can be a program name with args.
44314 set dummy sdl-config; ac_word=$2
44315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44317 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44318 echo $ECHO_N "(cached) $ECHO_C" >&6
44320 case $SDL_CONFIG in
44322 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44326 for as_dir in $PATH
44329 test -z "$as_dir" && as_dir=.
44330 for ac_exec_ext in '' $ac_executable_extensions; do
44331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44332 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44340 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44344 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44345 if test -n "$SDL_CONFIG"; then
44346 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44347 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44349 { echo "$as_me:$LINENO: result: no" >&5
44350 echo "${ECHO_T}no" >&6; }
44354 min_sdl_version=1.2.0
44355 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44356 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44358 if test "$SDL_CONFIG" = "no" ; then
44361 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44362 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44364 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44365 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44366 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44367 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44368 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44369 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44370 if test "x$enable_sdltest" = "xyes" ; then
44371 ac_save_CFLAGS="$CFLAGS"
44372 ac_save_CXXFLAGS="$CXXFLAGS"
44373 ac_save_LIBS="$LIBS"
44374 CFLAGS="$CFLAGS $SDL_CFLAGS"
44375 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44376 LIBS="$LIBS $SDL_LIBS"
44378 if test "$cross_compiling" = yes; then
44379 echo $ac_n "cross compiling; assumed OK... $ac_c"
44381 cat >conftest.$ac_ext <<_ACEOF
44384 cat confdefs.h >>conftest.$ac_ext
44385 cat >>conftest.$ac_ext <<_ACEOF
44386 /* end confdefs.h. */
44389 #include <stdlib.h>
44390 #include <string.h>
44394 my_strdup (char *str)
44400 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44401 strcpy (new_str, str);
44409 int main (int argc, char *argv[])
44411 int major, minor, micro;
44414 /* This hangs on some systems (?)
44415 system ("touch conf.sdltest");
44417 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44419 /* HP/UX 9 (%@#!) writes to sscanf strings */
44420 tmp_version = my_strdup("$min_sdl_version");
44421 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44422 printf("%s, bad version string\n", "$min_sdl_version");
44426 if (($sdl_major_version > major) ||
44427 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44428 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44434 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44435 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44436 printf("*** best to upgrade to the required version.\n");
44437 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44438 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44439 printf("*** config.cache before re-running configure\n");
44446 rm -f conftest$ac_exeext
44447 if { (ac_try="$ac_link"
44448 case "(($ac_try" in
44449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44450 *) ac_try_echo=$ac_try;;
44452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44453 (eval "$ac_link") 2>&5
44455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44456 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44457 { (case "(($ac_try" in
44458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44459 *) ac_try_echo=$ac_try;;
44461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44462 (eval "$ac_try") 2>&5
44464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44465 (exit $ac_status); }; }; then
44468 echo "$as_me: program exited with status $ac_status" >&5
44469 echo "$as_me: failed program was:" >&5
44470 sed 's/^/| /' conftest.$ac_ext >&5
44472 ( exit $ac_status )
44475 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44479 CFLAGS="$ac_save_CFLAGS"
44480 CXXFLAGS="$ac_save_CXXFLAGS"
44481 LIBS="$ac_save_LIBS"
44484 if test "x$no_sdl" = x ; then
44485 { echo "$as_me:$LINENO: result: yes" >&5
44486 echo "${ECHO_T}yes" >&6; }
44488 EXTRALIBS_SDL="$SDL_LIBS"
44489 CFLAGS="$SDL_CFLAGS $CFLAGS"
44490 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44491 cat >>confdefs.h <<\_ACEOF
44492 #define wxUSE_LIBSDL 1
44497 { echo "$as_me:$LINENO: result: no" >&5
44498 echo "${ECHO_T}no" >&6; }
44499 if test "$SDL_CONFIG" = "no" ; then
44500 echo "*** The sdl-config script installed by SDL could not be found"
44501 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44502 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44503 echo "*** full path to sdl-config."
44505 if test -f conf.sdltest ; then
44508 echo "*** Could not run SDL test program, checking why..."
44509 CFLAGS="$CFLAGS $SDL_CFLAGS"
44510 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44511 LIBS="$LIBS $SDL_LIBS"
44512 cat >conftest.$ac_ext <<_ACEOF
44515 cat confdefs.h >>conftest.$ac_ext
44516 cat >>conftest.$ac_ext <<_ACEOF
44517 /* end confdefs.h. */
44522 int main(int argc, char *argv[])
44525 #define main K_and_R_C_main
44535 rm -f conftest.$ac_objext conftest$ac_exeext
44536 if { (ac_try="$ac_link"
44537 case "(($ac_try" in
44538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44539 *) ac_try_echo=$ac_try;;
44541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44542 (eval "$ac_link") 2>conftest.er1
44544 grep -v '^ *+' conftest.er1 >conftest.err
44546 cat conftest.err >&5
44547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44548 (exit $ac_status); } && {
44549 test -z "$ac_c_werror_flag" ||
44550 test ! -s conftest.err
44551 } && test -s conftest$ac_exeext &&
44552 $as_test_x conftest$ac_exeext; then
44553 echo "*** The test program compiled, but did not run. This usually means"
44554 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44555 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44556 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44557 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44558 echo "*** is required on your system"
44560 echo "*** If you have an old version installed, it is best to remove it, although"
44561 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44563 echo "$as_me: failed program was:" >&5
44564 sed 's/^/| /' conftest.$ac_ext >&5
44566 echo "*** The test program failed to compile or link. See the file config.log for the"
44567 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44568 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44569 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44573 conftest$ac_exeext conftest.$ac_ext
44574 CFLAGS="$ac_save_CFLAGS"
44575 CXXFLAGS="$ac_save_CXXFLAGS"
44576 LIBS="$ac_save_LIBS"
44587 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44592 if test "$wxUSE_MGL" = 1; then
44593 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44594 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44600 if test "$wxUSE_SOUND" = "yes"; then
44601 cat >>confdefs.h <<\_ACEOF
44602 #define wxUSE_SOUND 1
44605 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44608 if test "$WXGTK2" = 1; then
44611 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44612 if test -n "$ac_tool_prefix"; then
44613 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44614 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44615 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44617 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44618 echo $ECHO_N "(cached) $ECHO_C" >&6
44620 case $PKG_CONFIG in
44622 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44626 for as_dir in $PATH
44629 test -z "$as_dir" && as_dir=.
44630 for ac_exec_ext in '' $ac_executable_extensions; do
44631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44632 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44643 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44644 if test -n "$PKG_CONFIG"; then
44645 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44646 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44648 { echo "$as_me:$LINENO: result: no" >&5
44649 echo "${ECHO_T}no" >&6; }
44654 if test -z "$ac_cv_path_PKG_CONFIG"; then
44655 ac_pt_PKG_CONFIG=$PKG_CONFIG
44656 # Extract the first word of "pkg-config", so it can be a program name with args.
44657 set dummy pkg-config; ac_word=$2
44658 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44660 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44661 echo $ECHO_N "(cached) $ECHO_C" >&6
44663 case $ac_pt_PKG_CONFIG in
44665 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44669 for as_dir in $PATH
44672 test -z "$as_dir" && as_dir=.
44673 for ac_exec_ext in '' $ac_executable_extensions; do
44674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44675 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44686 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44687 if test -n "$ac_pt_PKG_CONFIG"; then
44688 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44689 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44691 { echo "$as_me:$LINENO: result: no" >&5
44692 echo "${ECHO_T}no" >&6; }
44695 if test "x$ac_pt_PKG_CONFIG" = x; then
44698 case $cross_compiling:$ac_tool_warned in
44700 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44701 whose name does not start with the host triplet. If you think this
44702 configuration is useful to you, please write to autoconf@gnu.org." >&5
44703 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44704 whose name does not start with the host triplet. If you think this
44705 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44706 ac_tool_warned=yes ;;
44708 PKG_CONFIG=$ac_pt_PKG_CONFIG
44711 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44715 if test -n "$PKG_CONFIG"; then
44716 _pkg_min_version=0.9.0
44717 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44718 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44719 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44720 { echo "$as_me:$LINENO: result: yes" >&5
44721 echo "${ECHO_T}yes" >&6; }
44723 { echo "$as_me:$LINENO: result: no" >&5
44724 echo "${ECHO_T}no" >&6; }
44730 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44732 if test "$wxUSE_GTKPRINT" = "yes" ; then
44736 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44737 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44739 if test -n "$PKG_CONFIG"; then
44740 if test -n "$GTKPRINT_CFLAGS"; then
44741 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44743 if test -n "$PKG_CONFIG" && \
44744 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44745 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44748 (exit $ac_status); }; then
44749 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44757 if test -n "$PKG_CONFIG"; then
44758 if test -n "$GTKPRINT_LIBS"; then
44759 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44761 if test -n "$PKG_CONFIG" && \
44762 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44763 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44766 (exit $ac_status); }; then
44767 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44778 if test $pkg_failed = yes; then
44780 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44781 _pkg_short_errors_supported=yes
44783 _pkg_short_errors_supported=no
44785 if test $_pkg_short_errors_supported = yes; then
44786 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44788 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44790 # Put the nasty error message in config.log where it belongs
44791 echo "$GTKPRINT_PKG_ERRORS" >&5
44794 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44795 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44796 wxUSE_GTKPRINT="no"
44799 elif test $pkg_failed = untried; then
44801 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44802 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44803 wxUSE_GTKPRINT="no"
44807 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44808 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44809 { echo "$as_me:$LINENO: result: yes" >&5
44810 echo "${ECHO_T}yes" >&6; }
44812 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44813 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44814 cat >>confdefs.h <<\_ACEOF
44815 #define wxUSE_GTKPRINT 1
44822 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44826 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44827 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44829 if test -n "$PKG_CONFIG"; then
44830 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44831 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44833 if test -n "$PKG_CONFIG" && \
44834 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44835 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44838 (exit $ac_status); }; then
44839 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44847 if test -n "$PKG_CONFIG"; then
44848 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44849 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44851 if test -n "$PKG_CONFIG" && \
44852 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44853 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44856 (exit $ac_status); }; then
44857 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44868 if test $pkg_failed = yes; then
44870 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44871 _pkg_short_errors_supported=yes
44873 _pkg_short_errors_supported=no
44875 if test $_pkg_short_errors_supported = yes; then
44876 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44878 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44880 # Put the nasty error message in config.log where it belongs
44881 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44884 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44885 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44886 wxUSE_LIBGNOMEPRINT="no"
44889 elif test $pkg_failed = untried; then
44891 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44892 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44893 wxUSE_LIBGNOMEPRINT="no"
44897 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44898 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44899 { echo "$as_me:$LINENO: result: yes" >&5
44900 echo "${ECHO_T}yes" >&6; }
44902 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44903 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44904 cat >>confdefs.h <<\_ACEOF
44905 #define wxUSE_LIBGNOMEPRINT 1
44913 if test "$wxUSE_MIMETYPE" = "yes" ; then
44914 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44918 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44919 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44921 if test -n "$PKG_CONFIG"; then
44922 if test -n "$GNOMEVFS_CFLAGS"; then
44923 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44925 if test -n "$PKG_CONFIG" && \
44926 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44927 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44930 (exit $ac_status); }; then
44931 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44939 if test -n "$PKG_CONFIG"; then
44940 if test -n "$GNOMEVFS_LIBS"; then
44941 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44943 if test -n "$PKG_CONFIG" && \
44944 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44945 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44948 (exit $ac_status); }; then
44949 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44960 if test $pkg_failed = yes; then
44962 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44963 _pkg_short_errors_supported=yes
44965 _pkg_short_errors_supported=no
44967 if test $_pkg_short_errors_supported = yes; then
44968 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44970 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44972 # Put the nasty error message in config.log where it belongs
44973 echo "$GNOMEVFS_PKG_ERRORS" >&5
44976 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44977 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44978 wxUSE_LIBGNOMEVFS="no"
44981 elif test $pkg_failed = untried; then
44983 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44984 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44985 wxUSE_LIBGNOMEVFS="no"
44989 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44990 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44991 { echo "$as_me:$LINENO: result: yes" >&5
44992 echo "${ECHO_T}yes" >&6; }
44994 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44995 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44996 cat >>confdefs.h <<\_ACEOF
44997 #define wxUSE_LIBGNOMEVFS 1
45005 if test "$wxUSE_LIBHILDON" = "yes" ; then
45008 { echo "$as_me:$LINENO: checking for HILDON" >&5
45009 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45011 if test -n "$PKG_CONFIG"; then
45012 if test -n "$HILDON_CFLAGS"; then
45013 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45015 if test -n "$PKG_CONFIG" && \
45016 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45017 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45020 (exit $ac_status); }; then
45021 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45029 if test -n "$PKG_CONFIG"; then
45030 if test -n "$HILDON_LIBS"; then
45031 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45033 if test -n "$PKG_CONFIG" && \
45034 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45035 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45038 (exit $ac_status); }; then
45039 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45050 if test $pkg_failed = yes; then
45052 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45053 _pkg_short_errors_supported=yes
45055 _pkg_short_errors_supported=no
45057 if test $_pkg_short_errors_supported = yes; then
45058 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45060 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45062 # Put the nasty error message in config.log where it belongs
45063 echo "$HILDON_PKG_ERRORS" >&5
45066 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45067 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45068 wxUSE_LIBHILDON="no"
45072 elif test $pkg_failed = untried; then
45074 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45075 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45076 wxUSE_LIBHILDON="no"
45081 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45082 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45083 { echo "$as_me:$LINENO: result: yes" >&5
45084 echo "${ECHO_T}yes" >&6; }
45086 EXTRALIBS_HILDON="$HILDON_LIBS"
45087 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45088 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45089 cat >>confdefs.h <<\_ACEOF
45090 #define wxUSE_LIBHILDON 1
45097 if test "$ac_hildon_lgpl" = 0 ; then
45100 { echo "$as_me:$LINENO: checking for HILDON2" >&5
45101 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
45103 if test -n "$PKG_CONFIG"; then
45104 if test -n "$HILDON2_CFLAGS"; then
45105 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
45107 if test -n "$PKG_CONFIG" && \
45108 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
45109 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
45111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45112 (exit $ac_status); }; then
45113 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
45121 if test -n "$PKG_CONFIG"; then
45122 if test -n "$HILDON2_LIBS"; then
45123 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
45125 if test -n "$PKG_CONFIG" && \
45126 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
45127 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
45129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45130 (exit $ac_status); }; then
45131 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
45142 if test $pkg_failed = yes; then
45144 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45145 _pkg_short_errors_supported=yes
45147 _pkg_short_errors_supported=no
45149 if test $_pkg_short_errors_supported = yes; then
45150 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
45152 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
45154 # Put the nasty error message in config.log where it belongs
45155 echo "$HILDON2_PKG_ERRORS" >&5
45158 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
45159 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
45160 wxUSE_LIBHILDON2="no"
45163 elif test $pkg_failed = untried; then
45165 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
45166 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
45167 wxUSE_LIBHILDON2="no"
45171 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
45172 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
45173 { echo "$as_me:$LINENO: result: yes" >&5
45174 echo "${ECHO_T}yes" >&6; }
45176 EXTRALIBS_HILDON="$HILDON2_LIBS"
45177 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
45178 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
45179 cat >>confdefs.h <<\_ACEOF
45180 #define wxUSE_LIBHILDON2 1
45189 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45190 cat >>confdefs.h <<\_ACEOF
45191 #define wxUSE_CMDLINE_PARSER 1
45196 if test "$wxUSE_STOPWATCH" = "yes"; then
45197 cat >>confdefs.h <<\_ACEOF
45198 #define wxUSE_STOPWATCH 1
45203 if test "$wxUSE_DATETIME" = "yes"; then
45204 cat >>confdefs.h <<\_ACEOF
45205 #define wxUSE_DATETIME 1
45210 if test "$wxUSE_FILE" = "yes"; then
45211 cat >>confdefs.h <<\_ACEOF
45212 #define wxUSE_FILE 1
45217 if test "$wxUSE_FFILE" = "yes"; then
45218 cat >>confdefs.h <<\_ACEOF
45219 #define wxUSE_FFILE 1
45224 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45225 if test "$wxUSE_STREAMS" != yes; then
45226 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45227 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45228 wxUSE_ARCHIVE_STREAMS=no
45230 cat >>confdefs.h <<\_ACEOF
45231 #define wxUSE_ARCHIVE_STREAMS 1
45237 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45238 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45239 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45240 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45241 elif test "$wxUSE_ZLIB" = "no"; then
45242 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45243 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45245 cat >>confdefs.h <<\_ACEOF
45246 #define wxUSE_ZIPSTREAM 1
45252 if test "$wxUSE_TARSTREAM" = "yes"; then
45253 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45254 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45255 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45257 cat >>confdefs.h <<\_ACEOF
45258 #define wxUSE_TARSTREAM 1
45264 if test "$wxUSE_FILE_HISTORY" = "yes"; then
45265 cat >>confdefs.h <<\_ACEOF
45266 #define wxUSE_FILE_HISTORY 1
45271 if test "$wxUSE_FILESYSTEM" = "yes"; then
45272 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45273 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45274 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45275 wxUSE_FILESYSTEM=no
45277 cat >>confdefs.h <<\_ACEOF
45278 #define wxUSE_FILESYSTEM 1
45284 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45285 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45286 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45287 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45289 cat >>confdefs.h <<\_ACEOF
45290 #define wxUSE_FS_ARCHIVE 1
45296 if test "$wxUSE_FS_ZIP" = "yes"; then
45297 if test "$wxUSE_FS_ARCHIVE" != yes; then
45298 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45299 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45301 cat >>confdefs.h <<\_ACEOF
45302 #define wxUSE_FS_ZIP 1
45308 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45309 if test "$USE_UNIX" != 1; then
45310 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45311 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45312 wxUSE_ON_FATAL_EXCEPTION=no
45314 cat >>confdefs.h <<\_ACEOF
45315 #define wxUSE_ON_FATAL_EXCEPTION 1
45321 if test "$wxUSE_STACKWALKER" = "yes"; then
45322 cat >>confdefs.h <<\_ACEOF
45323 #define wxUSE_STACKWALKER 1
45328 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45329 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
45330 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45331 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45332 wxUSE_DEBUGREPORT=no
45334 cat >>confdefs.h <<\_ACEOF
45335 #define wxUSE_DEBUGREPORT 1
45338 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45339 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45344 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45345 cat >>confdefs.h <<\_ACEOF
45346 #define wxUSE_SNGLINST_CHECKER 1
45351 if test "$wxUSE_BUSYINFO" = "yes"; then
45352 cat >>confdefs.h <<\_ACEOF
45353 #define wxUSE_BUSYINFO 1
45358 if test "$wxUSE_HOTKEY" = "yes"; then
45359 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
45360 { echo "$as_me:$LINENO: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
45361 echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
45364 elif test "$wxUSE_HOTKEY" = "auto"; then
45365 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
45369 if test "$wxUSE_HOTKEY" = "yes"; then
45370 cat >>confdefs.h <<\_ACEOF
45371 #define wxUSE_HOTKEY 1
45376 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
45377 cat >>confdefs.h <<\_ACEOF
45378 #define wxUSE_STD_CONTAINERS 1
45383 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45384 cat >>confdefs.h <<\_ACEOF
45385 #define wxUSE_STD_IOSTREAM 1
45390 if test "$wxUSE_STD_STRING" = "yes"; then
45391 cat >>confdefs.h <<\_ACEOF
45392 #define wxUSE_STD_STRING 1
45397 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
45398 cat >>confdefs.h <<\_ACEOF
45399 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
45404 if test "$wxUSE_STDPATHS" = "yes"; then
45405 cat >>confdefs.h <<\_ACEOF
45406 #define wxUSE_STDPATHS 1
45411 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45412 cat >>confdefs.h <<\_ACEOF
45413 #define wxUSE_TEXTBUFFER 1
45418 if test "$wxUSE_TEXTFILE" = "yes"; then
45419 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45420 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45421 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45423 cat >>confdefs.h <<\_ACEOF
45424 #define wxUSE_TEXTFILE 1
45430 if test "$wxUSE_CONFIG" = "yes" ; then
45431 if test "$wxUSE_TEXTFILE" != "yes"; then
45432 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45433 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45435 cat >>confdefs.h <<\_ACEOF
45436 #define wxUSE_CONFIG 1
45439 cat >>confdefs.h <<\_ACEOF
45440 #define wxUSE_CONFIG_NATIVE 1
45443 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45447 if test "$wxUSE_INTL" = "yes" ; then
45448 if test "$wxUSE_FILE" != "yes"; then
45449 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45450 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45452 cat >>confdefs.h <<\_ACEOF
45453 #define wxUSE_INTL 1
45456 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45457 GUIDIST="$GUIDIST INTL_DIST"
45461 if test "$wxUSE_XLOCALE" = "yes" ; then
45462 cat >>confdefs.h <<\_ACEOF
45463 #define wxUSE_XLOCALE 1
45466 { echo "$as_me:$LINENO: checking for locale_t" >&5
45467 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
45468 if test "${ac_cv_type_locale_t+set}" = set; then
45469 echo $ECHO_N "(cached) $ECHO_C" >&6
45471 cat >conftest.$ac_ext <<_ACEOF
45474 cat confdefs.h >>conftest.$ac_ext
45475 cat >>conftest.$ac_ext <<_ACEOF
45476 /* end confdefs.h. */
45477 #include <xlocale.h>
45478 #include <locale.h>
45480 typedef locale_t ac__type_new_;
45484 if ((ac__type_new_ *) 0)
45486 if (sizeof (ac__type_new_))
45492 rm -f conftest.$ac_objext
45493 if { (ac_try="$ac_compile"
45494 case "(($ac_try" in
45495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45496 *) ac_try_echo=$ac_try;;
45498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45499 (eval "$ac_compile") 2>conftest.er1
45501 grep -v '^ *+' conftest.er1 >conftest.err
45503 cat conftest.err >&5
45504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45505 (exit $ac_status); } && {
45506 test -z "$ac_c_werror_flag" ||
45507 test ! -s conftest.err
45508 } && test -s conftest.$ac_objext; then
45509 ac_cv_type_locale_t=yes
45511 echo "$as_me: failed program was:" >&5
45512 sed 's/^/| /' conftest.$ac_ext >&5
45514 ac_cv_type_locale_t=no
45517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45519 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
45520 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
45521 if test $ac_cv_type_locale_t = yes; then
45523 cat >>confdefs.h <<_ACEOF
45524 #define HAVE_LOCALE_T 1
45532 if test "$wxUSE_LOG" = "yes"; then
45533 cat >>confdefs.h <<\_ACEOF
45534 #define wxUSE_LOG 1
45538 if test "$wxUSE_LOGGUI" = "yes"; then
45539 cat >>confdefs.h <<\_ACEOF
45540 #define wxUSE_LOGGUI 1
45545 if test "$wxUSE_LOGWINDOW" = "yes"; then
45546 cat >>confdefs.h <<\_ACEOF
45547 #define wxUSE_LOGWINDOW 1
45552 if test "$wxUSE_LOGDIALOG" = "yes"; then
45553 cat >>confdefs.h <<\_ACEOF
45554 #define wxUSE_LOG_DIALOG 1
45559 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45562 if test "$wxUSE_LONGLONG" = "yes"; then
45563 cat >>confdefs.h <<\_ACEOF
45564 #define wxUSE_LONGLONG 1
45569 if test "$wxUSE_GEOMETRY" = "yes"; then
45570 cat >>confdefs.h <<\_ACEOF
45571 #define wxUSE_GEOMETRY 1
45576 if test "$wxUSE_BASE64" = "yes"; then
45577 cat >>confdefs.h <<\_ACEOF
45578 #define wxUSE_BASE64 1
45583 if test "$wxUSE_STREAMS" = "yes" ; then
45584 cat >>confdefs.h <<\_ACEOF
45585 #define wxUSE_STREAMS 1
45590 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45591 cat >>confdefs.h <<\_ACEOF
45592 #define wxUSE_PRINTF_POS_PARAMS 1
45597 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45598 cat >>confdefs.h <<\_ACEOF
45599 #define wxUSE_OBJC_UNIQUIFYING 1
45605 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45606 cat >>confdefs.h <<\_ACEOF
45607 #define wxUSE_CONSOLE_EVENTLOOP 1
45611 if test "$wxUSE_UNIX" = "yes"; then
45612 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45613 cat >>confdefs.h <<\_ACEOF
45614 #define wxUSE_SELECT_DISPATCHER 1
45619 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45621 for ac_header in sys/epoll.h
45623 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45624 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45626 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45627 echo $ECHO_N "(cached) $ECHO_C" >&6
45629 cat >conftest.$ac_ext <<_ACEOF
45632 cat confdefs.h >>conftest.$ac_ext
45633 cat >>conftest.$ac_ext <<_ACEOF
45634 /* end confdefs.h. */
45635 $ac_includes_default
45637 #include <$ac_header>
45639 rm -f conftest.$ac_objext
45640 if { (ac_try="$ac_compile"
45641 case "(($ac_try" in
45642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45643 *) ac_try_echo=$ac_try;;
45645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45646 (eval "$ac_compile") 2>conftest.er1
45648 grep -v '^ *+' conftest.er1 >conftest.err
45650 cat conftest.err >&5
45651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45652 (exit $ac_status); } && {
45653 test -z "$ac_c_werror_flag" ||
45654 test ! -s conftest.err
45655 } && test -s conftest.$ac_objext; then
45656 eval "$as_ac_Header=yes"
45658 echo "$as_me: failed program was:" >&5
45659 sed 's/^/| /' conftest.$ac_ext >&5
45661 eval "$as_ac_Header=no"
45664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45666 ac_res=`eval echo '${'$as_ac_Header'}'`
45667 { echo "$as_me:$LINENO: result: $ac_res" >&5
45668 echo "${ECHO_T}$ac_res" >&6; }
45669 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45670 cat >>confdefs.h <<_ACEOF
45671 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45678 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45679 cat >>confdefs.h <<\_ACEOF
45680 #define wxUSE_EPOLL_DISPATCHER 1
45684 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45685 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45694 for ac_func in gettimeofday ftime
45696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45697 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45699 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45700 echo $ECHO_N "(cached) $ECHO_C" >&6
45702 cat >conftest.$ac_ext <<_ACEOF
45705 cat confdefs.h >>conftest.$ac_ext
45706 cat >>conftest.$ac_ext <<_ACEOF
45707 /* end confdefs.h. */
45708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45710 #define $ac_func innocuous_$ac_func
45712 /* System header to define __stub macros and hopefully few prototypes,
45713 which can conflict with char $ac_func (); below.
45714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45715 <limits.h> exists even on freestanding compilers. */
45718 # include <limits.h>
45720 # include <assert.h>
45725 /* Override any GCC internal prototype to avoid an error.
45726 Use char because int might match the return type of a GCC
45727 builtin and then its argument prototype would still apply. */
45732 /* The GNU C library defines this for functions which it implements
45733 to always fail with ENOSYS. Some functions are actually named
45734 something starting with __ and the normal name is an alias. */
45735 #if defined __stub_$ac_func || defined __stub___$ac_func
45742 return $ac_func ();
45747 rm -f conftest.$ac_objext conftest$ac_exeext
45748 if { (ac_try="$ac_link"
45749 case "(($ac_try" in
45750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45751 *) ac_try_echo=$ac_try;;
45753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45754 (eval "$ac_link") 2>conftest.er1
45756 grep -v '^ *+' conftest.er1 >conftest.err
45758 cat conftest.err >&5
45759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45760 (exit $ac_status); } && {
45761 test -z "$ac_c_werror_flag" ||
45762 test ! -s conftest.err
45763 } && test -s conftest$ac_exeext &&
45764 $as_test_x conftest$ac_exeext; then
45765 eval "$as_ac_var=yes"
45767 echo "$as_me: failed program was:" >&5
45768 sed 's/^/| /' conftest.$ac_ext >&5
45770 eval "$as_ac_var=no"
45773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45774 conftest$ac_exeext conftest.$ac_ext
45776 ac_res=`eval echo '${'$as_ac_var'}'`
45777 { echo "$as_me:$LINENO: result: $ac_res" >&5
45778 echo "${ECHO_T}$ac_res" >&6; }
45779 if test `eval echo '${'$as_ac_var'}'` = yes; then
45780 cat >>confdefs.h <<_ACEOF
45781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45788 if test "$ac_cv_func_gettimeofday" = "yes"; then
45789 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45790 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45791 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45792 echo $ECHO_N "(cached) $ECHO_C" >&6
45795 cat >conftest.$ac_ext <<_ACEOF
45798 cat confdefs.h >>conftest.$ac_ext
45799 cat >>conftest.$ac_ext <<_ACEOF
45800 /* end confdefs.h. */
45802 #include <sys/time.h>
45803 #include <unistd.h>
45810 gettimeofday(&tv, NULL);
45816 rm -f conftest.$ac_objext
45817 if { (ac_try="$ac_compile"
45818 case "(($ac_try" in
45819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45820 *) ac_try_echo=$ac_try;;
45822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45823 (eval "$ac_compile") 2>conftest.er1
45825 grep -v '^ *+' conftest.er1 >conftest.err
45827 cat conftest.err >&5
45828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45829 (exit $ac_status); } && {
45830 test -z "$ac_c_werror_flag" ||
45831 test ! -s conftest.err
45832 } && test -s conftest.$ac_objext; then
45833 wx_cv_func_gettimeofday_has_2_args=yes
45835 echo "$as_me: failed program was:" >&5
45836 sed 's/^/| /' conftest.$ac_ext >&5
45838 cat >conftest.$ac_ext <<_ACEOF
45841 cat confdefs.h >>conftest.$ac_ext
45842 cat >>conftest.$ac_ext <<_ACEOF
45843 /* end confdefs.h. */
45845 #include <sys/time.h>
45846 #include <unistd.h>
45859 rm -f conftest.$ac_objext
45860 if { (ac_try="$ac_compile"
45861 case "(($ac_try" in
45862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45863 *) ac_try_echo=$ac_try;;
45865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45866 (eval "$ac_compile") 2>conftest.er1
45868 grep -v '^ *+' conftest.er1 >conftest.err
45870 cat conftest.err >&5
45871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45872 (exit $ac_status); } && {
45873 test -z "$ac_c_werror_flag" ||
45874 test ! -s conftest.err
45875 } && test -s conftest.$ac_objext; then
45876 wx_cv_func_gettimeofday_has_2_args=no
45878 echo "$as_me: failed program was:" >&5
45879 sed 's/^/| /' conftest.$ac_ext >&5
45882 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45883 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45884 wx_cv_func_gettimeofday_has_2_args=unknown
45889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45896 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45897 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45899 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45900 cat >>confdefs.h <<\_ACEOF
45901 #define WX_GETTIMEOFDAY_NO_TZ 1
45907 if test "$wxUSE_DATETIME" = "yes"; then
45908 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45909 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45910 if test "${wx_cv_var_timezone+set}" = set; then
45911 echo $ECHO_N "(cached) $ECHO_C" >&6
45915 ac_cpp='$CXXCPP $CPPFLAGS'
45916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45920 cat >conftest.$ac_ext <<_ACEOF
45923 cat confdefs.h >>conftest.$ac_ext
45924 cat >>conftest.$ac_ext <<_ACEOF
45925 /* end confdefs.h. */
45940 rm -f conftest.$ac_objext
45941 if { (ac_try="$ac_compile"
45942 case "(($ac_try" in
45943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45944 *) ac_try_echo=$ac_try;;
45946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45947 (eval "$ac_compile") 2>conftest.er1
45949 grep -v '^ *+' conftest.er1 >conftest.err
45951 cat conftest.err >&5
45952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45953 (exit $ac_status); } && {
45954 test -z "$ac_cxx_werror_flag" ||
45955 test ! -s conftest.err
45956 } && test -s conftest.$ac_objext; then
45958 wx_cv_var_timezone=timezone
45961 echo "$as_me: failed program was:" >&5
45962 sed 's/^/| /' conftest.$ac_ext >&5
45965 cat >conftest.$ac_ext <<_ACEOF
45968 cat confdefs.h >>conftest.$ac_ext
45969 cat >>conftest.$ac_ext <<_ACEOF
45970 /* end confdefs.h. */
45985 rm -f conftest.$ac_objext
45986 if { (ac_try="$ac_compile"
45987 case "(($ac_try" in
45988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45989 *) ac_try_echo=$ac_try;;
45991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45992 (eval "$ac_compile") 2>conftest.er1
45994 grep -v '^ *+' conftest.er1 >conftest.err
45996 cat conftest.err >&5
45997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45998 (exit $ac_status); } && {
45999 test -z "$ac_cxx_werror_flag" ||
46000 test ! -s conftest.err
46001 } && test -s conftest.$ac_objext; then
46003 wx_cv_var_timezone=_timezone
46006 echo "$as_me: failed program was:" >&5
46007 sed 's/^/| /' conftest.$ac_ext >&5
46010 cat >conftest.$ac_ext <<_ACEOF
46013 cat confdefs.h >>conftest.$ac_ext
46014 cat >>conftest.$ac_ext <<_ACEOF
46015 /* end confdefs.h. */
46030 rm -f conftest.$ac_objext
46031 if { (ac_try="$ac_compile"
46032 case "(($ac_try" in
46033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46034 *) ac_try_echo=$ac_try;;
46036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46037 (eval "$ac_compile") 2>conftest.er1
46039 grep -v '^ *+' conftest.er1 >conftest.err
46041 cat conftest.err >&5
46042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46043 (exit $ac_status); } && {
46044 test -z "$ac_cxx_werror_flag" ||
46045 test ! -s conftest.err
46046 } && test -s conftest.$ac_objext; then
46048 wx_cv_var_timezone=__timezone
46051 echo "$as_me: failed program was:" >&5
46052 sed 's/^/| /' conftest.$ac_ext >&5
46055 if test "$USE_DOS" = 0 ; then
46056 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46057 echo "$as_me: WARNING: no timezone variable" >&2;}
46063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46075 ac_cpp='$CPP $CPPFLAGS'
46076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46083 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46084 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46086 if test "x$wx_cv_var_timezone" != x ; then
46087 cat >>confdefs.h <<_ACEOF
46088 #define WX_TIMEZONE $wx_cv_var_timezone
46094 for ac_func in localtime
46096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46097 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46099 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46100 echo $ECHO_N "(cached) $ECHO_C" >&6
46102 cat >conftest.$ac_ext <<_ACEOF
46105 cat confdefs.h >>conftest.$ac_ext
46106 cat >>conftest.$ac_ext <<_ACEOF
46107 /* end confdefs.h. */
46108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46110 #define $ac_func innocuous_$ac_func
46112 /* System header to define __stub macros and hopefully few prototypes,
46113 which can conflict with char $ac_func (); below.
46114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46115 <limits.h> exists even on freestanding compilers. */
46118 # include <limits.h>
46120 # include <assert.h>
46125 /* Override any GCC internal prototype to avoid an error.
46126 Use char because int might match the return type of a GCC
46127 builtin and then its argument prototype would still apply. */
46132 /* The GNU C library defines this for functions which it implements
46133 to always fail with ENOSYS. Some functions are actually named
46134 something starting with __ and the normal name is an alias. */
46135 #if defined __stub_$ac_func || defined __stub___$ac_func
46142 return $ac_func ();
46147 rm -f conftest.$ac_objext conftest$ac_exeext
46148 if { (ac_try="$ac_link"
46149 case "(($ac_try" in
46150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46151 *) ac_try_echo=$ac_try;;
46153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46154 (eval "$ac_link") 2>conftest.er1
46156 grep -v '^ *+' conftest.er1 >conftest.err
46158 cat conftest.err >&5
46159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46160 (exit $ac_status); } && {
46161 test -z "$ac_c_werror_flag" ||
46162 test ! -s conftest.err
46163 } && test -s conftest$ac_exeext &&
46164 $as_test_x conftest$ac_exeext; then
46165 eval "$as_ac_var=yes"
46167 echo "$as_me: failed program was:" >&5
46168 sed 's/^/| /' conftest.$ac_ext >&5
46170 eval "$as_ac_var=no"
46173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46174 conftest$ac_exeext conftest.$ac_ext
46176 ac_res=`eval echo '${'$as_ac_var'}'`
46177 { echo "$as_me:$LINENO: result: $ac_res" >&5
46178 echo "${ECHO_T}$ac_res" >&6; }
46179 if test `eval echo '${'$as_ac_var'}'` = yes; then
46180 cat >>confdefs.h <<_ACEOF
46181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46188 if test "$ac_cv_func_localtime" = "yes"; then
46189 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46190 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46191 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46192 echo $ECHO_N "(cached) $ECHO_C" >&6
46195 cat >conftest.$ac_ext <<_ACEOF
46198 cat confdefs.h >>conftest.$ac_ext
46199 cat >>conftest.$ac_ext <<_ACEOF
46200 /* end confdefs.h. */
46215 rm -f conftest.$ac_objext
46216 if { (ac_try="$ac_compile"
46217 case "(($ac_try" in
46218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46219 *) ac_try_echo=$ac_try;;
46221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46222 (eval "$ac_compile") 2>conftest.er1
46224 grep -v '^ *+' conftest.er1 >conftest.err
46226 cat conftest.err >&5
46227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46228 (exit $ac_status); } && {
46229 test -z "$ac_c_werror_flag" ||
46230 test ! -s conftest.err
46231 } && test -s conftest.$ac_objext; then
46233 wx_cv_struct_tm_has_gmtoff=yes
46236 echo "$as_me: failed program was:" >&5
46237 sed 's/^/| /' conftest.$ac_ext >&5
46239 wx_cv_struct_tm_has_gmtoff=no
46243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46246 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46247 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46250 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46251 cat >>confdefs.h <<\_ACEOF
46252 #define WX_GMTOFF_IN_TM 1
46257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46261 if test "$wxUSE_SOCKETS" = "yes"; then
46262 if test "$wxUSE_MGL" = 1; then
46263 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46264 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46269 if test "$wxUSE_SOCKETS" = "yes"; then
46270 if test "$TOOLKIT" != "MSW"; then
46271 { echo "$as_me:$LINENO: checking for socket" >&5
46272 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46273 if test "${ac_cv_func_socket+set}" = set; then
46274 echo $ECHO_N "(cached) $ECHO_C" >&6
46276 cat >conftest.$ac_ext <<_ACEOF
46279 cat confdefs.h >>conftest.$ac_ext
46280 cat >>conftest.$ac_ext <<_ACEOF
46281 /* end confdefs.h. */
46282 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46284 #define socket innocuous_socket
46286 /* System header to define __stub macros and hopefully few prototypes,
46287 which can conflict with char socket (); below.
46288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46289 <limits.h> exists even on freestanding compilers. */
46292 # include <limits.h>
46294 # include <assert.h>
46299 /* Override any GCC internal prototype to avoid an error.
46300 Use char because int might match the return type of a GCC
46301 builtin and then its argument prototype would still apply. */
46306 /* The GNU C library defines this for functions which it implements
46307 to always fail with ENOSYS. Some functions are actually named
46308 something starting with __ and the normal name is an alias. */
46309 #if defined __stub_socket || defined __stub___socket
46321 rm -f conftest.$ac_objext conftest$ac_exeext
46322 if { (ac_try="$ac_link"
46323 case "(($ac_try" in
46324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46325 *) ac_try_echo=$ac_try;;
46327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46328 (eval "$ac_link") 2>conftest.er1
46330 grep -v '^ *+' conftest.er1 >conftest.err
46332 cat conftest.err >&5
46333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46334 (exit $ac_status); } && {
46335 test -z "$ac_c_werror_flag" ||
46336 test ! -s conftest.err
46337 } && test -s conftest$ac_exeext &&
46338 $as_test_x conftest$ac_exeext; then
46339 ac_cv_func_socket=yes
46341 echo "$as_me: failed program was:" >&5
46342 sed 's/^/| /' conftest.$ac_ext >&5
46344 ac_cv_func_socket=no
46347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46348 conftest$ac_exeext conftest.$ac_ext
46350 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46351 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46352 if test $ac_cv_func_socket = yes; then
46356 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46357 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46358 if test "${ac_cv_lib_socket_socket+set}" = set; then
46359 echo $ECHO_N "(cached) $ECHO_C" >&6
46361 ac_check_lib_save_LIBS=$LIBS
46362 LIBS="-lsocket $LIBS"
46363 cat >conftest.$ac_ext <<_ACEOF
46366 cat confdefs.h >>conftest.$ac_ext
46367 cat >>conftest.$ac_ext <<_ACEOF
46368 /* end confdefs.h. */
46370 /* Override any GCC internal prototype to avoid an error.
46371 Use char because int might match the return type of a GCC
46372 builtin and then its argument prototype would still apply. */
46385 rm -f conftest.$ac_objext conftest$ac_exeext
46386 if { (ac_try="$ac_link"
46387 case "(($ac_try" in
46388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46389 *) ac_try_echo=$ac_try;;
46391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46392 (eval "$ac_link") 2>conftest.er1
46394 grep -v '^ *+' conftest.er1 >conftest.err
46396 cat conftest.err >&5
46397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46398 (exit $ac_status); } && {
46399 test -z "$ac_c_werror_flag" ||
46400 test ! -s conftest.err
46401 } && test -s conftest$ac_exeext &&
46402 $as_test_x conftest$ac_exeext; then
46403 ac_cv_lib_socket_socket=yes
46405 echo "$as_me: failed program was:" >&5
46406 sed 's/^/| /' conftest.$ac_ext >&5
46408 ac_cv_lib_socket_socket=no
46411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46412 conftest$ac_exeext conftest.$ac_ext
46413 LIBS=$ac_check_lib_save_LIBS
46415 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46416 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46417 if test $ac_cv_lib_socket_socket = yes; then
46418 if test "$INET_LINK" != " -lsocket"; then
46419 INET_LINK="$INET_LINK -lsocket"
46423 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46424 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46437 if test "$wxUSE_SOCKETS" = "yes" ; then
46438 if test "$TOOLKIT" != "MSW"; then
46439 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46440 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46441 if test "${wx_cv_type_getsockname3+set}" = set; then
46442 echo $ECHO_N "(cached) $ECHO_C" >&6
46446 ac_cpp='$CXXCPP $CPPFLAGS'
46447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46451 cat >conftest.$ac_ext <<_ACEOF
46454 cat confdefs.h >>conftest.$ac_ext
46455 cat >>conftest.$ac_ext <<_ACEOF
46456 /* end confdefs.h. */
46458 #include <sys/types.h>
46459 #include <sys/socket.h>
46466 getsockname(0, 0, &len);
46472 rm -f conftest.$ac_objext
46473 if { (ac_try="$ac_compile"
46474 case "(($ac_try" in
46475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46476 *) ac_try_echo=$ac_try;;
46478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46479 (eval "$ac_compile") 2>conftest.er1
46481 grep -v '^ *+' conftest.er1 >conftest.err
46483 cat conftest.err >&5
46484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46485 (exit $ac_status); } && {
46486 test -z "$ac_cxx_werror_flag" ||
46487 test ! -s conftest.err
46488 } && test -s conftest.$ac_objext; then
46489 wx_cv_type_getsockname3=socklen_t
46491 echo "$as_me: failed program was:" >&5
46492 sed 's/^/| /' conftest.$ac_ext >&5
46495 CFLAGS_OLD="$CFLAGS"
46496 if test "$GCC" = yes ; then
46497 CFLAGS="-Werror $CFLAGS"
46500 cat >conftest.$ac_ext <<_ACEOF
46503 cat confdefs.h >>conftest.$ac_ext
46504 cat >>conftest.$ac_ext <<_ACEOF
46505 /* end confdefs.h. */
46507 #include <sys/types.h>
46508 #include <sys/socket.h>
46515 getsockname(0, 0, &len);
46521 rm -f conftest.$ac_objext
46522 if { (ac_try="$ac_compile"
46523 case "(($ac_try" in
46524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46525 *) ac_try_echo=$ac_try;;
46527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46528 (eval "$ac_compile") 2>conftest.er1
46530 grep -v '^ *+' conftest.er1 >conftest.err
46532 cat conftest.err >&5
46533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46534 (exit $ac_status); } && {
46535 test -z "$ac_cxx_werror_flag" ||
46536 test ! -s conftest.err
46537 } && test -s conftest.$ac_objext; then
46538 wx_cv_type_getsockname3=size_t
46540 echo "$as_me: failed program was:" >&5
46541 sed 's/^/| /' conftest.$ac_ext >&5
46543 cat >conftest.$ac_ext <<_ACEOF
46546 cat confdefs.h >>conftest.$ac_ext
46547 cat >>conftest.$ac_ext <<_ACEOF
46548 /* end confdefs.h. */
46550 #include <sys/types.h>
46551 #include <sys/socket.h>
46558 getsockname(0, 0, &len);
46564 rm -f conftest.$ac_objext
46565 if { (ac_try="$ac_compile"
46566 case "(($ac_try" in
46567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46568 *) ac_try_echo=$ac_try;;
46570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46571 (eval "$ac_compile") 2>conftest.er1
46573 grep -v '^ *+' conftest.er1 >conftest.err
46575 cat conftest.err >&5
46576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46577 (exit $ac_status); } && {
46578 test -z "$ac_cxx_werror_flag" ||
46579 test ! -s conftest.err
46580 } && test -s conftest.$ac_objext; then
46581 wx_cv_type_getsockname3=int
46583 echo "$as_me: failed program was:" >&5
46584 sed 's/^/| /' conftest.$ac_ext >&5
46586 wx_cv_type_getsockname3=unknown
46590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46596 CFLAGS="$CFLAGS_OLD"
46601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46603 ac_cpp='$CPP $CPPFLAGS'
46604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46610 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46611 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46613 if test "$wx_cv_type_getsockname3" = "unknown"; then
46615 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46616 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46618 cat >>confdefs.h <<_ACEOF
46619 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46623 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46624 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46625 if test "${wx_cv_type_getsockopt5+set}" = set; then
46626 echo $ECHO_N "(cached) $ECHO_C" >&6
46630 ac_cpp='$CXXCPP $CPPFLAGS'
46631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46635 cat >conftest.$ac_ext <<_ACEOF
46638 cat confdefs.h >>conftest.$ac_ext
46639 cat >>conftest.$ac_ext <<_ACEOF
46640 /* end confdefs.h. */
46642 #include <sys/types.h>
46643 #include <sys/socket.h>
46650 getsockopt(0, 0, 0, 0, &len);
46656 rm -f conftest.$ac_objext
46657 if { (ac_try="$ac_compile"
46658 case "(($ac_try" in
46659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46660 *) ac_try_echo=$ac_try;;
46662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46663 (eval "$ac_compile") 2>conftest.er1
46665 grep -v '^ *+' conftest.er1 >conftest.err
46667 cat conftest.err >&5
46668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46669 (exit $ac_status); } && {
46670 test -z "$ac_cxx_werror_flag" ||
46671 test ! -s conftest.err
46672 } && test -s conftest.$ac_objext; then
46673 wx_cv_type_getsockopt5=socklen_t
46675 echo "$as_me: failed program was:" >&5
46676 sed 's/^/| /' conftest.$ac_ext >&5
46679 cat >conftest.$ac_ext <<_ACEOF
46682 cat confdefs.h >>conftest.$ac_ext
46683 cat >>conftest.$ac_ext <<_ACEOF
46684 /* end confdefs.h. */
46686 #include <sys/types.h>
46687 #include <sys/socket.h>
46694 getsockopt(0, 0, 0, 0, &len);
46700 rm -f conftest.$ac_objext
46701 if { (ac_try="$ac_compile"
46702 case "(($ac_try" in
46703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46704 *) ac_try_echo=$ac_try;;
46706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46707 (eval "$ac_compile") 2>conftest.er1
46709 grep -v '^ *+' conftest.er1 >conftest.err
46711 cat conftest.err >&5
46712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46713 (exit $ac_status); } && {
46714 test -z "$ac_cxx_werror_flag" ||
46715 test ! -s conftest.err
46716 } && test -s conftest.$ac_objext; then
46717 wx_cv_type_getsockopt5=size_t
46719 echo "$as_me: failed program was:" >&5
46720 sed 's/^/| /' conftest.$ac_ext >&5
46722 cat >conftest.$ac_ext <<_ACEOF
46725 cat confdefs.h >>conftest.$ac_ext
46726 cat >>conftest.$ac_ext <<_ACEOF
46727 /* end confdefs.h. */
46729 #include <sys/types.h>
46730 #include <sys/socket.h>
46737 getsockopt(0, 0, 0, 0, &len);
46743 rm -f conftest.$ac_objext
46744 if { (ac_try="$ac_compile"
46745 case "(($ac_try" in
46746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46747 *) ac_try_echo=$ac_try;;
46749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46750 (eval "$ac_compile") 2>conftest.er1
46752 grep -v '^ *+' conftest.er1 >conftest.err
46754 cat conftest.err >&5
46755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46756 (exit $ac_status); } && {
46757 test -z "$ac_cxx_werror_flag" ||
46758 test ! -s conftest.err
46759 } && test -s conftest.$ac_objext; then
46760 wx_cv_type_getsockopt5=int
46762 echo "$as_me: failed program was:" >&5
46763 sed 's/^/| /' conftest.$ac_ext >&5
46765 wx_cv_type_getsockopt5=unknown
46769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46780 ac_cpp='$CPP $CPPFLAGS'
46781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46787 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46788 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46790 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46792 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46793 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46795 cat >>confdefs.h <<_ACEOF
46796 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46803 if test "$wxUSE_SOCKETS" = "yes" ; then
46804 if test "$wxUSE_IPV6" = "yes"; then
46805 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46806 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46807 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46808 echo $ECHO_N "(cached) $ECHO_C" >&6
46811 cat >conftest.$ac_ext <<_ACEOF
46814 cat confdefs.h >>conftest.$ac_ext
46815 cat >>conftest.$ac_ext <<_ACEOF
46816 /* end confdefs.h. */
46818 #include <sys/types.h>
46819 #include <sys/socket.h>
46820 #include <netinet/in.h>
46826 struct sockaddr_in6 sa6;
46832 rm -f conftest.$ac_objext
46833 if { (ac_try="$ac_compile"
46834 case "(($ac_try" in
46835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46836 *) ac_try_echo=$ac_try;;
46838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46839 (eval "$ac_compile") 2>conftest.er1
46841 grep -v '^ *+' conftest.er1 >conftest.err
46843 cat conftest.err >&5
46844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46845 (exit $ac_status); } && {
46846 test -z "$ac_c_werror_flag" ||
46847 test ! -s conftest.err
46848 } && test -s conftest.$ac_objext; then
46849 wx_cv_type_sockaddr_in6=yes
46851 echo "$as_me: failed program was:" >&5
46852 sed 's/^/| /' conftest.$ac_ext >&5
46854 wx_cv_type_sockaddr_in6=no
46858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46862 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46863 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46865 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46866 cat >>confdefs.h <<\_ACEOF
46867 #define wxUSE_IPV6 1
46871 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46872 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46876 cat >>confdefs.h <<\_ACEOF
46877 #define wxUSE_SOCKETS 1
46880 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46883 if test "$wxUSE_PROTOCOL" = "yes"; then
46884 if test "$wxUSE_SOCKETS" != "yes"; then
46885 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46886 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46891 if test "$wxUSE_PROTOCOL" = "yes"; then
46892 cat >>confdefs.h <<\_ACEOF
46893 #define wxUSE_PROTOCOL 1
46897 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46898 cat >>confdefs.h <<\_ACEOF
46899 #define wxUSE_PROTOCOL_HTTP 1
46903 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46904 cat >>confdefs.h <<\_ACEOF
46905 #define wxUSE_PROTOCOL_FTP 1
46909 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46910 cat >>confdefs.h <<\_ACEOF
46911 #define wxUSE_PROTOCOL_FILE 1
46916 if test "$wxUSE_FS_INET" = "yes"; then
46917 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46918 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46923 if test "$wxUSE_URL" = "yes"; then
46924 if test "$wxUSE_PROTOCOL" != "yes"; then
46925 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46926 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46929 if test "$wxUSE_URL" = "yes"; then
46930 cat >>confdefs.h <<\_ACEOF
46931 #define wxUSE_URL 1
46937 if test "$wxUSE_VARIANT" = "yes"; then
46938 cat >>confdefs.h <<\_ACEOF
46939 #define wxUSE_VARIANT 1
46944 if test "$wxUSE_FS_INET" = "yes"; then
46945 cat >>confdefs.h <<\_ACEOF
46946 #define wxUSE_FS_INET 1
46952 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46955 if test "$TOOLKIT" = "MSW"; then
46958 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46959 if test "$USE_DARWIN" = 1; then
46960 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46961 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46963 ac_cpp='$CXXCPP $CPPFLAGS'
46964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46968 cat >conftest.$ac_ext <<_ACEOF
46971 cat confdefs.h >>conftest.$ac_ext
46972 cat >>conftest.$ac_ext <<_ACEOF
46973 /* end confdefs.h. */
46974 #include <IOKit/hid/IOHIDLib.h>
46978 IOHIDQueueInterface *qi = NULL;
46979 IOHIDCallbackFunction cb = NULL;
46980 qi->setEventCallout(NULL, cb, NULL, NULL);
46985 rm -f conftest.$ac_objext
46986 if { (ac_try="$ac_compile"
46987 case "(($ac_try" in
46988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46989 *) ac_try_echo=$ac_try;;
46991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46992 (eval "$ac_compile") 2>conftest.er1
46994 grep -v '^ *+' conftest.er1 >conftest.err
46996 cat conftest.err >&5
46997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46998 (exit $ac_status); } && {
46999 test -z "$ac_cxx_werror_flag" ||
47000 test ! -s conftest.err
47001 } && test -s conftest.$ac_objext; then
47005 echo "$as_me: failed program was:" >&5
47006 sed 's/^/| /' conftest.$ac_ext >&5
47011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47013 ac_cpp='$CPP $CPPFLAGS'
47014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47018 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47019 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47023 if test "$wxUSE_MGL" != 1; then
47025 for ac_header in linux/joystick.h
47027 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47028 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47030 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47031 echo $ECHO_N "(cached) $ECHO_C" >&6
47033 cat >conftest.$ac_ext <<_ACEOF
47036 cat confdefs.h >>conftest.$ac_ext
47037 cat >>conftest.$ac_ext <<_ACEOF
47038 /* end confdefs.h. */
47039 $ac_includes_default
47041 #include <$ac_header>
47043 rm -f conftest.$ac_objext
47044 if { (ac_try="$ac_compile"
47045 case "(($ac_try" in
47046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47047 *) ac_try_echo=$ac_try;;
47049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47050 (eval "$ac_compile") 2>conftest.er1
47052 grep -v '^ *+' conftest.er1 >conftest.err
47054 cat conftest.err >&5
47055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47056 (exit $ac_status); } && {
47057 test -z "$ac_c_werror_flag" ||
47058 test ! -s conftest.err
47059 } && test -s conftest.$ac_objext; then
47060 eval "$as_ac_Header=yes"
47062 echo "$as_me: failed program was:" >&5
47063 sed 's/^/| /' conftest.$ac_ext >&5
47065 eval "$as_ac_Header=no"
47068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47070 ac_res=`eval echo '${'$as_ac_Header'}'`
47071 { echo "$as_me:$LINENO: result: $ac_res" >&5
47072 echo "${ECHO_T}$ac_res" >&6; }
47073 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47074 cat >>confdefs.h <<_ACEOF
47075 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47085 if test "$wxUSE_JOYSTICK" = "yes"; then
47086 cat >>confdefs.h <<\_ACEOF
47087 #define wxUSE_JOYSTICK 1
47090 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47092 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47093 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47099 if test "$wxUSE_FONTENUM" = "yes" ; then
47100 cat >>confdefs.h <<\_ACEOF
47101 #define wxUSE_FONTENUM 1
47106 if test "$wxUSE_FONTMAP" = "yes" ; then
47107 cat >>confdefs.h <<\_ACEOF
47108 #define wxUSE_FONTMAP 1
47113 if test "$wxUSE_UNICODE" = "yes" ; then
47114 cat >>confdefs.h <<\_ACEOF
47115 #define wxUSE_UNICODE 1
47119 if test "$USE_WIN32" != 1; then
47120 wxUSE_UNICODE_MSLU=no
47123 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47124 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47125 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47126 if test "${ac_cv_lib_unicows_main+set}" = set; then
47127 echo $ECHO_N "(cached) $ECHO_C" >&6
47129 ac_check_lib_save_LIBS=$LIBS
47130 LIBS="-lunicows $LIBS"
47131 cat >conftest.$ac_ext <<_ACEOF
47134 cat confdefs.h >>conftest.$ac_ext
47135 cat >>conftest.$ac_ext <<_ACEOF
47136 /* end confdefs.h. */
47147 rm -f conftest.$ac_objext conftest$ac_exeext
47148 if { (ac_try="$ac_link"
47149 case "(($ac_try" in
47150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47151 *) ac_try_echo=$ac_try;;
47153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47154 (eval "$ac_link") 2>conftest.er1
47156 grep -v '^ *+' conftest.er1 >conftest.err
47158 cat conftest.err >&5
47159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47160 (exit $ac_status); } && {
47161 test -z "$ac_c_werror_flag" ||
47162 test ! -s conftest.err
47163 } && test -s conftest$ac_exeext &&
47164 $as_test_x conftest$ac_exeext; then
47165 ac_cv_lib_unicows_main=yes
47167 echo "$as_me: failed program was:" >&5
47168 sed 's/^/| /' conftest.$ac_ext >&5
47170 ac_cv_lib_unicows_main=no
47173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47174 conftest$ac_exeext conftest.$ac_ext
47175 LIBS=$ac_check_lib_save_LIBS
47177 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47178 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47179 if test $ac_cv_lib_unicows_main = yes; then
47181 cat >>confdefs.h <<\_ACEOF
47182 #define wxUSE_UNICODE_MSLU 1
47188 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47189 Applications will only run on Windows NT/2000/XP!" >&5
47190 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47191 Applications will only run on Windows NT/2000/XP!" >&2;}
47192 wxUSE_UNICODE_MSLU=no
47199 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47200 cat >>confdefs.h <<\_ACEOF
47201 #define wxUSE_UNICODE_UTF8 1
47205 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47206 cat >>confdefs.h <<\_ACEOF
47207 #define wxUSE_UTF8_LOCALE_ONLY 1
47214 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47215 cat >>confdefs.h <<\_ACEOF
47216 #define wxUSE_CONSTRAINTS 1
47219 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47222 if test "$wxUSE_MDI" = "yes"; then
47223 cat >>confdefs.h <<\_ACEOF
47224 #define wxUSE_MDI 1
47228 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47229 cat >>confdefs.h <<\_ACEOF
47230 #define wxUSE_MDI_ARCHITECTURE 1
47233 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47237 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47238 cat >>confdefs.h <<\_ACEOF
47239 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47242 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47245 if test "$wxUSE_HELP" = "yes"; then
47246 cat >>confdefs.h <<\_ACEOF
47247 #define wxUSE_HELP 1
47250 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47252 if test "$wxUSE_MSW" = 1; then
47253 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47254 cat >>confdefs.h <<\_ACEOF
47255 #define wxUSE_MS_HTML_HELP 1
47261 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47262 if test "$wxUSE_HTML" = "yes"; then
47263 cat >>confdefs.h <<\_ACEOF
47264 #define wxUSE_WXHTML_HELP 1
47268 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47269 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47270 wxUSE_WXHTML_HELP=no
47275 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47276 cat >>confdefs.h <<\_ACEOF
47277 #define wxUSE_PRINTING_ARCHITECTURE 1
47280 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47283 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47284 cat >>confdefs.h <<\_ACEOF
47285 #define wxUSE_POSTSCRIPT 1
47290 cat >>confdefs.h <<\_ACEOF
47291 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47295 if test "$wxUSE_SVG" = "yes"; then
47296 cat >>confdefs.h <<\_ACEOF
47297 #define wxUSE_SVG 1
47303 if test "$wxUSE_METAFILE" = "yes"; then
47304 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47305 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47306 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47309 elif test "$wxUSE_METAFILE" = "auto"; then
47310 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
47315 if test "$wxUSE_METAFILE" = "yes"; then
47316 cat >>confdefs.h <<\_ACEOF
47317 #define wxUSE_METAFILE 1
47320 if test "$wxUSE_MSW" = 1; then
47321 cat >>confdefs.h <<\_ACEOF
47322 #define wxUSE_ENH_METAFILE 1
47329 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47330 -o "$wxUSE_CLIPBOARD" = "yes" \
47331 -o "$wxUSE_OLE" = "yes" \
47332 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47333 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47334 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47335 if test "${ac_cv_header_ole2_h+set}" = set; then
47336 echo $ECHO_N "(cached) $ECHO_C" >&6
47338 cat >conftest.$ac_ext <<_ACEOF
47341 cat confdefs.h >>conftest.$ac_ext
47342 cat >>conftest.$ac_ext <<_ACEOF
47343 /* end confdefs.h. */
47348 rm -f conftest.$ac_objext
47349 if { (ac_try="$ac_compile"
47350 case "(($ac_try" in
47351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47352 *) ac_try_echo=$ac_try;;
47354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47355 (eval "$ac_compile") 2>conftest.er1
47357 grep -v '^ *+' conftest.er1 >conftest.err
47359 cat conftest.err >&5
47360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47361 (exit $ac_status); } && {
47362 test -z "$ac_c_werror_flag" ||
47363 test ! -s conftest.err
47364 } && test -s conftest.$ac_objext; then
47365 ac_cv_header_ole2_h=yes
47367 echo "$as_me: failed program was:" >&5
47368 sed 's/^/| /' conftest.$ac_ext >&5
47370 ac_cv_header_ole2_h=no
47373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47375 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47376 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47380 if test "$ac_cv_header_ole2_h" = "yes" ; then
47381 if test "$GCC" = yes ; then
47382 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47383 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47384 cat >conftest.$ac_ext <<_ACEOF
47387 cat confdefs.h >>conftest.$ac_ext
47388 cat >>conftest.$ac_ext <<_ACEOF
47389 /* end confdefs.h. */
47390 #include <windows.h>
47400 rm -f conftest.$ac_objext
47401 if { (ac_try="$ac_compile"
47402 case "(($ac_try" in
47403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47404 *) ac_try_echo=$ac_try;;
47406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47407 (eval "$ac_compile") 2>conftest.er1
47409 grep -v '^ *+' conftest.er1 >conftest.err
47411 cat conftest.err >&5
47412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47413 (exit $ac_status); } && {
47414 test -z "$ac_c_werror_flag" ||
47415 test ! -s conftest.err
47416 } && test -s conftest.$ac_objext; then
47417 { echo "$as_me:$LINENO: result: no" >&5
47418 echo "${ECHO_T}no" >&6; }
47420 echo "$as_me: failed program was:" >&5
47421 sed 's/^/| /' conftest.$ac_ext >&5
47423 { echo "$as_me:$LINENO: result: yes" >&5
47424 echo "${ECHO_T}yes" >&6; }
47425 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47429 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47430 if test "$wxUSE_OLE" = "yes" ; then
47431 cat >>confdefs.h <<\_ACEOF
47432 #define wxUSE_OLE 1
47435 cat >>confdefs.h <<\_ACEOF
47436 #define wxUSE_OLE_AUTOMATION 1
47439 cat >>confdefs.h <<\_ACEOF
47440 #define wxUSE_ACTIVEX 1
47443 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47447 if test "$wxUSE_DATAOBJ" = "yes" ; then
47448 cat >>confdefs.h <<\_ACEOF
47449 #define wxUSE_DATAOBJ 1
47454 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47455 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47458 wxUSE_DRAG_AND_DROP=no
47464 if test "$wxUSE_IPC" = "yes"; then
47465 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47466 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47467 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47471 if test "$wxUSE_IPC" = "yes"; then
47472 cat >>confdefs.h <<\_ACEOF
47473 #define wxUSE_IPC 1
47476 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47480 if test "$wxUSE_DATAOBJ" = "yes"; then
47481 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47482 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47483 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47486 cat >>confdefs.h <<\_ACEOF
47487 #define wxUSE_DATAOBJ 1
47492 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47493 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47495 wxUSE_DRAG_AND_DROP=no
47498 if test "$wxUSE_CLIPBOARD" = "yes"; then
47499 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47500 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47501 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47505 if test "$wxUSE_CLIPBOARD" = "yes"; then
47506 cat >>confdefs.h <<\_ACEOF
47507 #define wxUSE_CLIPBOARD 1
47513 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47514 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47515 "$wxUSE_DFB" = 1; then
47516 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47517 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47518 wxUSE_DRAG_AND_DROP=no
47521 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47522 cat >>confdefs.h <<\_ACEOF
47523 #define wxUSE_DRAG_AND_DROP 1
47530 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47531 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47534 if test "$wxUSE_CLIPBOARD" = "yes"; then
47535 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
47538 if test "$wxUSE_SPLINES" = "yes" ; then
47539 cat >>confdefs.h <<\_ACEOF
47540 #define wxUSE_SPLINES 1
47545 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47546 cat >>confdefs.h <<\_ACEOF
47547 #define wxUSE_MOUSEWHEEL 1
47552 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
47553 cat >>confdefs.h <<\_ACEOF
47554 #define wxUSE_UIACTIONSIMULATOR 1
47557 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
47560 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
47561 cat >>confdefs.h <<\_ACEOF
47562 #define wxUSE_DC_TRANSFORM_MATRIX 1
47569 if test "$wxUSE_CONTROLS" = "yes"; then
47573 if test "$wxUSE_MARKUP" = "yes"; then
47574 cat >>confdefs.h <<\_ACEOF
47575 #define wxUSE_MARKUP 1
47580 if test "$wxUSE_ACCEL" = "yes"; then
47581 cat >>confdefs.h <<\_ACEOF
47582 #define wxUSE_ACCEL 1
47588 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47589 cat >>confdefs.h <<\_ACEOF
47590 #define wxUSE_ANIMATIONCTRL 1
47594 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47597 if test "$wxUSE_BANNERWINDOW" = "yes"; then
47598 cat >>confdefs.h <<\_ACEOF
47599 #define wxUSE_BANNERWINDOW 1
47604 if test "$wxUSE_BUTTON" = "yes"; then
47605 cat >>confdefs.h <<\_ACEOF
47606 #define wxUSE_BUTTON 1
47612 if test "$wxUSE_BMPBUTTON" = "yes"; then
47613 cat >>confdefs.h <<\_ACEOF
47614 #define wxUSE_BMPBUTTON 1
47620 if test "$wxUSE_CALCTRL" = "yes"; then
47621 cat >>confdefs.h <<\_ACEOF
47622 #define wxUSE_CALENDARCTRL 1
47626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47629 if test "$wxUSE_CARET" = "yes"; then
47630 cat >>confdefs.h <<\_ACEOF
47631 #define wxUSE_CARET 1
47635 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47638 if test "$wxUSE_COLLPANE" = "yes"; then
47639 cat >>confdefs.h <<\_ACEOF
47640 #define wxUSE_COLLPANE 1
47644 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47647 if test "$wxUSE_COMBOBOX" = "yes"; then
47648 cat >>confdefs.h <<\_ACEOF
47649 #define wxUSE_COMBOBOX 1
47655 if test "$wxUSE_COMBOCTRL" = "yes"; then
47656 cat >>confdefs.h <<\_ACEOF
47657 #define wxUSE_COMBOCTRL 1
47663 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47664 cat >>confdefs.h <<\_ACEOF
47665 #define wxUSE_COMMANDLINKBUTTON 1
47671 if test "$wxUSE_CHOICE" = "yes"; then
47672 cat >>confdefs.h <<\_ACEOF
47673 #define wxUSE_CHOICE 1
47679 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47680 cat >>confdefs.h <<\_ACEOF
47681 #define wxUSE_CHOICEBOOK 1
47687 if test "$wxUSE_CHECKBOX" = "yes"; then
47688 cat >>confdefs.h <<\_ACEOF
47689 #define wxUSE_CHECKBOX 1
47695 if test "$wxUSE_CHECKLST" = "yes"; then
47696 cat >>confdefs.h <<\_ACEOF
47697 #define wxUSE_CHECKLISTBOX 1
47703 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47704 cat >>confdefs.h <<\_ACEOF
47705 #define wxUSE_COLOURPICKERCTRL 1
47711 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47712 cat >>confdefs.h <<\_ACEOF
47713 #define wxUSE_DATEPICKCTRL 1
47719 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47720 cat >>confdefs.h <<\_ACEOF
47721 #define wxUSE_DIRPICKERCTRL 1
47727 if test "$wxUSE_FILECTRL" = "yes"; then
47728 cat >>confdefs.h <<\_ACEOF
47729 #define wxUSE_FILECTRL 1
47735 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47736 cat >>confdefs.h <<\_ACEOF
47737 #define wxUSE_FILEPICKERCTRL 1
47743 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47744 cat >>confdefs.h <<\_ACEOF
47745 #define wxUSE_FONTPICKERCTRL 1
47751 if test "$wxUSE_DISPLAY" = "yes"; then
47752 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47753 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47754 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47757 cat >>confdefs.h <<\_ACEOF
47758 #define wxUSE_DISPLAY 1
47761 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47765 if test "$wxUSE_DETECT_SM" = "yes"; then
47766 cat >>confdefs.h <<\_ACEOF
47767 #define wxUSE_DETECT_SM 1
47772 if test "$wxUSE_GAUGE" = "yes"; then
47773 cat >>confdefs.h <<\_ACEOF
47774 #define wxUSE_GAUGE 1
47780 if test "$wxUSE_GRID" = "yes"; then
47781 cat >>confdefs.h <<\_ACEOF
47782 #define wxUSE_GRID 1
47786 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47789 if test "$wxUSE_HEADERCTRL" = "yes"; then
47790 cat >>confdefs.h <<\_ACEOF
47791 #define wxUSE_HEADERCTRL 1
47797 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47798 cat >>confdefs.h <<\_ACEOF
47799 #define wxUSE_HYPERLINKCTRL 1
47805 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47806 cat >>confdefs.h <<\_ACEOF
47807 #define wxUSE_BITMAPCOMBOBOX 1
47813 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47814 cat >>confdefs.h <<\_ACEOF
47815 #define wxUSE_DATAVIEWCTRL 1
47819 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47822 if test "$wxUSE_IMAGLIST" = "yes"; then
47823 cat >>confdefs.h <<\_ACEOF
47824 #define wxUSE_IMAGLIST 1
47829 if test "$wxUSE_INFOBAR" = "yes"; then
47830 cat >>confdefs.h <<\_ACEOF
47831 #define wxUSE_INFOBAR 1
47836 if test "$wxUSE_LISTBOOK" = "yes"; then
47837 cat >>confdefs.h <<\_ACEOF
47838 #define wxUSE_LISTBOOK 1
47844 if test "$wxUSE_LISTBOX" = "yes"; then
47845 cat >>confdefs.h <<\_ACEOF
47846 #define wxUSE_LISTBOX 1
47852 if test "$wxUSE_LISTCTRL" = "yes"; then
47853 if test "$wxUSE_IMAGLIST" = "yes"; then
47854 cat >>confdefs.h <<\_ACEOF
47855 #define wxUSE_LISTCTRL 1
47859 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47861 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47862 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47866 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47867 cat >>confdefs.h <<\_ACEOF
47868 #define wxUSE_EDITABLELISTBOX 1
47874 if test "$wxUSE_NOTEBOOK" = "yes"; then
47875 cat >>confdefs.h <<\_ACEOF
47876 #define wxUSE_NOTEBOOK 1
47880 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47883 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47884 cat >>confdefs.h <<\_ACEOF
47885 #define wxUSE_NOTIFICATION_MESSAGE 1
47890 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47891 cat >>confdefs.h <<\_ACEOF
47892 #define wxUSE_ODCOMBOBOX 1
47896 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47899 if test "$wxUSE_RADIOBOX" = "yes"; then
47900 cat >>confdefs.h <<\_ACEOF
47901 #define wxUSE_RADIOBOX 1
47907 if test "$wxUSE_RADIOBTN" = "yes"; then
47908 cat >>confdefs.h <<\_ACEOF
47909 #define wxUSE_RADIOBTN 1
47915 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47916 cat >>confdefs.h <<\_ACEOF
47917 #define wxUSE_REARRANGECTRL 1
47922 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47923 cat >>confdefs.h <<\_ACEOF
47924 #define wxUSE_RICHMSGDLG 1
47929 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
47930 cat >>confdefs.h <<\_ACEOF
47931 #define wxUSE_RICHTOOLTIP 1
47936 if test "$wxUSE_SASH" = "yes"; then
47937 cat >>confdefs.h <<\_ACEOF
47938 #define wxUSE_SASH 1
47941 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47944 if test "$wxUSE_SCROLLBAR" = "yes"; then
47945 cat >>confdefs.h <<\_ACEOF
47946 #define wxUSE_SCROLLBAR 1
47950 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
47953 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47954 cat >>confdefs.h <<\_ACEOF
47955 #define wxUSE_SEARCHCTRL 1
47961 if test "$wxUSE_SLIDER" = "yes"; then
47962 cat >>confdefs.h <<\_ACEOF
47963 #define wxUSE_SLIDER 1
47969 if test "$wxUSE_SPINBTN" = "yes"; then
47970 cat >>confdefs.h <<\_ACEOF
47971 #define wxUSE_SPINBTN 1
47977 if test "$wxUSE_SPINCTRL" = "yes"; then
47978 cat >>confdefs.h <<\_ACEOF
47979 #define wxUSE_SPINCTRL 1
47985 if test "$wxUSE_SPLITTER" = "yes"; then
47986 cat >>confdefs.h <<\_ACEOF
47987 #define wxUSE_SPLITTER 1
47990 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47993 if test "$wxUSE_STATBMP" = "yes"; then
47994 cat >>confdefs.h <<\_ACEOF
47995 #define wxUSE_STATBMP 1
48001 if test "$wxUSE_STATBOX" = "yes"; then
48002 cat >>confdefs.h <<\_ACEOF
48003 #define wxUSE_STATBOX 1
48009 if test "$wxUSE_STATTEXT" = "yes"; then
48010 cat >>confdefs.h <<\_ACEOF
48011 #define wxUSE_STATTEXT 1
48017 if test "$wxUSE_STATLINE" = "yes"; then
48018 cat >>confdefs.h <<\_ACEOF
48019 #define wxUSE_STATLINE 1
48025 if test "$wxUSE_STATUSBAR" = "yes"; then
48026 cat >>confdefs.h <<\_ACEOF
48027 #define wxUSE_NATIVE_STATUSBAR 1
48030 cat >>confdefs.h <<\_ACEOF
48031 #define wxUSE_STATUSBAR 1
48036 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48039 if test "$wxUSE_TEXTCTRL" = "yes"; then
48040 cat >>confdefs.h <<\_ACEOF
48041 #define wxUSE_TEXTCTRL 1
48045 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48047 cat >>confdefs.h <<\_ACEOF
48048 #define wxUSE_RICHEDIT 1
48051 cat >>confdefs.h <<\_ACEOF
48052 #define wxUSE_RICHEDIT2 1
48057 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
48058 cat >>confdefs.h <<\_ACEOF
48059 #define wxUSE_TIMEPICKCTRL 1
48065 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48066 if test "$wxUSE_OLD_COCOA" = 1 ; then
48067 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48068 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48072 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48073 cat >>confdefs.h <<\_ACEOF
48074 #define wxUSE_TOGGLEBTN 1
48081 if test "$wxUSE_TOOLBAR" = "yes"; then
48082 cat >>confdefs.h <<\_ACEOF
48083 #define wxUSE_TOOLBAR 1
48088 if test "$wxUSE_UNIVERSAL" = "yes"; then
48089 wxUSE_TOOLBAR_NATIVE="no"
48091 wxUSE_TOOLBAR_NATIVE="yes"
48092 cat >>confdefs.h <<\_ACEOF
48093 #define wxUSE_TOOLBAR_NATIVE 1
48098 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48101 if test "$wxUSE_TOOLTIPS" = "yes"; then
48102 if test "$wxUSE_MOTIF" = 1; then
48103 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48104 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48106 if test "$wxUSE_UNIVERSAL" = "yes"; then
48107 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48108 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48110 cat >>confdefs.h <<\_ACEOF
48111 #define wxUSE_TOOLTIPS 1
48118 if test "$wxUSE_TREEBOOK" = "yes"; then
48119 cat >>confdefs.h <<\_ACEOF
48120 #define wxUSE_TREEBOOK 1
48126 if test "$wxUSE_TOOLBOOK" = "yes"; then
48127 cat >>confdefs.h <<\_ACEOF
48128 #define wxUSE_TOOLBOOK 1
48134 if test "$wxUSE_TREECTRL" = "yes"; then
48135 if test "$wxUSE_IMAGLIST" = "yes"; then
48136 cat >>confdefs.h <<\_ACEOF
48137 #define wxUSE_TREECTRL 1
48141 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48143 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48144 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48148 if test "$wxUSE_TREELISTCTRL" = "yes"; then
48149 cat >>confdefs.h <<\_ACEOF
48150 #define wxUSE_TREELISTCTRL 1
48156 if test "$wxUSE_POPUPWIN" = "yes"; then
48157 if test "$wxUSE_OLD_COCOA" = 1 ; then
48158 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48159 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48161 if test "$wxUSE_PM" = 1; then
48162 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48163 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48165 cat >>confdefs.h <<\_ACEOF
48166 #define wxUSE_POPUPWIN 1
48169 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48176 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48177 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48178 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48179 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48181 cat >>confdefs.h <<\_ACEOF
48182 #define wxUSE_DIALUP_MANAGER 1
48185 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48189 if test "$wxUSE_TIPWINDOW" = "yes"; then
48190 if test "$wxUSE_PM" = 1; then
48191 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48192 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48194 cat >>confdefs.h <<\_ACEOF
48195 #define wxUSE_TIPWINDOW 1
48201 if test "$USES_CONTROLS" = 1; then
48202 cat >>confdefs.h <<\_ACEOF
48203 #define wxUSE_CONTROLS 1
48209 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48210 cat >>confdefs.h <<\_ACEOF
48211 #define wxUSE_ACCESSIBILITY 1
48214 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48217 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
48218 cat >>confdefs.h <<\_ACEOF
48219 #define wxUSE_ARTPROVIDER_STD 1
48224 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
48225 if test "$wxUSE_GTK" != 1; then
48226 if test "$wxUSE_LIBPNG" != no -a \
48227 "$wxUSE_IMAGE" = yes -a \
48228 "$wxUSE_STREAMS" = yes; then
48229 wxUSE_ARTPROVIDER_TANGO="yes"
48234 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
48235 cat >>confdefs.h <<\_ACEOF
48236 #define wxUSE_ARTPROVIDER_TANGO 1
48241 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48242 cat >>confdefs.h <<\_ACEOF
48243 #define wxUSE_DRAGIMAGE 1
48246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48249 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48250 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48251 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48252 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48254 cat >>confdefs.h <<\_ACEOF
48255 #define wxUSE_EXCEPTIONS 1
48258 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48263 if test "$wxUSE_HTML" = "yes"; then
48264 cat >>confdefs.h <<\_ACEOF
48265 #define wxUSE_HTML 1
48269 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48271 if test "$wxUSE_WEBKIT" = "yes"; then
48272 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48273 old_CPPFLAGS="$CPPFLAGS"
48274 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48275 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48276 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48277 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48278 echo $ECHO_N "(cached) $ECHO_C" >&6
48280 cat >conftest.$ac_ext <<_ACEOF
48283 cat confdefs.h >>conftest.$ac_ext
48284 cat >>conftest.$ac_ext <<_ACEOF
48285 /* end confdefs.h. */
48287 #include <Carbon/Carbon.h>
48288 #include <WebKit/WebKit.h>
48291 #include <WebKit/HIWebView.h>
48293 rm -f conftest.$ac_objext
48294 if { (ac_try="$ac_compile"
48295 case "(($ac_try" in
48296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48297 *) ac_try_echo=$ac_try;;
48299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48300 (eval "$ac_compile") 2>conftest.er1
48302 grep -v '^ *+' conftest.er1 >conftest.err
48304 cat conftest.err >&5
48305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48306 (exit $ac_status); } && {
48307 test -z "$ac_c_werror_flag" ||
48308 test ! -s conftest.err
48309 } && test -s conftest.$ac_objext; then
48310 ac_cv_header_WebKit_HIWebView_h=yes
48312 echo "$as_me: failed program was:" >&5
48313 sed 's/^/| /' conftest.$ac_ext >&5
48315 ac_cv_header_WebKit_HIWebView_h=no
48318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48320 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48321 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48322 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48324 cat >>confdefs.h <<\_ACEOF
48325 #define wxUSE_WEBKIT 1
48328 WEBKIT_LINK="-framework WebKit"
48332 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48333 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48339 CPPFLAGS="$old_CPPFLAGS"
48340 elif test "$wxUSE_OLD_COCOA" = 1; then
48341 cat >>confdefs.h <<\_ACEOF
48342 #define wxUSE_WEBKIT 1
48348 if test "$wxUSE_WEBKIT" = "yes"; then
48349 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48354 if test "$wxUSE_XRC" = "yes"; then
48355 if test "$wxUSE_XML" != "yes"; then
48356 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48357 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48360 cat >>confdefs.h <<\_ACEOF
48361 #define wxUSE_XRC 1
48365 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48370 if test "$wxUSE_AUI" = "yes"; then
48371 cat >>confdefs.h <<\_ACEOF
48372 #define wxUSE_AUI 1
48376 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48380 if test "$wxUSE_PROPGRID" = "yes"; then
48381 cat >>confdefs.h <<\_ACEOF
48382 #define wxUSE_PROPGRID 1
48386 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
48390 if test "$wxUSE_RIBBON" = "yes"; then
48391 cat >>confdefs.h <<\_ACEOF
48392 #define wxUSE_RIBBON 1
48396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
48400 if test "$wxUSE_STC" = "yes"; then
48401 cat >>confdefs.h <<\_ACEOF
48402 #define wxUSE_STC 1
48406 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48408 # Extract the first word of "python", so it can be a program name with args.
48409 set dummy python; ac_word=$2
48410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48412 if test "${ac_cv_path_PYTHON+set}" = set; then
48413 echo $ECHO_N "(cached) $ECHO_C" >&6
48417 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
48420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48421 for as_dir in $PATH
48424 test -z "$as_dir" && as_dir=.
48425 for ac_exec_ext in '' $ac_executable_extensions; do
48426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48427 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
48428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48438 PYTHON=$ac_cv_path_PYTHON
48439 if test -n "$PYTHON"; then
48440 { echo "$as_me:$LINENO: result: $PYTHON" >&5
48441 echo "${ECHO_T}$PYTHON" >&6; }
48443 { echo "$as_me:$LINENO: result: no" >&5
48444 echo "${ECHO_T}no" >&6; }
48448 if test "x$PYTHON" = "x"; then
48454 if test "$wxUSE_MENUS" = "yes"; then
48455 cat >>confdefs.h <<\_ACEOF
48456 #define wxUSE_MENUS 1
48459 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48462 if test "$wxUSE_MIMETYPE" = "yes"; then
48463 cat >>confdefs.h <<\_ACEOF
48464 #define wxUSE_MIMETYPE 1
48469 if test "$wxUSE_MINIFRAME" = "yes"; then
48470 cat >>confdefs.h <<\_ACEOF
48471 #define wxUSE_MINIFRAME 1
48476 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48477 cat >>confdefs.h <<\_ACEOF
48478 #define wxUSE_SYSTEM_OPTIONS 1
48483 if test "$wxUSE_TASKBARICON" = "yes"; then
48484 cat >>confdefs.h <<\_ACEOF
48485 #define wxUSE_TASKBARICON 1
48488 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48492 if test "$wxUSE_VALIDATORS" = "yes"; then
48493 cat >>confdefs.h <<\_ACEOF
48494 #define wxUSE_VALIDATORS 1
48497 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48500 if test "$wxUSE_PALETTE" = "yes" ; then
48501 if test "$wxUSE_DFB" = 1; then
48502 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48503 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48506 cat >>confdefs.h <<\_ACEOF
48507 #define wxUSE_PALETTE 1
48513 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48514 LIBS=" -lunicows $LIBS"
48518 if test "$wxUSE_RICHTEXT" = "yes"; then
48519 cat >>confdefs.h <<\_ACEOF
48520 #define wxUSE_RICHTEXT 1
48524 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48527 if test "$wxUSE_WEBVIEW" = "yes"; then
48528 USE_WEBVIEW_WEBKIT=0
48529 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
48530 if test "$wxUSE_GTK" = 1; then
48531 { echo "$as_me:$LINENO: checking for webkitgtk libraries" >&5
48532 echo $ECHO_N "checking for webkitgtk libraries... $ECHO_C" >&6; }
48535 for ac_dir in $SEARCH_LIB
48537 for ac_extension in a so sl dylib dll.a; do
48538 if test -f "$ac_dir/libwebkitgtk-1.0.$ac_extension"; then
48539 ac_find_libraries=$ac_dir
48545 if test "$ac_find_libraries" != "" ; then
48547 if test "$ac_find_libraries" = "default location"; then
48550 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
48552 if test $result = 0; then
48555 ac_path_to_link=" -L$ac_find_libraries"
48559 if test "$ac_path_to_link" != " -L/usr/lib" ; then
48560 LDFLAGS="$LDFLAGS $ac_path_to_link"
48562 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lwebkitgtk-1.0"
48563 { echo "$as_me:$LINENO: result: yes" >&5
48564 echo "${ECHO_T}yes" >&6; }
48566 { echo "$as_me:$LINENO: checking for webkitgtk headers" >&5
48567 echo $ECHO_N "checking for webkitgtk headers... $ECHO_C" >&6; }
48570 for ac_dir in $SEARCH_INCLUDE /usr/include/webkit-1.0 /usr/include
48572 if test -f "$ac_dir/webkit/webkit.h"; then
48573 ac_find_includes=$ac_dir
48578 if test "$ac_find_includes" != "" ; then
48579 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
48580 echo "${ECHO_T}found in $ac_find_includes" >&6; }
48582 if test "x$ac_find_includes" = "x/usr/include"; then
48583 ac_path_to_include=""
48585 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
48587 if test $result = 0; then
48588 ac_path_to_include=""
48590 ac_path_to_include=" -I$ac_find_includes"
48594 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
48596 { echo "$as_me:$LINENO: checking for libsoup headers" >&5
48597 echo $ECHO_N "checking for libsoup headers... $ECHO_C" >&6; }
48600 for ac_dir in $SEARCH_INCLUDE /usr/include/libsoup-2.4 /usr/include
48602 if test -f "$ac_dir/libsoup/soup.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 USE_WEBVIEW_WEBKIT=1
48628 { echo "$as_me:$LINENO: result: not found" >&5
48629 echo "${ECHO_T}not found" >&6; }
48630 { echo "$as_me:$LINENO: WARNING: libsoup headers not found; disabling WebKit backend" >&5
48631 echo "$as_me: WARNING: libsoup headers not found; disabling WebKit backend" >&2;}
48634 { echo "$as_me:$LINENO: result: not found" >&5
48635 echo "${ECHO_T}not found" >&6; }
48636 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling WebKit backend" >&5
48637 echo "$as_me: WARNING: WebKit headers not found; disabling WebKit backend" >&2;}
48640 { echo "$as_me:$LINENO: result: no" >&5
48641 echo "${ECHO_T}no" >&6; }
48642 { echo "$as_me:$LINENO: WARNING: WebKit libraries not found; disabling WebKit backend" >&5
48643 echo "$as_me: WARNING: WebKit libraries not found; disabling WebKit backend" >&2;}
48645 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48646 old_CPPFLAGS="$CPPFLAGS"
48647 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48648 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48649 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48650 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48651 echo $ECHO_N "(cached) $ECHO_C" >&6
48653 cat >conftest.$ac_ext <<_ACEOF
48656 cat confdefs.h >>conftest.$ac_ext
48657 cat >>conftest.$ac_ext <<_ACEOF
48658 /* end confdefs.h. */
48660 #include <Carbon/Carbon.h>
48661 #include <WebKit/WebKit.h>
48664 #include <WebKit/HIWebView.h>
48666 rm -f conftest.$ac_objext
48667 if { (ac_try="$ac_compile"
48668 case "(($ac_try" in
48669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48670 *) ac_try_echo=$ac_try;;
48672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48673 (eval "$ac_compile") 2>conftest.er1
48675 grep -v '^ *+' conftest.er1 >conftest.err
48677 cat conftest.err >&5
48678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48679 (exit $ac_status); } && {
48680 test -z "$ac_c_werror_flag" ||
48681 test ! -s conftest.err
48682 } && test -s conftest.$ac_objext; then
48683 ac_cv_header_WebKit_HIWebView_h=yes
48685 echo "$as_me: failed program was:" >&5
48686 sed 's/^/| /' conftest.$ac_ext >&5
48688 ac_cv_header_WebKit_HIWebView_h=no
48691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48693 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48694 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48695 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48697 USE_WEBVIEW_WEBKIT=1
48698 WEBKIT_LINK="-framework WebKit"
48702 { echo "$as_me:$LINENO: WARNING: WebKit headers not found" >&5
48703 echo "$as_me: WARNING: WebKit headers not found" >&2;}
48708 CPPFLAGS="$old_CPPFLAGS"
48713 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
48714 if test "$USE_WEBVIEW_WEBKIT" = 1; then
48715 wxUSE_WEBVIEW="yes"
48716 cat >>confdefs.h <<\_ACEOF
48717 #define wxUSE_WEBVIEW_WEBKIT 1
48721 { echo "$as_me:$LINENO: WARNING: WebKit not available, disabling wxWebView" >&5
48722 echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
48724 elif test "$wxUSE_MSW" = 1; then
48725 if test "wxUSE_WEBVIEW_IE" = "yes"; then
48726 wxUSE_WEBVIEW="yes"
48727 cat >>confdefs.h <<\_ACEOF
48728 #define wxUSE_WEBVIEW_IE 1
48735 if test "$wxUSE_WEBVIEW" = "yes"; then
48737 cat >>confdefs.h <<\_ACEOF
48738 #define wxUSE_WEBVIEW 1
48741 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
48747 if test "$wxUSE_IMAGE" = "yes" ; then
48748 cat >>confdefs.h <<\_ACEOF
48749 #define wxUSE_IMAGE 1
48753 if test "$wxUSE_GIF" = "yes" ; then
48754 cat >>confdefs.h <<\_ACEOF
48755 #define wxUSE_GIF 1
48760 if test "$wxUSE_PCX" = "yes" ; then
48761 cat >>confdefs.h <<\_ACEOF
48762 #define wxUSE_PCX 1
48767 if test "$wxUSE_TGA" = "yes" ; then
48768 cat >>confdefs.h <<\_ACEOF
48769 #define wxUSE_TGA 1
48774 if test "$wxUSE_IFF" = "yes" ; then
48775 cat >>confdefs.h <<\_ACEOF
48776 #define wxUSE_IFF 1
48781 if test "$wxUSE_PNM" = "yes" ; then
48782 cat >>confdefs.h <<\_ACEOF
48783 #define wxUSE_PNM 1
48788 if test "$wxUSE_XPM" = "yes" ; then
48789 cat >>confdefs.h <<\_ACEOF
48790 #define wxUSE_XPM 1
48795 if test "$wxUSE_ICO_CUR" = "yes" ; then
48796 cat >>confdefs.h <<\_ACEOF
48797 #define wxUSE_ICO_CUR 1
48804 if test "$wxUSE_ABOUTDLG" = "yes"; then
48805 cat >>confdefs.h <<\_ACEOF
48806 #define wxUSE_ABOUTDLG 1
48811 if test "$wxUSE_CHOICEDLG" = "yes"; then
48812 cat >>confdefs.h <<\_ACEOF
48813 #define wxUSE_CHOICEDLG 1
48818 if test "$wxUSE_COLOURDLG" = "yes"; then
48819 cat >>confdefs.h <<\_ACEOF
48820 #define wxUSE_COLOURDLG 1
48825 if test "$wxUSE_FILEDLG" = "yes"; then
48826 cat >>confdefs.h <<\_ACEOF
48827 #define wxUSE_FILEDLG 1
48832 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48833 cat >>confdefs.h <<\_ACEOF
48834 #define wxUSE_FINDREPLDLG 1
48839 if test "$wxUSE_FONTDLG" = "yes"; then
48840 cat >>confdefs.h <<\_ACEOF
48841 #define wxUSE_FONTDLG 1
48846 if test "$wxUSE_DIRDLG" = "yes"; then
48847 if test "$wxUSE_TREECTRL" != "yes"; then
48848 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48849 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48851 cat >>confdefs.h <<\_ACEOF
48852 #define wxUSE_DIRDLG 1
48858 if test "$wxUSE_MSGDLG" = "yes"; then
48859 cat >>confdefs.h <<\_ACEOF
48860 #define wxUSE_MSGDLG 1
48865 if test "$wxUSE_NUMBERDLG" = "yes"; then
48866 cat >>confdefs.h <<\_ACEOF
48867 #define wxUSE_NUMBERDLG 1
48872 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48873 cat >>confdefs.h <<\_ACEOF
48874 #define wxUSE_PROGRESSDLG 1
48879 if test "$wxUSE_SPLASH" = "yes"; then
48880 cat >>confdefs.h <<\_ACEOF
48881 #define wxUSE_SPLASH 1
48884 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48887 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48888 cat >>confdefs.h <<\_ACEOF
48889 #define wxUSE_STARTUP_TIPS 1
48894 if test "$wxUSE_TEXTDLG" = "yes"; then
48895 cat >>confdefs.h <<\_ACEOF
48896 #define wxUSE_TEXTDLG 1
48901 if test "$wxUSE_WIZARDDLG" = "yes"; then
48902 cat >>confdefs.h <<\_ACEOF
48903 #define wxUSE_WIZARDDLG 1
48906 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48910 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48911 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48912 cat >>confdefs.h <<\_ACEOF
48913 #define wxUSE_OWNER_DRAWN 1
48920 if test "$wxUSE_MSW" = 1 ; then
48922 if test "$wxUSE_DC_CACHEING" = "yes"; then
48923 cat >>confdefs.h <<\_ACEOF
48924 #define wxUSE_DC_CACHEING 1
48929 if test "$wxUSE_DIB" = "yes"; then
48930 cat >>confdefs.h <<\_ACEOF
48931 #define wxUSE_WXDIB 1
48936 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48937 cat >>confdefs.h <<\_ACEOF
48938 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48943 if test "$wxUSE_UXTHEME" = "yes"; then
48944 cat >>confdefs.h <<\_ACEOF
48945 #define wxUSE_UXTHEME 1
48952 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48953 cat >>confdefs.h <<\_ACEOF
48954 #define wxUSE_AUTOID_MANAGEMENT 1
48959 if test "$USE_WIN32" = 1 ; then
48960 if test "$wxUSE_INICONF" = "yes"; then
48961 cat >>confdefs.h <<\_ACEOF
48962 #define wxUSE_INICONF 1
48967 if test "$wxUSE_REGKEY" = "yes"; then
48968 cat >>confdefs.h <<\_ACEOF
48969 #define wxUSE_REGKEY 1
48976 if test "$wxUSE_MAC" = 1; then
48977 wxUSE_GRAPHICS_CONTEXT="yes"
48980 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48982 if test "$wxUSE_MSW" = 1; then
48983 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48984 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48985 if test "${wx_cv_lib_gdiplus+set}" = set; then
48986 echo $ECHO_N "(cached) $ECHO_C" >&6
48990 ac_cpp='$CXXCPP $CPPFLAGS'
48991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48995 cat >conftest.$ac_ext <<_ACEOF
48998 cat confdefs.h >>conftest.$ac_ext
48999 cat >>conftest.$ac_ext <<_ACEOF
49000 /* end confdefs.h. */
49001 #include <windows.h>
49002 #include <gdiplus.h>
49007 using namespace Gdiplus;
49013 rm -f conftest.$ac_objext
49014 if { (ac_try="$ac_compile"
49015 case "(($ac_try" in
49016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49017 *) ac_try_echo=$ac_try;;
49019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49020 (eval "$ac_compile") 2>conftest.er1
49022 grep -v '^ *+' conftest.er1 >conftest.err
49024 cat conftest.err >&5
49025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49026 (exit $ac_status); } && {
49027 test -z "$ac_cxx_werror_flag" ||
49028 test ! -s conftest.err
49029 } && test -s conftest.$ac_objext; then
49030 wx_cv_lib_gdiplus=yes
49032 echo "$as_me: failed program was:" >&5
49033 sed 's/^/| /' conftest.$ac_ext >&5
49035 wx_cv_lib_gdiplus=no
49039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49041 ac_cpp='$CPP $CPPFLAGS'
49042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49049 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
49050 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
49051 if test "$wx_cv_lib_gdiplus" = "yes"; then
49054 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
49057 { echo "$as_me:$LINENO: checking for CAIRO" >&5
49058 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
49060 if test -n "$PKG_CONFIG"; then
49061 if test -n "$CAIRO_CFLAGS"; then
49062 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
49064 if test -n "$PKG_CONFIG" && \
49065 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49066 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49069 (exit $ac_status); }; then
49070 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
49078 if test -n "$PKG_CONFIG"; then
49079 if test -n "$CAIRO_LIBS"; then
49080 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
49082 if test -n "$PKG_CONFIG" && \
49083 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49084 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49087 (exit $ac_status); }; then
49088 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
49099 if test $pkg_failed = yes; then
49101 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49102 _pkg_short_errors_supported=yes
49104 _pkg_short_errors_supported=no
49106 if test $_pkg_short_errors_supported = yes; then
49107 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
49109 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
49111 # Put the nasty error message in config.log where it belongs
49112 echo "$CAIRO_PKG_ERRORS" >&5
49114 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
49115 echo "$as_me: WARNING: Cairo library not found" >&2;}
49117 elif test $pkg_failed = untried; then
49118 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
49119 echo "$as_me: WARNING: Cairo library not found" >&2;}
49122 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
49123 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
49124 { echo "$as_me:$LINENO: result: yes" >&5
49125 echo "${ECHO_T}yes" >&6; }
49128 if test "$wx_has_graphics" = 1; then
49130 LIBS="$LIBS $CAIRO_LIBS"
49132 for ac_func in cairo_push_group
49134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49135 { echo "$as_me:$LINENO: checking for $ac_func" >&5
49136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
49137 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
49138 echo $ECHO_N "(cached) $ECHO_C" >&6
49140 cat >conftest.$ac_ext <<_ACEOF
49143 cat confdefs.h >>conftest.$ac_ext
49144 cat >>conftest.$ac_ext <<_ACEOF
49145 /* end confdefs.h. */
49146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49148 #define $ac_func innocuous_$ac_func
49150 /* System header to define __stub macros and hopefully few prototypes,
49151 which can conflict with char $ac_func (); below.
49152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49153 <limits.h> exists even on freestanding compilers. */
49156 # include <limits.h>
49158 # include <assert.h>
49163 /* Override any GCC internal prototype to avoid an error.
49164 Use char because int might match the return type of a GCC
49165 builtin and then its argument prototype would still apply. */
49170 /* The GNU C library defines this for functions which it implements
49171 to always fail with ENOSYS. Some functions are actually named
49172 something starting with __ and the normal name is an alias. */
49173 #if defined __stub_$ac_func || defined __stub___$ac_func
49180 return $ac_func ();
49185 rm -f conftest.$ac_objext conftest$ac_exeext
49186 if { (ac_try="$ac_link"
49187 case "(($ac_try" in
49188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49189 *) ac_try_echo=$ac_try;;
49191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49192 (eval "$ac_link") 2>conftest.er1
49194 grep -v '^ *+' conftest.er1 >conftest.err
49196 cat conftest.err >&5
49197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49198 (exit $ac_status); } && {
49199 test -z "$ac_c_werror_flag" ||
49200 test ! -s conftest.err
49201 } && test -s conftest$ac_exeext &&
49202 $as_test_x conftest$ac_exeext; then
49203 eval "$as_ac_var=yes"
49205 echo "$as_me: failed program was:" >&5
49206 sed 's/^/| /' conftest.$ac_ext >&5
49208 eval "$as_ac_var=no"
49211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
49212 conftest$ac_exeext conftest.$ac_ext
49214 ac_res=`eval echo '${'$as_ac_var'}'`
49215 { echo "$as_me:$LINENO: result: $ac_res" >&5
49216 echo "${ECHO_T}$ac_res" >&6; }
49217 if test `eval echo '${'$as_ac_var'}'` = yes; then
49218 cat >>confdefs.h <<_ACEOF
49219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49226 if test "$ac_cv_func_cairo_push_group" = "no"; then
49228 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
49229 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
49231 cat >>confdefs.h <<\_ACEOF
49232 #define wxUSE_CAIRO 1
49236 if test "$wxUSE_GTK" != 1; then
49237 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
49238 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
49246 if test "$wx_has_graphics" = 1; then
49247 cat >>confdefs.h <<\_ACEOF
49248 #define wxUSE_GRAPHICS_CONTEXT 1
49252 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
49253 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
49260 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
49263 if test "$wxUSE_GTK" = 1; then
49264 wxUSE_GSTREAMER="no"
49266 GST_VERSION_MAJOR=0
49267 GST_VERSION_MINOR=10
49268 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49270 if test "$wxUSE_GSTREAMER8" = "no"; then
49273 { echo "$as_me:$LINENO: checking for GST" >&5
49274 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49276 if test -n "$PKG_CONFIG"; then
49277 if test -n "$GST_CFLAGS"; then
49278 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49280 if test -n "$PKG_CONFIG" && \
49281 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49282 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49285 (exit $ac_status); }; then
49286 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49294 if test -n "$PKG_CONFIG"; then
49295 if test -n "$GST_LIBS"; then
49296 pkg_cv_GST_LIBS="$GST_LIBS"
49298 if test -n "$PKG_CONFIG" && \
49299 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49300 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49303 (exit $ac_status); }; then
49304 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49315 if test $pkg_failed = yes; then
49317 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49318 _pkg_short_errors_supported=yes
49320 _pkg_short_errors_supported=no
49322 if test $_pkg_short_errors_supported = yes; then
49323 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49325 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49327 # Put the nasty error message in config.log where it belongs
49328 echo "$GST_PKG_ERRORS" >&5
49331 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49332 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49333 GST_VERSION_MINOR=8
49336 elif test $pkg_failed = untried; then
49338 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49339 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49340 GST_VERSION_MINOR=8
49344 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49345 GST_LIBS=$pkg_cv_GST_LIBS
49346 { echo "$as_me:$LINENO: result: yes" >&5
49347 echo "${ECHO_T}yes" >&6; }
49349 wxUSE_GSTREAMER="yes"
49350 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49354 GST_VERSION_MINOR=8
49357 if test $GST_VERSION_MINOR = "8"; then
49358 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49361 { echo "$as_me:$LINENO: checking for GST" >&5
49362 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49364 if test -n "$PKG_CONFIG"; then
49365 if test -n "$GST_CFLAGS"; then
49366 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49368 if test -n "$PKG_CONFIG" && \
49369 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49370 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49373 (exit $ac_status); }; then
49374 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49382 if test -n "$PKG_CONFIG"; then
49383 if test -n "$GST_LIBS"; then
49384 pkg_cv_GST_LIBS="$GST_LIBS"
49386 if test -n "$PKG_CONFIG" && \
49387 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49388 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49391 (exit $ac_status); }; then
49392 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49403 if test $pkg_failed = yes; then
49405 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49406 _pkg_short_errors_supported=yes
49408 _pkg_short_errors_supported=no
49410 if test $_pkg_short_errors_supported = yes; then
49411 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49413 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49415 # Put the nasty error message in config.log where it belongs
49416 echo "$GST_PKG_ERRORS" >&5
49419 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49420 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49422 elif test $pkg_failed = untried; then
49424 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49425 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49428 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49429 GST_LIBS=$pkg_cv_GST_LIBS
49430 { echo "$as_me:$LINENO: result: yes" >&5
49431 echo "${ECHO_T}yes" >&6; }
49432 wxUSE_GSTREAMER="yes"
49437 if test "$wxUSE_GSTREAMER" = "yes"; then
49438 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49439 EXTRALIBS_MEDIA="$GST_LIBS"
49441 cat >>confdefs.h <<\_ACEOF
49442 #define wxUSE_GSTREAMER 1
49450 if test $USE_MEDIA = 1; then
49451 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49452 cat >>confdefs.h <<\_ACEOF
49453 #define wxUSE_MEDIACTRL 1
49457 if test "$wxUSE_MEDIACTRL" = "yes"; then
49458 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
49459 echo "$as_me: error: GStreamer not available" >&2;}
49460 { (exit 1); exit 1; }; }
49462 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
49463 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
49469 if test "$cross_compiling" != "no"; then
49472 OSINFO=`uname -s -r -m`
49473 OSINFO="\"$OSINFO\""
49476 cat >>confdefs.h <<_ACEOF
49477 #define WXWIN_OS_DESCRIPTION $OSINFO
49482 if test "x$prefix" != "xNONE"; then
49485 wxPREFIX=$ac_default_prefix
49488 cat >>confdefs.h <<_ACEOF
49489 #define wxINSTALL_PREFIX "$wxPREFIX"
49495 STD_BASE_LIBS="base"
49497 BUILT_WX_LIBS="base"
49498 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
49500 if test "$wxUSE_SOCKETS" = "yes" ; then
49501 STD_BASE_LIBS="net $STD_BASE_LIBS"
49502 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49504 if test "$wxUSE_XML" = "yes" ; then
49505 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49506 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49509 if test "$wxUSE_GUI" = "yes"; then
49510 STD_GUI_LIBS="adv core"
49511 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49513 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49514 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49515 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49517 if test "$wxUSE_HTML" = "yes" ; then
49518 STD_GUI_LIBS="html $STD_GUI_LIBS"
49519 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49521 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49522 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49524 if test "$wxUSE_OPENGL" = "yes" ; then
49525 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49527 if test "$wxUSE_AUI" = "yes" ; then
49528 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49530 if test "$wxUSE_PROPGRID" = "yes" ; then
49531 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
49533 if test "$wxUSE_RIBBON" = "yes" ; then
49534 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
49536 if test "$wxUSE_RICHTEXT" = "yes" ; then
49537 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
49539 if test "$wxUSE_STC" = "yes" ; then
49540 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49542 if test "$wxUSE_WEBVIEW" = "yes" ; then
49543 STD_GUI_LIBS="webview $STD_GUI_LIBS"
49544 BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
49546 if test "$wxUSE_XRC" = "yes" ; then
49547 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49548 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49559 if test "$wxUSE_MAC" = 1 ; then
49560 if test "$USE_DARWIN" = 1; then
49561 if test "$wxUSE_OSX_IPHONE" = 1; then
49562 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
49564 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
49568 if test "$wxUSE_OLD_COCOA" = 1 ; then
49569 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
49570 if test "$wxUSE_MEDIACTRL" = "yes"; then
49571 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
49574 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
49575 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49578 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
49579 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
49581 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49583 if test "$wxUSE_GUI" = "yes"; then
49586 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49587 erase event exec font image minimal render \
49588 shaped svg taborder vscroll widgets wrapsizer"
49590 if test "$wxUSE_MONOLITHIC" != "yes"; then
49591 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49593 if test "$TOOLKIT" = "MSW"; then
49594 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49595 if test "$wxUSE_UNIVERSAL" != "yes"; then
49596 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
49599 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49600 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49603 SAMPLES_SUBDIRS="console"
49604 if test "$wxUSE_SOCKETS" = "yes" ; then
49605 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
49607 if test "$wxUSE_IPC" = "yes" ; then
49608 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
49613 if test "x$INTELCC" = "xyes" ; then
49614 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
49615 elif test "$GCC" = yes ; then
49616 CWARNINGS="-Wall -Wundef"
49619 if test "x$INTELCXX" = "xyes" ; then
49620 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
49621 elif test "$GXX" = yes ; then
49622 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
49623 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
49624 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
49625 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
49626 echo $ECHO_N "(cached) $ECHO_C" >&6
49628 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
49631 ac_cpp='$CXXCPP $CPPFLAGS'
49632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49636 ac_save_CXXFLAGS="$CXXFLAGS"
49637 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
49638 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
49639 cat >conftest.$ac_ext <<_ACEOF
49642 cat confdefs.h >>conftest.$ac_ext
49643 cat >>conftest.$ac_ext <<_ACEOF
49644 /* end confdefs.h. */
49654 rm -f conftest.$ac_objext
49655 if { (ac_try="$ac_compile"
49656 case "(($ac_try" in
49657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49658 *) ac_try_echo=$ac_try;;
49660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49661 (eval "$ac_compile") 2>conftest.er1
49663 grep -v '^ *+' conftest.er1 >conftest.err
49665 cat conftest.err >&5
49666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49667 (exit $ac_status); } && {
49668 test -z "$ac_cxx_werror_flag" ||
49669 test ! -s conftest.err
49670 } && test -s conftest.$ac_objext; then
49671 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
49673 echo "$as_me: failed program was:" >&5
49674 sed 's/^/| /' conftest.$ac_ext >&5
49679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49681 CXXFLAGS="$ac_save_CXXFLAGS"
49683 ac_cpp='$CPP $CPPFLAGS'
49684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49690 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
49691 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
49692 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
49696 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
49697 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
49698 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
49700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49701 (exit $ac_status); }
49702 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
49703 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
49705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49706 (exit $ac_status); }
49707 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
49713 if test "$wxUSE_MAC" = 1 ; then
49714 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
49719 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49720 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49723 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49724 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49725 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49728 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49729 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49730 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49731 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
49732 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
49734 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49737 if test "x$MWCC" = "xyes"; then
49739 CC="$CC -cwd source -I-"
49740 CXX="$CXX -cwd source -I-"
49745 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49746 EXTRALIBS_XML="$EXPAT_LINK"
49747 EXTRALIBS_HTML="$MSPACK_LINK"
49748 EXTRALIBS_MEDIA="$GST_LIBS"
49749 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49750 if test "$wxUSE_GUI" = "yes"; then
49751 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49753 if test "$wxUSE_OPENGL" = "yes"; then
49754 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49757 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49759 WXCONFIG_LIBS="$LIBS"
49761 if test "$wxUSE_REGEX" = "builtin" ; then
49762 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49764 if test "$wxUSE_EXPAT" = "builtin" ; then
49765 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49767 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49768 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49770 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49771 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49773 if test "$wxUSE_LIBPNG" = "builtin" ; then
49774 wxconfig_3rdparty="png $wxconfig_3rdparty"
49776 if test "$wxUSE_ZLIB" = "builtin" ; then
49777 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49780 for i in $wxconfig_3rdparty ; do
49781 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49785 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49788 case "$wxUNIV_THEMES" in
49790 cat >>confdefs.h <<\_ACEOF
49791 #define wxUSE_ALL_THEMES 1
49797 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
49798 cat >>confdefs.h <<_ACEOF
49799 #define wxUSE_THEME_$t 1
49815 if test $wxUSE_MONOLITHIC = "yes" ; then
49821 if test $wxUSE_PLUGINS = "yes" ; then
49827 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49833 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49865 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
49878 TOOLKIT_DESC="GTK+"
49879 if test "$WXGTK2" = 1; then
49880 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49881 if test "$wxUSE_GTKPRINT" = "yes" ; then
49882 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49884 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49885 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49887 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49888 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49890 if test "$wxUSE_LIBHILDON" = "yes"; then
49891 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49893 if test "$wxUSE_LIBHILDON2" = "yes"; then
49894 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49897 if test "$TOOLKIT_EXTRA" != ""; then
49898 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49904 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49908 TOOLKIT_DESC="base only"
49912 if test "$wxUSE_WINE" = "yes"; then
49913 BAKEFILE_FORCE_PLATFORM=win32
49916 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49918 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49919 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49920 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49921 echo $ECHO_N "(cached) $ECHO_C" >&6
49924 echo '#include <stdio.h>
49925 const wchar_t test_var[] = L"awidetest";' > conftest.h
49927 echo '#include "conftest.h"
49930 printf("%ls", test_var);
49934 wx_cv_gcc_pch_bug="pch not supported"
49936 if $CXX conftest.h >/dev/null 2>&1
49940 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49942 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49943 grep awidetest >/dev/null
49945 wx_cv_gcc_pch_bug=no
49947 wx_cv_gcc_pch_bug=yes
49952 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49955 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49956 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49958 if test "$wx_cv_gcc_pch_bug" = yes; then
49969 if test "x$BAKEFILE_HOST" = "x"; then
49970 if test "x${host}" = "x" ; then
49971 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49972 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49973 { (exit 1); exit 1; }; }
49976 BAKEFILE_HOST="${host}"
49979 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49981 if test -n "$ac_tool_prefix"; then
49982 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49983 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49984 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49986 if test "${ac_cv_prog_RANLIB+set}" = set; then
49987 echo $ECHO_N "(cached) $ECHO_C" >&6
49989 if test -n "$RANLIB"; then
49990 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49993 for as_dir in $PATH
49996 test -z "$as_dir" && as_dir=.
49997 for ac_exec_ext in '' $ac_executable_extensions; do
49998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49999 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
50000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50009 RANLIB=$ac_cv_prog_RANLIB
50010 if test -n "$RANLIB"; then
50011 { echo "$as_me:$LINENO: result: $RANLIB" >&5
50012 echo "${ECHO_T}$RANLIB" >&6; }
50014 { echo "$as_me:$LINENO: result: no" >&5
50015 echo "${ECHO_T}no" >&6; }
50020 if test -z "$ac_cv_prog_RANLIB"; then
50021 ac_ct_RANLIB=$RANLIB
50022 # Extract the first word of "ranlib", so it can be a program name with args.
50023 set dummy ranlib; ac_word=$2
50024 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50026 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
50027 echo $ECHO_N "(cached) $ECHO_C" >&6
50029 if test -n "$ac_ct_RANLIB"; then
50030 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
50032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50033 for as_dir in $PATH
50036 test -z "$as_dir" && as_dir=.
50037 for ac_exec_ext in '' $ac_executable_extensions; do
50038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50039 ac_cv_prog_ac_ct_RANLIB="ranlib"
50040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50049 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
50050 if test -n "$ac_ct_RANLIB"; then
50051 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
50052 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
50054 { echo "$as_me:$LINENO: result: no" >&5
50055 echo "${ECHO_T}no" >&6; }
50058 if test "x$ac_ct_RANLIB" = x; then
50061 case $cross_compiling:$ac_tool_warned in
50063 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50064 whose name does not start with the host triplet. If you think this
50065 configuration is useful to you, please write to autoconf@gnu.org." >&5
50066 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50067 whose name does not start with the host triplet. If you think this
50068 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50069 ac_tool_warned=yes ;;
50071 RANLIB=$ac_ct_RANLIB
50074 RANLIB="$ac_cv_prog_RANLIB"
50077 # Find a good install program. We prefer a C program (faster),
50078 # so one script is as good as another. But avoid the broken or
50079 # incompatible versions:
50080 # SysV /etc/install, /usr/sbin/install
50081 # SunOS /usr/etc/install
50082 # IRIX /sbin/install
50084 # AmigaOS /C/install, which installs bootblocks on floppy discs
50085 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
50086 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
50087 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
50088 # OS/2's system install, which has a completely different semantic
50089 # ./install, which can be erroneously created by make from ./install.sh.
50090 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
50091 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
50092 if test -z "$INSTALL"; then
50093 if test "${ac_cv_path_install+set}" = set; then
50094 echo $ECHO_N "(cached) $ECHO_C" >&6
50096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50097 for as_dir in $PATH
50100 test -z "$as_dir" && as_dir=.
50101 # Account for people who put trailing slashes in PATH elements.
50103 ./ | .// | /cC/* | \
50104 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
50105 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
50108 # OSF1 and SCO ODT 3.0 have their own names for install.
50109 # Don't use installbsd from OSF since it installs stuff as root
50111 for ac_prog in ginstall scoinst install; do
50112 for ac_exec_ext in '' $ac_executable_extensions; do
50113 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
50114 if test $ac_prog = install &&
50115 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
50116 # AIX install. It has an incompatible calling convention.
50118 elif test $ac_prog = install &&
50119 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
50120 # program-specific install script used by HP pwplus--don't use.
50123 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
50136 if test "${ac_cv_path_install+set}" = set; then
50137 INSTALL=$ac_cv_path_install
50139 # As a last resort, use the slow shell script. Don't cache a
50140 # value for INSTALL within a source directory, because that will
50141 # break other packages using the cache if that directory is
50142 # removed, or if the value is a relative name.
50143 INSTALL=$ac_install_sh
50146 { echo "$as_me:$LINENO: result: $INSTALL" >&5
50147 echo "${ECHO_T}$INSTALL" >&6; }
50149 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
50150 # It thinks the first close brace ends the variable substitution.
50151 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
50153 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
50155 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
50157 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
50158 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
50160 if test "$LN_S" = "ln -s"; then
50161 { echo "$as_me:$LINENO: result: yes" >&5
50162 echo "${ECHO_T}yes" >&6; }
50164 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
50165 echo "${ECHO_T}no, using $LN_S" >&6; }
50169 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50170 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50171 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50172 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50173 echo $ECHO_N "(cached) $ECHO_C" >&6
50175 cat >conftest.make <<\_ACEOF
50178 @echo '@@@%%%=$(MAKE)=@@@%%%'
50180 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50181 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50182 *@@@%%%=?*=@@@%%%*)
50183 eval ac_cv_prog_make_${ac_make}_set=yes;;
50185 eval ac_cv_prog_make_${ac_make}_set=no;;
50187 rm -f conftest.make
50189 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50190 { echo "$as_me:$LINENO: result: yes" >&5
50191 echo "${ECHO_T}yes" >&6; }
50194 { echo "$as_me:$LINENO: result: no" >&5
50195 echo "${ECHO_T}no" >&6; }
50196 SET_MAKE="MAKE=${MAKE-make}"
50201 if test "x$SUNCXX" = "xyes"; then
50203 AROPTIONS="-xar -o"
50205 elif test "x$SGICC" = "xyes"; then
50210 if test -n "$ac_tool_prefix"; then
50211 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
50212 set dummy ${ac_tool_prefix}ar; ac_word=$2
50213 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50215 if test "${ac_cv_prog_AR+set}" = set; then
50216 echo $ECHO_N "(cached) $ECHO_C" >&6
50218 if test -n "$AR"; then
50219 ac_cv_prog_AR="$AR" # Let the user override the test.
50221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50222 for as_dir in $PATH
50225 test -z "$as_dir" && as_dir=.
50226 for ac_exec_ext in '' $ac_executable_extensions; do
50227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50228 ac_cv_prog_AR="${ac_tool_prefix}ar"
50229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50239 if test -n "$AR"; then
50240 { echo "$as_me:$LINENO: result: $AR" >&5
50241 echo "${ECHO_T}$AR" >&6; }
50243 { echo "$as_me:$LINENO: result: no" >&5
50244 echo "${ECHO_T}no" >&6; }
50249 if test -z "$ac_cv_prog_AR"; then
50251 # Extract the first word of "ar", so it can be a program name with args.
50252 set dummy ar; ac_word=$2
50253 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50255 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
50256 echo $ECHO_N "(cached) $ECHO_C" >&6
50258 if test -n "$ac_ct_AR"; then
50259 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
50261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50262 for as_dir in $PATH
50265 test -z "$as_dir" && as_dir=.
50266 for ac_exec_ext in '' $ac_executable_extensions; do
50267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50268 ac_cv_prog_ac_ct_AR="ar"
50269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50278 ac_ct_AR=$ac_cv_prog_ac_ct_AR
50279 if test -n "$ac_ct_AR"; then
50280 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
50281 echo "${ECHO_T}$ac_ct_AR" >&6; }
50283 { echo "$as_me:$LINENO: result: no" >&5
50284 echo "${ECHO_T}no" >&6; }
50287 if test "x$ac_ct_AR" = x; then
50290 case $cross_compiling:$ac_tool_warned in
50292 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50293 whose name does not start with the host triplet. If you think this
50294 configuration is useful to you, please write to autoconf@gnu.org." >&5
50295 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50296 whose name does not start with the host triplet. If you think this
50297 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50298 ac_tool_warned=yes ;;
50303 AR="$ac_cv_prog_AR"
50310 if test -n "$ac_tool_prefix"; then
50311 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
50312 set dummy ${ac_tool_prefix}strip; ac_word=$2
50313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50315 if test "${ac_cv_prog_STRIP+set}" = set; then
50316 echo $ECHO_N "(cached) $ECHO_C" >&6
50318 if test -n "$STRIP"; then
50319 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
50321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50322 for as_dir in $PATH
50325 test -z "$as_dir" && as_dir=.
50326 for ac_exec_ext in '' $ac_executable_extensions; do
50327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50328 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
50329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50338 STRIP=$ac_cv_prog_STRIP
50339 if test -n "$STRIP"; then
50340 { echo "$as_me:$LINENO: result: $STRIP" >&5
50341 echo "${ECHO_T}$STRIP" >&6; }
50343 { echo "$as_me:$LINENO: result: no" >&5
50344 echo "${ECHO_T}no" >&6; }
50349 if test -z "$ac_cv_prog_STRIP"; then
50351 # Extract the first word of "strip", so it can be a program name with args.
50352 set dummy strip; ac_word=$2
50353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50355 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
50356 echo $ECHO_N "(cached) $ECHO_C" >&6
50358 if test -n "$ac_ct_STRIP"; then
50359 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
50361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50362 for as_dir in $PATH
50365 test -z "$as_dir" && as_dir=.
50366 for ac_exec_ext in '' $ac_executable_extensions; do
50367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50368 ac_cv_prog_ac_ct_STRIP="strip"
50369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50378 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
50379 if test -n "$ac_ct_STRIP"; then
50380 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
50381 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
50383 { echo "$as_me:$LINENO: result: no" >&5
50384 echo "${ECHO_T}no" >&6; }
50387 if test "x$ac_ct_STRIP" = x; then
50390 case $cross_compiling:$ac_tool_warned in
50392 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50393 whose name does not start with the host triplet. If you think this
50394 configuration is useful to you, please write to autoconf@gnu.org." >&5
50395 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50396 whose name does not start with the host triplet. If you think this
50397 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50398 ac_tool_warned=yes ;;
50403 STRIP="$ac_cv_prog_STRIP"
50406 if test -n "$ac_tool_prefix"; then
50407 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
50408 set dummy ${ac_tool_prefix}nm; ac_word=$2
50409 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50411 if test "${ac_cv_prog_NM+set}" = set; then
50412 echo $ECHO_N "(cached) $ECHO_C" >&6
50414 if test -n "$NM"; then
50415 ac_cv_prog_NM="$NM" # Let the user override the test.
50417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50418 for as_dir in $PATH
50421 test -z "$as_dir" && as_dir=.
50422 for ac_exec_ext in '' $ac_executable_extensions; do
50423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50424 ac_cv_prog_NM="${ac_tool_prefix}nm"
50425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50435 if test -n "$NM"; then
50436 { echo "$as_me:$LINENO: result: $NM" >&5
50437 echo "${ECHO_T}$NM" >&6; }
50439 { echo "$as_me:$LINENO: result: no" >&5
50440 echo "${ECHO_T}no" >&6; }
50445 if test -z "$ac_cv_prog_NM"; then
50447 # Extract the first word of "nm", so it can be a program name with args.
50448 set dummy nm; ac_word=$2
50449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50451 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50452 echo $ECHO_N "(cached) $ECHO_C" >&6
50454 if test -n "$ac_ct_NM"; then
50455 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
50457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50458 for as_dir in $PATH
50461 test -z "$as_dir" && as_dir=.
50462 for ac_exec_ext in '' $ac_executable_extensions; do
50463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50464 ac_cv_prog_ac_ct_NM="nm"
50465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50474 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50475 if test -n "$ac_ct_NM"; then
50476 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50477 echo "${ECHO_T}$ac_ct_NM" >&6; }
50479 { echo "$as_me:$LINENO: result: no" >&5
50480 echo "${ECHO_T}no" >&6; }
50483 if test "x$ac_ct_NM" = x; then
50486 case $cross_compiling:$ac_tool_warned in
50488 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50489 whose name does not start with the host triplet. If you think this
50490 configuration is useful to you, please write to autoconf@gnu.org." >&5
50491 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50492 whose name does not start with the host triplet. If you think this
50493 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50494 ac_tool_warned=yes ;;
50499 NM="$ac_cv_prog_NM"
50503 INSTALL_DIR="mkdir -p"
50507 case ${BAKEFILE_HOST} in
50508 *-*-cygwin* | *-*-mingw32* )
50509 LDFLAGS_GUI="-mwindows"
50515 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50516 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50517 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50518 echo $ECHO_N "(cached) $ECHO_C" >&6
50521 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50522 egrep -s GNU > /dev/null); then
50523 bakefile_cv_prog_makeisgnu="yes"
50525 bakefile_cv_prog_makeisgnu="no"
50529 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50530 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50532 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50549 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50550 case "${BAKEFILE_HOST}" in
50557 *-pc-os2_emx | *-pc-os2-emx )
50567 powerpc-apple-macos* )
50576 case "$BAKEFILE_FORCE_PLATFORM" in
50597 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
50598 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
50599 { (exit 1); exit 1; }; }
50614 # Check whether --enable-omf was given.
50615 if test "${enable_omf+set}" = set; then
50616 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50620 case "${BAKEFILE_HOST}" in
50622 if test "x$GCC" = "xyes"; then
50623 CFLAGS="$CFLAGS -fno-common"
50624 CXXFLAGS="$CXXFLAGS -fno-common"
50626 if test "x$XLCC" = "xyes"; then
50627 CFLAGS="$CFLAGS -qnocommon"
50628 CXXFLAGS="$CXXFLAGS -qnocommon"
50632 *-pc-os2_emx | *-pc-os2-emx )
50633 if test "x$bk_os2_use_omf" = "xyes" ; then
50636 LDFLAGS="-Zomf $LDFLAGS"
50637 CFLAGS="-Zomf $CFLAGS"
50638 CXXFLAGS="-Zomf $CXXFLAGS"
50646 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50652 SO_SUFFIX_MODULE="so"
50657 DLLPREFIX_MODULE=""
50661 case "${BAKEFILE_HOST}" in
50666 SO_SUFFIX_MODULE="sl"
50670 SO_SUFFIX_MODULE="a"
50674 SO_SUFFIX_MODULE="dll"
50675 DLLIMP_SUFFIX="dll.a"
50682 SO_SUFFIX_MODULE="dll"
50683 DLLIMP_SUFFIX="dll.a"
50693 *-pc-os2_emx | *-pc-os2-emx )
50695 SO_SUFFIX_MODULE="dll"
50696 DLLIMP_SUFFIX=$OS2_LIBEXT
50700 LIBEXT=".$OS2_LIBEXT"
50705 SO_SUFFIX_MODULE="bundle"
50709 if test "x$DLLIMP_SUFFIX" = "x" ; then
50710 DLLIMP_SUFFIX="$SO_SUFFIX"
50725 if test "x$GCC" = "xyes"; then
50729 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50730 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50733 case "${BAKEFILE_HOST}" in
50735 if test "x$GCC" != "xyes"; then
50736 LDFLAGS="$LDFLAGS -L/usr/lib"
50738 SHARED_LD_CC="${CC} -b -o"
50739 SHARED_LD_CXX="${CXX} -b -o"
50745 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
50747 elif test "x$SUNCXX" = "xyes"; then
50748 SHARED_LD_CC="${CC} -G -o"
50749 SHARED_LD_CXX="${CXX} -G -o"
50755 if test "x$SUNCXX" = xyes ; then
50756 SHARED_LD_CC="${CC} -G -o"
50757 SHARED_LD_CXX="${CXX} -G -o"
50765 cat <<EOF >shared-ld-sh
50767 #-----------------------------------------------------------------------------
50768 #-- Name: distrib/mac/shared-ld-sh
50769 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50770 #-- Author: Gilles Depeyrot
50771 #-- Copyright: (c) 2002 Gilles Depeyrot
50772 #-- Licence: any use permitted
50773 #-----------------------------------------------------------------------------
50778 linking_flag="-dynamiclib"
50779 ldargs="-r -keep_private_externs -nostdlib"
50781 if test "x${D}CXX" = "x"; then
50785 while test ${D}# -gt 0; do
50792 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50793 # collect these options and values
50794 args="${D}{args} ${D}1 ${D}2"
50799 # collect these options and values
50800 ldargs="${D}{ldargs} ${D}1 ${D}2"
50805 # collect these load args
50806 ldargs="${D}{ldargs} ${D}1"
50809 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50810 # collect these options
50811 args="${D}{args} ${D}1"
50814 -dynamiclib|-bundle)
50815 linking_flag="${D}1"
50819 echo "shared-ld: unhandled option '${D}1'"
50823 *.o | *.a | *.dylib)
50824 # collect object files
50825 objects="${D}{objects} ${D}1"
50829 echo "shared-ld: unhandled argument '${D}1'"
50840 # Link one module containing all the others
50842 if test ${D}{verbose} = 1; then
50843 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50845 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50849 # Link the shared library from the single module created, but only if the
50850 # previous command didn't fail:
50852 if test ${D}{status} = 0; then
50853 if test ${D}{verbose} = 1; then
50854 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50856 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50861 # Remove intermediate module
50863 rm -f master.${D}${D}.o
50868 chmod +x shared-ld-sh
50870 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50871 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
50874 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50875 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50876 if test "${bakefile_cv_gcc31+set}" = set; then
50877 echo $ECHO_N "(cached) $ECHO_C" >&6
50880 cat >conftest.$ac_ext <<_ACEOF
50883 cat confdefs.h >>conftest.$ac_ext
50884 cat >>conftest.$ac_ext <<_ACEOF
50885 /* end confdefs.h. */
50891 #if (__GNUC__ < 3) || \
50892 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50900 rm -f conftest.$ac_objext
50901 if { (ac_try="$ac_compile"
50902 case "(($ac_try" in
50903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50904 *) ac_try_echo=$ac_try;;
50906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50907 (eval "$ac_compile") 2>conftest.er1
50909 grep -v '^ *+' conftest.er1 >conftest.err
50911 cat conftest.err >&5
50912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50913 (exit $ac_status); } && {
50914 test -z "$ac_c_werror_flag" ||
50915 test ! -s conftest.err
50916 } && test -s conftest.$ac_objext; then
50918 bakefile_cv_gcc31=yes
50921 echo "$as_me: failed program was:" >&5
50922 sed 's/^/| /' conftest.$ac_ext >&5
50925 bakefile_cv_gcc31=no
50930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50933 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50934 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50935 if test "$bakefile_cv_gcc31" = "no"; then
50936 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50937 SHARED_LD_CXX="$SHARED_LD_CC"
50939 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50940 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50943 if test "x$GCC" == "xyes"; then
50944 PIC_FLAG="-dynamic -fPIC"
50946 if test "x$XLCC" = "xyes"; then
50947 PIC_FLAG="-dynamic -DPIC"
50952 if test "x$GCC" = "xyes"; then
50955 case "${BAKEFILE_HOST}" in
50957 LD_EXPFULL="-Wl,-bexpfull"
50961 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50962 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50964 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50965 set dummy makeC++SharedLib; ac_word=$2
50966 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50968 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50969 echo $ECHO_N "(cached) $ECHO_C" >&6
50971 if test -n "$AIX_CXX_LD"; then
50972 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50975 for as_dir in $PATH
50978 test -z "$as_dir" && as_dir=.
50979 for ac_exec_ext in '' $ac_executable_extensions; do
50980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50981 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50989 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50992 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50993 if test -n "$AIX_CXX_LD"; then
50994 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50995 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50997 { echo "$as_me:$LINENO: result: no" >&5
50998 echo "${ECHO_T}no" >&6; }
51002 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
51003 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
51008 SHARED_LD_CC="${LD} -nostart -o"
51009 SHARED_LD_CXX="${LD} -nostart -o"
51013 if test "x$GCC" != "xyes"; then
51018 *-*-cygwin* | *-*-mingw32* )
51020 SHARED_LD_CC="\$(CC) -shared -o"
51021 SHARED_LD_CXX="\$(CXX) -shared -o"
51025 *-pc-os2_emx | *-pc-os2-emx )
51026 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51027 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51031 cat <<EOF >dllar.sh
51034 # dllar - a tool to build both a .dll and an .a file
51035 # from a set of object (.o) files for EMX/OS2.
51037 # Written by Andrew Zabolotny, bit@freya.etu.ru
51038 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
51040 # This script will accept a set of files on the command line.
51041 # All the public symbols from the .o files will be exported into
51042 # a .DEF file, then linker will be run (through gcc) against them to
51043 # build a shared library consisting of all given .o files. All libraries
51044 # (.a) will be first decompressed into component .o files then act as
51045 # described above. You can optionally give a description (-d "description")
51046 # which will be put into .DLL. To see the list of accepted options (as well
51047 # as command-line format) simply run this program without options. The .DLL
51048 # is built to be imported by name (there is no guarantee that new versions
51049 # of the library you build will have same ordinals for same symbols).
51051 # dllar is free software; you can redistribute it and/or modify
51052 # it under the terms of the GNU General Public License as published by
51053 # the Free Software Foundation; either version 2, or (at your option)
51054 # any later version.
51056 # dllar is distributed in the hope that it will be useful,
51057 # but WITHOUT ANY WARRANTY; without even the implied warranty of
51058 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
51059 # GNU General Public License for more details.
51061 # You should have received a copy of the GNU General Public License
51062 # along with dllar; see the file COPYING. If not, write to the Free
51063 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
51066 # To successfuly run this program you will need:
51067 # - Current drive should have LFN support (HPFS, ext2, network, etc)
51068 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
51070 # (used to build the .dll)
51072 # (used to create .def file from .o files)
51074 # (used to create .a file from .def file)
51075 # - GNU text utilites (cat, sort, uniq)
51076 # used to process emxexp output
51077 # - GNU file utilities (mv, rm)
51079 # - lxlite (optional, see flag below)
51080 # (used for general .dll cleanup)
51087 # basnam, variant of basename, which does _not_ remove the path, _iff_
51088 # second argument (suffix to remove) is given
51092 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
51095 echo ${D}1 | sed 's/'${D}2'${D}//'
51098 echo "error in basnam ${D}*"
51104 # Cleanup temporary files and output
51107 for i in ${D}inputFiles ; do
51110 rm -rf \`basnam ${D}i !\`
51117 # Kill result in case of failure as there is just to many stupid make/nmake
51118 # things out there which doesn't do this.
51119 if [ ${D}# -eq 0 ]; then
51120 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
51124 # Print usage and exit script with rc=1.
51126 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
51127 echo ' [-name-mangler-script script.sh]'
51128 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
51129 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
51130 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
51131 echo ' [*.o] [*.a]'
51132 echo '*> "output_file" should have no extension.'
51133 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
51134 echo ' The import library name is derived from this and is set to "name".a,'
51135 echo ' unless overridden by -import'
51136 echo '*> "importlib_name" should have no extension.'
51137 echo ' If it has the .o, or .a extension, it is automatically removed.'
51138 echo ' This name is used as the import library name and may be longer and'
51139 echo ' more descriptive than the DLL name which has to follow the old '
51140 echo ' 8.3 convention of FAT.'
51141 echo '*> "script.sh may be given to override the output_file name by a'
51142 echo ' different name. It is mainly useful if the regular make process'
51143 echo ' of some package does not take into account OS/2 restriction of'
51144 echo ' DLL name lengths. It takes the importlib name as input and is'
51145 echo ' supposed to procude a shorter name as output. The script should'
51146 echo ' expect to get importlib_name without extension and should produce'
51147 echo ' a (max.) 8 letter name without extension.'
51148 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
51149 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
51150 echo ' These flags will be put at the start of GCC command line.'
51151 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
51152 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
51153 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
51154 echo ' If the last character of a symbol is "*", all symbols beginning'
51155 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
51156 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
51157 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
51158 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
51159 echo ' C runtime DLLs.'
51160 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
51161 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
51162 echo ' unchanged to GCC at the end of command line.'
51163 echo '*> If you create a DLL from a library and you do not specify -o,'
51164 echo ' the basename for DLL and import library will be set to library name,'
51165 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
51166 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
51167 echo ' library will be renamed into gcc_s.a.'
51170 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
51171 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
51176 # Execute a command.
51177 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
51178 # @Uses Whatever CleanUp() uses.
51184 if [ ${D}rcCmd -ne 0 ]; then
51185 echo "command failed, exit code="${D}rcCmd
51200 CFLAGS="-s -Zcrtdll"
51202 EXPORT_BY_ORDINALS=0
51207 case ${D}curDirS in
51211 curDirS=${D}{curDirS}"/"
51214 # Parse commandline
51217 while [ ${D}1 ]; do
51220 EXPORT_BY_ORDINALS=1;
51230 -name-mangler-script)
51251 exclude_symbols=${D}{exclude_symbols}${D}1" "
51255 library_flags=${D}{library_flags}${D}1" "
51274 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51277 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
51278 if [ ${D}omfLinking -eq 1 ]; then
51279 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
51281 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
51286 if [ ${D}libsToLink -ne 0 ]; then
51287 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51289 for file in ${D}1 ; do
51290 if [ -f ${D}file ]; then
51291 inputFiles="${D}{inputFiles} ${D}file"
51295 if [ ${D}found -eq 0 ]; then
51296 echo "ERROR: No file(s) found: "${D}1
51303 done # iterate cmdline words
51306 if [ -z "${D}inputFiles" ]; then
51307 echo "dllar: no input files"
51311 # Now extract all .o files from .a files
51313 for file in ${D}inputFiles ; do
51324 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
51329 dirname=\`basnam ${D}file ${D}suffix\`"_%"
51331 if [ ${D}? -ne 0 ]; then
51332 echo "Failed to create subdirectory ./${D}dirname"
51336 # Append '!' to indicate archive
51337 newInputFiles="${D}newInputFiles ${D}{dirname}!"
51338 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
51341 for subfile in ${D}dirname/*.o* ; do
51342 if [ -f ${D}subfile ]; then
51344 if [ -s ${D}subfile ]; then
51345 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
51346 newInputFiles="${D}newInputFiles ${D}subfile"
51350 if [ ${D}found -eq 0 ]; then
51351 echo "WARNING: there are no files in archive \\'${D}file\\'"
51355 newInputFiles="${D}{newInputFiles} ${D}file"
51359 inputFiles="${D}newInputFiles"
51361 # Output filename(s).
51363 if [ -z ${D}outFile ]; then
51365 set outFile ${D}inputFiles; outFile=${D}2
51368 # If it is an archive, remove the '!' and the '_%' suffixes
51369 case ${D}outFile in
51371 outFile=\`basnam ${D}outFile _%!\`
51376 case ${D}outFile in
51378 outFile=\`basnam ${D}outFile .dll\`
51381 outFile=\`basnam ${D}outFile .DLL\`
51384 outFile=\`basnam ${D}outFile .o\`
51387 outFile=\`basnam ${D}outFile .obj\`
51390 outFile=\`basnam ${D}outFile .a\`
51393 outFile=\`basnam ${D}outFile .lib\`
51398 case ${D}outimpFile in
51400 outimpFile=\`basnam ${D}outimpFile .a\`
51403 outimpFile=\`basnam ${D}outimpFile .lib\`
51408 if [ -z ${D}outimpFile ]; then
51409 outimpFile=${D}outFile
51411 defFile="${D}{outFile}.def"
51412 arcFile="${D}{outimpFile}.a"
51413 arcFile2="${D}{outimpFile}.lib"
51415 #create ${D}dllFile as something matching 8.3 restrictions,
51416 if [ -z ${D}renameScript ] ; then
51417 dllFile="${D}outFile"
51419 dllFile=\`${D}renameScript ${D}outimpFile\`
51422 if [ ${D}do_backup -ne 0 ] ; then
51423 if [ -f ${D}arcFile ] ; then
51424 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
51426 if [ -f ${D}arcFile2 ] ; then
51427 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51431 # Extract public symbols from all the object files.
51432 tmpdefFile=${D}{defFile}_%
51433 rm -f ${D}tmpdefFile
51434 for file in ${D}inputFiles ; do
51439 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51444 # Create the def file.
51446 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
51447 dllFile="${D}{dllFile}.dll"
51448 if [ ! -z ${D}description ]; then
51449 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51451 echo "EXPORTS" >> ${D}defFile
51453 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51454 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51456 # Checks if the export is ok or not.
51457 for word in ${D}exclude_symbols; do
51458 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51459 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51463 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51464 sed "=" < ${D}tmpdefFile | \\
51468 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51470 ' > ${D}{tmpdefFile}%
51471 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51473 rm -f ${D}{tmpdefFile}%
51475 cat ${D}tmpdefFile >> ${D}defFile
51476 rm -f ${D}tmpdefFile
51478 # Do linking, create implib, and apply lxlite.
51480 for file in ${D}inputFiles ; do
51485 gccCmdl="${D}gccCmdl ${D}file"
51489 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51490 touch "${D}{outFile}.dll"
51492 doCommand "emximp -o ${D}arcFile ${D}defFile"
51493 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51495 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51498 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51500 doCommand "emxomf -s -l ${D}arcFile"
51510 powerpc-apple-macos* | \
51511 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51521 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51522 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51523 { (exit 1); exit 1; }; }
51526 if test "x$PIC_FLAG" != "x" ; then
51527 PIC_FLAG="$PIC_FLAG -DPIC"
51530 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51531 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51533 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51534 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51549 USE_SOTWOSYMLINKS=0
51553 case "${BAKEFILE_HOST}" in
51554 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
51555 *-*-k*bsd*-gnu | *-*-mirbsd* )
51556 if test "x$SUNCXX" = "xyes"; then
51559 SONAME_FLAG="-Wl,-soname,"
51563 USE_SOTWOSYMLINKS=1
51575 USE_SOTWOSYMLINKS=1
51593 # Check whether --enable-dependency-tracking was given.
51594 if test "${enable_dependency_tracking+set}" = set; then
51595 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51599 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51600 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51603 if test "x$bk_use_trackdeps" = "xno" ; then
51605 { echo "$as_me:$LINENO: result: disabled" >&5
51606 echo "${ECHO_T}disabled" >&6; }
51610 if test "x$GCC" = "xyes"; then
51612 case "${BAKEFILE_HOST}" in
51614 DEPSFLAG="-no-cpp-precomp -MMD"
51620 { echo "$as_me:$LINENO: result: gcc" >&5
51621 echo "${ECHO_T}gcc" >&6; }
51622 elif test "x$MWCC" = "xyes"; then
51625 { echo "$as_me:$LINENO: result: mwcc" >&5
51626 echo "${ECHO_T}mwcc" >&6; }
51627 elif test "x$SUNCC" = "xyes"; then
51630 { echo "$as_me:$LINENO: result: Sun cc" >&5
51631 echo "${ECHO_T}Sun cc" >&6; }
51632 elif test "x$SGICC" = "xyes"; then
51635 { echo "$as_me:$LINENO: result: SGI cc" >&5
51636 echo "${ECHO_T}SGI cc" >&6; }
51637 elif test "x$HPCC" = "xyes"; then
51640 { echo "$as_me:$LINENO: result: HP cc" >&5
51641 echo "${ECHO_T}HP cc" >&6; }
51642 elif test "x$COMPAQCC" = "xyes"; then
51645 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51646 echo "${ECHO_T}Compaq cc" >&6; }
51649 { echo "$as_me:$LINENO: result: none" >&5
51650 echo "${ECHO_T}none" >&6; }
51653 if test $DEPS_TRACKING = 1 ; then
51659 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51660 # script. It is used to track C/C++ files dependencies in portable way.
51662 # Permission is given to use this file in any way.
51664 DEPSMODE=${DEPSMODE}
51665 DEPSFLAG="${DEPSFLAG}"
51668 if test ${D}DEPSMODE = gcc ; then
51669 ${D}* ${D}{DEPSFLAG}
51672 # determine location of created files:
51673 while test ${D}# -gt 0; do
51687 objfilebase=\`basename ${D}objfile\`
51688 builddir=\`dirname ${D}objfile\`
51689 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51690 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51691 depsdir=${D}builddir/${D}DEPSDIRBASE
51692 mkdir -p ${D}depsdir
51694 # if the compiler failed, we're done:
51695 if test ${D}{status} != 0 ; then
51700 # move created file to the location we want it in:
51701 if test -f ${D}depfile ; then
51702 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51705 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51706 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
51707 if test ! -f ${D}depfile ; then
51708 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51709 depfile="${D}objfile.d"
51711 if test -f ${D}depfile ; then
51712 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51718 elif test ${D}DEPSMODE = mwcc ; then
51719 ${D}* || exit ${D}?
51720 # Run mwcc again with -MM and redirect into the dep file we want
51721 # NOTE: We can't use shift here because we need ${D}* to be valid
51723 for arg in ${D}* ; do
51724 if test "${D}prevarg" = "-o"; then
51738 objfilebase=\`basename ${D}objfile\`
51739 builddir=\`dirname ${D}objfile\`
51740 depsdir=${D}builddir/${D}DEPSDIRBASE
51741 mkdir -p ${D}depsdir
51743 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
51746 elif test ${D}DEPSMODE = unixcc; then
51747 ${D}* || exit ${D}?
51748 # Run compiler again with deps flag and redirect into the dep file.
51749 # It doesn't work if the '-o FILE' option is used, but without it the
51750 # dependency file will contain the wrong name for the object. So it is
51751 # removed from the command line, and the dep file is fixed with sed.
51753 while test ${D}# -gt 0; do
51760 eval arg${D}#=\\${D}1
51761 cmd="${D}cmd \\${D}arg${D}#"
51767 objfilebase=\`basename ${D}objfile\`
51768 builddir=\`dirname ${D}objfile\`
51769 depsdir=${D}builddir/${D}DEPSDIRBASE
51770 mkdir -p ${D}depsdir
51772 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
51782 BK_DEPS="`pwd`/bk-deps"
51790 case ${BAKEFILE_HOST} in
51791 *-*-cygwin* | *-*-mingw32* )
51792 if test -n "$ac_tool_prefix"; then
51793 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51794 set dummy ${ac_tool_prefix}windres; ac_word=$2
51795 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51797 if test "${ac_cv_prog_WINDRES+set}" = set; then
51798 echo $ECHO_N "(cached) $ECHO_C" >&6
51800 if test -n "$WINDRES"; then
51801 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51804 for as_dir in $PATH
51807 test -z "$as_dir" && as_dir=.
51808 for ac_exec_ext in '' $ac_executable_extensions; do
51809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51810 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51820 WINDRES=$ac_cv_prog_WINDRES
51821 if test -n "$WINDRES"; then
51822 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51823 echo "${ECHO_T}$WINDRES" >&6; }
51825 { echo "$as_me:$LINENO: result: no" >&5
51826 echo "${ECHO_T}no" >&6; }
51831 if test -z "$ac_cv_prog_WINDRES"; then
51832 ac_ct_WINDRES=$WINDRES
51833 # Extract the first word of "windres", so it can be a program name with args.
51834 set dummy windres; ac_word=$2
51835 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51837 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51838 echo $ECHO_N "(cached) $ECHO_C" >&6
51840 if test -n "$ac_ct_WINDRES"; then
51841 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51844 for as_dir in $PATH
51847 test -z "$as_dir" && as_dir=.
51848 for ac_exec_ext in '' $ac_executable_extensions; do
51849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51850 ac_cv_prog_ac_ct_WINDRES="windres"
51851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51860 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51861 if test -n "$ac_ct_WINDRES"; then
51862 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51863 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51865 { echo "$as_me:$LINENO: result: no" >&5
51866 echo "${ECHO_T}no" >&6; }
51869 if test "x$ac_ct_WINDRES" = x; then
51872 case $cross_compiling:$ac_tool_warned in
51874 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51875 whose name does not start with the host triplet. If you think this
51876 configuration is useful to you, please write to autoconf@gnu.org." >&5
51877 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51878 whose name does not start with the host triplet. If you think this
51879 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51880 ac_tool_warned=yes ;;
51882 WINDRES=$ac_ct_WINDRES
51885 WINDRES="$ac_cv_prog_WINDRES"
51890 *-*-darwin* | powerpc-apple-macos* )
51891 # Extract the first word of "Rez", so it can be a program name with args.
51892 set dummy Rez; ac_word=$2
51893 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51895 if test "${ac_cv_prog_REZ+set}" = set; then
51896 echo $ECHO_N "(cached) $ECHO_C" >&6
51898 if test -n "$REZ"; then
51899 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51902 for as_dir in $PATH
51905 test -z "$as_dir" && as_dir=.
51906 for ac_exec_ext in '' $ac_executable_extensions; do
51907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51908 ac_cv_prog_REZ="Rez"
51909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51916 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51919 REZ=$ac_cv_prog_REZ
51920 if test -n "$REZ"; then
51921 { echo "$as_me:$LINENO: result: $REZ" >&5
51922 echo "${ECHO_T}$REZ" >&6; }
51924 { echo "$as_me:$LINENO: result: no" >&5
51925 echo "${ECHO_T}no" >&6; }
51929 # Extract the first word of "SetFile", so it can be a program name with args.
51930 set dummy SetFile; ac_word=$2
51931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51933 if test "${ac_cv_prog_SETFILE+set}" = set; then
51934 echo $ECHO_N "(cached) $ECHO_C" >&6
51936 if test -n "$SETFILE"; then
51937 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51940 for as_dir in $PATH
51943 test -z "$as_dir" && as_dir=.
51944 for ac_exec_ext in '' $ac_executable_extensions; do
51945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51946 ac_cv_prog_SETFILE="SetFile"
51947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51954 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51957 SETFILE=$ac_cv_prog_SETFILE
51958 if test -n "$SETFILE"; then
51959 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51960 echo "${ECHO_T}$SETFILE" >&6; }
51962 { echo "$as_me:$LINENO: result: no" >&5
51963 echo "${ECHO_T}no" >&6; }
51978 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
51981 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
51985 # Check whether --enable-precomp-headers was given.
51986 if test "${enable_precomp_headers+set}" = set; then
51987 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51996 case ${BAKEFILE_HOST} in
52002 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
52003 if test "x$GCC" = "xyes"; then
52004 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
52005 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
52006 cat >conftest.$ac_ext <<_ACEOF
52009 cat confdefs.h >>conftest.$ac_ext
52010 cat >>conftest.$ac_ext <<_ACEOF
52011 /* end confdefs.h. */
52017 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
52018 There is no PCH support
52021 There is no PCH support
52023 #if (__GNUC__ == 3) && \
52024 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
52025 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
52026 ( defined(__INTEL_COMPILER) )
52027 There is no PCH support
52034 rm -f conftest.$ac_objext
52035 if { (ac_try="$ac_compile"
52036 case "(($ac_try" in
52037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52038 *) ac_try_echo=$ac_try;;
52040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52041 (eval "$ac_compile") 2>conftest.er1
52043 grep -v '^ *+' conftest.er1 >conftest.err
52045 cat conftest.err >&5
52046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52047 (exit $ac_status); } && {
52048 test -z "$ac_c_werror_flag" ||
52049 test ! -s conftest.err
52050 } && test -s conftest.$ac_objext; then
52052 { echo "$as_me:$LINENO: result: yes" >&5
52053 echo "${ECHO_T}yes" >&6; }
52057 echo "$as_me: failed program was:" >&5
52058 sed 's/^/| /' conftest.$ac_ext >&5
52061 if test "$INTELCXX8" = "yes"; then
52062 { echo "$as_me:$LINENO: result: yes" >&5
52063 echo "${ECHO_T}yes" >&6; }
52065 if test "$INTELCXX10" = "yes"; then
52066 ICC_PCH_CREATE_SWITCH="-pch-create"
52067 ICC_PCH_USE_SWITCH="-pch-use"
52069 ICC_PCH_CREATE_SWITCH="-create-pch"
52070 ICC_PCH_USE_SWITCH="-use-pch"
52073 { echo "$as_me:$LINENO: result: no" >&5
52074 echo "${ECHO_T}no" >&6; }
52079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52080 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
52084 cat <<EOF >bk-make-pch
52087 # This script is part of Bakefile (http://www.bakefile.org) autoconf
52088 # script. It is used to generated precompiled headers.
52090 # Permission is given to use this file in any way.
52097 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
52102 while test ${D}{#} -gt 0; do
52106 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
52107 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
52108 headerfile="${D}{incdir}/${D}{header}"
52111 -use-pch|-use_pch|-pch-use )
52116 if test ${D}add_to_cmdline = 1 ; then
52117 compiler="${D}{compiler} ${D}{1}"
52122 if test "x${D}{headerfile}" = "x" ; then
52123 echo "error: can't find header ${D}{header} in include paths" >&2
52125 if test -f ${D}{outfile} ; then
52126 rm -f ${D}{outfile}
52128 mkdir -p \`dirname ${D}{outfile}\`
52130 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
52131 mkdir -p ${D}{builddir}/.deps
52132 if test "x${GCC_PCH}" = "x1" ; then
52133 # can do this because gcc is >= 3.4:
52134 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
52135 elif test "x${ICC_PCH}" = "x1" ; then
52136 filename=pch_gen-${D}${D}
52137 file=${D}{filename}.c
52138 dfile=${D}{filename}.d
52139 cat > ${D}file <<EOT
52140 #include "${D}header"
52142 # using -MF icc complains about differing command lines in creation/use
52143 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
52144 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
52145 rm -f ${D}file ${D}dfile ${D}{filename}.o
52151 chmod +x bk-make-pch
52152 BK_MAKE_PCH="`pwd`/bk-make-pch"
52163 COND_BUILD_DEBUG="#"
52164 if test "x$BUILD" = "xdebug" ; then
52165 COND_BUILD_DEBUG=""
52168 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
52169 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
52170 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
52173 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
52174 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
52175 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
52178 COND_BUILD_DEBUG_UNICODE_0="#"
52179 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
52180 COND_BUILD_DEBUG_UNICODE_0=""
52183 COND_BUILD_DEBUG_UNICODE_1="#"
52184 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
52185 COND_BUILD_DEBUG_UNICODE_1=""
52188 COND_BUILD_RELEASE="#"
52189 if test "x$BUILD" = "xrelease" ; then
52190 COND_BUILD_RELEASE=""
52193 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
52194 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
52195 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
52198 COND_BUILD_RELEASE_UNICODE_0="#"
52199 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
52200 COND_BUILD_RELEASE_UNICODE_0=""
52203 COND_BUILD_RELEASE_UNICODE_1="#"
52204 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
52205 COND_BUILD_RELEASE_UNICODE_1=""
52208 COND_BUILD_debug="#"
52209 if test "x$BUILD" = "xdebug" ; then
52210 COND_BUILD_debug=""
52213 COND_BUILD_debug_DEBUG_FLAG_default="#"
52214 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
52215 COND_BUILD_debug_DEBUG_FLAG_default=""
52218 COND_BUILD_debug_DEBUG_INFO_default="#"
52219 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
52220 COND_BUILD_debug_DEBUG_INFO_default=""
52223 COND_BUILD_debug_UNICODE_0="#"
52224 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
52225 COND_BUILD_debug_UNICODE_0=""
52228 COND_BUILD_debug_UNICODE_1="#"
52229 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
52230 COND_BUILD_debug_UNICODE_1=""
52233 COND_BUILD_release="#"
52234 if test "x$BUILD" = "xrelease" ; then
52235 COND_BUILD_release=""
52238 COND_BUILD_release_DEBUG_INFO_default="#"
52239 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
52240 COND_BUILD_release_DEBUG_INFO_default=""
52243 COND_BUILD_release_UNICODE_0="#"
52244 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
52245 COND_BUILD_release_UNICODE_0=""
52248 COND_BUILD_release_UNICODE_1="#"
52249 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
52250 COND_BUILD_release_UNICODE_1=""
52253 COND_DEBUG_FLAG_0="#"
52254 if test "x$DEBUG_FLAG" = "x0" ; then
52255 COND_DEBUG_FLAG_0=""
52258 COND_DEBUG_FLAG_1="#"
52259 if test "x$DEBUG_FLAG" = "x1" ; then
52260 COND_DEBUG_FLAG_1=""
52263 COND_DEBUG_INFO_0="#"
52264 if test "x$DEBUG_INFO" = "x0" ; then
52265 COND_DEBUG_INFO_0=""
52268 COND_DEBUG_INFO_1="#"
52269 if test "x$DEBUG_INFO" = "x1" ; then
52270 COND_DEBUG_INFO_1=""
52273 COND_DEPS_TRACKING_0="#"
52274 if test "x$DEPS_TRACKING" = "x0" ; then
52275 COND_DEPS_TRACKING_0=""
52278 COND_DEPS_TRACKING_1="#"
52279 if test "x$DEPS_TRACKING" = "x1" ; then
52280 COND_DEPS_TRACKING_1=""
52284 if test "x$GCC_PCH" = "x1" ; then
52289 if test "x$ICC_PCH" = "x1" ; then
52293 COND_MONOLITHIC_0="#"
52294 if test "x$MONOLITHIC" = "x0" ; then
52295 COND_MONOLITHIC_0=""
52298 COND_MONOLITHIC_0_SHARED_0="#"
52299 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
52300 COND_MONOLITHIC_0_SHARED_0=""
52303 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
52304 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
52305 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
52308 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
52309 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
52310 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
52313 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
52314 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52315 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
52318 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
52319 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52320 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
52323 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
52324 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52325 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
52328 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
52329 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
52330 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
52333 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
52334 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
52335 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
52338 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
52339 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
52340 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
52343 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
52344 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52345 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
52348 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
52349 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52350 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
52353 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
52354 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52355 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
52358 COND_MONOLITHIC_0_SHARED_1="#"
52359 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
52360 COND_MONOLITHIC_0_SHARED_1=""
52363 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
52364 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
52365 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
52368 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
52369 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
52370 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
52373 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
52374 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52375 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
52378 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
52379 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52380 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
52383 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
52384 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52385 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
52388 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
52389 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
52390 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
52393 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
52394 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
52395 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
52398 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
52399 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
52400 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
52403 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
52404 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
52405 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
52408 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
52409 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
52410 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
52413 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
52414 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52415 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
52418 COND_MONOLITHIC_0_USE_AUI_1="#"
52419 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
52420 COND_MONOLITHIC_0_USE_AUI_1=""
52423 COND_MONOLITHIC_0_USE_GUI_1="#"
52424 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
52425 COND_MONOLITHIC_0_USE_GUI_1=""
52428 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
52429 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52430 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
52433 COND_MONOLITHIC_0_USE_HTML_1="#"
52434 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
52435 COND_MONOLITHIC_0_USE_HTML_1=""
52438 COND_MONOLITHIC_0_USE_MEDIA_1="#"
52439 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
52440 COND_MONOLITHIC_0_USE_MEDIA_1=""
52443 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
52444 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
52445 COND_MONOLITHIC_0_USE_PROPGRID_1=""
52448 COND_MONOLITHIC_0_USE_QA_1="#"
52449 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
52450 COND_MONOLITHIC_0_USE_QA_1=""
52453 COND_MONOLITHIC_0_USE_RIBBON_1="#"
52454 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
52455 COND_MONOLITHIC_0_USE_RIBBON_1=""
52458 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
52459 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52460 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
52463 COND_MONOLITHIC_0_USE_STC_1="#"
52464 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52465 COND_MONOLITHIC_0_USE_STC_1=""
52468 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
52469 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
52470 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
52473 COND_MONOLITHIC_0_USE_XRC_1="#"
52474 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52475 COND_MONOLITHIC_0_USE_XRC_1=""
52478 COND_MONOLITHIC_1="#"
52479 if test "x$MONOLITHIC" = "x1" ; then
52480 COND_MONOLITHIC_1=""
52483 COND_MONOLITHIC_1_SHARED_0="#"
52484 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52485 COND_MONOLITHIC_1_SHARED_0=""
52488 COND_MONOLITHIC_1_SHARED_1="#"
52489 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52490 COND_MONOLITHIC_1_SHARED_1=""
52493 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
52494 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52495 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
52498 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
52499 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52500 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
52503 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
52504 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52505 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
52508 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
52509 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52510 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
52513 COND_PLATFORM_MACOSX_1="#"
52514 if test "x$PLATFORM_MACOSX" = "x1" ; then
52515 COND_PLATFORM_MACOSX_1=""
52518 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
52519 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
52520 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
52523 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
52524 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52525 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
52528 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52529 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52530 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52533 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
52534 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52535 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
52538 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52539 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52540 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52543 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
52544 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52545 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
52548 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52549 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52550 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52553 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52554 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52555 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52558 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52559 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52560 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52563 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
52564 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52565 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
52568 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52569 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52570 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52573 COND_PLATFORM_MACOS_1="#"
52574 if test "x$PLATFORM_MACOS" = "x1" ; then
52575 COND_PLATFORM_MACOS_1=""
52578 COND_PLATFORM_MAC_0="#"
52579 if test "x$PLATFORM_MAC" = "x0" ; then
52580 COND_PLATFORM_MAC_0=""
52583 COND_PLATFORM_MAC_1="#"
52584 if test "x$PLATFORM_MAC" = "x1" ; then
52585 COND_PLATFORM_MAC_1=""
52588 COND_PLATFORM_MSDOS_0="#"
52589 if test "x$PLATFORM_MSDOS" = "x0" ; then
52590 COND_PLATFORM_MSDOS_0=""
52593 COND_PLATFORM_MSDOS_1="#"
52594 if test "x$PLATFORM_MSDOS" = "x1" ; then
52595 COND_PLATFORM_MSDOS_1=""
52598 COND_PLATFORM_OS2_1="#"
52599 if test "x$PLATFORM_OS2" = "x1" ; then
52600 COND_PLATFORM_OS2_1=""
52603 COND_PLATFORM_UNIX_0="#"
52604 if test "x$PLATFORM_UNIX" = "x0" ; then
52605 COND_PLATFORM_UNIX_0=""
52608 COND_PLATFORM_UNIX_1="#"
52609 if test "x$PLATFORM_UNIX" = "x1" ; then
52610 COND_PLATFORM_UNIX_1=""
52613 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52614 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52615 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52618 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52619 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52620 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52623 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52624 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52625 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52628 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52629 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52630 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52633 COND_PLATFORM_WIN32_0="#"
52634 if test "x$PLATFORM_WIN32" = "x0" ; then
52635 COND_PLATFORM_WIN32_0=""
52638 COND_PLATFORM_WIN32_1="#"
52639 if test "x$PLATFORM_WIN32" = "x1" ; then
52640 COND_PLATFORM_WIN32_1=""
52643 COND_PLATFORM_WIN32_1_SHARED_0="#"
52644 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52645 COND_PLATFORM_WIN32_1_SHARED_0=""
52649 if test "x$SHARED" = "x0" ; then
52653 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52654 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52655 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52658 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52659 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52660 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52663 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52664 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52665 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52668 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52669 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52670 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52673 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52674 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52675 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52678 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52679 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52680 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52683 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52684 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52685 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52688 COND_SHARED_0_USE_STC_1="#"
52689 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52690 COND_SHARED_0_USE_STC_1=""
52693 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
52694 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52695 COND_SHARED_0_wxUSE_EXPAT_builtin=""
52698 COND_SHARED_0_wxUSE_REGEX_builtin="#"
52699 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52700 COND_SHARED_0_wxUSE_REGEX_builtin=""
52703 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
52704 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52705 COND_SHARED_0_wxUSE_ZLIB_builtin=""
52709 if test "x$SHARED" = "x1" ; then
52713 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52714 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52715 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52719 if test "x$TOOLKIT" = "x" ; then
52723 COND_TOOLKIT_COCOA="#"
52724 if test "x$TOOLKIT" = "xCOCOA" ; then
52725 COND_TOOLKIT_COCOA=""
52728 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52729 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52730 COND_TOOLKIT_COCOA_USE_GUI_1=""
52733 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52734 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52735 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52738 COND_TOOLKIT_DFB="#"
52739 if test "x$TOOLKIT" = "xDFB" ; then
52740 COND_TOOLKIT_DFB=""
52743 COND_TOOLKIT_DFB_USE_GUI_1="#"
52744 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52745 COND_TOOLKIT_DFB_USE_GUI_1=""
52748 COND_TOOLKIT_GTK="#"
52749 if test "x$TOOLKIT" = "xGTK" ; then
52750 COND_TOOLKIT_GTK=""
52753 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52754 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52755 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52758 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52759 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52760 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52763 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52764 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52765 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52768 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52769 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52770 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52773 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52774 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52775 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52778 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52779 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52780 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52783 COND_TOOLKIT_GTK_USE_GUI_1="#"
52784 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52785 COND_TOOLKIT_GTK_USE_GUI_1=""
52788 COND_TOOLKIT_MAC="#"
52789 if test "x$TOOLKIT" = "xMAC" ; then
52790 COND_TOOLKIT_MAC=""
52793 COND_TOOLKIT_MGL="#"
52794 if test "x$TOOLKIT" = "xMGL" ; then
52795 COND_TOOLKIT_MGL=""
52798 COND_TOOLKIT_MGL_USE_GUI_1="#"
52799 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52800 COND_TOOLKIT_MGL_USE_GUI_1=""
52803 COND_TOOLKIT_MOTIF="#"
52804 if test "x$TOOLKIT" = "xMOTIF" ; then
52805 COND_TOOLKIT_MOTIF=""
52808 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52809 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52810 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52813 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52814 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52815 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52818 COND_TOOLKIT_MSW="#"
52819 if test "x$TOOLKIT" = "xMSW" ; then
52820 COND_TOOLKIT_MSW=""
52823 COND_TOOLKIT_MSW_USE_GUI_1="#"
52824 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52825 COND_TOOLKIT_MSW_USE_GUI_1=""
52828 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52829 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52830 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52833 COND_TOOLKIT_MSW_WXUNIV_0="#"
52834 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52835 COND_TOOLKIT_MSW_WXUNIV_0=""
52838 COND_TOOLKIT_OSX_CARBON="#"
52839 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
52840 COND_TOOLKIT_OSX_CARBON=""
52843 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52844 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52845 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52848 COND_TOOLKIT_OSX_COCOA="#"
52849 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
52850 COND_TOOLKIT_OSX_COCOA=""
52853 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52854 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52855 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52858 COND_TOOLKIT_OSX_IPHONE="#"
52859 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
52860 COND_TOOLKIT_OSX_IPHONE=""
52863 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52864 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52865 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52868 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52869 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52870 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52873 COND_TOOLKIT_PM="#"
52874 if test "x$TOOLKIT" = "xPM" ; then
52878 COND_TOOLKIT_PM_USE_GUI_1="#"
52879 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52880 COND_TOOLKIT_PM_USE_GUI_1=""
52883 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52884 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52885 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52888 COND_TOOLKIT_WINCE="#"
52889 if test "x$TOOLKIT" = "xWINCE" ; then
52890 COND_TOOLKIT_WINCE=""
52893 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52894 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52895 COND_TOOLKIT_WINCE_USE_GUI_1=""
52898 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52899 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52900 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52903 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52904 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52905 COND_TOOLKIT_WINCE_WXUNIV_0=""
52908 COND_TOOLKIT_X11="#"
52909 if test "x$TOOLKIT" = "xX11" ; then
52910 COND_TOOLKIT_X11=""
52913 COND_TOOLKIT_X11_USE_GUI_1="#"
52914 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52915 COND_TOOLKIT_X11_USE_GUI_1=""
52919 if test "x$UNICODE" = "x1" ; then
52923 COND_USE_CAIRO_1="#"
52924 if test "x$USE_CAIRO" = "x1" ; then
52925 COND_USE_CAIRO_1=""
52928 COND_USE_EXCEPTIONS_0="#"
52929 if test "x$USE_EXCEPTIONS" = "x0" ; then
52930 COND_USE_EXCEPTIONS_0=""
52933 COND_USE_EXCEPTIONS_1="#"
52934 if test "x$USE_EXCEPTIONS" = "x1" ; then
52935 COND_USE_EXCEPTIONS_1=""
52939 if test "x$USE_GUI" = "x0" ; then
52944 if test "x$USE_GUI" = "x1" ; then
52948 COND_USE_GUI_1_USE_OPENGL_1="#"
52949 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52950 COND_USE_GUI_1_USE_OPENGL_1=""
52953 COND_USE_GUI_1_WXUNIV_0="#"
52954 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52955 COND_USE_GUI_1_WXUNIV_0=""
52958 COND_USE_GUI_1_WXUNIV_1="#"
52959 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52960 COND_USE_GUI_1_WXUNIV_1=""
52963 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52964 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52965 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52968 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52969 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52970 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52973 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52974 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52975 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52978 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52979 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52980 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52983 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52984 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52985 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52988 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52989 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52990 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52993 COND_USE_OPENGL_1="#"
52994 if test "x$USE_OPENGL" = "x1" ; then
52995 COND_USE_OPENGL_1=""
52999 if test "x$USE_PCH" = "x1" ; then
53003 COND_USE_PLUGINS_0="#"
53004 if test "x$USE_PLUGINS" = "x0" ; then
53005 COND_USE_PLUGINS_0=""
53008 COND_USE_RTTI_0="#"
53009 if test "x$USE_RTTI" = "x0" ; then
53013 COND_USE_RTTI_1="#"
53014 if test "x$USE_RTTI" = "x1" ; then
53018 COND_USE_SOTWOSYMLINKS_1="#"
53019 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
53020 COND_USE_SOTWOSYMLINKS_1=""
53023 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
53024 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
53025 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
53028 COND_USE_SOVERLINUX_1="#"
53029 if test "x$USE_SOVERLINUX" = "x1" ; then
53030 COND_USE_SOVERLINUX_1=""
53033 COND_USE_SOVERSION_0="#"
53034 if test "x$USE_SOVERSION" = "x0" ; then
53035 COND_USE_SOVERSION_0=""
53038 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
53039 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
53040 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
53043 COND_USE_SOVERSOLARIS_1="#"
53044 if test "x$USE_SOVERSOLARIS" = "x1" ; then
53045 COND_USE_SOVERSOLARIS_1=""
53049 if test "x$USE_STC" = "x1" ; then
53053 COND_USE_THREADS_0="#"
53054 if test "x$USE_THREADS" = "x0" ; then
53055 COND_USE_THREADS_0=""
53058 COND_USE_THREADS_1="#"
53059 if test "x$USE_THREADS" = "x1" ; then
53060 COND_USE_THREADS_1=""
53064 if test "x$USE_XRC" = "x1" ; then
53068 COND_WINDOWS_IMPLIB_1="#"
53069 if test "x$WINDOWS_IMPLIB" = "x1" ; then
53070 COND_WINDOWS_IMPLIB_1=""
53073 COND_WITH_PLUGIN_SDL_1="#"
53074 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
53075 COND_WITH_PLUGIN_SDL_1=""
53079 if test "x$WXUNIV" = "x0" ; then
53084 if test "x$WXUNIV" = "x1" ; then
53088 COND_WXUSE_EXPAT_BUILTIN="#"
53089 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
53090 COND_WXUSE_EXPAT_BUILTIN=""
53093 COND_WXUSE_LIBJPEG_BUILTIN="#"
53094 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
53095 COND_WXUSE_LIBJPEG_BUILTIN=""
53098 COND_WXUSE_LIBPNG_BUILTIN="#"
53099 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
53100 COND_WXUSE_LIBPNG_BUILTIN=""
53103 COND_WXUSE_LIBTIFF_BUILTIN="#"
53104 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
53105 COND_WXUSE_LIBTIFF_BUILTIN=""
53108 COND_WXUSE_REGEX_BUILTIN="#"
53109 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
53110 COND_WXUSE_REGEX_BUILTIN=""
53113 COND_WXUSE_ZLIB_BUILTIN="#"
53114 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
53115 COND_WXUSE_ZLIB_BUILTIN=""
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=""
53150 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
53151 { { 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
53152 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;}
53153 { (exit 1); exit 1; }; }
53156 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
53157 { { 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
53158 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;}
53159 { (exit 1); exit 1; }; }
53166 ?:* ) # Drive letter, considered as absolute.
53169 INSTALL=`pwd`/${INSTALL} ;;
53172 if test "$wxUSE_GUI" = "yes"; then
53174 if test "$wxUSE_MSW" = 1 ; then
53175 if test "x$WINDRES" = "x"; then
53176 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
53177 echo "$as_me: error: Required windres program not found" >&2;}
53178 { (exit 1); exit 1; }; }
53184 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
53185 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
53186 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
53188 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
53190 # Extract the first word of "DeRez", so it can be a program name with args.
53191 set dummy DeRez; ac_word=$2
53192 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53194 if test "${ac_cv_prog_DEREZ+set}" = set; then
53195 echo $ECHO_N "(cached) $ECHO_C" >&6
53197 if test -n "$DEREZ"; then
53198 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
53200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53201 for as_dir in $PATH
53204 test -z "$as_dir" && as_dir=.
53205 for ac_exec_ext in '' $ac_executable_extensions; do
53206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53207 ac_cv_prog_DEREZ="DeRez"
53208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53215 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
53218 DEREZ=$ac_cv_prog_DEREZ
53219 if test -n "$DEREZ"; then
53220 { echo "$as_me:$LINENO: result: $DEREZ" >&5
53221 echo "${ECHO_T}$DEREZ" >&6; }
53223 { echo "$as_me:$LINENO: result: no" >&5
53224 echo "${ECHO_T}no" >&6; }
53229 MACSETFILE="\$(SETFILE)"
53231 if test "$wxUSE_OSX_CARBON" = 1; then
53232 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
53234 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
53236 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
53237 RESCOMP="cat /dev/null \| $REZ"
53238 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
53244 if test "$wxUSE_PM" = 1; then
53246 WXCONFIG_RESFLAGS="-ep"
53248 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
53250 POSTLINK_COMMAND="@true"
53257 if test $GCC_PCH = 1
53259 if test "$wx_cv_gcc_pch_bug" = yes; then
53260 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
53261 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
53262 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
53263 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
53264 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
53265 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
53268 # Our WX_PRECOMP flag does not make sense for any language except C++ because
53269 # the headers that benefit from precompilation are mostly C++ headers.
53270 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
53271 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
53272 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
53276 if test "$wxUSE_MAC" = 1 ; then
53277 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
53278 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
53284 if test "$wxUSE_SHARED" = "yes"; then
53286 *-pc-os2_emx | *-pc-os2-emx )
53287 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53288 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53289 cp -p ${srcdir}/src/os2/dllnames.sh .
53290 cp -p ${srcdir}/src/os2/dllar.sh .
53294 if test "$wxUSE_OMF" = "yes"; then
53296 *-pc-os2_emx | *-pc-os2-emx )
53297 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
53298 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
53299 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
53304 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
53309 if test "$GCC" = yes; then
53310 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
53311 LIBS=`echo $LIBS | sed 's/-mt//'`
53312 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
53317 if test "x$SUNCXX" = xyes; then
53318 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
53319 LIBS=`echo $LIBS | sed 's/-pthread//'`
53320 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
53325 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
53326 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
53327 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
53328 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
53330 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
53391 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
53392 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
53393 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
53394 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
53395 echo $ECHO_N "(cached) $ECHO_C" >&6
53397 cat >conftest.make <<\_ACEOF
53400 @echo '@@@%%%=$(MAKE)=@@@%%%'
53402 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
53403 case `${MAKE-make} -f conftest.make 2>/dev/null` in
53404 *@@@%%%=?*=@@@%%%*)
53405 eval ac_cv_prog_make_${ac_make}_set=yes;;
53407 eval ac_cv_prog_make_${ac_make}_set=no;;
53409 rm -f conftest.make
53411 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
53412 { echo "$as_me:$LINENO: result: yes" >&5
53413 echo "${ECHO_T}yes" >&6; }
53416 { echo "$as_me:$LINENO: result: no" >&5
53417 echo "${ECHO_T}no" >&6; }
53418 SET_MAKE="MAKE=${MAKE-make}"
53423 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
53426 if test "$USE_WIN32" = 1; then
53427 ac_config_commands="$ac_config_commands rcdefs.h"
53431 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
53434 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
53437 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
53440 if test "$wx_cv_version_script" = "yes"; then
53441 ac_config_files="$ac_config_files version-script"
53444 ac_config_files="$ac_config_files Makefile"
53447 ac_config_commands="$ac_config_commands wx-config"
53451 if test "$wxWITH_SUBDIRS" != "no"; then
53452 if test "$wxUSE_GUI" = "yes"; then
53453 SUBDIRS="samples demos utils"
53455 SUBDIRS="samples utils"
53460 # Check whether --with-cppunit-prefix was given.
53461 if test "${with_cppunit_prefix+set}" = set; then
53462 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
53464 cppunit_config_prefix=""
53468 # Check whether --with-cppunit-exec-prefix was given.
53469 if test "${with_cppunit_exec_prefix+set}" = set; then
53470 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
53472 cppunit_config_exec_prefix=""
53476 if test x$cppunit_config_exec_prefix != x ; then
53477 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
53478 if test x${CPPUNIT_CONFIG+set} != xset ; then
53479 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
53482 if test x$cppunit_config_prefix != x ; then
53483 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
53484 if test x${CPPUNIT_CONFIG+set} != xset ; then
53485 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
53489 # Extract the first word of "cppunit-config", so it can be a program name with args.
53490 set dummy cppunit-config; ac_word=$2
53491 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53493 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
53494 echo $ECHO_N "(cached) $ECHO_C" >&6
53496 case $CPPUNIT_CONFIG in
53498 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
53501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53502 for as_dir in $PATH
53505 test -z "$as_dir" && as_dir=.
53506 for ac_exec_ext in '' $ac_executable_extensions; do
53507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53508 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
53509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53516 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
53520 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
53521 if test -n "$CPPUNIT_CONFIG"; then
53522 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53523 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
53525 { echo "$as_me:$LINENO: result: no" >&5
53526 echo "${ECHO_T}no" >&6; }
53530 cppunit_version_min=1.8.0
53532 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53533 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53535 if test "$CPPUNIT_CONFIG" = "no" ; then
53536 { echo "$as_me:$LINENO: result: no" >&5
53537 echo "${ECHO_T}no" >&6; }
53540 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
53541 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
53542 cppunit_version=`$CPPUNIT_CONFIG --version`
53544 cppunit_major_version=`echo $cppunit_version | \
53545 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53546 cppunit_minor_version=`echo $cppunit_version | \
53547 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53548 cppunit_micro_version=`echo $cppunit_version | \
53549 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53551 cppunit_major_min=`echo $cppunit_version_min | \
53552 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53553 cppunit_minor_min=`echo $cppunit_version_min | \
53554 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53555 cppunit_micro_min=`echo $cppunit_version_min | \
53556 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53558 cppunit_version_proper=`expr \
53559 $cppunit_major_version \> $cppunit_major_min \| \
53560 $cppunit_major_version \= $cppunit_major_min \& \
53561 $cppunit_minor_version \> $cppunit_minor_min \| \
53562 $cppunit_major_version \= $cppunit_major_min \& \
53563 $cppunit_minor_version \= $cppunit_minor_min \& \
53564 $cppunit_micro_version \>= $cppunit_micro_min `
53566 if test "$cppunit_version_proper" = "1" ; then
53567 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53568 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53570 { echo "$as_me:$LINENO: result: no" >&5
53571 echo "${ECHO_T}no" >&6; }
53576 if test "x$no_cppunit" = x ; then
53577 SUBDIRS="$SUBDIRS tests"
53588 for subdir in $SUBDIRS; do
53589 if test -d ${srcdir}/${subdir} ; then
53590 if test "$wxUSE_GUI" = "yes"; then
53591 if test ${subdir} = "samples"; then
53592 makefiles="samples/Makefile.in $makefiles"
53593 for sample in $SAMPLES_SUBDIRS; do
53594 if test -d $srcdir/samples/$sample; then
53595 makefiles="samples/$sample/Makefile.in $makefiles"
53599 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
53600 eval "disabled=\$$disabled_var"
53601 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
53602 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53605 if test ${subdir} = "samples"; then
53606 makefiles="samples/Makefile.in $makefiles"
53607 for sample in `echo $SAMPLES_SUBDIRS`; do
53608 if test -d $srcdir/samples/$sample; then
53609 makefiles="samples/$sample/Makefile.in $makefiles"
53612 elif test ${subdir} = "utils"; then
53614 for util in ifacecheck ; do
53615 if test -d $srcdir/utils/$util ; then
53616 makefiles="utils/$util/src/Makefile.in \
53621 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
53625 for mkin in $makefiles ; do
53626 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53627 ac_config_files="$ac_config_files $mk"
53633 cat >confcache <<\_ACEOF
53634 # This file is a shell script that caches the results of configure
53635 # tests run on this system so they can be shared between configure
53636 # scripts and configure runs, see configure's option --config-cache.
53637 # It is not useful on other systems. If it contains results you don't
53638 # want to keep, you may remove or edit it.
53640 # config.status only pays attention to the cache file if you give it
53641 # the --recheck option to rerun configure.
53643 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53644 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53645 # following values.
53649 # The following way of writing the cache mishandles newlines in values,
53650 # but we know of no workaround that is simple, portable, and efficient.
53651 # So, we kill variables containing newlines.
53652 # Ultrix sh set writes to stderr and can't be redirected directly,
53653 # and sets the high bit in the cache file unless we assign to the vars.
53655 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53656 eval ac_val=\$$ac_var
53660 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53661 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53664 _ | IFS | as_nl) ;; #(
53665 *) $as_unset $ac_var ;;
53671 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53672 *${as_nl}ac_space=\ *)
53673 # `set' does not quote correctly, so add quotes (double-quote
53674 # substitution turns \\\\ into \\, and sed turns \\ into \).
53677 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53680 # `set' quotes correctly as required by POSIX, so do not add quotes.
53681 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53690 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53692 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53694 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53695 if test -w "$cache_file"; then
53696 test "x$cache_file" != "x/dev/null" &&
53697 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53698 echo "$as_me: updating cache $cache_file" >&6;}
53699 cat confcache >$cache_file
53701 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53702 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53707 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53708 # Let make expand exec_prefix.
53709 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53711 DEFS=-DHAVE_CONFIG_H
53715 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53716 # 1. Remove the extension, and $U if already installed.
53717 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53718 ac_i=`echo "$ac_i" | sed "$ac_script"`
53719 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53720 # will be set to the directory where LIBOBJS objects are built.
53721 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53722 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53724 LIBOBJS=$ac_libobjs
53726 LTLIBOBJS=$ac_ltlibobjs
53730 : ${CONFIG_STATUS=./config.status}
53731 ac_clean_files_save=$ac_clean_files
53732 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53733 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53734 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53735 cat >$CONFIG_STATUS <<_ACEOF
53737 # Generated by $as_me.
53738 # Run this file to recreate the current configuration.
53739 # Compiler output produced by configure, useful for debugging
53740 # configure, is in config.log if it exists.
53743 ac_cs_recheck=false
53745 SHELL=\${CONFIG_SHELL-$SHELL}
53748 cat >>$CONFIG_STATUS <<\_ACEOF
53749 ## --------------------- ##
53750 ## M4sh Initialization. ##
53751 ## --------------------- ##
53753 # Be more Bourne compatible
53754 DUALCASE=1; export DUALCASE # for MKS sh
53755 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53758 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53759 # is contrary to our usage. Disable this feature.
53760 alias -g '${1+"$@"}'='"$@"'
53761 setopt NO_GLOB_SUBST
53763 case `(set -o) 2>/dev/null` in
53764 *posix*) set -o posix ;;
53773 # Avoid depending upon Character Ranges.
53774 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53775 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53776 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53777 as_cr_digits='0123456789'
53778 as_cr_alnum=$as_cr_Letters$as_cr_digits
53780 # The user is always right.
53781 if test "${PATH_SEPARATOR+set}" != set; then
53782 echo "#! /bin/sh" >conf$$.sh
53783 echo "exit 0" >>conf$$.sh
53785 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53793 # Support unset when possible.
53794 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53802 # We need space, tab and new line, in precisely that order. Quoting is
53803 # there to prevent editors from complaining about space-tab.
53804 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53805 # splitting by setting IFS to empty value.)
53810 # Find who we are. Look in the path if we contain no directory separator.
53812 *[\\/]* ) as_myself=$0 ;;
53813 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53814 for as_dir in $PATH
53817 test -z "$as_dir" && as_dir=.
53818 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53824 # We did not find ourselves, most probably we were run as `sh COMMAND'
53825 # in which case we are not to be found in the path.
53826 if test "x$as_myself" = x; then
53829 if test ! -f "$as_myself"; then
53830 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53831 { (exit 1); exit 1; }
53834 # Work around bugs in pre-3.0 UWIN ksh.
53835 for as_var in ENV MAIL MAILPATH
53836 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53844 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53845 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53846 LC_TELEPHONE LC_TIME
53848 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53849 eval $as_var=C; export $as_var
53851 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53855 # Required to use basename.
53856 if expr a : '\(a\)' >/dev/null 2>&1 &&
53857 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53863 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53864 as_basename=basename
53870 # Name of the executable.
53871 as_me=`$as_basename -- "$0" ||
53872 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53873 X"$0" : 'X\(//\)$' \| \
53874 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53876 sed '/^.*\/\([^/][^/]*\)\/*$/{
53895 as_lineno_1=$LINENO
53896 as_lineno_2=$LINENO
53897 test "x$as_lineno_1" != "x$as_lineno_2" &&
53898 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53900 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53901 # uniformly replaced by the line number. The first 'sed' inserts a
53902 # line-number line after each line using $LINENO; the second 'sed'
53903 # does the real work. The second script uses 'N' to pair each
53904 # line-number line with the line containing $LINENO, and appends
53905 # trailing '-' during substitution so that $LINENO is not a special
53906 # case at line end.
53907 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53908 # scripts with optimization help from Paolo Bonzini. Blame Lee
53909 # E. McMahon (1931-1989) for sed's syntax. :-)
53921 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53924 ' >$as_me.lineno &&
53925 chmod +x "$as_me.lineno" ||
53926 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53927 { (exit 1); exit 1; }; }
53929 # Don't try to exec as it changes $[0], causing all sort of problems
53930 # (the dirname of $[0] is not the place where we might find the
53931 # original and so on. Autoconf is especially sensitive to this).
53932 . "./$as_me.lineno"
53933 # Exit status is that of the last command.
53938 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53944 ECHO_C= ECHO_N= ECHO_T=
53945 case `echo -n x` in
53947 case `echo 'x\c'` in
53948 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53955 if expr a : '\(a\)' >/dev/null 2>&1 &&
53956 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53962 rm -f conf$$ conf$$.exe conf$$.file
53963 if test -d conf$$.dir; then
53964 rm -f conf$$.dir/conf$$.file
53970 if ln -s conf$$.file conf$$ 2>/dev/null; then
53972 # ... but there are two gotchas:
53973 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53974 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53975 # In both cases, we have to default to `cp -p'.
53976 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53978 elif ln conf$$.file conf$$ 2>/dev/null; then
53983 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53984 rmdir conf$$.dir 2>/dev/null
53986 if mkdir -p . 2>/dev/null; then
53989 test -d ./-p && rmdir ./-p
53993 if test -x / >/dev/null 2>&1; then
53994 as_test_x='test -x'
53996 if ls -dL / >/dev/null 2>&1; then
54003 if test -d "$1"; then
54009 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
54010 ???[sx]*):;;*)false;;esac;fi
54014 as_executable_p=$as_test_x
54016 # Sed expression to map a string onto a valid CPP name.
54017 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
54019 # Sed expression to map a string onto a valid variable name.
54020 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
54025 # Save the log message, to keep $[0] and so on meaningful, and to
54026 # report actual input values of CONFIG_FILES etc. instead of their
54027 # values after options handling.
54029 This file was extended by wxWidgets $as_me 2.9.3, which was
54030 generated by GNU Autoconf 2.61. Invocation command line was
54032 CONFIG_FILES = $CONFIG_FILES
54033 CONFIG_HEADERS = $CONFIG_HEADERS
54034 CONFIG_LINKS = $CONFIG_LINKS
54035 CONFIG_COMMANDS = $CONFIG_COMMANDS
54038 on `(hostname || uname -n) 2>/dev/null | sed 1q`
54043 cat >>$CONFIG_STATUS <<_ACEOF
54044 # Files that config.status was made for.
54045 config_files="$ac_config_files"
54046 config_headers="$ac_config_headers"
54047 config_commands="$ac_config_commands"
54051 cat >>$CONFIG_STATUS <<\_ACEOF
54053 \`$as_me' instantiates files from templates according to the
54054 current configuration.
54056 Usage: $0 [OPTIONS] [FILE]...
54058 -h, --help print this help, then exit
54059 -V, --version print version number and configuration settings, then exit
54060 -q, --quiet do not print progress messages
54061 -d, --debug don't remove temporary files
54062 --recheck update $as_me by reconfiguring in the same conditions
54063 --file=FILE[:TEMPLATE]
54064 instantiate the configuration file FILE
54065 --header=FILE[:TEMPLATE]
54066 instantiate the configuration header FILE
54068 Configuration files:
54071 Configuration headers:
54074 Configuration commands:
54077 Report bugs to <bug-autoconf@gnu.org>."
54080 cat >>$CONFIG_STATUS <<_ACEOF
54082 wxWidgets config.status 2.9.3
54083 configured by $0, generated by GNU Autoconf 2.61,
54084 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
54086 Copyright (C) 2006 Free Software Foundation, Inc.
54087 This config.status script is free software; the Free Software Foundation
54088 gives unlimited permission to copy, distribute and modify it."
54095 cat >>$CONFIG_STATUS <<\_ACEOF
54096 # If no file are specified by the user, then we need to provide default
54097 # value. By we need to know if files were specified by the user.
54103 ac_option=`expr "X$1" : 'X\([^=]*\)='`
54104 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
54115 # Handling of the options.
54116 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
54118 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
54119 echo "$ac_cs_version"; exit ;;
54120 --debug | --debu | --deb | --de | --d | -d )
54122 --file | --fil | --fi | --f )
54124 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
54125 ac_need_defaults=false;;
54126 --header | --heade | --head | --hea )
54128 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
54129 ac_need_defaults=false;;
54131 # Conflict between --help and --header
54132 { echo "$as_me: error: ambiguous option: $1
54133 Try \`$0 --help' for more information." >&2
54134 { (exit 1); exit 1; }; };;
54135 --help | --hel | -h )
54136 echo "$ac_cs_usage"; exit ;;
54137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
54138 | -silent | --silent | --silen | --sile | --sil | --si | --s)
54141 # This is an error.
54142 -*) { echo "$as_me: error: unrecognized option: $1
54143 Try \`$0 --help' for more information." >&2
54144 { (exit 1); exit 1; }; } ;;
54146 *) ac_config_targets="$ac_config_targets $1"
54147 ac_need_defaults=false ;;
54153 ac_configure_extra_args=
54155 if $ac_cs_silent; then
54157 ac_configure_extra_args="$ac_configure_extra_args --silent"
54161 cat >>$CONFIG_STATUS <<_ACEOF
54162 if \$ac_cs_recheck; then
54163 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
54164 CONFIG_SHELL=$SHELL
54165 export CONFIG_SHELL
54166 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
54170 cat >>$CONFIG_STATUS <<\_ACEOF
54174 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
54175 ## Running $as_me. ##
54181 cat >>$CONFIG_STATUS <<_ACEOF
54187 infile="$srcdir/include/wx/msw/genrcdefs.h"
54188 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
54191 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54192 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54193 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54199 cat >>$CONFIG_STATUS <<\_ACEOF
54201 # Handling of arguments.
54202 for ac_config_target in $ac_config_targets
54204 case $ac_config_target in
54205 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
54206 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
54207 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
54208 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
54209 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
54210 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
54211 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
54212 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
54213 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
54215 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
54216 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
54217 { (exit 1); exit 1; }; };;
54222 # If the user did not use the arguments to specify the items to instantiate,
54223 # then the envvar interface is used. Set only those that are not.
54224 # We use the long form for the default assignment because of an extremely
54225 # bizarre bug on SunOS 4.1.3.
54226 if $ac_need_defaults; then
54227 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
54228 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
54229 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
54232 # Have a temporary directory for convenience. Make it in the build tree
54233 # simply because there is no reason against having it here, and in addition,
54234 # creating and moving files from /tmp can sometimes cause problems.
54235 # Hook for its removal unless debugging.
54236 # Note that there is a small window in which the directory will not be cleaned:
54237 # after its creation but before its name has been assigned to `$tmp'.
54241 trap 'exit_status=$?
54242 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
54244 trap '{ (exit 1); exit 1; }' 1 2 13 15
54246 # Create a (secure) tmp directory for tmp files.
54249 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
54250 test -n "$tmp" && test -d "$tmp"
54253 tmp=./conf$$-$RANDOM
54254 (umask 077 && mkdir "$tmp")
54257 echo "$me: cannot create a temporary directory in ." >&2
54258 { (exit 1); exit 1; }
54262 # Set up the sed scripts for CONFIG_FILES section.
54265 # No need to generate the scripts if there are no CONFIG_FILES.
54266 # This happens for instance when ./config.status config.h
54267 if test -n "$CONFIG_FILES"; then
54274 for ac_last_try in false false false false false :; do
54275 cat >conf$$subs.sed <<_ACEOF
54276 SHELL!$SHELL$ac_delim
54277 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
54278 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
54279 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
54280 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
54281 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
54282 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
54283 exec_prefix!$exec_prefix$ac_delim
54284 prefix!$prefix$ac_delim
54285 program_transform_name!$program_transform_name$ac_delim
54286 bindir!$bindir$ac_delim
54287 sbindir!$sbindir$ac_delim
54288 libexecdir!$libexecdir$ac_delim
54289 datarootdir!$datarootdir$ac_delim
54290 datadir!$datadir$ac_delim
54291 sysconfdir!$sysconfdir$ac_delim
54292 sharedstatedir!$sharedstatedir$ac_delim
54293 localstatedir!$localstatedir$ac_delim
54294 includedir!$includedir$ac_delim
54295 oldincludedir!$oldincludedir$ac_delim
54296 docdir!$docdir$ac_delim
54297 infodir!$infodir$ac_delim
54298 htmldir!$htmldir$ac_delim
54299 dvidir!$dvidir$ac_delim
54300 pdfdir!$pdfdir$ac_delim
54301 psdir!$psdir$ac_delim
54302 libdir!$libdir$ac_delim
54303 localedir!$localedir$ac_delim
54304 mandir!$mandir$ac_delim
54305 DEFS!$DEFS$ac_delim
54306 ECHO_C!$ECHO_C$ac_delim
54307 ECHO_N!$ECHO_N$ac_delim
54308 ECHO_T!$ECHO_T$ac_delim
54309 LIBS!$LIBS$ac_delim
54310 build_alias!$build_alias$ac_delim
54311 host_alias!$host_alias$ac_delim
54312 target_alias!$target_alias$ac_delim
54313 build!$build$ac_delim
54314 build_cpu!$build_cpu$ac_delim
54315 build_vendor!$build_vendor$ac_delim
54316 build_os!$build_os$ac_delim
54317 host!$host$ac_delim
54318 host_cpu!$host_cpu$ac_delim
54319 host_vendor!$host_vendor$ac_delim
54320 host_os!$host_os$ac_delim
54321 wx_top_builddir!$wx_top_builddir$ac_delim
54323 CFLAGS!$CFLAGS$ac_delim
54324 LDFLAGS!$LDFLAGS$ac_delim
54325 CPPFLAGS!$CPPFLAGS$ac_delim
54326 ac_ct_CC!$ac_ct_CC$ac_delim
54327 EXEEXT!$EXEEXT$ac_delim
54328 OBJEXT!$OBJEXT$ac_delim
54330 GREP!$GREP$ac_delim
54331 EGREP!$EGREP$ac_delim
54333 CXXFLAGS!$CXXFLAGS$ac_delim
54334 ac_ct_CXX!$ac_ct_CXX$ac_delim
54336 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
54337 CXXCPP!$CXXCPP$ac_delim
54338 subdirs!$subdirs$ac_delim
54339 PKG_CONFIG!$PKG_CONFIG$ac_delim
54340 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
54341 GTK_LIBS!$GTK_LIBS$ac_delim
54342 GTK_CONFIG!$GTK_CONFIG$ac_delim
54343 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
54344 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
54345 XMKMF!$XMKMF$ac_delim
54346 X_CFLAGS!$X_CFLAGS$ac_delim
54347 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
54348 X_LIBS!$X_LIBS$ac_delim
54349 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
54350 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
54351 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
54352 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
54353 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
54354 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
54355 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
54356 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
54357 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
54358 LIBICONV!$LIBICONV$ac_delim
54359 GXX_VERSION!$GXX_VERSION$ac_delim
54360 SDL_CONFIG!$SDL_CONFIG$ac_delim
54361 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
54362 SDL_LIBS!$SDL_LIBS$ac_delim
54363 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
54364 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
54365 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
54366 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
54367 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
54368 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
54369 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
54370 HILDON_LIBS!$HILDON_LIBS$ac_delim
54371 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
54372 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
54375 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54377 elif $ac_last_try; then
54378 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54379 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54380 { (exit 1); exit 1; }; }
54382 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54386 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54387 if test -n "$ac_eof"; then
54388 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54389 ac_eof=`expr $ac_eof + 1`
54392 cat >>$CONFIG_STATUS <<_ACEOF
54393 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
54394 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54397 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54398 s/^/s,@/; s/!/@,|#_!!_#|/
54401 s/'"$ac_delim"'$/,g/; t
54403 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54404 ' >>$CONFIG_STATUS <conf$$subs.sed
54405 rm -f conf$$subs.sed
54406 cat >>$CONFIG_STATUS <<_ACEOF
54412 for ac_last_try in false false false false false :; do
54413 cat >conf$$subs.sed <<_ACEOF
54414 PYTHON!$PYTHON$ac_delim
54415 COND_PYTHON!$COND_PYTHON$ac_delim
54416 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
54417 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
54418 GST_CFLAGS!$GST_CFLAGS$ac_delim
54419 GST_LIBS!$GST_LIBS$ac_delim
54420 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
54421 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
54422 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
54423 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
54424 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
54425 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
54426 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
54427 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
54428 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
54429 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
54430 VENDOR!$VENDOR$ac_delim
54431 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
54432 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
54433 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
54434 WXUNIV!$WXUNIV$ac_delim
54435 MONOLITHIC!$MONOLITHIC$ac_delim
54436 USE_PLUGINS!$USE_PLUGINS$ac_delim
54437 CXXWARNINGS!$CXXWARNINGS$ac_delim
54438 EXTRALIBS!$EXTRALIBS$ac_delim
54439 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
54440 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
54441 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
54442 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
54443 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
54444 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
54445 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
54446 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
54447 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
54448 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
54449 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
54450 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
54451 UNICODE!$UNICODE$ac_delim
54452 DEBUG_INFO!$DEBUG_INFO$ac_delim
54453 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
54454 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
54455 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
54456 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
54457 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
54458 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
54459 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
54460 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
54461 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
54462 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
54463 RANLIB!$RANLIB$ac_delim
54464 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
54465 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
54466 INSTALL_DATA!$INSTALL_DATA$ac_delim
54467 LN_S!$LN_S$ac_delim
54468 SET_MAKE!$SET_MAKE$ac_delim
54469 MAKE_SET!$MAKE_SET$ac_delim
54470 AROPTIONS!$AROPTIONS$ac_delim
54471 STRIP!$STRIP$ac_delim
54473 INSTALL_DIR!$INSTALL_DIR$ac_delim
54474 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
54475 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
54476 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
54477 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
54478 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
54479 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
54480 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
54481 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
54482 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
54483 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
54484 SO_SUFFIX!$SO_SUFFIX$ac_delim
54485 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
54486 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
54487 LIBPREFIX!$LIBPREFIX$ac_delim
54488 LIBEXT!$LIBEXT$ac_delim
54489 DLLPREFIX!$DLLPREFIX$ac_delim
54490 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
54491 dlldir!$dlldir$ac_delim
54492 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
54493 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
54494 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
54495 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
54496 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
54497 PIC_FLAG!$PIC_FLAG$ac_delim
54498 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
54499 USE_SOVERSION!$USE_SOVERSION$ac_delim
54500 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
54501 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
54502 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
54503 USE_MACVERSION!$USE_MACVERSION$ac_delim
54504 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
54505 SONAME_FLAG!$SONAME_FLAG$ac_delim
54506 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
54507 BK_DEPS!$BK_DEPS$ac_delim
54508 WINDRES!$WINDRES$ac_delim
54510 SETFILE!$SETFILE$ac_delim
54513 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54515 elif $ac_last_try; then
54516 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54517 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54518 { (exit 1); exit 1; }; }
54520 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54524 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54525 if test -n "$ac_eof"; then
54526 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54527 ac_eof=`expr $ac_eof + 1`
54530 cat >>$CONFIG_STATUS <<_ACEOF
54531 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
54532 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54535 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54536 s/^/s,@/; s/!/@,|#_!!_#|/
54539 s/'"$ac_delim"'$/,g/; t
54541 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54542 ' >>$CONFIG_STATUS <conf$$subs.sed
54543 rm -f conf$$subs.sed
54544 cat >>$CONFIG_STATUS <<_ACEOF
54550 for ac_last_try in false false false false false :; do
54551 cat >conf$$subs.sed <<_ACEOF
54552 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
54553 GCC_PCH!$GCC_PCH$ac_delim
54554 ICC_PCH!$ICC_PCH$ac_delim
54555 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
54556 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
54557 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
54558 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
54559 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
54560 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54561 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54562 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54563 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54564 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54565 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54566 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54567 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
54568 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
54569 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
54570 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
54571 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
54572 COND_BUILD_release!$COND_BUILD_release$ac_delim
54573 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
54574 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
54575 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
54576 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
54577 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54578 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54579 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54580 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54581 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54582 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54583 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54584 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54585 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54586 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54587 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54588 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54589 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54590 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54591 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1$ac_delim
54592 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
54593 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
54594 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54595 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54596 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54597 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54598 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54599 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54600 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54601 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54602 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54603 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1$ac_delim
54604 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
54605 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
54606 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54607 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54608 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54609 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54610 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54611 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54612 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54613 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54614 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
54615 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54616 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
54617 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54618 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54619 COND_MONOLITHIC_0_USE_WEBVIEW_1!$COND_MONOLITHIC_0_USE_WEBVIEW_1$ac_delim
54620 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54621 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54622 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54623 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54624 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54625 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54626 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54627 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54628 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54629 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
54630 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
54631 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54632 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
54633 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54634 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
54635 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54636 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
54637 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54638 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
54639 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54640 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54641 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
54642 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54643 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54644 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54645 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54646 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54647 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54648 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54651 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54653 elif $ac_last_try; then
54654 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54655 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54656 { (exit 1); exit 1; }; }
54658 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54662 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54663 if test -n "$ac_eof"; then
54664 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54665 ac_eof=`expr $ac_eof + 1`
54668 cat >>$CONFIG_STATUS <<_ACEOF
54669 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54670 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54673 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54674 s/^/s,@/; s/!/@,|#_!!_#|/
54677 s/'"$ac_delim"'$/,g/; t
54679 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54680 ' >>$CONFIG_STATUS <conf$$subs.sed
54681 rm -f conf$$subs.sed
54682 cat >>$CONFIG_STATUS <<_ACEOF
54688 for ac_last_try in false false false false false :; do
54689 cat >conf$$subs.sed <<_ACEOF
54690 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54691 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54692 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54693 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54694 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54695 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
54696 COND_SHARED_0!$COND_SHARED_0$ac_delim
54697 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54698 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54699 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54700 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54701 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54702 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54703 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54704 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54705 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
54706 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
54707 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
54708 COND_SHARED_1!$COND_SHARED_1$ac_delim
54709 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54710 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54711 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54712 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54713 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54714 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54715 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54716 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54717 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54718 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54719 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54720 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54721 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54722 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54723 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54724 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54725 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54726 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54727 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54728 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54729 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54730 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54731 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54732 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54733 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54734 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
54735 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54736 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
54737 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54738 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
54739 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54740 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
54741 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54742 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54743 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54744 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54745 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54746 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54747 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54748 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54749 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54750 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54751 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
54752 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54753 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54754 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54755 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54756 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54757 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54758 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54759 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54760 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54761 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54762 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54763 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54764 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54765 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54766 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54767 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54768 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54769 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54770 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
54771 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54772 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54773 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54774 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
54775 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54776 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54777 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54778 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54779 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54780 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54781 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54782 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54783 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54784 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54785 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54786 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54789 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54791 elif $ac_last_try; then
54792 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54793 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54794 { (exit 1); exit 1; }; }
54796 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54800 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54801 if test -n "$ac_eof"; then
54802 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54803 ac_eof=`expr $ac_eof + 1`
54806 cat >>$CONFIG_STATUS <<_ACEOF
54807 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54808 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54811 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54812 s/^/s,@/; s/!/@,|#_!!_#|/
54815 s/'"$ac_delim"'$/,g/; t
54817 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54818 ' >>$CONFIG_STATUS <conf$$subs.sed
54819 rm -f conf$$subs.sed
54820 cat >>$CONFIG_STATUS <<_ACEOF
54826 for ac_last_try in false false false false false :; do
54827 cat >conf$$subs.sed <<_ACEOF
54828 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54829 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54830 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54831 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
54832 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
54833 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
54834 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
54835 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
54836 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
54837 DEREZ!$DEREZ$ac_delim
54838 SHARED!$SHARED$ac_delim
54839 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54840 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54841 USE_GUI!$USE_GUI$ac_delim
54842 AFMINSTALL!$AFMINSTALL$ac_delim
54843 WIN32INSTALL!$WIN32INSTALL$ac_delim
54844 TOOLKIT!$TOOLKIT$ac_delim
54845 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54846 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54847 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54848 cross_compiling!$cross_compiling$ac_delim
54849 WIDGET_SET!$WIDGET_SET$ac_delim
54850 WX_RELEASE!$WX_RELEASE$ac_delim
54851 WX_VERSION!$WX_VERSION$ac_delim
54852 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54853 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54854 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54855 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54856 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54857 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54858 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54859 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
54860 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54861 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54862 GUIDIST!$GUIDIST$ac_delim
54863 DISTDIR!$DISTDIR$ac_delim
54864 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54865 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54866 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54867 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54868 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54869 RESCOMP!$RESCOMP$ac_delim
54870 RESFLAGS!$RESFLAGS$ac_delim
54871 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54872 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54873 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54874 LIBWXMACRES!$LIBWXMACRES$ac_delim
54875 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54876 MACSETFILE!$MACSETFILE$ac_delim
54878 DLLTOOL!$DLLTOOL$ac_delim
54879 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54880 LIBOBJS!$LIBOBJS$ac_delim
54881 LTLIBOBJS!$LTLIBOBJS$ac_delim
54884 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 54; then
54886 elif $ac_last_try; then
54887 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54888 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54889 { (exit 1); exit 1; }; }
54891 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54895 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54896 if test -n "$ac_eof"; then
54897 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54898 ac_eof=`expr $ac_eof + 1`
54901 cat >>$CONFIG_STATUS <<_ACEOF
54902 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54903 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54906 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54907 s/^/s,@/; s/!/@,|#_!!_#|/
54910 s/'"$ac_delim"'$/,g/; t
54912 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54913 ' >>$CONFIG_STATUS <conf$$subs.sed
54914 rm -f conf$$subs.sed
54915 cat >>$CONFIG_STATUS <<_ACEOF
54922 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54923 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54924 # trailing colons and then remove the whole line if VPATH becomes empty
54925 # (actually we leave an empty line to preserve line numbers).
54926 if test "x$srcdir" = x.; then
54927 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54928 s/:*\$(srcdir):*/:/
54929 s/:*\${srcdir}:*/:/
54931 s/^\([^=]*=[ ]*\):*/\1/
54937 cat >>$CONFIG_STATUS <<\_ACEOF
54938 fi # test -n "$CONFIG_FILES"
54941 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54944 :[FHLC]) ac_mode=$ac_tag; continue;;
54946 case $ac_mode$ac_tag in
54948 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54949 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54950 { (exit 1); exit 1; }; };;
54951 :[FH]-) ac_tag=-:-;;
54952 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54969 -) ac_f="$tmp/stdin";;
54970 *) # Look for the file first in the build tree, then in the source tree
54971 # (if the path is not absolute). The absolute path cannot be DOS-style,
54972 # because $ac_f cannot contain `:'.
54976 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54978 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54979 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54980 { (exit 1); exit 1; }; };;
54982 ac_file_inputs="$ac_file_inputs $ac_f"
54985 # Let's still pretend it is `configure' which instantiates (i.e., don't
54986 # use $as_me), people would be surprised to read:
54987 # /* config.h. Generated by config.status. */
54988 configure_input="Generated from "`IFS=:
54989 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54990 if test x"$ac_file" != x-; then
54991 configure_input="$ac_file. $configure_input"
54992 { echo "$as_me:$LINENO: creating $ac_file" >&5
54993 echo "$as_me: creating $ac_file" >&6;}
54997 *:-:* | *:-) cat >"$tmp/stdin";;
55002 ac_dir=`$as_dirname -- "$ac_file" ||
55003 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
55004 X"$ac_file" : 'X\(//\)[^/]' \| \
55005 X"$ac_file" : 'X\(//\)$' \| \
55006 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
55008 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
55012 /^X\(\/\/\)[^/].*/{
55027 -*) as_dir=./$as_dir;;
55029 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
55033 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
55034 *) as_qdir=$as_dir;;
55036 as_dirs="'$as_qdir' $as_dirs"
55037 as_dir=`$as_dirname -- "$as_dir" ||
55038 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
55039 X"$as_dir" : 'X\(//\)[^/]' \| \
55040 X"$as_dir" : 'X\(//\)$' \| \
55041 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
55043 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
55047 /^X\(\/\/\)[^/].*/{
55060 test -d "$as_dir" && break
55062 test -z "$as_dirs" || eval "mkdir $as_dirs"
55063 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
55064 echo "$as_me: error: cannot create directory $as_dir" >&2;}
55065 { (exit 1); exit 1; }; }; }
55069 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
55071 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
55072 # A ".." for each directory in $ac_dir_suffix.
55073 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
55074 case $ac_top_builddir_sub in
55075 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
55076 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
55079 ac_abs_top_builddir=$ac_pwd
55080 ac_abs_builddir=$ac_pwd$ac_dir_suffix
55081 # for backward compatibility:
55082 ac_top_builddir=$ac_top_build_prefix
55085 .) # We are building in place.
55087 ac_top_srcdir=$ac_top_builddir_sub
55088 ac_abs_top_srcdir=$ac_pwd ;;
55089 [\\/]* | ?:[\\/]* ) # Absolute name.
55090 ac_srcdir=$srcdir$ac_dir_suffix;
55091 ac_top_srcdir=$srcdir
55092 ac_abs_top_srcdir=$srcdir ;;
55093 *) # Relative name.
55094 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
55095 ac_top_srcdir=$ac_top_build_prefix$srcdir
55096 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
55098 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
55108 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
55109 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
55113 cat >>$CONFIG_STATUS <<\_ACEOF
55114 # If the template does not know about datarootdir, expand it.
55115 # FIXME: This hack should be removed a few years after 2.60.
55116 ac_datarootdir_hack=; ac_datarootdir_seen=
55118 case `sed -n '/datarootdir/ {
55127 ' $ac_file_inputs` in
55128 *datarootdir*) ac_datarootdir_seen=yes;;
55129 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
55130 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
55131 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
55133 cat >>$CONFIG_STATUS <<_ACEOF
55134 ac_datarootdir_hack='
55135 s&@datadir@&$datadir&g
55136 s&@docdir@&$docdir&g
55137 s&@infodir@&$infodir&g
55138 s&@localedir@&$localedir&g
55139 s&@mandir@&$mandir&g
55140 s&\\\${datarootdir}&$datarootdir&g' ;;
55144 # Neutralize VPATH when `$srcdir' = `.'.
55145 # Shell code in configure.ac might set extrasub.
55146 # FIXME: do we really want to maintain this feature?
55147 cat >>$CONFIG_STATUS <<_ACEOF
55151 cat >>$CONFIG_STATUS <<\_ACEOF
55153 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
55154 s&@configure_input@&$configure_input&;t t
55155 s&@top_builddir@&$ac_top_builddir_sub&;t t
55156 s&@srcdir@&$ac_srcdir&;t t
55157 s&@abs_srcdir@&$ac_abs_srcdir&;t t
55158 s&@top_srcdir@&$ac_top_srcdir&;t t
55159 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
55160 s&@builddir@&$ac_builddir&;t t
55161 s&@abs_builddir@&$ac_abs_builddir&;t t
55162 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
55163 s&@INSTALL@&$ac_INSTALL&;t t
55164 $ac_datarootdir_hack
55165 " $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
55167 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
55168 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
55169 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
55170 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
55171 which seems to be undefined. Please make sure it is defined." >&5
55172 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
55173 which seems to be undefined. Please make sure it is defined." >&2;}
55177 -) cat "$tmp/out"; rm -f "$tmp/out";;
55178 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
55187 # Transform confdefs.h into a sed script `conftest.defines', that
55188 # substitutes the proper values into config.h.in to produce config.h.
55189 rm -f conftest.defines conftest.tail
55190 # First, append a space to every undef/define line, to ease matching.
55191 echo 's/$/ /' >conftest.defines
55192 # Then, protect against being on the right side of a sed subst, or in
55193 # an unquoted here document, in config.status. If some macros were
55194 # called several times there might be several #defines for the same
55195 # symbol, which is useless. But do not sort them, since the last
55196 # AC_DEFINE must be honored.
55197 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
55198 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
55199 # NAME is the cpp macro being defined, VALUE is the value it is being given.
55200 # PARAMS is the parameter list in the macro definition--in most cases, it's
55201 # just an empty string.
55202 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
55203 ac_dB='\\)[ (].*,\\1define\\2'
55211 s/^[ ]*#[ ]*define[ ][ ]*//
55216 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
55217 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
55218 ' >>conftest.defines
55220 # Remove the space that was appended to ease matching.
55221 # Then replace #undef with comments. This is necessary, for
55222 # example, in the case of _POSIX_SOURCE, which is predefined and required
55223 # on some systems where configure will not decide to define it.
55224 # (The regexp can be short, since the line contains either #define or #undef.)
55226 s,^[ #]*u.*,/* & */,' >>conftest.defines
55228 # Break up conftest.defines:
55229 ac_max_sed_lines=50
55231 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
55232 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
55233 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
55235 ac_in='$ac_file_inputs'
55236 ac_out='"$tmp/out1"'
55237 ac_nxt='"$tmp/out2"'
55241 # Write a here document:
55242 cat >>$CONFIG_STATUS <<_ACEOF
55243 # First, check the format of the line:
55244 cat >"\$tmp/defines.sed" <<\\CEOF
55245 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
55246 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
55250 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
55252 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
55253 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
55254 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
55255 grep . conftest.tail >/dev/null || break
55256 rm -f conftest.defines
55257 mv conftest.tail conftest.defines
55259 rm -f conftest.defines conftest.tail
55261 echo "ac_result=$ac_in" >>$CONFIG_STATUS
55262 cat >>$CONFIG_STATUS <<\_ACEOF
55263 if test x"$ac_file" != x-; then
55264 echo "/* $configure_input */" >"$tmp/config.h"
55265 cat "$ac_result" >>"$tmp/config.h"
55266 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
55267 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
55268 echo "$as_me: $ac_file is unchanged" >&6;}
55271 mv "$tmp/config.h" $ac_file
55274 echo "/* $configure_input */"
55280 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
55281 echo "$as_me: executing $ac_file commands" >&6;}
55286 case $ac_file$ac_mode in
55288 mkdir -p $outdir &&
55289 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
55291 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
55292 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
55293 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
55294 "wx-config":C) rm -f wx-config
55295 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
55302 { (exit 0); exit 0; }
55304 chmod +x $CONFIG_STATUS
55305 ac_clean_files=$ac_clean_files_save
55308 # configure is writing to config.log, and then calls config.status.
55309 # config.status does its own redirection, appending to config.log.
55310 # Unfortunately, on DOS this fails, as config.log is still kept open
55311 # by configure, so config.status won't be able to write to it; its
55312 # output is simply discarded. So we exec the FD to /dev/null,
55313 # effectively closing config.log, so it can be properly (re)opened and
55314 # appended to by config.status. When coming back to configure, we
55315 # need to make the FD available again.
55316 if test "$no_create" != yes; then
55318 ac_config_status_args=
55319 test "$silent" = yes &&
55320 ac_config_status_args="$ac_config_status_args --quiet"
55322 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
55324 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
55325 # would make configure fail if this is the last instruction.
55326 $ac_cs_success || { (exit 1); exit 1; }
55330 # CONFIG_SUBDIRS section.
55332 if test "$no_recursion" != yes; then
55334 # Remove --cache-file and --srcdir arguments so they do not pile up.
55335 ac_sub_configure_args=
55337 eval "set x $ac_configure_args"
55341 if test -n "$ac_prev"; then
55346 -cache-file | --cache-file | --cache-fil | --cache-fi \
55347 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
55348 ac_prev=cache_file ;;
55349 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
55350 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
55353 --config-cache | -C)
55355 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
55357 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
55359 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
55361 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
55365 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
55367 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
55371 # Always prepend --prefix to ensure using the same prefix
55372 # in subdir configurations.
55373 ac_arg="--prefix=$prefix"
55375 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
55377 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
55380 if test "$silent" = yes; then
55381 ac_sub_configure_args="--silent $ac_sub_configure_args"
55385 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
55387 # Do not complain, so a configure script can configure whichever
55388 # parts of a large source tree are present.
55389 test -d "$srcdir/$ac_dir" || continue
55391 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
55392 echo "$as_me:$LINENO: $ac_msg" >&5
55396 -*) as_dir=./$as_dir;;
55398 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
55402 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
55403 *) as_qdir=$as_dir;;
55405 as_dirs="'$as_qdir' $as_dirs"
55406 as_dir=`$as_dirname -- "$as_dir" ||
55407 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
55408 X"$as_dir" : 'X\(//\)[^/]' \| \
55409 X"$as_dir" : 'X\(//\)$' \| \
55410 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
55412 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
55416 /^X\(\/\/\)[^/].*/{
55429 test -d "$as_dir" && break
55431 test -z "$as_dirs" || eval "mkdir $as_dirs"
55432 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
55433 echo "$as_me: error: cannot create directory $as_dir" >&2;}
55434 { (exit 1); exit 1; }; }; }
55438 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
55440 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
55441 # A ".." for each directory in $ac_dir_suffix.
55442 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
55443 case $ac_top_builddir_sub in
55444 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
55445 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
55448 ac_abs_top_builddir=$ac_pwd
55449 ac_abs_builddir=$ac_pwd$ac_dir_suffix
55450 # for backward compatibility:
55451 ac_top_builddir=$ac_top_build_prefix
55454 .) # We are building in place.
55456 ac_top_srcdir=$ac_top_builddir_sub
55457 ac_abs_top_srcdir=$ac_pwd ;;
55458 [\\/]* | ?:[\\/]* ) # Absolute name.
55459 ac_srcdir=$srcdir$ac_dir_suffix;
55460 ac_top_srcdir=$srcdir
55461 ac_abs_top_srcdir=$srcdir ;;
55462 *) # Relative name.
55463 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
55464 ac_top_srcdir=$ac_top_build_prefix$srcdir
55465 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
55467 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
55472 # Check for guested configure; otherwise get Cygnus style configure.
55473 if test -f "$ac_srcdir/configure.gnu"; then
55474 ac_sub_configure=$ac_srcdir/configure.gnu
55475 elif test -f "$ac_srcdir/configure"; then
55476 ac_sub_configure=$ac_srcdir/configure
55477 elif test -f "$ac_srcdir/configure.in"; then
55478 # This should be Cygnus configure.
55479 ac_sub_configure=$ac_aux_dir/configure
55481 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
55482 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
55486 # The recursion is here.
55487 if test -n "$ac_sub_configure"; then
55488 # Make the cache file name correct relative to the subdirectory.
55489 case $cache_file in
55490 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
55491 *) # Relative name.
55492 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
55495 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
55496 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
55497 # The eval makes quoting arguments work.
55498 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
55499 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
55500 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
55501 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
55502 { (exit 1); exit 1; }; }
55511 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
55513 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
55514 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
55515 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
55516 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
55517 if test "$wxUSE_UNICODE" = "yes"; then
55518 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
55519 echo " (using UTF-8)"
55521 echo " (using wchar_t)"
55527 echo " What level of wxWidgets compatibility should be enabled?"
55528 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
55529 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
55531 echo " Which libraries should wxWidgets use?"
55532 echo " STL ${wxUSE_STL}"
55533 echo " jpeg ${wxUSE_LIBJPEG-none}"
55534 echo " png ${wxUSE_LIBPNG-none}"
55535 echo " regex ${wxUSE_REGEX}"
55536 echo " tiff ${wxUSE_LIBTIFF-none}"
55537 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55538 echo " xpm ${wxUSE_LIBXPM-none}"
55540 echo " zlib ${wxUSE_ZLIB}"
55541 echo " expat ${wxUSE_EXPAT}"
55542 echo " libmspack ${wxUSE_LIBMSPACK}"
55543 echo " sdl ${wxUSE_LIBSDL}"