2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.60 for wxWidgets 2.9.0.
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 Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
27 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
28 DUALCASE
=1; export DUALCASE
# for MKS sh
32 # Avoid depending upon Character Ranges.
33 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
34 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
36 as_cr_digits
='0123456789'
37 as_cr_alnum
=$as_cr_Letters$as_cr_digits
39 # The user is always right.
40 if test "${PATH_SEPARATOR+set}" != set; then
41 echo "#! /bin/sh" >conf$$.sh
42 echo "exit 0" >>conf$$.sh
44 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
52 # Support unset when possible.
53 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
61 # We need space, tab and new line, in precisely that order. Quoting is
62 # there to prevent editors from complaining about space-tab.
63 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
64 # splitting by setting IFS to empty value.)
69 # Find who we are. Look in the path if we contain no directory separator.
71 *[\\/]* ) as_myself
=$0 ;;
72 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
76 test -z "$as_dir" && as_dir
=.
77 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
83 # We did not find ourselves, most probably we were run as `sh COMMAND'
84 # in which case we are not to be found in the path.
85 if test "x$as_myself" = x
; then
88 if test ! -f "$as_myself"; then
89 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 # Work around bugs in pre-3.0 UWIN ksh.
94 for as_var
in ENV MAIL MAILPATH
95 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
103 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
104 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
107 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
108 eval $as_var=C
; export $as_var
110 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
114 # Required to use basename.
115 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
116 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
122 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
129 # Name of the executable.
130 as_me
=`$as_basename -- "$0" ||
131 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
132 X"$0" : 'X\(//\)$' \| \
133 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135 sed '/^.*\/\([^/][^/]*\)\/*$/{
153 if test "x$CONFIG_SHELL" = x
; then
154 if (eval ":") 2>/dev
/null
; then
160 if test $as_have_required = yes && (eval ":
170 as_func_ret_success () {
173 as_func_ret_failure () {
178 if as_func_success; then
182 echo as_func_success failed.
185 if as_func_failure; then
187 echo as_func_failure succeeded.
190 if as_func_ret_success; then
194 echo as_func_ret_success failed.
197 if as_func_ret_failure; then
199 echo as_func_ret_failure succeeded.
202 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206 echo positional parameters were not saved.
209 test \$exitcode = 0) || { (exit 1); exit 1; }
214 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
215 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
216 ") 2> /dev
/null
; then
220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
221 for as_dir
in /usr
/bin
/posix
$PATH_SEPARATOR/bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
224 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
235 for as_shell
in $as_candidate_shells $SHELL; do
236 # Try only shells that exist, to save several forks.
237 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
238 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
239 # Be Bourne compatible
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
250 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
251 DUALCASE
=1; export DUALCASE
# for MKS sh
256 CONFIG_SHELL
=$as_shell
258 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
259 # Be Bourne compatible
260 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
263 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
264 # is contrary to our usage. Disable this feature.
265 alias -g '${1+"$@"}'='"$@"'
268 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
270 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
271 DUALCASE
=1; export DUALCASE
# for MKS sh
283 as_func_ret_success
() {
286 as_func_ret_failure
() {
291 if as_func_success
; then
295 echo as_func_success failed.
298 if as_func_failure
; then
300 echo as_func_failure succeeded.
303 if as_func_ret_success
; then
307 echo as_func_ret_success failed.
310 if as_func_ret_failure
; then
312 echo as_func_ret_failure succeeded.
315 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
319 echo positional parameters were not saved.
322 test $exitcode = 0) || { (exit 1); exit 1; }
327 test "x$as_lineno_1" != "x$as_lineno_2" &&
328 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
339 if test "x$CONFIG_SHELL" != x
; then
340 for as_var
in BASH_ENV ENV
341 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
344 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348 if test $as_have_required = no
; then
349 echo This
script requires a shell
more modern than all the
350 echo shells that I found on your system. Please
install a
351 echo modern shell
, or manually run the
script under such a
352 echo shell
if you
do have one.
353 { (exit 1); exit 1; }
363 (eval "as_func_return () {
372 as_func_ret_success () {
375 as_func_ret_failure () {
380 if as_func_success; then
384 echo as_func_success failed.
387 if as_func_failure; then
389 echo as_func_failure succeeded.
392 if as_func_ret_success; then
396 echo as_func_ret_success failed.
399 if as_func_ret_failure; then
401 echo as_func_ret_failure succeeded.
404 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408 echo positional parameters were not saved.
411 test \$exitcode = 0") || {
412 echo No shell found that supports shell functions.
413 echo Please tell autoconf@gnu.org about your system
,
414 echo including any error possibly output before this
422 test "x$as_lineno_1" != "x$as_lineno_2" &&
423 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
425 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
426 # uniformly replaced by the line number. The first 'sed' inserts a
427 # line-number line after each line using $LINENO; the second 'sed'
428 # does the real work. The second script uses 'N' to pair each
429 # line-number line with the line containing $LINENO, and appends
430 # trailing '-' during substitution so that $LINENO is not a special
432 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
433 # scripts with optimization help from Paolo Bonzini. Blame Lee
434 # E. McMahon (1931-1989) for sed's syntax. :-)
446 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 chmod +x
"$as_me.lineno" ||
451 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
452 { (exit 1); exit 1; }; }
454 # Don't try to exec as it changes $[0], causing all sort of problems
455 # (the dirname of $[0] is not the place where we might find the
456 # original and so on. Autoconf is especially sensitive to this).
458 # Exit status is that of the last command.
463 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
469 ECHO_C
= ECHO_N
= ECHO_T
=
473 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
480 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
481 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
487 rm -f conf$$ conf$$.exe conf$$.
file
488 if test -d conf$$.dir
; then
489 rm -f conf$$.dir
/conf$$.
file
495 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
497 # ... but there are two gotchas:
498 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
499 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
500 # In both cases, we have to default to `cp -p'.
501 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
503 elif ln conf$$.
file conf$$
2>/dev
/null
; then
508 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
509 rmdir conf$$.dir
2>/dev
/null
511 if mkdir -p .
2>/dev
/null
; then
514 test -d .
/-p && rmdir .
/-p
518 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
519 # systems may use methods other than mode bits to determine executability.
520 cat >conf$$.
file <<_ASEOF
525 if test -x conf$$.
file >/dev
/null
2>&1; then
526 as_executable_p
="test -x"
532 # Sed expression to map a string onto a valid CPP name.
533 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
535 # Sed expression to map a string onto a valid variable name.
536 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 exec 7<&0 </dev
/null
6>&1
543 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
544 # so uname gets run too.
545 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
550 ac_default_prefix
=/usr
/local
552 ac_config_libobj_dir
=.
558 SHELL
=${CONFIG_SHELL-/bin/sh}
560 # Identity of this package.
561 PACKAGE_NAME
='wxWidgets'
562 PACKAGE_TARNAME
='wxwidgets'
563 PACKAGE_VERSION
='2.9.0'
564 PACKAGE_STRING
='wxWidgets 2.9.0'
565 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
567 ac_unique_file
="wx-config.in"
568 # Factoring default headers for most tests.
569 ac_includes_default
="\
572 # include <sys/types.h>
575 # include <sys/stat.h>
586 # if !STDC_HEADERS && HAVE_MEMORY_H
592 # include <strings.h>
595 # include <inttypes.h>
613 program_transform_name
704 LIBGNOMEPRINTUI_CFLAGS
748 SAMPLES_RPATH_POSTLINK
794 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
795 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
796 COND_BUILD_DEBUG_UNICODE_0
797 COND_BUILD_DEBUG_UNICODE_1
799 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
800 COND_BUILD_RELEASE_UNICODE_0
801 COND_BUILD_RELEASE_UNICODE_1
810 COND_MONOLITHIC_0_SHARED_0
811 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
812 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
813 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
814 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
815 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
816 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
817 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
818 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
819 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
820 COND_MONOLITHIC_0_SHARED_1
821 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
822 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
823 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
824 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
825 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
826 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
827 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
828 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
829 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
830 COND_MONOLITHIC_0_USE_MEDIA_1
831 COND_MONOLITHIC_0_USE_ODBC_1
833 COND_MONOLITHIC_1_SHARED_0
834 COND_MONOLITHIC_1_SHARED_1
835 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
836 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
837 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
838 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
839 COND_PLATFORM_MACOSX_1
840 COND_PLATFORM_MACOSX_1_TOOLKIT_
841 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
842 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
843 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
844 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
845 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
846 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
847 COND_PLATFORM_MACOSX_1_USE_GUI_1
848 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
849 COND_PLATFORM_MACOS_1
851 COND_PLATFORM_MSDOS_0
852 COND_PLATFORM_MSDOS_1
856 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
857 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
858 COND_PLATFORM_UNIX_1_USE_GUI_1
859 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
860 COND_PLATFORM_WIN32_0
861 COND_PLATFORM_WIN32_1
863 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
864 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
865 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
866 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
867 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
868 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
869 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
870 COND_SHARED_0_USE_XRC_1
871 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
872 COND_SHARED_0_WXUSE_ODBC_BUILTIN
873 COND_SHARED_0_WXUSE_REGEX_BUILTIN
874 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
876 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
877 COND_SHARED_1_USE_XRC_1
880 COND_TOOLKIT_COCOA_USE_GUI_1
881 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
883 COND_TOOLKIT_DFB_USE_GUI_1
885 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
886 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
887 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
888 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
889 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
890 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
891 COND_TOOLKIT_GTK_USE_GUI_1
893 COND_TOOLKIT_MAC_USE_GUI_1
894 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
896 COND_TOOLKIT_MGL_USE_GUI_1
898 COND_TOOLKIT_MOTIF_USE_GUI_1
899 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
901 COND_TOOLKIT_MSW_USE_GUI_1
902 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
903 COND_TOOLKIT_MSW_WXUNIV_0
905 COND_TOOLKIT_PM_USE_GUI_1
906 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
908 COND_TOOLKIT_WINCE_USE_GUI_1
909 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
910 COND_TOOLKIT_WINCE_WXUNIV_0
912 COND_TOOLKIT_X11_USE_GUI_1
914 COND_USE_EXCEPTIONS_0
915 COND_USE_EXCEPTIONS_1
918 COND_USE_GUI_1_WXUNIV_0
919 COND_USE_GUI_1_WXUNIV_1
920 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
921 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
922 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
929 COND_USE_SOSYMLINKS_1
930 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
931 COND_USE_SOVERLINUX_1
933 COND_USE_SOVERSOLARIS_1
937 COND_WINDOWS_IMPLIB_1
938 COND_WITH_PLUGIN_SDL_1
941 COND_WXUSE_EXPAT_BUILTIN
942 COND_WXUSE_LIBJPEG_BUILTIN
943 COND_WXUSE_LIBPNG_BUILTIN
944 COND_WXUSE_LIBTIFF_BUILTIN
945 COND_WXUSE_ODBC_BUILTIN
946 COND_WXUSE_REGEX_BUILTIN
947 COND_WXUSE_ZLIB_BUILTIN
949 WX_LIBRARY_BASENAME_NOGUI
950 WX_LIBRARY_BASENAME_GUI
983 WX_RESOURCES_MACOSX_ASCII
984 WX_RESOURCES_MACOSX_DATA
993 ac_precious_vars
='build_alias
1015 LIBGNOMEPRINTUI_CFLAGS
1016 LIBGNOMEPRINTUI_LIBS
1025 ac_subdirs_all
='src/expat'
1027 # Initialize some variables set by options.
1029 ac_init_version
=false
1030 # The variables have the same names as the options, with
1031 # dashes changed to underlines.
1032 cache_file
=/dev
/null
1039 program_transform_name
=s
,x
,x
,
1047 # Installation directory options.
1048 # These are left unexpanded so users can "make install exec_prefix=/foo"
1049 # and all the variables that are supposed to be based on exec_prefix
1050 # by default will actually change.
1051 # Use braces instead of parens because sh, perl, etc. also accept them.
1052 # (The list follows the same order as the GNU Coding Standards.)
1053 bindir
='${exec_prefix}/bin'
1054 sbindir
='${exec_prefix}/sbin'
1055 libexecdir
='${exec_prefix}/libexec'
1056 datarootdir
='${prefix}/share'
1057 datadir
='${datarootdir}'
1058 sysconfdir
='${prefix}/etc'
1059 sharedstatedir
='${prefix}/com'
1060 localstatedir
='${prefix}/var'
1061 includedir
='${prefix}/include'
1062 oldincludedir
='/usr/include'
1063 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1064 infodir
='${datarootdir}/info'
1069 libdir
='${exec_prefix}/lib'
1070 localedir
='${datarootdir}/locale'
1071 mandir
='${datarootdir}/man'
1077 # If the previous option needs an argument, assign it.
1078 if test -n "$ac_prev"; then
1079 eval $ac_prev=\
$ac_option
1085 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1089 # Accept the important Cygnus configure options, so we can diagnose typos.
1091 case $ac_dashdash$ac_option in
1095 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1097 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1098 bindir
=$ac_optarg ;;
1100 -build | --build | --buil | --bui | --bu)
1101 ac_prev
=build_alias
;;
1102 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1103 build_alias
=$ac_optarg ;;
1105 -cache-file | --cache-file | --cache-fil | --cache-fi \
1106 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1107 ac_prev
=cache_file
;;
1108 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1109 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1110 cache_file
=$ac_optarg ;;
1112 --config-cache | -C)
1113 cache_file
=config.cache
;;
1115 -datadir | --datadir | --datadi | --datad)
1117 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1118 datadir
=$ac_optarg ;;
1120 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1121 | --dataroo | --dataro | --datar)
1122 ac_prev
=datarootdir
;;
1123 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1124 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1125 datarootdir
=$ac_optarg ;;
1127 -disable-* | --disable-*)
1128 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1129 # Reject names that are not valid shell variable names.
1130 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1131 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1132 { (exit 1); exit 1; }; }
1133 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1134 eval enable_
$ac_feature=no
;;
1136 -docdir | --docdir | --docdi | --doc | --do)
1138 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1139 docdir
=$ac_optarg ;;
1141 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1143 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1144 dvidir
=$ac_optarg ;;
1146 -enable-* | --enable-*)
1147 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1148 # Reject names that are not valid shell variable names.
1149 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1150 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1151 { (exit 1); exit 1; }; }
1152 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1153 eval enable_
$ac_feature=\
$ac_optarg ;;
1155 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1156 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1157 | --exec | --exe | --ex)
1158 ac_prev
=exec_prefix
;;
1159 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1160 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1161 | --exec=* | --exe=* | --ex=*)
1162 exec_prefix
=$ac_optarg ;;
1164 -gas | --gas | --ga | --g)
1165 # Obsolete; use --with-gas.
1168 -help | --help | --hel | --he | -h)
1169 ac_init_help
=long
;;
1170 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1171 ac_init_help
=recursive
;;
1172 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1173 ac_init_help
=short
;;
1175 -host | --host | --hos | --ho)
1176 ac_prev
=host_alias
;;
1177 -host=* | --host=* | --hos=* | --ho=*)
1178 host_alias
=$ac_optarg ;;
1180 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1182 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1184 htmldir
=$ac_optarg ;;
1186 -includedir | --includedir | --includedi | --included | --include \
1187 | --includ | --inclu | --incl | --inc)
1188 ac_prev
=includedir
;;
1189 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1190 | --includ=* | --inclu=* | --incl=* | --inc=*)
1191 includedir
=$ac_optarg ;;
1193 -infodir | --infodir | --infodi | --infod | --info | --inf)
1195 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1196 infodir
=$ac_optarg ;;
1198 -libdir | --libdir | --libdi | --libd)
1200 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1201 libdir
=$ac_optarg ;;
1203 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1204 | --libexe | --libex | --libe)
1205 ac_prev
=libexecdir
;;
1206 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1207 | --libexe=* | --libex=* | --libe=*)
1208 libexecdir
=$ac_optarg ;;
1210 -localedir | --localedir | --localedi | --localed | --locale)
1211 ac_prev
=localedir
;;
1212 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1213 localedir
=$ac_optarg ;;
1215 -localstatedir | --localstatedir | --localstatedi | --localstated \
1216 | --localstate | --localstat | --localsta | --localst | --locals)
1217 ac_prev
=localstatedir
;;
1218 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1219 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1220 localstatedir
=$ac_optarg ;;
1222 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1224 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1225 mandir
=$ac_optarg ;;
1227 -nfp | --nfp | --nf)
1228 # Obsolete; use --without-fp.
1231 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1232 | --no-cr | --no-c | -n)
1235 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1236 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1239 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1240 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1241 | --oldin | --oldi | --old | --ol | --o)
1242 ac_prev
=oldincludedir
;;
1243 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1244 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1245 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1246 oldincludedir
=$ac_optarg ;;
1248 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1250 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1251 prefix
=$ac_optarg ;;
1253 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1254 | --program-pre | --program-pr | --program-p)
1255 ac_prev
=program_prefix
;;
1256 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1257 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1258 program_prefix
=$ac_optarg ;;
1260 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1261 | --program-suf | --program-su | --program-s)
1262 ac_prev
=program_suffix
;;
1263 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1264 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1265 program_suffix
=$ac_optarg ;;
1267 -program-transform-name | --program-transform-name \
1268 | --program-transform-nam | --program-transform-na \
1269 | --program-transform-n | --program-transform- \
1270 | --program-transform | --program-transfor \
1271 | --program-transfo | --program-transf \
1272 | --program-trans | --program-tran \
1273 | --progr-tra | --program-tr | --program-t)
1274 ac_prev
=program_transform_name
;;
1275 -program-transform-name=* | --program-transform-name=* \
1276 | --program-transform-nam=* | --program-transform-na=* \
1277 | --program-transform-n=* | --program-transform-=* \
1278 | --program-transform=* | --program-transfor=* \
1279 | --program-transfo=* | --program-transf=* \
1280 | --program-trans=* | --program-tran=* \
1281 | --progr-tra=* | --program-tr=* | --program-t=*)
1282 program_transform_name
=$ac_optarg ;;
1284 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1286 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1287 pdfdir
=$ac_optarg ;;
1289 -psdir | --psdir | --psdi | --psd | --ps)
1291 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1294 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1295 | -silent | --silent | --silen | --sile | --sil)
1298 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1300 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1302 sbindir
=$ac_optarg ;;
1304 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1305 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1306 | --sharedst | --shareds | --shared | --share | --shar \
1308 ac_prev
=sharedstatedir
;;
1309 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1310 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1311 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1313 sharedstatedir
=$ac_optarg ;;
1315 -site | --site | --sit)
1317 -site=* | --site=* | --sit=*)
1320 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1322 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1323 srcdir
=$ac_optarg ;;
1325 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1326 | --syscon | --sysco | --sysc | --sys | --sy)
1327 ac_prev
=sysconfdir
;;
1328 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1329 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1330 sysconfdir
=$ac_optarg ;;
1332 -target | --target | --targe | --targ | --tar | --ta | --t)
1333 ac_prev
=target_alias
;;
1334 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1335 target_alias
=$ac_optarg ;;
1337 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1340 -version | --version | --versio | --versi | --vers | -V)
1341 ac_init_version
=: ;;
1344 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1345 # Reject names that are not valid shell variable names.
1346 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1347 { echo "$as_me: error: invalid package name: $ac_package" >&2
1348 { (exit 1); exit 1; }; }
1349 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1350 eval with_
$ac_package=\
$ac_optarg ;;
1352 -without-* | --without-*)
1353 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1354 # Reject names that are not valid shell variable names.
1355 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1356 { echo "$as_me: error: invalid package name: $ac_package" >&2
1357 { (exit 1); exit 1; }; }
1358 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1359 eval with_
$ac_package=no
;;
1362 # Obsolete; use --with-x.
1365 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1366 | --x-incl | --x-inc | --x-in | --x-i)
1367 ac_prev
=x_includes
;;
1368 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1369 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1370 x_includes
=$ac_optarg ;;
1372 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1373 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1374 ac_prev
=x_libraries
;;
1375 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1376 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1377 x_libraries
=$ac_optarg ;;
1379 -*) { echo "$as_me: error: unrecognized option: $ac_option
1380 Try \`$0 --help' for more information." >&2
1381 { (exit 1); exit 1; }; }
1385 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1386 # Reject names that are not valid shell variable names.
1387 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1388 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1389 { (exit 1); exit 1; }; }
1390 eval $ac_envvar=\
$ac_optarg
1391 export $ac_envvar ;;
1394 # FIXME: should be removed in autoconf 3.0.
1395 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1396 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1397 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1398 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1404 if test -n "$ac_prev"; then
1405 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1406 { echo "$as_me: error: missing argument to $ac_option" >&2
1407 { (exit 1); exit 1; }; }
1410 # Be sure to have absolute directory names.
1411 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1412 datadir sysconfdir sharedstatedir localstatedir includedir \
1413 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1414 libdir localedir mandir
1416 eval ac_val
=\$
$ac_var
1418 [\\/$
]* | ?
:[\\/]* ) continue;;
1419 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1421 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1422 { (exit 1); exit 1; }; }
1425 # There might be people who depend on the old broken behavior: `$host'
1426 # used to hold the argument of --host etc.
1427 # FIXME: To remove some day.
1430 target
=$target_alias
1432 # FIXME: To remove some day.
1433 if test "x$host_alias" != x
; then
1434 if test "x$build_alias" = x
; then
1435 cross_compiling
=maybe
1436 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1437 If a cross compiler is detected then cross compile mode will be used." >&2
1438 elif test "x$build_alias" != "x$host_alias"; then
1444 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1446 test "$silent" = yes && exec 6>/dev
/null
1449 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1450 ac_ls_di
=`ls -di .` &&
1451 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1452 { echo "$as_me: error: Working directory cannot be determined" >&2
1453 { (exit 1); exit 1; }; }
1454 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1455 { echo "$as_me: error: pwd does not report name of working directory" >&2
1456 { (exit 1); exit 1; }; }
1459 # Find the source files, if location was not specified.
1460 if test -z "$srcdir"; then
1461 ac_srcdir_defaulted
=yes
1462 # Try the directory containing this script, then the parent directory.
1463 ac_confdir
=`$as_dirname -- "$0" ||
1464 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1465 X"$0" : 'X\(//\)[^/]' \| \
1466 X"$0" : 'X\(//\)$' \| \
1467 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1469 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1487 if test ! -r "$srcdir/$ac_unique_file"; then
1491 ac_srcdir_defaulted
=no
1493 if test ! -r "$srcdir/$ac_unique_file"; then
1494 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1495 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1496 { (exit 1); exit 1; }; }
1498 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1500 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1501 { (exit 1); exit 1; }; }
1503 # When building in place, set srcdir=.
1504 if test "$ac_abs_confdir" = "$ac_pwd"; then
1507 # Remove unnecessary trailing slashes from srcdir.
1508 # Double slashes in file names in object file debugging info
1509 # mess up M-x gdb in Emacs.
1511 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1513 for ac_var
in $ac_precious_vars; do
1514 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1515 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1516 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1517 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1521 # Report the --help message.
1523 if test "$ac_init_help" = "long"; then
1524 # Omit some internal or obsolete options to make the list less imposing.
1525 # This message is too long to be a string in the A/UX 3.1 sh.
1527 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1529 Usage: $0 [OPTION]... [VAR=VALUE]...
1531 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1532 VAR=VALUE. See below for descriptions of some of the useful variables.
1534 Defaults for the options are specified in brackets.
1537 -h, --help display this help and exit
1538 --help=short display options specific to this package
1539 --help=recursive display the short help of all the included packages
1540 -V, --version display version information and exit
1541 -q, --quiet, --silent do not print \`checking...' messages
1542 --cache-file=FILE cache test results in FILE [disabled]
1543 -C, --config-cache alias for \`--cache-file=config.cache'
1544 -n, --no-create do not create output files
1545 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1547 Installation directories:
1548 --prefix=PREFIX install architecture-independent files in PREFIX
1549 [$ac_default_prefix]
1550 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1553 By default, \`make install' will install all the files in
1554 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1555 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1556 for instance \`--prefix=\$HOME'.
1558 For better control, use the options below.
1560 Fine tuning of the installation directories:
1561 --bindir=DIR user executables [EPREFIX/bin]
1562 --sbindir=DIR system admin executables [EPREFIX/sbin]
1563 --libexecdir=DIR program executables [EPREFIX/libexec]
1564 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1565 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1566 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1567 --libdir=DIR object code libraries [EPREFIX/lib]
1568 --includedir=DIR C header files [PREFIX/include]
1569 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1570 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1571 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1572 --infodir=DIR info documentation [DATAROOTDIR/info]
1573 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1574 --mandir=DIR man documentation [DATAROOTDIR/man]
1575 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1576 --htmldir=DIR html documentation [DOCDIR]
1577 --dvidir=DIR dvi documentation [DOCDIR]
1578 --pdfdir=DIR pdf documentation [DOCDIR]
1579 --psdir=DIR ps documentation [DOCDIR]
1585 --x-includes=DIR X include files are
in DIR
1586 --x-libraries=DIR X library files are
in DIR
1589 --build=BUILD configure
for building on BUILD
[guessed
]
1590 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1591 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1595 if test -n "$ac_init_help"; then
1596 case $ac_init_help in
1597 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1602 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1603 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1604 --enable-gui use GUI classes
1605 --enable-monolithic build wxWidgets as single library
1606 --enable-plugins build parts of wxWidgets as loadable components
1607 --enable-universal use wxWidgets GUI controls instead of native ones
1608 --enable-nanox use NanoX
1609 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
1610 --enable-gpe use GNOME PDA Environment features
if possible
1611 --enable-shared create shared library code
1612 --enable-optimise create optimised code
1613 --enable-debug same as debug_flag and debug_info
1614 --enable-stl use STL
for containers
1615 --enable-omf use OMF object format
1616 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
1617 --enable-debug_info create code with debugging information
1618 --enable-debug_gdb create code with extra GDB debugging information
1619 --enable-debug_cntxt use wxDebugContext
1620 --enable-mem_tracing create code with memory tracing
1621 --enable-profile create code with profiling information
1622 --enable-no_rtti create code without RTTI information
1623 --enable-no_exceptions create code without C
++ exceptions handling
1624 --enable-permissive compile code disregarding strict ANSI
1625 --enable-no_deps create code without dependency information
1626 --disable-vararg_macros don
't use vararg macros, even if they are supported
1627 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1628 --enable-compat24 enable wxWidgets 2.4 compatibility
1629 --disable-compat26 disable wxWidgets 2.6 compatibility
1630 --disable-rpath disable use of rpath for uninstalled builds
1631 --enable-intl use internationalization system
1632 --enable-config use wxConfig (and derived) classes
1633 --enable-protocols use wxProtocol and derived classes
1634 --enable-ftp use wxFTP (requires wxProtocol
1635 --enable-http use wxHTTP (requires wxProtocol
1636 --enable-fileproto use wxFileProto class (requires wxProtocol
1637 --enable-sockets use socket/network classes
1638 --enable-ole use OLE classes (Win32 only)
1639 --enable-dataobj use data object classes
1640 --enable-ipc use interprocess communication (wxSocket etc.)
1641 --enable-apple_ieee use the Apple IEEE codec
1642 --enable-arcstream use wxArchive streams
1643 --enable-backtrace use wxStackWalker class for getting backtraces
1644 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1645 --enable-cmdline use wxCmdLineParser class
1646 --enable-datetime use wxDateTime class
1647 --enable-debugreport use wxDebugReport class
1648 --enable-dialupman use dialup network classes
1649 --enable-dynlib use wxLibrary class for DLL loading
1650 --enable-dynamicloader use (new) wxDynamicLibrary class
1651 --enable-exceptions build exception-safe library
1652 --enable-ffile use wxFFile class
1653 --enable-file use wxFile class
1654 --enable-filesystem use virtual file systems classes
1655 --enable-fontmap use font encodings conversion classes
1656 --enable-fs_archive use virtual archive filesystems
1657 --enable-fs_inet use virtual HTTP/FTP filesystems
1658 --enable-fs_zip now replaced by fs_archive
1659 --enable-geometry use geometry class
1660 --enable-log use logging system
1661 --enable-longlong use wxLongLong class
1662 --enable-mimetype use wxMimeTypesManager
1663 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1664 --enable-snglinst use wxSingleInstanceChecker class
1665 --enable-std_iostreams use standard C++ stream classes
1666 --enable-std_string use standard C++ string classes
1667 --enable-stdpaths use wxStandardPaths class
1668 --enable-stopwatch use wxStopWatch class
1669 --enable-streams use wxStream etc classes
1670 --enable-sysoptions use wxSystemOptions
1671 --enable-tarstream use wxTar streams
1672 --enable-textbuf use wxTextBuffer class
1673 --enable-textfile use wxTextFile class
1674 --enable-timer use wxTimer class
1675 --enable-unicode compile wxString with Unicode support
1676 --enable-sound use wxSound class
1677 --enable-mediactrl use wxMediaCtrl class
1678 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1679 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1680 --enable-zipstream use wxZip streams
1681 --enable-url use wxURL class
1682 --enable-variant use wxVariant class
1683 --enable-protocol use wxProtocol class
1684 --enable-protocol-http HTTP support in wxProtocol
1685 --enable-protocol-ftp FTP support in wxProtocol
1686 --enable-protocol-file FILE support in wxProtocol
1687 --enable-threads use threads
1688 --enable-docview use document view architecture
1689 --enable-help use help subsystem
1690 --enable-mshtmlhelp use MS HTML Help (win32)
1691 --enable-html use wxHTML sub-library
1692 --enable-htmlhelp use wxHTML-based help
1693 --enable-xrc use XRC resources sub-library
1694 --enable-aui use AUI docking library
1695 --enable-constraints use layout-constraints system
1696 --enable-printarch use printing architecture
1697 --enable-mdi use multiple document interface architecture
1698 --enable-mdidoc use docview architecture with MDI
1699 --enable-loggui use standard GUI logger
1700 --enable-logwin use wxLogWindow
1701 --enable-logdialog use wxLogDialog
1702 --enable-webkit use wxWebKitCtrl (Mac)
1703 --enable-richtext use wxRichTextCtrl
1704 --enable-graphics_ctx use graphics context 2D drawing API
1705 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1706 --enable-prologio not available; see contrib
1707 --enable-resources not available; see contrib
1708 --enable-clipboard use wxClipboard class
1709 --enable-dnd use Drag'n
'Drop classes
1710 --enable-metafile use win32 metafiles
1711 --enable-controls use all usual controls
1712 --enable-accel use accelerators
1713 --enable-animatectrl use wxAnimationCtrl class
1714 --enable-button use wxButton class
1715 --enable-bmpbutton use wxBitmapButton class
1716 --enable-bmpcombobox use wxBitmapComboBox class
1717 --enable-calendar use wxCalendarCtrl class
1718 --enable-caret use wxCaret class
1719 --enable-checkbox use wxCheckBox class
1720 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1721 --enable-choice use wxChoice class
1722 --enable-choicebook use wxChoicebook class
1723 --enable-collpane use wxCollapsiblePane class
1724 --enable-colourpicker use wxColourPickerCtrl class
1725 --enable-combobox use wxComboBox class
1726 --enable-comboctrl use wxComboCtrl class
1727 --enable-datepick use wxDatePickerCtrl class
1728 --enable-dirpicker use wxDirPickerCtrl class
1729 --enable-display use wxDisplay class
1730 --enable-detect_sm use code to detect X11 session manager
1731 --enable-filepicker use wxFilePickerCtrl class
1732 --enable-fontpicker use wxFontPickerCtrl class
1733 --enable-gauge use wxGauge class
1734 --enable-grid use wxGrid class
1735 --enable-dataviewctrl use wxDataViewCtrl class
1736 --enable-hyperlink use wxHyperlinkCtrl class
1737 --enable-imaglist use wxImageList class
1738 --enable-listbook use wxListbook class
1739 --enable-listbox use wxListBox class
1740 --enable-listctrl use wxListCtrl class
1741 --enable-notebook use wxNotebook class
1742 --enable-odcombobox use wxOwnerDrawnComboBox class
1743 --enable-radiobox use wxRadioBox class
1744 --enable-radiobtn use wxRadioButton class
1745 --enable-sash use wxSashWindow class
1746 --enable-scrollbar use wxScrollBar class and scrollable windows
1747 --enable-searchctrl use wxSearchCtrl class
1748 --enable-slider use wxSlider class
1749 --enable-spinbtn use wxSpinButton class
1750 --enable-spinctrl use wxSpinCtrl class
1751 --enable-splitter use wxSplitterWindow class
1752 --enable-statbmp use wxStaticBitmap class
1753 --enable-statbox use wxStaticBox class
1754 --enable-statline use wxStaticLine class
1755 --enable-stattext use wxStaticText class
1756 --enable-statusbar use wxStatusBar class
1757 --enable-tabdialog use wxTabControl class
1758 --enable-textctrl use wxTextCtrl class
1759 --enable-togglebtn use wxToggleButton class
1760 --enable-toolbar use wxToolBar class
1761 --enable-tbarnative use native wxToolBar class
1762 --enable-treebook use wxTreebook class
1763 --enable-toolbook use wxToolbook class
1764 --enable-treectrl use wxTreeCtrl class
1765 --enable-tipwindow use wxTipWindow class
1766 --enable-popupwin use wxPopUpWindow class
1767 --enable-commondlg use all common dialogs
1768 --enable-aboutdlg use wxAboutBox
1769 --enable-choicedlg use wxChoiceDialog
1770 --enable-coldlg use wxColourDialog
1771 --enable-filedlg use wxFileDialog
1772 --enable-finddlg use wxFindReplaceDialog
1773 --enable-fontdlg use wxFontDialog
1774 --enable-dirdlg use wxDirDialog
1775 --enable-msgdlg use wxMessageDialog
1776 --enable-numberdlg use wxNumberEntryDialog
1777 --enable-splash use wxSplashScreen
1778 --enable-textdlg use wxTextDialog
1779 --enable-tipdlg use startup tips
1780 --enable-progressdlg use wxProgressDialog
1781 --enable-wizarddlg use wxWizard
1782 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1783 --enable-miniframe use wxMiniFrame class
1784 --enable-tooltips use wxToolTip class
1785 --enable-splines use spline drawing code
1786 --enable-mousewheel use mousewheel
1787 --enable-validators use wxValidator and derived classes
1788 --enable-busyinfo use wxBusyInfo
1789 --enable-joystick use wxJoystick
1790 --enable-metafiles use wxMetaFile (Win32 only)
1791 --enable-dragimage use wxDragImage
1792 --enable-accessibility enable accessibility support
1793 --enable-dccache cache temporary wxDC objects (Win32 only)
1794 --enable-palette use wxPalette class
1795 --enable-image use wxImage class
1796 --enable-gif use gif images (GIF file format)
1797 --enable-pcx use pcx images (PCX file format)
1798 --enable-tga use tga images (TGA file format)
1799 --enable-iff use iff images (IFF file format)
1800 --enable-pnm use pnm images (PNM file format)
1801 --enable-xpm use xpm images (XPM file format)
1802 --enable-icocur use Windows ICO and CUR formats
1803 --enable-official_build official build of wxWidgets (win32 DLL only)
1804 --enable-vendor=VENDOR vendor name (win32 DLL only)
1805 --disable-largefile omit support for large files
1806 --disable-gtktest do not try to compile and run a test GTK+ program
1807 --disable-gtktest Do not try to compile and run a test GTK program
1808 --disable-sdltest Do not try to compile and run a test SDL program
1809 --enable-omf use OMF object format (OS/2)
1810 --disable-dependency-tracking
1811 don't use dependency tracking even
if the compiler
1813 --disable-precomp-headers
1814 don
't use precompiled headers even if compiler can
1817 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1818 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1819 --without-subdirs don't generate makefiles
for samples
/demos
/...
1820 --with-gtk[=VERSION
] use GTK
+, VERSION can be
2 (default
), 1 or
"any"
1821 --with-motif use Motif
/Lesstif
1822 --with-mac use Mac OS X
1823 --with-cocoa use Cocoa
1824 --with-wine use Wine
1825 --with-msw use MS
-Windows
1826 --with-pm use OS
/2 Presentation Manager
1827 --with-mgl use SciTech MGL
1828 --with-directfb use DirectFB
1829 --with-microwin use MicroWindows
1831 --with-libpng use libpng
(PNG image format
)
1832 --with-libjpeg use libjpeg
(JPEG
file format
)
1833 --with-libtiff use libtiff
(TIFF
file format
)
1834 --with-libxpm use libxpm
(XPM
file format
)
1835 --with-libmspack use libmspack
(CHM
help files loading
)
1836 --with-sdl use SDL
for audio on Unix
1837 --with-gnomeprint use GNOME print
for printing under GNOME
1838 --with-gnomevfs use GNOME VFS
for associating MIME types
1839 --with-hildon use Hildon framework
for Nokia
770
1840 --with-opengl use OpenGL
(or Mesa
)
1841 --with-themes=all
|list use only the specified comma
-separated list of wxUniversal themes
1842 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1843 --with-regex enable support
for wxRegEx class
1844 --with-zlib use zlib
for LZW compression
1845 --with-odbc use the IODBC and wxODBC classes
1846 --with-expat enable XML support using expat parser
1847 --with-flavour=NAME specify a name to identify this build
1848 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1849 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1850 --with-x use the X Window System
1851 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1852 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1853 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1854 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1855 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1857 Some influential environment variables
:
1858 CC C compiler
command
1859 CFLAGS C compiler flags
1860 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1861 nonstandard directory
<lib dir
>
1862 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1863 you have headers
in a nonstandard directory
<include dir
>
1865 CXX C
++ compiler
command
1866 CXXFLAGS C
++ compiler flags
1867 CXXCPP C
++ preprocessor
1868 PKG_CONFIG path to pkg
-config utility
1870 C compiler flags
for DIRECTFB
, overriding pkg
-config
1872 linker flags
for DIRECTFB
, overriding pkg
-config
1873 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1875 C compiler flags
for PANGOX
, overriding pkg
-config
1876 PANGOX_LIBS linker flags
for PANGOX
, overriding pkg
-config
1878 C compiler flags
for PANGOFT2
, overriding pkg
-config
1880 linker flags
for PANGOFT2
, overriding pkg
-config
1882 C compiler flags
for PANGOXFT
, overriding pkg
-config
1884 linker flags
for PANGOXFT
, overriding pkg
-config
1885 LIBGNOMEPRINTUI_CFLAGS
1886 C compiler flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1887 LIBGNOMEPRINTUI_LIBS
1888 linker flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1890 C compiler flags
for GNOMEVFS
, overriding pkg
-config
1892 linker flags
for GNOMEVFS
, overriding pkg
-config
1894 C compiler flags
for HILDON
, overriding pkg
-config
1895 HILDON_LIBS linker flags
for HILDON
, overriding pkg
-config
1897 C compiler flags
for CAIRO
, overriding pkg
-config
1898 CAIRO_LIBS linker flags
for CAIRO
, overriding pkg
-config
1899 GST_CFLAGS C compiler flags
for GST
, overriding pkg
-config
1900 GST_LIBS linker flags
for GST
, overriding pkg
-config
1902 Use these variables to override the choices made by
`configure' or to help
1903 it to find libraries and programs with nonstandard names/locations.
1905 Report bugs to <wx-dev@lists.wxwidgets.org>.
1910 if test "$ac_init_help" = "recursive"; then
1911 # If there are subdirs, report their specific --help.
1912 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1913 test -d "$ac_dir" || continue
1917 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1919 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1920 # A ".." for each directory in $ac_dir_suffix.
1921 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1922 case $ac_top_builddir_sub in
1923 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1924 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1927 ac_abs_top_builddir=$ac_pwd
1928 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1929 # for backward compatibility:
1930 ac_top_builddir=$ac_top_build_prefix
1933 .) # We are building in place.
1935 ac_top_srcdir=$ac_top_builddir_sub
1936 ac_abs_top_srcdir=$ac_pwd ;;
1937 [\\/]* | ?:[\\/]* ) # Absolute name.
1938 ac_srcdir=$srcdir$ac_dir_suffix;
1939 ac_top_srcdir=$srcdir
1940 ac_abs_top_srcdir=$srcdir ;;
1942 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1943 ac_top_srcdir=$ac_top_build_prefix$srcdir
1944 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1946 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1948 cd "$ac_dir" || { ac_status=$?; continue; }
1949 # Check for guested configure.
1950 if test -f "$ac_srcdir/configure.gnu"; then
1952 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1953 elif test -f "$ac_srcdir/configure"; then
1955 $SHELL "$ac_srcdir/configure" --help=recursive
1957 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1959 cd "$ac_pwd" || { ac_status=$?; break; }
1963 test -n "$ac_init_help" && exit $ac_status
1964 if $ac_init_version; then
1966 wxWidgets configure 2.9.0
1967 generated by GNU Autoconf 2.60
1969 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1970 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1971 This configure script is free software; the Free Software Foundation
1972 gives unlimited permission to copy, distribute and modify it.
1976 cat >config.log <<_ACEOF
1977 This file contains any messages produced by compilers while
1978 running configure, to aid debugging if configure makes a mistake.
1980 It was created by wxWidgets $as_me 2.9.0, which was
1981 generated by GNU Autoconf 2.60. Invocation command line was
1993 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1994 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1995 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1996 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1997 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1999 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2000 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2002 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2003 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2004 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2005 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2006 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2007 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2008 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2016 test -z "$as_dir" && as_dir=.
2017 echo "PATH: $as_dir"
2033 # Keep a trace of the command line.
2034 # Strip out --no-create and --no-recursion so they do not pile up.
2035 # Strip out --silent because we don't want to record it for future runs.
2036 # Also quote any args containing shell meta-characters.
2037 # Make two passes to allow for proper duplicate-argument suppression.
2041 ac_must_keep_next=false
2047 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2048 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2049 | -silent | --silent | --silen | --sile | --sil)
2052 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2055 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2057 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2058 if test $ac_must_keep_next = true; then
2059 ac_must_keep_next=false # Got value, back to normal.
2062 *=* | --config-cache | -C | -disable-* | --disable-* \
2063 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2064 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2065 | -with-* | --with-* | -without-* | --without-* | --x)
2066 case "$ac_configure_args0 " in
2067 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2070 -* ) ac_must_keep_next=true ;;
2073 ac_configure_args="$ac_configure_args '$ac_arg'"
2078 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2079 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2081 # When interrupted or exit'd, cleanup temporary files, and complete
2082 # config.log. We remove comments because anyway the quotes in there
2083 # would cause problems or look ugly.
2084 # WARNING: Use '\'' to represent an apostrophe within the trap.
2085 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2086 trap 'exit_status=$?
2087 # Save into config.log some information that might help in debugging.
2092 ## ---------------- ##
2093 ## Cache variables. ##
2094 ## ---------------- ##
2097 # The following way of writing the cache mishandles newlines in values,
2099 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2100 eval ac_val=\$$ac_var
2104 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2105 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2108 _ | IFS | as_nl) ;; #(
2109 *) $as_unset $ac_var ;;
2114 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2115 *${as_nl}ac_space=\ *)
2117 "s/'\''/'\''\\\\'\'''\''/g;
2118 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2121 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2129 ## ----------------- ##
2130 ## Output variables. ##
2131 ## ----------------- ##
2134 for ac_var in $ac_subst_vars
2136 eval ac_val=\$$ac_var
2138 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2140 echo "$ac_var='\''$ac_val'\''"
2144 if test -n "$ac_subst_files"; then
2146 ## ------------------- ##
2147 ## File substitutions. ##
2148 ## ------------------- ##
2151 for ac_var in $ac_subst_files
2153 eval ac_val=\$$ac_var
2155 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2157 echo "$ac_var='\''$ac_val'\''"
2162 if test -s confdefs.h; then
2172 test "$ac_signal" != 0 &&
2173 echo "$as_me: caught signal $ac_signal"
2174 echo "$as_me: exit $exit_status"
2176 rm -f core *.core core.conftest.* &&
2177 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2180 for ac_signal in 1 2 13 15; do
2181 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2185 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2186 rm -f -r conftest* confdefs.h
2188 # Predefined preprocessor variables.
2190 cat >>confdefs.h <<_ACEOF
2191 #define PACKAGE_NAME "$PACKAGE_NAME"
2195 cat >>confdefs.h <<_ACEOF
2196 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2200 cat >>confdefs.h <<_ACEOF
2201 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2205 cat >>confdefs.h <<_ACEOF
2206 #define PACKAGE_STRING "$PACKAGE_STRING"
2210 cat >>confdefs.h <<_ACEOF
2211 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2215 # Let the site file select an alternate cache file if it wants to.
2216 # Prefer explicitly selected file to automatically selected ones.
2217 if test -n "$CONFIG_SITE"; then
2218 set x "$CONFIG_SITE"
2219 elif test "x$prefix" != xNONE; then
2220 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2222 set x "$ac_default_prefix/share/config.site" \
2223 "$ac_default_prefix/etc/config.site"
2228 if test -r "$ac_site_file"; then
2229 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2230 echo "$as_me: loading site script $ac_site_file" >&6;}
2231 sed 's/^/| /' "$ac_site_file" >&5
2236 if test -r "$cache_file"; then
2237 # Some versions of bash will fail to source /dev/null (special
2238 # files actually), so we avoid doing that.
2239 if test -f "$cache_file"; then
2240 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2241 echo "$as_me: loading cache $cache_file" >&6;}
2243 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2244 *) . "./$cache_file";;
2248 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2249 echo "$as_me: creating cache $cache_file" >&6;}
2253 # Check that the precious variables saved in the cache have kept the same
2255 ac_cache_corrupted=false
2256 for ac_var in $ac_precious_vars; do
2257 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2258 eval ac_new_set=\$ac_env_${ac_var}_set
2259 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2260 eval ac_new_val=\$ac_env_${ac_var}_value
2261 case $ac_old_set,$ac_new_set in
2263 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2264 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2265 ac_cache_corrupted=: ;;
2267 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
2268 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2269 ac_cache_corrupted=: ;;
2272 if test "x$ac_old_val" != "x$ac_new_val"; then
2273 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2274 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2275 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
2276 echo "$as_me: former value
: $ac_old_val" >&2;}
2277 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
2278 echo "$as_me: current value
: $ac_new_val" >&2;}
2279 ac_cache_corrupted=:
2282 # Pass precious variables to config.status.
2283 if test "$ac_new_set" = set; then
2285 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2286 *) ac_arg=$ac_var=$ac_new_val ;;
2288 case " $ac_configure_args " in
2289 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2290 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2294 if $ac_cache_corrupted; then
2295 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
2296 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
2297 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
2298 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
2299 { (exit 1); exit 1; }; }
2327 ac_cpp='$CPP $CPPFLAGS'
2328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2337 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2338 if test -f "$ac_dir/install-sh"; then
2340 ac_install_sh="$ac_aux_dir/install-sh -c"
2342 elif test -f "$ac_dir/install.sh"; then
2344 ac_install_sh="$ac_aux_dir/install.sh -c"
2346 elif test -f "$ac_dir/shtool"; then
2348 ac_install_sh="$ac_aux_dir/shtool install -c"
2352 if test -z "$ac_aux_dir"; then
2353 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2354 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2355 { (exit 1); exit 1; }; }
2358 # These three variables are undocumented and unsupported,
2359 # and are intended to be withdrawn in a future Autoconf release.
2360 # They can cause serious problems if a builder's source tree is in a directory
2361 # whose full name contains unusual characters.
2362 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2363 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2364 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2367 # Make sure we can run config.sub.
2368 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2369 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2370 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2371 { (exit 1); exit 1; }; }
2373 { echo "$as_me:$LINENO: checking build system type" >&5
2374 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2375 if test "${ac_cv_build+set}" = set; then
2376 echo $ECHO_N "(cached) $ECHO_C" >&6
2378 ac_build_alias=$build_alias
2379 test "x$ac_build_alias" = x &&
2380 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2381 test "x$ac_build_alias" = x &&
2382 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2383 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2384 { (exit 1); exit 1; }; }
2385 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2386 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2387 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2388 { (exit 1); exit 1; }; }
2391 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2392 echo "${ECHO_T}$ac_cv_build" >&6; }
2393 case $ac_cv_build in
2395 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2396 echo "$as_me: error: invalid value of canonical build" >&2;}
2397 { (exit 1); exit 1; }; };;
2400 ac_save_IFS=$IFS; IFS='-'
2406 # Remember, the first character of IFS is used to create $*,
2407 # except with old shells:
2410 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2413 { echo "$as_me:$LINENO: checking host system type" >&5
2414 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2415 if test "${ac_cv_host+set}" = set; then
2416 echo $ECHO_N "(cached) $ECHO_C" >&6
2418 if test "x$host_alias" = x; then
2419 ac_cv_host=$ac_cv_build
2421 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2422 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2423 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2424 { (exit 1); exit 1; }; }
2428 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2429 echo "${ECHO_T}$ac_cv_host" >&6; }
2432 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2433 echo "$as_me: error: invalid value of canonical host" >&2;}
2434 { (exit 1); exit 1; }; };;
2437 ac_save_IFS=$IFS; IFS='-'
2443 # Remember, the first character of IFS is used to create $*,
2444 # except with old shells:
2447 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2450 { echo "$as_me:$LINENO: checking target system type" >&5
2451 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2452 if test "${ac_cv_target+set}" = set; then
2453 echo $ECHO_N "(cached) $ECHO_C" >&6
2455 if test "x$target_alias" = x; then
2456 ac_cv_target=$ac_cv_host
2458 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2459 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2460 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2461 { (exit 1); exit 1; }; }
2465 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2466 echo "${ECHO_T}$ac_cv_target" >&6; }
2467 case $ac_cv_target in
2469 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2470 echo "$as_me: error: invalid value of canonical target" >&2;}
2471 { (exit 1); exit 1; }; };;
2473 target=$ac_cv_target
2474 ac_save_IFS=$IFS; IFS='-'
2480 # Remember, the first character of IFS is used to create $*,
2481 # except with old shells:
2484 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2487 # The aliases save the names the user supplied, while $host etc.
2488 # will get canonicalized.
2489 test -n "$target_alias" &&
2490 test "$program_prefix$program_suffix$program_transform_name" = \
2492 program_prefix=${target_alias}-
2496 wx_major_version_number=2
2497 wx_minor_version_number=9
2499 wx_subrelease_number=0
2501 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2502 WX_VERSION=$WX_RELEASE.$wx_release_number
2503 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2505 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2508 wx_top_builddir="`pwd`"
2521 USE_BSD= USE_DARWIN= USE_FREEBSD=
2527 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2533 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2535 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2537 DEFAULT_wxUSE_COCOA=0
2541 DEFAULT_wxUSE_MICROWIN=0
2542 DEFAULT_wxUSE_MOTIF=0
2548 DEFAULT_DEFAULT_wxUSE_COCOA=0
2549 DEFAULT_DEFAULT_wxUSE_GTK=0
2550 DEFAULT_DEFAULT_wxUSE_MAC=0
2551 DEFAULT_DEFAULT_wxUSE_MGL=0
2552 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2553 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2554 DEFAULT_DEFAULT_wxUSE_MSW=0
2555 DEFAULT_DEFAULT_wxUSE_PM=0
2556 DEFAULT_DEFAULT_wxUSE_X11=0
2557 DEFAULT_DEFAULT_wxUSE_DFB=0
2562 SAMPLES_RPATH_POSTLINK=
2564 DEFAULT_STD_FLAG=yes
2569 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2570 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2572 cat >>confdefs.h <<\_ACEOF
2577 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2581 cat >>confdefs.h <<\_ACEOF
2586 if test "x$TMP" = "xalpha"; then
2588 cat >>confdefs.h <<\_ACEOF
2593 DEFAULT_DEFAULT_wxUSE_GTK=1
2595 *-*-gnu* | *-*-k*bsd*-gnu )
2598 if test "x$TMP" = "xalpha"; then
2600 cat >>confdefs.h <<\_ACEOF
2605 DEFAULT_DEFAULT_wxUSE_GTK=1
2607 *-*-irix5* | *-*-irix6* )
2610 cat >>confdefs.h <<\_ACEOF
2614 cat >>confdefs.h <<\_ACEOF
2618 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2624 cat >>confdefs.h <<\_ACEOF
2628 cat >>confdefs.h <<\_ACEOF
2629 #define __SOLARIS__ 1
2632 cat >>confdefs.h <<\_ACEOF
2636 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2637 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2643 cat >>confdefs.h <<\_ACEOF
2647 cat >>confdefs.h <<\_ACEOF
2651 cat >>confdefs.h <<\_ACEOF
2655 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2660 cat >>confdefs.h <<\_ACEOF
2661 #define __FREEBSD__ 1
2664 cat >>confdefs.h <<\_ACEOF
2668 DEFAULT_DEFAULT_wxUSE_GTK=1
2670 *-*-openbsd*|*-*-mirbsd*)
2673 cat >>confdefs.h <<\_ACEOF
2674 #define __OPENBSD__ 1
2677 cat >>confdefs.h <<\_ACEOF
2681 DEFAULT_DEFAULT_wxUSE_GTK=1
2686 cat >>confdefs.h <<\_ACEOF
2687 #define __NETBSD__ 1
2690 cat >>confdefs.h <<\_ACEOF
2694 DEFAULT_DEFAULT_wxUSE_GTK=1
2695 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2697 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2702 cat >>confdefs.h <<\_ACEOF
2706 cat >>confdefs.h <<\_ACEOF
2710 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2711 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2716 cat >>confdefs.h <<\_ACEOF
2720 cat >>confdefs.h <<\_ACEOF
2724 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2729 cat >>confdefs.h <<\_ACEOF
2733 cat >>confdefs.h <<\_ACEOF
2737 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2744 cat >>confdefs.h <<\_ACEOF
2748 cat >>confdefs.h <<\_ACEOF
2752 cat >>confdefs.h <<\_ACEOF
2756 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2763 cat >>confdefs.h <<\_ACEOF
2764 #define __UNIXWARE__ 1
2769 *-*-cygwin* | *-*-mingw32* )
2772 DEFAULT_DEFAULT_wxUSE_MSW=1
2778 cat >>confdefs.h <<\_ACEOF
2783 DEFAULT_DEFAULT_wxUSE_MGL=1
2786 *-pc-os2_emx | *-pc-os2-emx )
2787 cat >>confdefs.h <<\_ACEOF
2792 cat >>confdefs.h <<\_ACEOF
2797 DEFAULT_DEFAULT_wxUSE_PM=1
2799 LDFLAGS="$LDFLAGS -Zcrtdll"
2800 ac_executable_extensions=".exe"
2801 export ac_executable_extensions
2805 for ac_dir in $PATH; do
2807 if test -z "$ac_TEMP_PATH"; then
2808 ac_TEMP_PATH="$ac_dir"
2810 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2813 export PATH="$ac_TEMP_PATH"
2822 cat >>confdefs.h <<\_ACEOF
2826 cat >>confdefs.h <<\_ACEOF
2827 #define __DARWIN__ 1
2830 cat >>confdefs.h <<\_ACEOF
2831 #define TARGET_CARBON 1
2834 DEFAULT_DEFAULT_wxUSE_MAC=1
2837 powerpc-apple-macos* )
2839 ac_cv_c_bigendian=yes
2841 DEFAULT_DEFAULT_wxUSE_MAC=1
2847 cat >>confdefs.h <<\_ACEOF
2854 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2855 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2856 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2857 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2859 DEFAULT_DEFAULT_wxUSE_X11=1
2860 DEFAULT_wxUSE_SHARED=no
2866 wx_arg_cache_file="configarg.cache"
2867 echo "loading argument cache $wx_arg_cache_file"
2868 rm -f ${wx_arg_cache_file}.tmp
2869 touch ${wx_arg_cache_file}.tmp
2870 touch ${wx_arg_cache_file}
2874 if test $DEBUG_CONFIGURE = 1; then
2875 DEFAULT_wxUSE_UNIVERSAL=no
2876 DEFAULT_wxUSE_STL=no
2878 DEFAULT_wxUSE_NANOX=no
2880 DEFAULT_wxUSE_THREADS=yes
2882 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2883 DEFAULT_wxUSE_OPTIMISE=no
2884 DEFAULT_wxUSE_PROFILE=no
2885 DEFAULT_wxUSE_NO_DEPS=no
2886 DEFAULT_wxUSE_VARARG_MACROS=no
2887 DEFAULT_wxUSE_NO_RTTI=no
2888 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2889 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2890 DEFAULT_wxUSE_RPATH=yes
2891 DEFAULT_wxUSE_PERMISSIVE=no
2892 DEFAULT_wxUSE_DEBUG_FLAG=yes
2893 DEFAULT_wxUSE_DEBUG_INFO=yes
2894 DEFAULT_wxUSE_DEBUG_GDB=yes
2895 DEFAULT_wxUSE_MEM_TRACING=no
2896 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2897 DEFAULT_wxUSE_DMALLOC=no
2898 DEFAULT_wxUSE_APPLE_IEEE=no
2900 DEFAULT_wxUSE_EXCEPTIONS=no
2901 DEFAULT_wxUSE_LOG=yes
2902 DEFAULT_wxUSE_LOGWINDOW=no
2903 DEFAULT_wxUSE_LOGGUI=no
2904 DEFAULT_wxUSE_LOGDIALOG=no
2906 DEFAULT_wxUSE_GUI=yes
2907 DEFAULT_wxUSE_CONTROLS=no
2909 DEFAULT_wxUSE_REGEX=no
2910 DEFAULT_wxUSE_XML=no
2911 DEFAULT_wxUSE_EXPAT=no
2912 DEFAULT_wxUSE_ZLIB=no
2913 DEFAULT_wxUSE_LIBPNG=no
2914 DEFAULT_wxUSE_LIBJPEG=no
2915 DEFAULT_wxUSE_LIBTIFF=no
2916 DEFAULT_wxUSE_LIBXPM=no
2917 DEFAULT_wxUSE_LIBMSPACK=no
2918 DEFAULT_wxUSE_LIBSDL=no
2919 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2920 DEFAULT_wxUSE_LIBGNOMEVFS=no
2921 DEFAULT_wxUSE_LIBHILDON=no
2922 DEFAULT_wxUSE_ODBC=no
2923 DEFAULT_wxUSE_OPENGL=no
2925 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2926 DEFAULT_wxUSE_STACKWALKER=no
2927 DEFAULT_wxUSE_DEBUGREPORT=no
2928 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2929 DEFAULT_wxUSE_STD_IOSTREAM=no
2930 DEFAULT_wxUSE_STD_STRING=no
2931 DEFAULT_wxUSE_CMDLINE_PARSER=no
2932 DEFAULT_wxUSE_DATETIME=no
2933 DEFAULT_wxUSE_TIMER=no
2934 DEFAULT_wxUSE_STOPWATCH=no
2935 DEFAULT_wxUSE_FILE=no
2936 DEFAULT_wxUSE_FFILE=no
2937 DEFAULT_wxUSE_STDPATHS=no
2938 DEFAULT_wxUSE_TEXTBUFFER=no
2939 DEFAULT_wxUSE_TEXTFILE=no
2940 DEFAULT_wxUSE_SOUND=no
2941 DEFAULT_wxUSE_MEDIACTRL=no
2942 DEFAULT_wxUSE_GSTREAMER8=no
2943 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2944 DEFAULT_wxUSE_INTL=no
2945 DEFAULT_wxUSE_CONFIG=no
2946 DEFAULT_wxUSE_FONTMAP=no
2947 DEFAULT_wxUSE_STREAMS=no
2948 DEFAULT_wxUSE_SOCKETS=no
2949 DEFAULT_wxUSE_OLE=no
2950 DEFAULT_wxUSE_DATAOBJ=no
2951 DEFAULT_wxUSE_DIALUP_MANAGER=no
2952 DEFAULT_wxUSE_JOYSTICK=no
2953 DEFAULT_wxUSE_DYNLIB_CLASS=no
2954 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2955 DEFAULT_wxUSE_LONGLONG=no
2956 DEFAULT_wxUSE_GEOMETRY=no
2958 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2959 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2960 DEFAULT_wxUSE_POSTSCRIPT=no
2962 DEFAULT_wxUSE_CLIPBOARD=no
2963 DEFAULT_wxUSE_TOOLTIPS=no
2964 DEFAULT_wxUSE_DRAG_AND_DROP=no
2965 DEFAULT_wxUSE_DRAGIMAGE=no
2966 DEFAULT_wxUSE_SPLINES=no
2967 DEFAULT_wxUSE_MOUSEWHEEL=no
2969 DEFAULT_wxUSE_MDI=no
2970 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2971 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2972 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2974 DEFAULT_wxUSE_RESOURCES=no
2975 DEFAULT_wxUSE_CONSTRAINTS=no
2976 DEFAULT_wxUSE_IPC=no
2977 DEFAULT_wxUSE_HELP=no
2978 DEFAULT_wxUSE_MS_HTML_HELP=no
2979 DEFAULT_wxUSE_WXHTML_HELP=no
2980 DEFAULT_wxUSE_TREELAYOUT=no
2981 DEFAULT_wxUSE_METAFILE=no
2982 DEFAULT_wxUSE_MIMETYPE=no
2983 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2984 DEFAULT_wxUSE_PROTOCOL=no
2985 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2986 DEFAULT_wxUSE_PROTOCOL_FTP=no
2987 DEFAULT_wxUSE_PROTOCOL_FILE=no
2988 DEFAULT_wxUSE_URL=no
2989 DEFAULT_wxUSE_VARIANT=no
2991 DEFAULT_wxUSE_ABOUTDLG=no
2992 DEFAULT_wxUSE_COMMONDLGS=no
2993 DEFAULT_wxUSE_CHOICEDLG=no
2994 DEFAULT_wxUSE_COLOURDLG=no
2995 DEFAULT_wxUSE_DIRDLG=no
2996 DEFAULT_wxUSE_FILEDLG=no
2997 DEFAULT_wxUSE_FINDREPLDLG=no
2998 DEFAULT_wxUSE_FONTDLG=no
2999 DEFAULT_wxUSE_MSGDLG=no
3000 DEFAULT_wxUSE_NUMBERDLG=no
3001 DEFAULT_wxUSE_TEXTDLG=no
3002 DEFAULT_wxUSE_SPLASH=no
3003 DEFAULT_wxUSE_STARTUP_TIPS=no
3004 DEFAULT_wxUSE_PROGRESSDLG=no
3005 DEFAULT_wxUSE_WIZARDDLG=no
3007 DEFAULT_wxUSE_MENUS=no
3008 DEFAULT_wxUSE_MINIFRAME=no
3009 DEFAULT_wxUSE_HTML=no
3010 DEFAULT_wxUSE_RICHTEXT=no
3011 DEFAULT_wxUSE_XRC=no
3012 DEFAULT_wxUSE_AUI=no
3013 DEFAULT_wxUSE_WEBKIT=no
3014 DEFAULT_wxUSE_FILESYSTEM=no
3015 DEFAULT_wxUSE_FS_INET=no
3016 DEFAULT_wxUSE_FS_ZIP=no
3017 DEFAULT_wxUSE_FS_ARCHIVE=no
3018 DEFAULT_wxUSE_BUSYINFO=no
3019 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3020 DEFAULT_wxUSE_ZIPSTREAM=no
3021 DEFAULT_wxUSE_TARSTREAM=no
3022 DEFAULT_wxUSE_VALIDATORS=no
3024 DEFAULT_wxUSE_ACCEL=no
3025 DEFAULT_wxUSE_ANIMATIONCTRL=no
3026 DEFAULT_wxUSE_BUTTON=no
3027 DEFAULT_wxUSE_BMPBUTTON=no
3028 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3029 DEFAULT_wxUSE_CALCTRL=no
3030 DEFAULT_wxUSE_CARET=no
3031 DEFAULT_wxUSE_CHECKBOX=no
3032 DEFAULT_wxUSE_CHECKLST=no
3033 DEFAULT_wxUSE_CHOICE=no
3034 DEFAULT_wxUSE_CHOICEBOOK=no
3035 DEFAULT_wxUSE_COLLPANE=no
3036 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3037 DEFAULT_wxUSE_COMBOBOX=no
3038 DEFAULT_wxUSE_COMBOCTRL=no
3039 DEFAULT_wxUSE_DATEPICKCTRL=no
3040 DEFAULT_wxUSE_DISPLAY=no
3041 DEFAULT_wxUSE_DETECT_SM=no
3042 DEFAULT_wxUSE_DIRPICKERCTRL=no
3043 DEFAULT_wxUSE_FILEPICKERCTRL=no
3044 DEFAULT_wxUSE_FONTPICKERCTRL=no
3045 DEFAULT_wxUSE_GAUGE=no
3046 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3047 DEFAULT_wxUSE_GRID=no
3048 DEFAULT_wxUSE_HYPERLINKCTRL=no
3049 DEFAULT_wxUSE_DATAVIEWCTRL=no
3050 DEFAULT_wxUSE_IMAGLIST=no
3051 DEFAULT_wxUSE_LISTBOOK=no
3052 DEFAULT_wxUSE_LISTBOX=no
3053 DEFAULT_wxUSE_LISTCTRL=no
3054 DEFAULT_wxUSE_NOTEBOOK=no
3055 DEFAULT_wxUSE_ODCOMBOBOX=no
3056 DEFAULT_wxUSE_RADIOBOX=no
3057 DEFAULT_wxUSE_RADIOBTN=no
3058 DEFAULT_wxUSE_SASH=no
3059 DEFAULT_wxUSE_SCROLLBAR=no
3060 DEFAULT_wxUSE_SEARCHCTRL=no
3061 DEFAULT_wxUSE_SLIDER=no
3062 DEFAULT_wxUSE_SPINBTN=no
3063 DEFAULT_wxUSE_SPINCTRL=no
3064 DEFAULT_wxUSE_SPLITTER=no
3065 DEFAULT_wxUSE_STATBMP=no
3066 DEFAULT_wxUSE_STATBOX=no
3067 DEFAULT_wxUSE_STATLINE=no
3068 DEFAULT_wxUSE_STATTEXT=no
3069 DEFAULT_wxUSE_STATUSBAR=yes
3070 DEFAULT_wxUSE_TAB_DIALOG=no
3071 DEFAULT_wxUSE_TEXTCTRL=no
3072 DEFAULT_wxUSE_TOGGLEBTN=no
3073 DEFAULT_wxUSE_TOOLBAR=no
3074 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3075 DEFAULT_wxUSE_TREEBOOK=no
3076 DEFAULT_wxUSE_TOOLBOOK=no
3077 DEFAULT_wxUSE_TREECTRL=no
3078 DEFAULT_wxUSE_POPUPWIN=no
3079 DEFAULT_wxUSE_TIPWINDOW=no
3081 DEFAULT_wxUSE_UNICODE=no
3082 DEFAULT_wxUSE_UNICODE_MSLU=no
3083 DEFAULT_wxUSE_WCSRTOMBS=no
3085 DEFAULT_wxUSE_PALETTE=no
3086 DEFAULT_wxUSE_IMAGE=no
3087 DEFAULT_wxUSE_GIF=no
3088 DEFAULT_wxUSE_PCX=no
3089 DEFAULT_wxUSE_TGA=no
3090 DEFAULT_wxUSE_PNM=no
3091 DEFAULT_wxUSE_IFF=no
3092 DEFAULT_wxUSE_XPM=no
3093 DEFAULT_wxUSE_ICO_CUR=no
3094 DEFAULT_wxUSE_ACCESSIBILITY=no
3096 DEFAULT_wxUSE_MONOLITHIC=no
3097 DEFAULT_wxUSE_PLUGINS=no
3098 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3100 DEFAULT_wxUSE_UNIVERSAL=no
3101 DEFAULT_wxUSE_STL=no
3103 DEFAULT_wxUSE_NANOX=no
3105 DEFAULT_wxUSE_THREADS=yes
3107 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3108 DEFAULT_wxUSE_OPTIMISE=yes
3109 DEFAULT_wxUSE_PROFILE=no
3110 DEFAULT_wxUSE_NO_DEPS=no
3111 DEFAULT_wxUSE_VARARG_MACROS=yes
3112 DEFAULT_wxUSE_NO_RTTI=no
3113 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3114 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3115 DEFAULT_wxUSE_RPATH=yes
3116 DEFAULT_wxUSE_PERMISSIVE=no
3117 DEFAULT_wxUSE_DEBUG_FLAG=no
3118 DEFAULT_wxUSE_DEBUG_INFO=no
3119 DEFAULT_wxUSE_DEBUG_GDB=no
3120 DEFAULT_wxUSE_MEM_TRACING=no
3121 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3122 DEFAULT_wxUSE_DMALLOC=no
3123 DEFAULT_wxUSE_APPLE_IEEE=yes
3125 DEFAULT_wxUSE_EXCEPTIONS=yes
3126 DEFAULT_wxUSE_LOG=yes
3127 DEFAULT_wxUSE_LOGWINDOW=yes
3128 DEFAULT_wxUSE_LOGGUI=yes
3129 DEFAULT_wxUSE_LOGDIALOG=yes
3131 DEFAULT_wxUSE_GUI=yes
3133 DEFAULT_wxUSE_REGEX=yes
3134 DEFAULT_wxUSE_XML=yes
3135 DEFAULT_wxUSE_EXPAT=yes
3136 DEFAULT_wxUSE_ZLIB=yes
3137 DEFAULT_wxUSE_LIBPNG=yes
3138 DEFAULT_wxUSE_LIBJPEG=yes
3139 DEFAULT_wxUSE_LIBTIFF=yes
3140 DEFAULT_wxUSE_LIBXPM=yes
3141 DEFAULT_wxUSE_LIBMSPACK=yes
3142 DEFAULT_wxUSE_LIBSDL=no
3143 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3144 DEFAULT_wxUSE_LIBGNOMEVFS=no
3145 DEFAULT_wxUSE_LIBHILDON=no
3146 DEFAULT_wxUSE_ODBC=no
3147 DEFAULT_wxUSE_OPENGL=no
3149 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3150 DEFAULT_wxUSE_STACKWALKER=yes
3151 DEFAULT_wxUSE_DEBUGREPORT=yes
3152 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3153 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3154 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3155 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3156 DEFAULT_wxUSE_DATETIME=yes
3157 DEFAULT_wxUSE_TIMER=yes
3158 DEFAULT_wxUSE_STOPWATCH=yes
3159 DEFAULT_wxUSE_FILE=yes
3160 DEFAULT_wxUSE_FFILE=yes
3161 DEFAULT_wxUSE_STDPATHS=yes
3162 DEFAULT_wxUSE_TEXTBUFFER=yes
3163 DEFAULT_wxUSE_TEXTFILE=yes
3164 DEFAULT_wxUSE_SOUND=yes
3165 DEFAULT_wxUSE_MEDIACTRL=no
3166 DEFAULT_wxUSE_GSTREAMER8=no
3167 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3168 DEFAULT_wxUSE_INTL=yes
3169 DEFAULT_wxUSE_CONFIG=yes
3170 DEFAULT_wxUSE_FONTMAP=yes
3171 DEFAULT_wxUSE_STREAMS=yes
3172 DEFAULT_wxUSE_SOCKETS=yes
3173 DEFAULT_wxUSE_OLE=yes
3174 DEFAULT_wxUSE_DATAOBJ=yes
3175 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3176 DEFAULT_wxUSE_JOYSTICK=yes
3177 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3178 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3179 DEFAULT_wxUSE_LONGLONG=yes
3180 DEFAULT_wxUSE_GEOMETRY=yes
3182 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3183 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3184 DEFAULT_wxUSE_POSTSCRIPT=yes
3186 DEFAULT_wxUSE_CLIPBOARD=yes
3187 DEFAULT_wxUSE_TOOLTIPS=yes
3188 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3189 DEFAULT_wxUSE_DRAGIMAGE=yes
3190 DEFAULT_wxUSE_SPLINES=yes
3191 DEFAULT_wxUSE_MOUSEWHEEL=yes
3193 DEFAULT_wxUSE_MDI=yes
3194 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3195 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3196 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3198 DEFAULT_wxUSE_RESOURCES=no
3199 DEFAULT_wxUSE_CONSTRAINTS=yes
3200 DEFAULT_wxUSE_IPC=yes
3201 DEFAULT_wxUSE_HELP=yes
3202 DEFAULT_wxUSE_MS_HTML_HELP=yes
3203 DEFAULT_wxUSE_WXHTML_HELP=yes
3204 DEFAULT_wxUSE_TREELAYOUT=yes
3205 DEFAULT_wxUSE_METAFILE=yes
3206 DEFAULT_wxUSE_MIMETYPE=yes
3207 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3208 DEFAULT_wxUSE_PROTOCOL=yes
3209 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3210 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3211 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3212 DEFAULT_wxUSE_URL=yes
3213 DEFAULT_wxUSE_VARIANT=yes
3215 DEFAULT_wxUSE_ABOUTDLG=yes
3216 DEFAULT_wxUSE_COMMONDLGS=yes
3217 DEFAULT_wxUSE_CHOICEDLG=yes
3218 DEFAULT_wxUSE_COLOURDLG=yes
3219 DEFAULT_wxUSE_DIRDLG=yes
3220 DEFAULT_wxUSE_FILEDLG=yes
3221 DEFAULT_wxUSE_FINDREPLDLG=yes
3222 DEFAULT_wxUSE_FONTDLG=yes
3223 DEFAULT_wxUSE_MSGDLG=yes
3224 DEFAULT_wxUSE_NUMBERDLG=yes
3225 DEFAULT_wxUSE_TEXTDLG=yes
3226 DEFAULT_wxUSE_SPLASH=yes
3227 DEFAULT_wxUSE_STARTUP_TIPS=yes
3228 DEFAULT_wxUSE_PROGRESSDLG=yes
3229 DEFAULT_wxUSE_WIZARDDLG=yes
3231 DEFAULT_wxUSE_MENUS=yes
3232 DEFAULT_wxUSE_MINIFRAME=yes
3233 DEFAULT_wxUSE_HTML=yes
3234 DEFAULT_wxUSE_RICHTEXT=yes
3235 DEFAULT_wxUSE_XRC=yes
3236 DEFAULT_wxUSE_AUI=yes
3237 DEFAULT_wxUSE_WEBKIT=yes
3238 DEFAULT_wxUSE_FILESYSTEM=yes
3239 DEFAULT_wxUSE_FS_INET=yes
3240 DEFAULT_wxUSE_FS_ZIP=yes
3241 DEFAULT_wxUSE_FS_ARCHIVE=yes
3242 DEFAULT_wxUSE_BUSYINFO=yes
3243 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3244 DEFAULT_wxUSE_ZIPSTREAM=yes
3245 DEFAULT_wxUSE_TARSTREAM=yes
3246 DEFAULT_wxUSE_VALIDATORS=yes
3248 DEFAULT_wxUSE_ACCEL=yes
3249 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3250 DEFAULT_wxUSE_BUTTON=yes
3251 DEFAULT_wxUSE_BMPBUTTON=yes
3252 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3253 DEFAULT_wxUSE_CALCTRL=yes
3254 DEFAULT_wxUSE_CARET=yes
3255 DEFAULT_wxUSE_CHECKBOX=yes
3256 DEFAULT_wxUSE_CHECKLST=yes
3257 DEFAULT_wxUSE_CHOICE=yes
3258 DEFAULT_wxUSE_CHOICEBOOK=yes
3259 DEFAULT_wxUSE_COLLPANE=yes
3260 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3261 DEFAULT_wxUSE_COMBOBOX=yes
3262 DEFAULT_wxUSE_COMBOCTRL=yes
3263 DEFAULT_wxUSE_DATEPICKCTRL=yes
3264 DEFAULT_wxUSE_DISPLAY=yes
3265 DEFAULT_wxUSE_DETECT_SM=yes
3266 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3267 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3268 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3269 DEFAULT_wxUSE_GAUGE=yes
3270 DEFAULT_wxUSE_GRID=yes
3271 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3272 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3273 DEFAULT_wxUSE_DATAVIEWCTRL=no
3274 DEFAULT_wxUSE_IMAGLIST=yes
3275 DEFAULT_wxUSE_LISTBOOK=yes
3276 DEFAULT_wxUSE_LISTBOX=yes
3277 DEFAULT_wxUSE_LISTCTRL=yes
3278 DEFAULT_wxUSE_NOTEBOOK=yes
3279 DEFAULT_wxUSE_ODCOMBOBOX=yes
3280 DEFAULT_wxUSE_RADIOBOX=yes
3281 DEFAULT_wxUSE_RADIOBTN=yes
3282 DEFAULT_wxUSE_SASH=yes
3283 DEFAULT_wxUSE_SCROLLBAR=yes
3284 DEFAULT_wxUSE_SEARCHCTRL=yes
3285 DEFAULT_wxUSE_SLIDER=yes
3286 DEFAULT_wxUSE_SPINBTN=yes
3287 DEFAULT_wxUSE_SPINCTRL=yes
3288 DEFAULT_wxUSE_SPLITTER=yes
3289 DEFAULT_wxUSE_STATBMP=yes
3290 DEFAULT_wxUSE_STATBOX=yes
3291 DEFAULT_wxUSE_STATLINE=yes
3292 DEFAULT_wxUSE_STATTEXT=yes
3293 DEFAULT_wxUSE_STATUSBAR=yes
3294 DEFAULT_wxUSE_TAB_DIALOG=no
3295 DEFAULT_wxUSE_TEXTCTRL=yes
3296 DEFAULT_wxUSE_TOGGLEBTN=yes
3297 DEFAULT_wxUSE_TOOLBAR=yes
3298 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3299 DEFAULT_wxUSE_TREEBOOK=yes
3300 DEFAULT_wxUSE_TOOLBOOK=yes
3301 DEFAULT_wxUSE_TREECTRL=yes
3302 DEFAULT_wxUSE_POPUPWIN=yes
3303 DEFAULT_wxUSE_TIPWINDOW=yes
3305 DEFAULT_wxUSE_UNICODE=no
3306 DEFAULT_wxUSE_UNICODE_MSLU=yes
3307 DEFAULT_wxUSE_WCSRTOMBS=no
3309 DEFAULT_wxUSE_PALETTE=yes
3310 DEFAULT_wxUSE_IMAGE=yes
3311 DEFAULT_wxUSE_GIF=yes
3312 DEFAULT_wxUSE_PCX=yes
3313 DEFAULT_wxUSE_TGA=yes
3314 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3315 DEFAULT_wxUSE_XPM=yes
3316 DEFAULT_wxUSE_ICO_CUR=yes
3317 DEFAULT_wxUSE_ACCESSIBILITY=no
3319 DEFAULT_wxUSE_MONOLITHIC=no
3320 DEFAULT_wxUSE_PLUGINS=no
3321 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3323 DEFAULT_wxUSE_GTK2=yes
3329 for toolkit in `echo $ALL_TOOLKITS`; do
3330 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3331 if test "x$LINE" != "x" ; then
3332 has_toolkit_in_cache=1
3333 eval "DEFAULT_$LINE"
3334 eval "CACHE_$toolkit=1"
3336 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3337 if test "x$LINE" != "x" ; then
3338 eval "DEFAULT_$LINE"
3346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3347 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3349 # Check whether --enable-gui was given.
3350 if test "${enable_gui+set}" = set; then
3351 enableval=$enable_gui;
3352 if test "$enableval" = yes; then
3353 ac_cv_use_gui='wxUSE_GUI=yes'
3355 ac_cv_use_gui='wxUSE_GUI=no'
3360 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3361 if test "x$LINE" != x ; then
3362 eval "DEFAULT_$LINE"
3367 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3372 eval "$ac_cv_use_gui"
3373 if test "$no_cache" != 1; then
3374 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3377 if test "$wxUSE_GUI" = yes; then
3378 { echo "$as_me:$LINENO: result: yes" >&5
3379 echo "${ECHO_T}yes" >&6; }
3381 { echo "$as_me:$LINENO: result: no" >&5
3382 echo "${ECHO_T}no" >&6; }
3387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3388 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3390 # Check whether --enable-monolithic was given.
3391 if test "${enable_monolithic+set}" = set; then
3392 enableval=$enable_monolithic;
3393 if test "$enableval" = yes; then
3394 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3396 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3401 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3402 if test "x$LINE" != x ; then
3403 eval "DEFAULT_$LINE"
3408 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3413 eval "$ac_cv_use_monolithic"
3414 if test "$no_cache" != 1; then
3415 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3418 if test "$wxUSE_MONOLITHIC" = yes; then
3419 { echo "$as_me:$LINENO: result: yes" >&5
3420 echo "${ECHO_T}yes" >&6; }
3422 { echo "$as_me:$LINENO: result: no" >&5
3423 echo "${ECHO_T}no" >&6; }
3428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3429 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3431 # Check whether --enable-plugins was given.
3432 if test "${enable_plugins+set}" = set; then
3433 enableval=$enable_plugins;
3434 if test "$enableval" = yes; then
3435 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3437 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3442 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3443 if test "x$LINE" != x ; then
3444 eval "DEFAULT_$LINE"
3449 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3454 eval "$ac_cv_use_plugins"
3455 if test "$no_cache" != 1; then
3456 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3459 if test "$wxUSE_PLUGINS" = yes; then
3460 { echo "$as_me:$LINENO: result: yes" >&5
3461 echo "${ECHO_T}yes" >&6; }
3463 { echo "$as_me:$LINENO: result: no" >&5
3464 echo "${ECHO_T}no" >&6; }
3469 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3470 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3473 # Check whether --with-subdirs was given.
3474 if test "${with_subdirs+set}" = set; then
3475 withval=$with_subdirs;
3476 if test "$withval" = yes; then
3477 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3479 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3484 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3485 if test "x$LINE" != x ; then
3486 eval "DEFAULT_$LINE"
3491 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3496 eval "$ac_cv_use_subdirs"
3497 if test "$no_cache" != 1; then
3498 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3501 if test "$wxWITH_SUBDIRS" = yes; then
3502 { echo "$as_me:$LINENO: result: yes" >&5
3503 echo "${ECHO_T}yes" >&6; }
3505 { echo "$as_me:$LINENO: result: no" >&5
3506 echo "${ECHO_T}no" >&6; }
3510 if test "$wxUSE_GUI" = "yes"; then
3514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3515 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3517 # Check whether --enable-universal was given.
3518 if test "${enable_universal+set}" = set; then
3519 enableval=$enable_universal;
3520 if test "$enableval" = yes; then
3521 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3523 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3528 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3529 if test "x$LINE" != x ; then
3530 eval "DEFAULT_$LINE"
3535 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3540 eval "$ac_cv_use_universal"
3541 if test "$no_cache" != 1; then
3542 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3545 if test "$wxUSE_UNIVERSAL" = yes; then
3546 { echo "$as_me:$LINENO: result: yes" >&5
3547 echo "${ECHO_T}yes" >&6; }
3549 { echo "$as_me:$LINENO: result: no" >&5
3550 echo "${ECHO_T}no" >&6; }
3554 # Check whether --with-gtk was given.
3555 if test "${with_gtk+set}" = set; then
3556 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3560 # Check whether --with-motif was given.
3561 if test "${with_motif+set}" = set; then
3562 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3566 # Check whether --with-mac was given.
3567 if test "${with_mac+set}" = set; then
3568 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3572 # Check whether --with-cocoa was given.
3573 if test "${with_cocoa+set}" = set; then
3574 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3578 # Check whether --with-wine was given.
3579 if test "${with_wine+set}" = set; then
3580 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3584 # Check whether --with-msw was given.
3585 if test "${with_msw+set}" = set; then
3586 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3590 # Check whether --with-pm was given.
3591 if test "${with_pm+set}" = set; then
3592 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3596 # Check whether --with-mgl was given.
3597 if test "${with_mgl+set}" = set; then
3598 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3602 # Check whether --with-directfb was given.
3603 if test "${with_directfb+set}" = set; then
3604 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3608 # Check whether --with-microwin was given.
3609 if test "${with_microwin+set}" = set; then
3610 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3614 # Check whether --with-x11 was given.
3615 if test "${with_x11+set}" = set; then
3616 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3622 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3624 # Check whether --enable-nanox was given.
3625 if test "${enable_nanox+set}" = set; then
3626 enableval=$enable_nanox;
3627 if test "$enableval" = yes; then
3628 ac_cv_use_nanox='wxUSE_NANOX=yes'
3630 ac_cv_use_nanox='wxUSE_NANOX=no'
3635 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3636 if test "x$LINE" != x ; then
3637 eval "DEFAULT_$LINE"
3642 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3647 eval "$ac_cv_use_nanox"
3648 if test "$no_cache" != 1; then
3649 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3652 if test "$wxUSE_NANOX" = yes; then
3653 { echo "$as_me:$LINENO: result: yes" >&5
3654 echo "${ECHO_T}yes" >&6; }
3656 { echo "$as_me:$LINENO: result: no" >&5
3657 echo "${ECHO_T}no" >&6; }
3661 # Check whether --enable-gtk2 was given.
3662 if test "${enable_gtk2+set}" = set; then
3663 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3669 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3671 # Check whether --enable-gpe was given.
3672 if test "${enable_gpe+set}" = set; then
3673 enableval=$enable_gpe;
3674 if test "$enableval" = yes; then
3675 ac_cv_use_gpe='wxUSE_GPE=yes'
3677 ac_cv_use_gpe='wxUSE_GPE=no'
3682 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3683 if test "x$LINE" != x ; then
3684 eval "DEFAULT_$LINE"
3689 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3694 eval "$ac_cv_use_gpe"
3695 if test "$no_cache" != 1; then
3696 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3699 if test "$wxUSE_GPE" = yes; then
3700 { echo "$as_me:$LINENO: result: yes" >&5
3701 echo "${ECHO_T}yes" >&6; }
3703 { echo "$as_me:$LINENO: result: no" >&5
3704 echo "${ECHO_T}no" >&6; }
3709 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3710 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3713 # Check whether --with-libpng was given.
3714 if test "${with_libpng+set}" = set; then
3715 withval=$with_libpng;
3716 if test "$withval" = yes; then
3717 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3718 elif test "$withval" = no; then
3719 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3720 elif test "$withval" = sys; then
3721 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3722 elif test "$withval" = builtin; then
3723 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3725 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3726 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3727 { (exit 1); exit 1; }; }
3732 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3733 if test "x$LINE" != x ; then
3734 eval "DEFAULT_$LINE"
3739 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3744 eval "$ac_cv_use_libpng"
3745 if test "$no_cache" != 1; then
3746 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3749 if test "$wxUSE_LIBPNG" = yes; then
3750 { echo "$as_me:$LINENO: result: yes" >&5
3751 echo "${ECHO_T}yes" >&6; }
3752 elif test "$wxUSE_LIBPNG" = no; then
3753 { echo "$as_me:$LINENO: result: no" >&5
3754 echo "${ECHO_T}no" >&6; }
3755 elif test "$wxUSE_LIBPNG" = sys; then
3756 { echo "$as_me:$LINENO: result: system version" >&5
3757 echo "${ECHO_T}system version" >&6; }
3758 elif test "$wxUSE_LIBPNG" = builtin; then
3759 { echo "$as_me:$LINENO: result: builtin version" >&5
3760 echo "${ECHO_T}builtin version" >&6; }
3762 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3763 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3764 { (exit 1); exit 1; }; }
3768 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3769 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3772 # Check whether --with-libjpeg was given.
3773 if test "${with_libjpeg+set}" = set; then
3774 withval=$with_libjpeg;
3775 if test "$withval" = yes; then
3776 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3777 elif test "$withval" = no; then
3778 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3779 elif test "$withval" = sys; then
3780 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3781 elif test "$withval" = builtin; then
3782 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3784 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3785 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3786 { (exit 1); exit 1; }; }
3791 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3792 if test "x$LINE" != x ; then
3793 eval "DEFAULT_$LINE"
3798 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3803 eval "$ac_cv_use_libjpeg"
3804 if test "$no_cache" != 1; then
3805 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3808 if test "$wxUSE_LIBJPEG" = yes; then
3809 { echo "$as_me:$LINENO: result: yes" >&5
3810 echo "${ECHO_T}yes" >&6; }
3811 elif test "$wxUSE_LIBJPEG" = no; then
3812 { echo "$as_me:$LINENO: result: no" >&5
3813 echo "${ECHO_T}no" >&6; }
3814 elif test "$wxUSE_LIBJPEG" = sys; then
3815 { echo "$as_me:$LINENO: result: system version" >&5
3816 echo "${ECHO_T}system version" >&6; }
3817 elif test "$wxUSE_LIBJPEG" = builtin; then
3818 { echo "$as_me:$LINENO: result: builtin version" >&5
3819 echo "${ECHO_T}builtin version" >&6; }
3821 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3822 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3823 { (exit 1); exit 1; }; }
3827 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3828 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3831 # Check whether --with-libtiff was given.
3832 if test "${with_libtiff+set}" = set; then
3833 withval=$with_libtiff;
3834 if test "$withval" = yes; then
3835 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3836 elif test "$withval" = no; then
3837 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3838 elif test "$withval" = sys; then
3839 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3840 elif test "$withval" = builtin; then
3841 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3843 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3844 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3845 { (exit 1); exit 1; }; }
3850 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3851 if test "x$LINE" != x ; then
3852 eval "DEFAULT_$LINE"
3857 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3862 eval "$ac_cv_use_libtiff"
3863 if test "$no_cache" != 1; then
3864 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3867 if test "$wxUSE_LIBTIFF" = yes; then
3868 { echo "$as_me:$LINENO: result: yes" >&5
3869 echo "${ECHO_T}yes" >&6; }
3870 elif test "$wxUSE_LIBTIFF" = no; then
3871 { echo "$as_me:$LINENO: result: no" >&5
3872 echo "${ECHO_T}no" >&6; }
3873 elif test "$wxUSE_LIBTIFF" = sys; then
3874 { echo "$as_me:$LINENO: result: system version" >&5
3875 echo "${ECHO_T}system version" >&6; }
3876 elif test "$wxUSE_LIBTIFF" = builtin; then
3877 { echo "$as_me:$LINENO: result: builtin version" >&5
3878 echo "${ECHO_T}builtin version" >&6; }
3880 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3881 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3882 { (exit 1); exit 1; }; }
3886 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3887 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3890 # Check whether --with-libxpm was given.
3891 if test "${with_libxpm+set}" = set; then
3892 withval=$with_libxpm;
3893 if test "$withval" = yes; then
3894 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3895 elif test "$withval" = no; then
3896 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3897 elif test "$withval" = sys; then
3898 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3899 elif test "$withval" = builtin; then
3900 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3902 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3903 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3904 { (exit 1); exit 1; }; }
3909 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3910 if test "x$LINE" != x ; then
3911 eval "DEFAULT_$LINE"
3916 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3921 eval "$ac_cv_use_libxpm"
3922 if test "$no_cache" != 1; then
3923 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3926 if test "$wxUSE_LIBXPM" = yes; then
3927 { echo "$as_me:$LINENO: result: yes" >&5
3928 echo "${ECHO_T}yes" >&6; }
3929 elif test "$wxUSE_LIBXPM" = no; then
3930 { echo "$as_me:$LINENO: result: no" >&5
3931 echo "${ECHO_T}no" >&6; }
3932 elif test "$wxUSE_LIBXPM" = sys; then
3933 { echo "$as_me:$LINENO: result: system version" >&5
3934 echo "${ECHO_T}system version" >&6; }
3935 elif test "$wxUSE_LIBXPM" = builtin; then
3936 { echo "$as_me:$LINENO: result: builtin version" >&5
3937 echo "${ECHO_T}builtin version" >&6; }
3939 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3940 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3941 { (exit 1); exit 1; }; }
3946 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3947 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3950 # Check whether --with-libmspack was given.
3951 if test "${with_libmspack+set}" = set; then
3952 withval=$with_libmspack;
3953 if test "$withval" = yes; then
3954 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3956 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3961 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3962 if test "x$LINE" != x ; then
3963 eval "DEFAULT_$LINE"
3968 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3973 eval "$ac_cv_use_libmspack"
3974 if test "$no_cache" != 1; then
3975 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3978 if test "$wxUSE_LIBMSPACK" = yes; then
3979 { echo "$as_me:$LINENO: result: yes" >&5
3980 echo "${ECHO_T}yes" >&6; }
3982 { echo "$as_me:$LINENO: result: no" >&5
3983 echo "${ECHO_T}no" >&6; }
3988 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3989 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
3992 # Check whether --with-sdl was given.
3993 if test "${with_sdl+set}" = set; then
3995 if test "$withval" = yes; then
3996 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3998 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4003 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4004 if test "x$LINE" != x ; then
4005 eval "DEFAULT_$LINE"
4010 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4015 eval "$ac_cv_use_sdl"
4016 if test "$no_cache" != 1; then
4017 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4020 if test "$wxUSE_LIBSDL" = yes; then
4021 { echo "$as_me:$LINENO: result: yes" >&5
4022 echo "${ECHO_T}yes" >&6; }
4024 { echo "$as_me:$LINENO: result: no" >&5
4025 echo "${ECHO_T}no" >&6; }
4030 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4031 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4034 # Check whether --with-gnomeprint was given.
4035 if test "${with_gnomeprint+set}" = set; then
4036 withval=$with_gnomeprint;
4037 if test "$withval" = yes; then
4038 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4040 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4045 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4046 if test "x$LINE" != x ; then
4047 eval "DEFAULT_$LINE"
4052 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4057 eval "$ac_cv_use_gnomeprint"
4058 if test "$no_cache" != 1; then
4059 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4062 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4063 { echo "$as_me:$LINENO: result: yes" >&5
4064 echo "${ECHO_T}yes" >&6; }
4066 { echo "$as_me:$LINENO: result: no" >&5
4067 echo "${ECHO_T}no" >&6; }
4072 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4073 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4076 # Check whether --with-gnomevfs was given.
4077 if test "${with_gnomevfs+set}" = set; then
4078 withval=$with_gnomevfs;
4079 if test "$withval" = yes; then
4080 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4082 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4087 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4088 if test "x$LINE" != x ; then
4089 eval "DEFAULT_$LINE"
4094 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4099 eval "$ac_cv_use_gnomevfs"
4100 if test "$no_cache" != 1; then
4101 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4104 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4105 { echo "$as_me:$LINENO: result: yes" >&5
4106 echo "${ECHO_T}yes" >&6; }
4108 { echo "$as_me:$LINENO: result: no" >&5
4109 echo "${ECHO_T}no" >&6; }
4114 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4115 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4118 # Check whether --with-hildon was given.
4119 if test "${with_hildon+set}" = set; then
4120 withval=$with_hildon;
4121 if test "$withval" = yes; then
4122 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4124 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4129 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4130 if test "x$LINE" != x ; then
4131 eval "DEFAULT_$LINE"
4136 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4141 eval "$ac_cv_use_hildon"
4142 if test "$no_cache" != 1; then
4143 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4146 if test "$wxUSE_LIBHILDON" = yes; then
4147 { echo "$as_me:$LINENO: result: yes" >&5
4148 echo "${ECHO_T}yes" >&6; }
4150 { echo "$as_me:$LINENO: result: no" >&5
4151 echo "${ECHO_T}no" >&6; }
4156 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4157 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4160 # Check whether --with-opengl was given.
4161 if test "${with_opengl+set}" = set; then
4162 withval=$with_opengl;
4163 if test "$withval" = yes; then
4164 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4166 ac_cv_use_opengl='wxUSE_OPENGL=no'
4171 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4172 if test "x$LINE" != x ; then
4173 eval "DEFAULT_$LINE"
4178 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4183 eval "$ac_cv_use_opengl"
4184 if test "$no_cache" != 1; then
4185 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4188 if test "$wxUSE_OPENGL" = yes; then
4189 { echo "$as_me:$LINENO: result: yes" >&5
4190 echo "${ECHO_T}yes" >&6; }
4192 { echo "$as_me:$LINENO: result: no" >&5
4193 echo "${ECHO_T}no" >&6; }
4197 if test "$wxUSE_UNIVERSAL" = "yes"; then
4199 # Check whether --with-themes was given.
4200 if test "${with_themes+set}" = set; then
4201 withval=$with_themes; wxUNIV_THEMES="$withval"
4210 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4211 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4214 # Check whether --with-dmalloc was given.
4215 if test "${with_dmalloc+set}" = set; then
4216 withval=$with_dmalloc;
4217 if test "$withval" = yes; then
4218 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4220 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4225 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4226 if test "x$LINE" != x ; then
4227 eval "DEFAULT_$LINE"
4232 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4237 eval "$ac_cv_use_dmalloc"
4238 if test "$no_cache" != 1; then
4239 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4242 if test "$wxUSE_DMALLOC" = yes; then
4243 { echo "$as_me:$LINENO: result: yes" >&5
4244 echo "${ECHO_T}yes" >&6; }
4246 { echo "$as_me:$LINENO: result: no" >&5
4247 echo "${ECHO_T}no" >&6; }
4251 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4252 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4255 # Check whether --with-regex was given.
4256 if test "${with_regex+set}" = set; then
4257 withval=$with_regex;
4258 if test "$withval" = yes; then
4259 ac_cv_use_regex='wxUSE_REGEX=yes'
4260 elif test "$withval" = no; then
4261 ac_cv_use_regex='wxUSE_REGEX=no'
4262 elif test "$withval" = sys; then
4263 ac_cv_use_regex='wxUSE_REGEX=sys'
4264 elif test "$withval" = builtin; then
4265 ac_cv_use_regex='wxUSE_REGEX=builtin'
4267 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4268 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4269 { (exit 1); exit 1; }; }
4274 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4275 if test "x$LINE" != x ; then
4276 eval "DEFAULT_$LINE"
4281 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4286 eval "$ac_cv_use_regex"
4287 if test "$no_cache" != 1; then
4288 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4291 if test "$wxUSE_REGEX" = yes; then
4292 { echo "$as_me:$LINENO: result: yes" >&5
4293 echo "${ECHO_T}yes" >&6; }
4294 elif test "$wxUSE_REGEX" = no; then
4295 { echo "$as_me:$LINENO: result: no" >&5
4296 echo "${ECHO_T}no" >&6; }
4297 elif test "$wxUSE_REGEX" = sys; then
4298 { echo "$as_me:$LINENO: result: system version" >&5
4299 echo "${ECHO_T}system version" >&6; }
4300 elif test "$wxUSE_REGEX" = builtin; then
4301 { echo "$as_me:$LINENO: result: builtin version" >&5
4302 echo "${ECHO_T}builtin version" >&6; }
4304 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4305 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4306 { (exit 1); exit 1; }; }
4310 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4311 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4314 # Check whether --with-zlib was given.
4315 if test "${with_zlib+set}" = set; then
4317 if test "$withval" = yes; then
4318 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4319 elif test "$withval" = no; then
4320 ac_cv_use_zlib='wxUSE_ZLIB=no'
4321 elif test "$withval" = sys; then
4322 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4323 elif test "$withval" = builtin; then
4324 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4326 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4327 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4328 { (exit 1); exit 1; }; }
4333 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4334 if test "x$LINE" != x ; then
4335 eval "DEFAULT_$LINE"
4340 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4345 eval "$ac_cv_use_zlib"
4346 if test "$no_cache" != 1; then
4347 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4350 if test "$wxUSE_ZLIB" = yes; then
4351 { echo "$as_me:$LINENO: result: yes" >&5
4352 echo "${ECHO_T}yes" >&6; }
4353 elif test "$wxUSE_ZLIB" = no; then
4354 { echo "$as_me:$LINENO: result: no" >&5
4355 echo "${ECHO_T}no" >&6; }
4356 elif test "$wxUSE_ZLIB" = sys; then
4357 { echo "$as_me:$LINENO: result: system version" >&5
4358 echo "${ECHO_T}system version" >&6; }
4359 elif test "$wxUSE_ZLIB" = builtin; then
4360 { echo "$as_me:$LINENO: result: builtin version" >&5
4361 echo "${ECHO_T}builtin version" >&6; }
4363 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4364 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4365 { (exit 1); exit 1; }; }
4369 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4370 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4373 # Check whether --with-odbc was given.
4374 if test "${with_odbc+set}" = set; then
4376 if test "$withval" = yes; then
4377 ac_cv_use_odbc='wxUSE_ODBC=yes'
4378 elif test "$withval" = no; then
4379 ac_cv_use_odbc='wxUSE_ODBC=no'
4380 elif test "$withval" = sys; then
4381 ac_cv_use_odbc='wxUSE_ODBC=sys'
4382 elif test "$withval" = builtin; then
4383 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4385 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4386 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4387 { (exit 1); exit 1; }; }
4392 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4393 if test "x$LINE" != x ; then
4394 eval "DEFAULT_$LINE"
4399 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4404 eval "$ac_cv_use_odbc"
4405 if test "$no_cache" != 1; then
4406 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4409 if test "$wxUSE_ODBC" = yes; then
4410 { echo "$as_me:$LINENO: result: yes" >&5
4411 echo "${ECHO_T}yes" >&6; }
4412 elif test "$wxUSE_ODBC" = no; then
4413 { echo "$as_me:$LINENO: result: no" >&5
4414 echo "${ECHO_T}no" >&6; }
4415 elif test "$wxUSE_ODBC" = sys; then
4416 { echo "$as_me:$LINENO: result: system version" >&5
4417 echo "${ECHO_T}system version" >&6; }
4418 elif test "$wxUSE_ODBC" = builtin; then
4419 { echo "$as_me:$LINENO: result: builtin version" >&5
4420 echo "${ECHO_T}builtin version" >&6; }
4422 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4423 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4424 { (exit 1); exit 1; }; }
4428 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4429 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4432 # Check whether --with-expat was given.
4433 if test "${with_expat+set}" = set; then
4434 withval=$with_expat;
4435 if test "$withval" = yes; then
4436 ac_cv_use_expat='wxUSE_EXPAT=yes'
4437 elif test "$withval" = no; then
4438 ac_cv_use_expat='wxUSE_EXPAT=no'
4439 elif test "$withval" = sys; then
4440 ac_cv_use_expat='wxUSE_EXPAT=sys'
4441 elif test "$withval" = builtin; then
4442 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4444 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4445 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4446 { (exit 1); exit 1; }; }
4451 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4452 if test "x$LINE" != x ; then
4453 eval "DEFAULT_$LINE"
4458 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4463 eval "$ac_cv_use_expat"
4464 if test "$no_cache" != 1; then
4465 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4468 if test "$wxUSE_EXPAT" = yes; then
4469 { echo "$as_me:$LINENO: result: yes" >&5
4470 echo "${ECHO_T}yes" >&6; }
4471 elif test "$wxUSE_EXPAT" = no; then
4472 { echo "$as_me:$LINENO: result: no" >&5
4473 echo "${ECHO_T}no" >&6; }
4474 elif test "$wxUSE_EXPAT" = sys; then
4475 { echo "$as_me:$LINENO: result: system version" >&5
4476 echo "${ECHO_T}system version" >&6; }
4477 elif test "$wxUSE_EXPAT" = builtin; then
4478 { echo "$as_me:$LINENO: result: builtin version" >&5
4479 echo "${ECHO_T}builtin version" >&6; }
4481 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4482 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4483 { (exit 1); exit 1; }; }
4490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4491 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4493 # Check whether --enable-shared was given.
4494 if test "${enable_shared+set}" = set; then
4495 enableval=$enable_shared;
4496 if test "$enableval" = yes; then
4497 ac_cv_use_shared='wxUSE_SHARED=yes'
4499 ac_cv_use_shared='wxUSE_SHARED=no'
4504 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4505 if test "x$LINE" != x ; then
4506 eval "DEFAULT_$LINE"
4511 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4516 eval "$ac_cv_use_shared"
4517 if test "$no_cache" != 1; then
4518 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4521 if test "$wxUSE_SHARED" = yes; then
4522 { echo "$as_me:$LINENO: result: yes" >&5
4523 echo "${ECHO_T}yes" >&6; }
4525 { echo "$as_me:$LINENO: result: no" >&5
4526 echo "${ECHO_T}no" >&6; }
4531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4532 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4534 # Check whether --enable-optimise was given.
4535 if test "${enable_optimise+set}" = set; then
4536 enableval=$enable_optimise;
4537 if test "$enableval" = yes; then
4538 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4540 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4545 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4546 if test "x$LINE" != x ; then
4547 eval "DEFAULT_$LINE"
4552 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4557 eval "$ac_cv_use_optimise"
4558 if test "$no_cache" != 1; then
4559 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4562 if test "$wxUSE_OPTIMISE" = yes; then
4563 { echo "$as_me:$LINENO: result: yes" >&5
4564 echo "${ECHO_T}yes" >&6; }
4566 { echo "$as_me:$LINENO: result: no" >&5
4567 echo "${ECHO_T}no" >&6; }
4572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4573 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4575 # Check whether --enable-debug was given.
4576 if test "${enable_debug+set}" = set; then
4577 enableval=$enable_debug;
4578 if test "$enableval" = yes; then
4579 ac_cv_use_debug='wxUSE_DEBUG=yes'
4581 ac_cv_use_debug='wxUSE_DEBUG=no'
4586 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4587 if test "x$LINE" != x ; then
4588 eval "DEFAULT_$LINE"
4593 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4598 eval "$ac_cv_use_debug"
4599 if test "$no_cache" != 1; then
4600 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4603 if test "$wxUSE_DEBUG" = yes; then
4604 { echo "$as_me:$LINENO: result: yes" >&5
4605 echo "${ECHO_T}yes" >&6; }
4607 { echo "$as_me:$LINENO: result: no" >&5
4608 echo "${ECHO_T}no" >&6; }
4613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4614 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4616 # Check whether --enable-stl was given.
4617 if test "${enable_stl+set}" = set; then
4618 enableval=$enable_stl;
4619 if test "$enableval" = yes; then
4620 ac_cv_use_stl='wxUSE_STL=yes'
4622 ac_cv_use_stl='wxUSE_STL=no'
4627 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4628 if test "x$LINE" != x ; then
4629 eval "DEFAULT_$LINE"
4634 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4639 eval "$ac_cv_use_stl"
4640 if test "$no_cache" != 1; then
4641 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4644 if test "$wxUSE_STL" = yes; then
4645 { echo "$as_me:$LINENO: result: yes" >&5
4646 echo "${ECHO_T}yes" >&6; }
4648 { echo "$as_me:$LINENO: result: no" >&5
4649 echo "${ECHO_T}no" >&6; }
4652 if test "$USE_OS2" = "1"; then
4653 DEFAULT_wxUSE_OMF=no
4656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4657 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4659 # Check whether --enable-omf was given.
4660 if test "${enable_omf+set}" = set; then
4661 enableval=$enable_omf;
4662 if test "$enableval" = yes; then
4663 ac_cv_use_omf='wxUSE_OMF=yes'
4665 ac_cv_use_omf='wxUSE_OMF=no'
4670 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4671 if test "x$LINE" != x ; then
4672 eval "DEFAULT_$LINE"
4677 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4682 eval "$ac_cv_use_omf"
4683 if test "$no_cache" != 1; then
4684 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4687 if test "$wxUSE_OMF" = yes; then
4688 { echo "$as_me:$LINENO: result: yes" >&5
4689 echo "${ECHO_T}yes" >&6; }
4691 { echo "$as_me:$LINENO: result: no" >&5
4692 echo "${ECHO_T}no" >&6; }
4697 if test "$wxUSE_DEBUG" = "yes"; then
4698 DEFAULT_wxUSE_DEBUG_FLAG=yes
4699 DEFAULT_wxUSE_DEBUG_INFO=yes
4701 elif test "$wxUSE_DEBUG" = "no"; then
4702 DEFAULT_wxUSE_DEBUG_FLAG=no
4703 DEFAULT_wxUSE_DEBUG_INFO=no
4709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4710 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4712 # Check whether --enable-debug_flag was given.
4713 if test "${enable_debug_flag+set}" = set; then
4714 enableval=$enable_debug_flag;
4715 if test "$enableval" = yes; then
4716 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4718 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4723 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4724 if test "x$LINE" != x ; then
4725 eval "DEFAULT_$LINE"
4730 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4735 eval "$ac_cv_use_debug_flag"
4736 if test "$no_cache" != 1; then
4737 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4740 if test "$wxUSE_DEBUG_FLAG" = yes; then
4741 { echo "$as_me:$LINENO: result: yes" >&5
4742 echo "${ECHO_T}yes" >&6; }
4744 { echo "$as_me:$LINENO: result: no" >&5
4745 echo "${ECHO_T}no" >&6; }
4750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4751 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4753 # Check whether --enable-debug_info was given.
4754 if test "${enable_debug_info+set}" = set; then
4755 enableval=$enable_debug_info;
4756 if test "$enableval" = yes; then
4757 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4759 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4764 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4765 if test "x$LINE" != x ; then
4766 eval "DEFAULT_$LINE"
4771 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4776 eval "$ac_cv_use_debug_info"
4777 if test "$no_cache" != 1; then
4778 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4781 if test "$wxUSE_DEBUG_INFO" = yes; then
4782 { echo "$as_me:$LINENO: result: yes" >&5
4783 echo "${ECHO_T}yes" >&6; }
4785 { echo "$as_me:$LINENO: result: no" >&5
4786 echo "${ECHO_T}no" >&6; }
4791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4792 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4794 # Check whether --enable-debug_gdb was given.
4795 if test "${enable_debug_gdb+set}" = set; then
4796 enableval=$enable_debug_gdb;
4797 if test "$enableval" = yes; then
4798 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4800 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4805 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4806 if test "x$LINE" != x ; then
4807 eval "DEFAULT_$LINE"
4812 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4817 eval "$ac_cv_use_debug_gdb"
4818 if test "$no_cache" != 1; then
4819 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4822 if test "$wxUSE_DEBUG_GDB" = yes; then
4823 { echo "$as_me:$LINENO: result: yes" >&5
4824 echo "${ECHO_T}yes" >&6; }
4826 { echo "$as_me:$LINENO: result: no" >&5
4827 echo "${ECHO_T}no" >&6; }
4832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4833 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4835 # Check whether --enable-debug_cntxt was given.
4836 if test "${enable_debug_cntxt+set}" = set; then
4837 enableval=$enable_debug_cntxt;
4838 if test "$enableval" = yes; then
4839 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4841 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4846 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4847 if test "x$LINE" != x ; then
4848 eval "DEFAULT_$LINE"
4853 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4858 eval "$ac_cv_use_debug_cntxt"
4859 if test "$no_cache" != 1; then
4860 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4863 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4864 { echo "$as_me:$LINENO: result: yes" >&5
4865 echo "${ECHO_T}yes" >&6; }
4867 { echo "$as_me:$LINENO: result: no" >&5
4868 echo "${ECHO_T}no" >&6; }
4873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4874 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4876 # Check whether --enable-mem_tracing was given.
4877 if test "${enable_mem_tracing+set}" = set; then
4878 enableval=$enable_mem_tracing;
4879 if test "$enableval" = yes; then
4880 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4882 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4887 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4888 if test "x$LINE" != x ; then
4889 eval "DEFAULT_$LINE"
4894 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4899 eval "$ac_cv_use_mem_tracing"
4900 if test "$no_cache" != 1; then
4901 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4904 if test "$wxUSE_MEM_TRACING" = yes; then
4905 { echo "$as_me:$LINENO: result: yes" >&5
4906 echo "${ECHO_T}yes" >&6; }
4908 { echo "$as_me:$LINENO: result: no" >&5
4909 echo "${ECHO_T}no" >&6; }
4914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4915 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4917 # Check whether --enable-profile was given.
4918 if test "${enable_profile+set}" = set; then
4919 enableval=$enable_profile;
4920 if test "$enableval" = yes; then
4921 ac_cv_use_profile='wxUSE_PROFILE=yes'
4923 ac_cv_use_profile='wxUSE_PROFILE=no'
4928 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4929 if test "x$LINE" != x ; then
4930 eval "DEFAULT_$LINE"
4935 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4940 eval "$ac_cv_use_profile"
4941 if test "$no_cache" != 1; then
4942 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4945 if test "$wxUSE_PROFILE" = yes; then
4946 { echo "$as_me:$LINENO: result: yes" >&5
4947 echo "${ECHO_T}yes" >&6; }
4949 { echo "$as_me:$LINENO: result: no" >&5
4950 echo "${ECHO_T}no" >&6; }
4955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4956 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4958 # Check whether --enable-no_rtti was given.
4959 if test "${enable_no_rtti+set}" = set; then
4960 enableval=$enable_no_rtti;
4961 if test "$enableval" = yes; then
4962 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4964 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4969 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4970 if test "x$LINE" != x ; then
4971 eval "DEFAULT_$LINE"
4976 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4981 eval "$ac_cv_use_no_rtti"
4982 if test "$no_cache" != 1; then
4983 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4986 if test "$wxUSE_NO_RTTI" = yes; then
4987 { echo "$as_me:$LINENO: result: yes" >&5
4988 echo "${ECHO_T}yes" >&6; }
4990 { echo "$as_me:$LINENO: result: no" >&5
4991 echo "${ECHO_T}no" >&6; }
4996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4997 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
4999 # Check whether --enable-no_exceptions was given.
5000 if test "${enable_no_exceptions+set}" = set; then
5001 enableval=$enable_no_exceptions;
5002 if test "$enableval" = yes; then
5003 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5005 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5010 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
5011 if test "x$LINE" != x ; then
5012 eval "DEFAULT_$LINE"
5017 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5022 eval "$ac_cv_use_no_exceptions"
5023 if test "$no_cache" != 1; then
5024 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5027 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5028 { echo "$as_me:$LINENO: result: yes" >&5
5029 echo "${ECHO_T}yes" >&6; }
5031 { echo "$as_me:$LINENO: result: no" >&5
5032 echo "${ECHO_T}no" >&6; }
5037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5038 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5040 # Check whether --enable-permissive was given.
5041 if test "${enable_permissive+set}" = set; then
5042 enableval=$enable_permissive;
5043 if test "$enableval" = yes; then
5044 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5046 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5051 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5052 if test "x$LINE" != x ; then
5053 eval "DEFAULT_$LINE"
5058 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5063 eval "$ac_cv_use_permissive"
5064 if test "$no_cache" != 1; then
5065 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5068 if test "$wxUSE_PERMISSIVE" = yes; then
5069 { echo "$as_me:$LINENO: result: yes" >&5
5070 echo "${ECHO_T}yes" >&6; }
5072 { echo "$as_me:$LINENO: result: no" >&5
5073 echo "${ECHO_T}no" >&6; }
5078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5079 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5081 # Check whether --enable-no_deps was given.
5082 if test "${enable_no_deps+set}" = set; then
5083 enableval=$enable_no_deps;
5084 if test "$enableval" = yes; then
5085 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5087 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5092 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5093 if test "x$LINE" != x ; then
5094 eval "DEFAULT_$LINE"
5099 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5104 eval "$ac_cv_use_no_deps"
5105 if test "$no_cache" != 1; then
5106 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5109 if test "$wxUSE_NO_DEPS" = yes; then
5110 { echo "$as_me:$LINENO: result: yes" >&5
5111 echo "${ECHO_T}yes" >&6; }
5113 { echo "$as_me:$LINENO: result: no" >&5
5114 echo "${ECHO_T}no" >&6; }
5119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5120 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5122 # Check whether --enable-vararg_macros was given.
5123 if test "${enable_vararg_macros+set}" = set; then
5124 enableval=$enable_vararg_macros;
5125 if test "$enableval" = yes; then
5126 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5128 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5133 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5134 if test "x$LINE" != x ; then
5135 eval "DEFAULT_$LINE"
5140 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5145 eval "$ac_cv_use_vararg_macros"
5146 if test "$no_cache" != 1; then
5147 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5150 if test "$wxUSE_VARARG_MACROS" = yes; then
5151 { echo "$as_me:$LINENO: result: yes" >&5
5152 echo "${ECHO_T}yes" >&6; }
5154 { echo "$as_me:$LINENO: result: no" >&5
5155 echo "${ECHO_T}no" >&6; }
5160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5161 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5163 # Check whether --enable-universal_binary was given.
5164 if test "${enable_universal_binary+set}" = set; then
5165 enableval=$enable_universal_binary;
5166 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5170 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5171 if test "x$LINE" != x ; then
5172 eval "DEFAULT_$LINE"
5173 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5176 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
5182 eval "$wx_cv_use_universal_binary"
5183 if test "$no_cache" != 1; then
5184 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5187 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5188 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
5194 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6; }
5196 # Check whether --enable-compat24 was given.
5197 if test "${enable_compat24+set}" = set; then
5198 enableval=$enable_compat24;
5199 if test "$enableval" = yes; then
5200 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
5202 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
5207 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
5208 if test "x$LINE" != x ; then
5209 eval "DEFAULT_$LINE"
5214 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
5219 eval "$ac_cv_use_compat24"
5220 if test "$no_cache" != 1; then
5221 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
5224 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
5225 { echo "$as_me:$LINENO: result: yes" >&5
5226 echo "${ECHO_T}yes" >&6; }
5228 { echo "$as_me:$LINENO: result: no" >&5
5229 echo "${ECHO_T}no" >&6; }
5233 enablestring=disable
5234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5235 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5237 # Check whether --enable-compat26 was given.
5238 if test "${enable_compat26+set}" = set; then
5239 enableval=$enable_compat26;
5240 if test "$enableval" = yes; then
5241 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5243 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5248 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5249 if test "x$LINE" != x ; then
5250 eval "DEFAULT_$LINE"
5255 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5260 eval "$ac_cv_use_compat26"
5261 if test "$no_cache" != 1; then
5262 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5265 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5266 { echo "$as_me:$LINENO: result: yes" >&5
5267 echo "${ECHO_T}yes" >&6; }
5269 { echo "$as_me:$LINENO: result: no" >&5
5270 echo "${ECHO_T}no" >&6; }
5276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5277 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5279 # Check whether --enable-rpath was given.
5280 if test "${enable_rpath+set}" = set; then
5281 enableval=$enable_rpath;
5282 if test "$enableval" = yes; then
5283 ac_cv_use_rpath='wxUSE_RPATH=yes'
5285 ac_cv_use_rpath='wxUSE_RPATH=no'
5290 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5291 if test "x$LINE" != x ; then
5292 eval "DEFAULT_$LINE"
5297 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5302 eval "$ac_cv_use_rpath"
5303 if test "$no_cache" != 1; then
5304 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5307 if test "$wxUSE_RPATH" = yes; then
5308 { echo "$as_me:$LINENO: result: yes" >&5
5309 echo "${ECHO_T}yes" >&6; }
5311 { echo "$as_me:$LINENO: result: no" >&5
5312 echo "${ECHO_T}no" >&6; }
5320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5321 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5323 # Check whether --enable-intl was given.
5324 if test "${enable_intl+set}" = set; then
5325 enableval=$enable_intl;
5326 if test "$enableval" = yes; then
5327 ac_cv_use_intl='wxUSE_INTL=yes'
5329 ac_cv_use_intl='wxUSE_INTL=no'
5334 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5335 if test "x$LINE" != x ; then
5336 eval "DEFAULT_$LINE"
5341 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5346 eval "$ac_cv_use_intl"
5347 if test "$no_cache" != 1; then
5348 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5351 if test "$wxUSE_INTL" = yes; then
5352 { echo "$as_me:$LINENO: result: yes" >&5
5353 echo "${ECHO_T}yes" >&6; }
5355 { echo "$as_me:$LINENO: result: no" >&5
5356 echo "${ECHO_T}no" >&6; }
5361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5362 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5364 # Check whether --enable-config was given.
5365 if test "${enable_config+set}" = set; then
5366 enableval=$enable_config;
5367 if test "$enableval" = yes; then
5368 ac_cv_use_config='wxUSE_CONFIG=yes'
5370 ac_cv_use_config='wxUSE_CONFIG=no'
5375 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5376 if test "x$LINE" != x ; then
5377 eval "DEFAULT_$LINE"
5382 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5387 eval "$ac_cv_use_config"
5388 if test "$no_cache" != 1; then
5389 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5392 if test "$wxUSE_CONFIG" = yes; then
5393 { echo "$as_me:$LINENO: result: yes" >&5
5394 echo "${ECHO_T}yes" >&6; }
5396 { echo "$as_me:$LINENO: result: no" >&5
5397 echo "${ECHO_T}no" >&6; }
5403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5404 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5406 # Check whether --enable-protocols was given.
5407 if test "${enable_protocols+set}" = set; then
5408 enableval=$enable_protocols;
5409 if test "$enableval" = yes; then
5410 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5412 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5417 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5418 if test "x$LINE" != x ; then
5419 eval "DEFAULT_$LINE"
5424 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5429 eval "$ac_cv_use_protocols"
5430 if test "$no_cache" != 1; then
5431 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5434 if test "$wxUSE_PROTOCOL" = yes; then
5435 { echo "$as_me:$LINENO: result: yes" >&5
5436 echo "${ECHO_T}yes" >&6; }
5438 { echo "$as_me:$LINENO: result: no" >&5
5439 echo "${ECHO_T}no" >&6; }
5444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5445 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5447 # Check whether --enable-ftp was given.
5448 if test "${enable_ftp+set}" = set; then
5449 enableval=$enable_ftp;
5450 if test "$enableval" = yes; then
5451 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5453 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5458 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5459 if test "x$LINE" != x ; then
5460 eval "DEFAULT_$LINE"
5465 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5470 eval "$ac_cv_use_ftp"
5471 if test "$no_cache" != 1; then
5472 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5475 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5476 { echo "$as_me:$LINENO: result: yes" >&5
5477 echo "${ECHO_T}yes" >&6; }
5479 { echo "$as_me:$LINENO: result: no" >&5
5480 echo "${ECHO_T}no" >&6; }
5485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5486 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5488 # Check whether --enable-http was given.
5489 if test "${enable_http+set}" = set; then
5490 enableval=$enable_http;
5491 if test "$enableval" = yes; then
5492 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5494 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5499 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5500 if test "x$LINE" != x ; then
5501 eval "DEFAULT_$LINE"
5506 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5511 eval "$ac_cv_use_http"
5512 if test "$no_cache" != 1; then
5513 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5516 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5517 { echo "$as_me:$LINENO: result: yes" >&5
5518 echo "${ECHO_T}yes" >&6; }
5520 { echo "$as_me:$LINENO: result: no" >&5
5521 echo "${ECHO_T}no" >&6; }
5526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5527 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5529 # Check whether --enable-fileproto was given.
5530 if test "${enable_fileproto+set}" = set; then
5531 enableval=$enable_fileproto;
5532 if test "$enableval" = yes; then
5533 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5535 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5540 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5541 if test "x$LINE" != x ; then
5542 eval "DEFAULT_$LINE"
5547 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5552 eval "$ac_cv_use_fileproto"
5553 if test "$no_cache" != 1; then
5554 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5557 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5558 { echo "$as_me:$LINENO: result: yes" >&5
5559 echo "${ECHO_T}yes" >&6; }
5561 { echo "$as_me:$LINENO: result: no" >&5
5562 echo "${ECHO_T}no" >&6; }
5567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5568 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5570 # Check whether --enable-sockets was given.
5571 if test "${enable_sockets+set}" = set; then
5572 enableval=$enable_sockets;
5573 if test "$enableval" = yes; then
5574 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5576 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5581 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5582 if test "x$LINE" != x ; then
5583 eval "DEFAULT_$LINE"
5588 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5593 eval "$ac_cv_use_sockets"
5594 if test "$no_cache" != 1; then
5595 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5598 if test "$wxUSE_SOCKETS" = yes; then
5599 { echo "$as_me:$LINENO: result: yes" >&5
5600 echo "${ECHO_T}yes" >&6; }
5602 { echo "$as_me:$LINENO: result: no" >&5
5603 echo "${ECHO_T}no" >&6; }
5608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5609 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5611 # Check whether --enable-ole was given.
5612 if test "${enable_ole+set}" = set; then
5613 enableval=$enable_ole;
5614 if test "$enableval" = yes; then
5615 ac_cv_use_ole='wxUSE_OLE=yes'
5617 ac_cv_use_ole='wxUSE_OLE=no'
5622 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5623 if test "x$LINE" != x ; then
5624 eval "DEFAULT_$LINE"
5629 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5634 eval "$ac_cv_use_ole"
5635 if test "$no_cache" != 1; then
5636 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5639 if test "$wxUSE_OLE" = yes; then
5640 { echo "$as_me:$LINENO: result: yes" >&5
5641 echo "${ECHO_T}yes" >&6; }
5643 { echo "$as_me:$LINENO: result: no" >&5
5644 echo "${ECHO_T}no" >&6; }
5649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5650 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5652 # Check whether --enable-dataobj was given.
5653 if test "${enable_dataobj+set}" = set; then
5654 enableval=$enable_dataobj;
5655 if test "$enableval" = yes; then
5656 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5658 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5663 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5664 if test "x$LINE" != x ; then
5665 eval "DEFAULT_$LINE"
5670 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5675 eval "$ac_cv_use_dataobj"
5676 if test "$no_cache" != 1; then
5677 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5680 if test "$wxUSE_DATAOBJ" = yes; then
5681 { echo "$as_me:$LINENO: result: yes" >&5
5682 echo "${ECHO_T}yes" >&6; }
5684 { echo "$as_me:$LINENO: result: no" >&5
5685 echo "${ECHO_T}no" >&6; }
5691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5692 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5694 # Check whether --enable-ipc was given.
5695 if test "${enable_ipc+set}" = set; then
5696 enableval=$enable_ipc;
5697 if test "$enableval" = yes; then
5698 ac_cv_use_ipc='wxUSE_IPC=yes'
5700 ac_cv_use_ipc='wxUSE_IPC=no'
5705 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5706 if test "x$LINE" != x ; then
5707 eval "DEFAULT_$LINE"
5712 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5717 eval "$ac_cv_use_ipc"
5718 if test "$no_cache" != 1; then
5719 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5722 if test "$wxUSE_IPC" = yes; then
5723 { echo "$as_me:$LINENO: result: yes" >&5
5724 echo "${ECHO_T}yes" >&6; }
5726 { echo "$as_me:$LINENO: result: no" >&5
5727 echo "${ECHO_T}no" >&6; }
5733 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5734 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5736 # Check whether --enable-apple_ieee was given.
5737 if test "${enable_apple_ieee+set}" = set; then
5738 enableval=$enable_apple_ieee;
5739 if test "$enableval" = yes; then
5740 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5742 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5747 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5748 if test "x$LINE" != x ; then
5749 eval "DEFAULT_$LINE"
5754 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5759 eval "$ac_cv_use_apple_ieee"
5760 if test "$no_cache" != 1; then
5761 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5764 if test "$wxUSE_APPLE_IEEE" = yes; then
5765 { echo "$as_me:$LINENO: result: yes" >&5
5766 echo "${ECHO_T}yes" >&6; }
5768 { echo "$as_me:$LINENO: result: no" >&5
5769 echo "${ECHO_T}no" >&6; }
5774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5775 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5777 # Check whether --enable-arcstream was given.
5778 if test "${enable_arcstream+set}" = set; then
5779 enableval=$enable_arcstream;
5780 if test "$enableval" = yes; then
5781 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5783 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5788 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5789 if test "x$LINE" != x ; then
5790 eval "DEFAULT_$LINE"
5795 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5800 eval "$ac_cv_use_arcstream"
5801 if test "$no_cache" != 1; then
5802 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5805 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5806 { echo "$as_me:$LINENO: result: yes" >&5
5807 echo "${ECHO_T}yes" >&6; }
5809 { echo "$as_me:$LINENO: result: no" >&5
5810 echo "${ECHO_T}no" >&6; }
5815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5816 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5818 # Check whether --enable-backtrace was given.
5819 if test "${enable_backtrace+set}" = set; then
5820 enableval=$enable_backtrace;
5821 if test "$enableval" = yes; then
5822 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5824 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5829 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5830 if test "x$LINE" != x ; then
5831 eval "DEFAULT_$LINE"
5836 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5841 eval "$ac_cv_use_backtrace"
5842 if test "$no_cache" != 1; then
5843 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5846 if test "$wxUSE_STACKWALKER" = yes; then
5847 { echo "$as_me:$LINENO: result: yes" >&5
5848 echo "${ECHO_T}yes" >&6; }
5850 { echo "$as_me:$LINENO: result: no" >&5
5851 echo "${ECHO_T}no" >&6; }
5856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5857 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5859 # Check whether --enable-catch_segvs was given.
5860 if test "${enable_catch_segvs+set}" = set; then
5861 enableval=$enable_catch_segvs;
5862 if test "$enableval" = yes; then
5863 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5865 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5870 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5871 if test "x$LINE" != x ; then
5872 eval "DEFAULT_$LINE"
5877 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5882 eval "$ac_cv_use_catch_segvs"
5883 if test "$no_cache" != 1; then
5884 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5887 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5888 { echo "$as_me:$LINENO: result: yes" >&5
5889 echo "${ECHO_T}yes" >&6; }
5891 { echo "$as_me:$LINENO: result: no" >&5
5892 echo "${ECHO_T}no" >&6; }
5897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5898 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5900 # Check whether --enable-cmdline was given.
5901 if test "${enable_cmdline+set}" = set; then
5902 enableval=$enable_cmdline;
5903 if test "$enableval" = yes; then
5904 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5906 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5911 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5912 if test "x$LINE" != x ; then
5913 eval "DEFAULT_$LINE"
5918 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5923 eval "$ac_cv_use_cmdline"
5924 if test "$no_cache" != 1; then
5925 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5928 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5929 { echo "$as_me:$LINENO: result: yes" >&5
5930 echo "${ECHO_T}yes" >&6; }
5932 { echo "$as_me:$LINENO: result: no" >&5
5933 echo "${ECHO_T}no" >&6; }
5938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5939 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
5941 # Check whether --enable-datetime was given.
5942 if test "${enable_datetime+set}" = set; then
5943 enableval=$enable_datetime;
5944 if test "$enableval" = yes; then
5945 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5947 ac_cv_use_datetime='wxUSE_DATETIME=no'
5952 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5953 if test "x$LINE" != x ; then
5954 eval "DEFAULT_$LINE"
5959 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5964 eval "$ac_cv_use_datetime"
5965 if test "$no_cache" != 1; then
5966 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5969 if test "$wxUSE_DATETIME" = yes; then
5970 { echo "$as_me:$LINENO: result: yes" >&5
5971 echo "${ECHO_T}yes" >&6; }
5973 { echo "$as_me:$LINENO: result: no" >&5
5974 echo "${ECHO_T}no" >&6; }
5979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5980 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
5982 # Check whether --enable-debugreport was given.
5983 if test "${enable_debugreport+set}" = set; then
5984 enableval=$enable_debugreport;
5985 if test "$enableval" = yes; then
5986 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5988 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5993 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5994 if test "x$LINE" != x ; then
5995 eval "DEFAULT_$LINE"
6000 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6005 eval "$ac_cv_use_debugreport"
6006 if test "$no_cache" != 1; then
6007 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6010 if test "$wxUSE_DEBUGREPORT" = yes; then
6011 { echo "$as_me:$LINENO: result: yes" >&5
6012 echo "${ECHO_T}yes" >&6; }
6014 { echo "$as_me:$LINENO: result: no" >&5
6015 echo "${ECHO_T}no" >&6; }
6020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6021 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6023 # Check whether --enable-dialupman was given.
6024 if test "${enable_dialupman+set}" = set; then
6025 enableval=$enable_dialupman;
6026 if test "$enableval" = yes; then
6027 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6029 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6034 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6035 if test "x$LINE" != x ; then
6036 eval "DEFAULT_$LINE"
6041 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6046 eval "$ac_cv_use_dialupman"
6047 if test "$no_cache" != 1; then
6048 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6051 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6052 { echo "$as_me:$LINENO: result: yes" >&5
6053 echo "${ECHO_T}yes" >&6; }
6055 { echo "$as_me:$LINENO: result: no" >&5
6056 echo "${ECHO_T}no" >&6; }
6061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6062 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6064 # Check whether --enable-dynlib was given.
6065 if test "${enable_dynlib+set}" = set; then
6066 enableval=$enable_dynlib;
6067 if test "$enableval" = yes; then
6068 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6070 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6075 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6076 if test "x$LINE" != x ; then
6077 eval "DEFAULT_$LINE"
6082 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6087 eval "$ac_cv_use_dynlib"
6088 if test "$no_cache" != 1; then
6089 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6092 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6093 { echo "$as_me:$LINENO: result: yes" >&5
6094 echo "${ECHO_T}yes" >&6; }
6096 { echo "$as_me:$LINENO: result: no" >&5
6097 echo "${ECHO_T}no" >&6; }
6102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6103 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6105 # Check whether --enable-dynamicloader was given.
6106 if test "${enable_dynamicloader+set}" = set; then
6107 enableval=$enable_dynamicloader;
6108 if test "$enableval" = yes; then
6109 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6111 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6116 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6117 if test "x$LINE" != x ; then
6118 eval "DEFAULT_$LINE"
6123 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6128 eval "$ac_cv_use_dynamicloader"
6129 if test "$no_cache" != 1; then
6130 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6133 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6134 { echo "$as_me:$LINENO: result: yes" >&5
6135 echo "${ECHO_T}yes" >&6; }
6137 { echo "$as_me:$LINENO: result: no" >&5
6138 echo "${ECHO_T}no" >&6; }
6143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6144 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6146 # Check whether --enable-exceptions was given.
6147 if test "${enable_exceptions+set}" = set; then
6148 enableval=$enable_exceptions;
6149 if test "$enableval" = yes; then
6150 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6152 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6157 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6158 if test "x$LINE" != x ; then
6159 eval "DEFAULT_$LINE"
6164 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6169 eval "$ac_cv_use_exceptions"
6170 if test "$no_cache" != 1; then
6171 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6174 if test "$wxUSE_EXCEPTIONS" = yes; then
6175 { echo "$as_me:$LINENO: result: yes" >&5
6176 echo "${ECHO_T}yes" >&6; }
6178 { echo "$as_me:$LINENO: result: no" >&5
6179 echo "${ECHO_T}no" >&6; }
6184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6185 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6187 # Check whether --enable-ffile was given.
6188 if test "${enable_ffile+set}" = set; then
6189 enableval=$enable_ffile;
6190 if test "$enableval" = yes; then
6191 ac_cv_use_ffile='wxUSE_FFILE=yes'
6193 ac_cv_use_ffile='wxUSE_FFILE=no'
6198 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6199 if test "x$LINE" != x ; then
6200 eval "DEFAULT_$LINE"
6205 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6210 eval "$ac_cv_use_ffile"
6211 if test "$no_cache" != 1; then
6212 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6215 if test "$wxUSE_FFILE" = yes; then
6216 { echo "$as_me:$LINENO: result: yes" >&5
6217 echo "${ECHO_T}yes" >&6; }
6219 { echo "$as_me:$LINENO: result: no" >&5
6220 echo "${ECHO_T}no" >&6; }
6225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6226 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6228 # Check whether --enable-file was given.
6229 if test "${enable_file+set}" = set; then
6230 enableval=$enable_file;
6231 if test "$enableval" = yes; then
6232 ac_cv_use_file='wxUSE_FILE=yes'
6234 ac_cv_use_file='wxUSE_FILE=no'
6239 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6240 if test "x$LINE" != x ; then
6241 eval "DEFAULT_$LINE"
6246 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6251 eval "$ac_cv_use_file"
6252 if test "$no_cache" != 1; then
6253 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6256 if test "$wxUSE_FILE" = yes; then
6257 { echo "$as_me:$LINENO: result: yes" >&5
6258 echo "${ECHO_T}yes" >&6; }
6260 { echo "$as_me:$LINENO: result: no" >&5
6261 echo "${ECHO_T}no" >&6; }
6266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6267 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6269 # Check whether --enable-filesystem was given.
6270 if test "${enable_filesystem+set}" = set; then
6271 enableval=$enable_filesystem;
6272 if test "$enableval" = yes; then
6273 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6275 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6280 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6281 if test "x$LINE" != x ; then
6282 eval "DEFAULT_$LINE"
6287 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6292 eval "$ac_cv_use_filesystem"
6293 if test "$no_cache" != 1; then
6294 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6297 if test "$wxUSE_FILESYSTEM" = yes; then
6298 { echo "$as_me:$LINENO: result: yes" >&5
6299 echo "${ECHO_T}yes" >&6; }
6301 { echo "$as_me:$LINENO: result: no" >&5
6302 echo "${ECHO_T}no" >&6; }
6307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6308 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6310 # Check whether --enable-fontmap was given.
6311 if test "${enable_fontmap+set}" = set; then
6312 enableval=$enable_fontmap;
6313 if test "$enableval" = yes; then
6314 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6316 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6321 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6322 if test "x$LINE" != x ; then
6323 eval "DEFAULT_$LINE"
6328 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6333 eval "$ac_cv_use_fontmap"
6334 if test "$no_cache" != 1; then
6335 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6338 if test "$wxUSE_FONTMAP" = yes; then
6339 { echo "$as_me:$LINENO: result: yes" >&5
6340 echo "${ECHO_T}yes" >&6; }
6342 { echo "$as_me:$LINENO: result: no" >&5
6343 echo "${ECHO_T}no" >&6; }
6348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6349 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6351 # Check whether --enable-fs_archive was given.
6352 if test "${enable_fs_archive+set}" = set; then
6353 enableval=$enable_fs_archive;
6354 if test "$enableval" = yes; then
6355 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6357 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6362 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6363 if test "x$LINE" != x ; then
6364 eval "DEFAULT_$LINE"
6369 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6374 eval "$ac_cv_use_fs_archive"
6375 if test "$no_cache" != 1; then
6376 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6379 if test "$wxUSE_FS_ARCHIVE" = yes; then
6380 { echo "$as_me:$LINENO: result: yes" >&5
6381 echo "${ECHO_T}yes" >&6; }
6383 { echo "$as_me:$LINENO: result: no" >&5
6384 echo "${ECHO_T}no" >&6; }
6389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6390 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6392 # Check whether --enable-fs_inet was given.
6393 if test "${enable_fs_inet+set}" = set; then
6394 enableval=$enable_fs_inet;
6395 if test "$enableval" = yes; then
6396 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6398 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6403 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6404 if test "x$LINE" != x ; then
6405 eval "DEFAULT_$LINE"
6410 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6415 eval "$ac_cv_use_fs_inet"
6416 if test "$no_cache" != 1; then
6417 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6420 if test "$wxUSE_FS_INET" = yes; then
6421 { echo "$as_me:$LINENO: result: yes" >&5
6422 echo "${ECHO_T}yes" >&6; }
6424 { echo "$as_me:$LINENO: result: no" >&5
6425 echo "${ECHO_T}no" >&6; }
6430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6431 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6433 # Check whether --enable-fs_zip was given.
6434 if test "${enable_fs_zip+set}" = set; then
6435 enableval=$enable_fs_zip;
6436 if test "$enableval" = yes; then
6437 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6439 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6444 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6445 if test "x$LINE" != x ; then
6446 eval "DEFAULT_$LINE"
6451 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6456 eval "$ac_cv_use_fs_zip"
6457 if test "$no_cache" != 1; then
6458 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6461 if test "$wxUSE_FS_ZIP" = yes; then
6462 { echo "$as_me:$LINENO: result: yes" >&5
6463 echo "${ECHO_T}yes" >&6; }
6465 { echo "$as_me:$LINENO: result: no" >&5
6466 echo "${ECHO_T}no" >&6; }
6471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6472 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6474 # Check whether --enable-geometry was given.
6475 if test "${enable_geometry+set}" = set; then
6476 enableval=$enable_geometry;
6477 if test "$enableval" = yes; then
6478 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6480 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6485 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6486 if test "x$LINE" != x ; then
6487 eval "DEFAULT_$LINE"
6492 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6497 eval "$ac_cv_use_geometry"
6498 if test "$no_cache" != 1; then
6499 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6502 if test "$wxUSE_GEOMETRY" = yes; then
6503 { echo "$as_me:$LINENO: result: yes" >&5
6504 echo "${ECHO_T}yes" >&6; }
6506 { echo "$as_me:$LINENO: result: no" >&5
6507 echo "${ECHO_T}no" >&6; }
6512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6513 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6515 # Check whether --enable-log was given.
6516 if test "${enable_log+set}" = set; then
6517 enableval=$enable_log;
6518 if test "$enableval" = yes; then
6519 ac_cv_use_log='wxUSE_LOG=yes'
6521 ac_cv_use_log='wxUSE_LOG=no'
6526 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6527 if test "x$LINE" != x ; then
6528 eval "DEFAULT_$LINE"
6533 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6538 eval "$ac_cv_use_log"
6539 if test "$no_cache" != 1; then
6540 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6543 if test "$wxUSE_LOG" = yes; then
6544 { echo "$as_me:$LINENO: result: yes" >&5
6545 echo "${ECHO_T}yes" >&6; }
6547 { echo "$as_me:$LINENO: result: no" >&5
6548 echo "${ECHO_T}no" >&6; }
6553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6554 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6556 # Check whether --enable-longlong was given.
6557 if test "${enable_longlong+set}" = set; then
6558 enableval=$enable_longlong;
6559 if test "$enableval" = yes; then
6560 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6562 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6567 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6568 if test "x$LINE" != x ; then
6569 eval "DEFAULT_$LINE"
6574 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6579 eval "$ac_cv_use_longlong"
6580 if test "$no_cache" != 1; then
6581 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6584 if test "$wxUSE_LONGLONG" = yes; then
6585 { echo "$as_me:$LINENO: result: yes" >&5
6586 echo "${ECHO_T}yes" >&6; }
6588 { echo "$as_me:$LINENO: result: no" >&5
6589 echo "${ECHO_T}no" >&6; }
6594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6595 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6597 # Check whether --enable-mimetype was given.
6598 if test "${enable_mimetype+set}" = set; then
6599 enableval=$enable_mimetype;
6600 if test "$enableval" = yes; then
6601 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6603 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6608 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6609 if test "x$LINE" != x ; then
6610 eval "DEFAULT_$LINE"
6615 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6620 eval "$ac_cv_use_mimetype"
6621 if test "$no_cache" != 1; then
6622 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6625 if test "$wxUSE_MIMETYPE" = yes; then
6626 { echo "$as_me:$LINENO: result: yes" >&5
6627 echo "${ECHO_T}yes" >&6; }
6629 { echo "$as_me:$LINENO: result: no" >&5
6630 echo "${ECHO_T}no" >&6; }
6635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6636 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6638 # Check whether --enable-mslu was given.
6639 if test "${enable_mslu+set}" = set; then
6640 enableval=$enable_mslu;
6641 if test "$enableval" = yes; then
6642 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6644 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6649 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6650 if test "x$LINE" != x ; then
6651 eval "DEFAULT_$LINE"
6656 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6661 eval "$ac_cv_use_mslu"
6662 if test "$no_cache" != 1; then
6663 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6666 if test "$wxUSE_UNICODE_MSLU" = yes; then
6667 { echo "$as_me:$LINENO: result: yes" >&5
6668 echo "${ECHO_T}yes" >&6; }
6670 { echo "$as_me:$LINENO: result: no" >&5
6671 echo "${ECHO_T}no" >&6; }
6676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6677 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6679 # Check whether --enable-snglinst was given.
6680 if test "${enable_snglinst+set}" = set; then
6681 enableval=$enable_snglinst;
6682 if test "$enableval" = yes; then
6683 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6685 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6690 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6691 if test "x$LINE" != x ; then
6692 eval "DEFAULT_$LINE"
6697 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6702 eval "$ac_cv_use_snglinst"
6703 if test "$no_cache" != 1; then
6704 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6707 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6708 { echo "$as_me:$LINENO: result: yes" >&5
6709 echo "${ECHO_T}yes" >&6; }
6711 { echo "$as_me:$LINENO: result: no" >&5
6712 echo "${ECHO_T}no" >&6; }
6717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6718 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6720 # Check whether --enable-std_iostreams was given.
6721 if test "${enable_std_iostreams+set}" = set; then
6722 enableval=$enable_std_iostreams;
6723 if test "$enableval" = yes; then
6724 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6726 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6731 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6732 if test "x$LINE" != x ; then
6733 eval "DEFAULT_$LINE"
6738 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6743 eval "$ac_cv_use_std_iostreams"
6744 if test "$no_cache" != 1; then
6745 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6748 if test "$wxUSE_STD_IOSTREAM" = yes; then
6749 { echo "$as_me:$LINENO: result: yes" >&5
6750 echo "${ECHO_T}yes" >&6; }
6752 { echo "$as_me:$LINENO: result: no" >&5
6753 echo "${ECHO_T}no" >&6; }
6758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6759 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6761 # Check whether --enable-std_string was given.
6762 if test "${enable_std_string+set}" = set; then
6763 enableval=$enable_std_string;
6764 if test "$enableval" = yes; then
6765 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6767 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6772 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6773 if test "x$LINE" != x ; then
6774 eval "DEFAULT_$LINE"
6779 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6784 eval "$ac_cv_use_std_string"
6785 if test "$no_cache" != 1; then
6786 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6789 if test "$wxUSE_STD_STRING" = yes; then
6790 { echo "$as_me:$LINENO: result: yes" >&5
6791 echo "${ECHO_T}yes" >&6; }
6793 { echo "$as_me:$LINENO: result: no" >&5
6794 echo "${ECHO_T}no" >&6; }
6799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6800 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6802 # Check whether --enable-stdpaths was given.
6803 if test "${enable_stdpaths+set}" = set; then
6804 enableval=$enable_stdpaths;
6805 if test "$enableval" = yes; then
6806 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6808 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6813 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6814 if test "x$LINE" != x ; then
6815 eval "DEFAULT_$LINE"
6820 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6825 eval "$ac_cv_use_stdpaths"
6826 if test "$no_cache" != 1; then
6827 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6830 if test "$wxUSE_STDPATHS" = yes; then
6831 { echo "$as_me:$LINENO: result: yes" >&5
6832 echo "${ECHO_T}yes" >&6; }
6834 { echo "$as_me:$LINENO: result: no" >&5
6835 echo "${ECHO_T}no" >&6; }
6840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6841 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6843 # Check whether --enable-stopwatch was given.
6844 if test "${enable_stopwatch+set}" = set; then
6845 enableval=$enable_stopwatch;
6846 if test "$enableval" = yes; then
6847 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6849 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6854 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6855 if test "x$LINE" != x ; then
6856 eval "DEFAULT_$LINE"
6861 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6866 eval "$ac_cv_use_stopwatch"
6867 if test "$no_cache" != 1; then
6868 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6871 if test "$wxUSE_STOPWATCH" = yes; then
6872 { echo "$as_me:$LINENO: result: yes" >&5
6873 echo "${ECHO_T}yes" >&6; }
6875 { echo "$as_me:$LINENO: result: no" >&5
6876 echo "${ECHO_T}no" >&6; }
6881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6882 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
6884 # Check whether --enable-streams was given.
6885 if test "${enable_streams+set}" = set; then
6886 enableval=$enable_streams;
6887 if test "$enableval" = yes; then
6888 ac_cv_use_streams='wxUSE_STREAMS=yes'
6890 ac_cv_use_streams='wxUSE_STREAMS=no'
6895 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6896 if test "x$LINE" != x ; then
6897 eval "DEFAULT_$LINE"
6902 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6907 eval "$ac_cv_use_streams"
6908 if test "$no_cache" != 1; then
6909 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6912 if test "$wxUSE_STREAMS" = yes; then
6913 { echo "$as_me:$LINENO: result: yes" >&5
6914 echo "${ECHO_T}yes" >&6; }
6916 { echo "$as_me:$LINENO: result: no" >&5
6917 echo "${ECHO_T}no" >&6; }
6922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6923 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
6925 # Check whether --enable-system_options was given.
6926 if test "${enable_system_options+set}" = set; then
6927 enableval=$enable_system_options;
6928 if test "$enableval" = yes; then
6929 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6931 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6936 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6937 if test "x$LINE" != x ; then
6938 eval "DEFAULT_$LINE"
6943 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6948 eval "$ac_cv_use_system_options"
6949 if test "$no_cache" != 1; then
6950 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6953 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6954 { echo "$as_me:$LINENO: result: yes" >&5
6955 echo "${ECHO_T}yes" >&6; }
6957 { echo "$as_me:$LINENO: result: no" >&5
6958 echo "${ECHO_T}no" >&6; }
6963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6964 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
6966 # Check whether --enable-tarstream was given.
6967 if test "${enable_tarstream+set}" = set; then
6968 enableval=$enable_tarstream;
6969 if test "$enableval" = yes; then
6970 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6972 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6977 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6978 if test "x$LINE" != x ; then
6979 eval "DEFAULT_$LINE"
6984 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6989 eval "$ac_cv_use_tarstream"
6990 if test "$no_cache" != 1; then
6991 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6994 if test "$wxUSE_TARSTREAM" = yes; then
6995 { echo "$as_me:$LINENO: result: yes" >&5
6996 echo "${ECHO_T}yes" >&6; }
6998 { echo "$as_me:$LINENO: result: no" >&5
6999 echo "${ECHO_T}no" >&6; }
7004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7005 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7007 # Check whether --enable-textbuf was given.
7008 if test "${enable_textbuf+set}" = set; then
7009 enableval=$enable_textbuf;
7010 if test "$enableval" = yes; then
7011 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7013 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7018 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7019 if test "x$LINE" != x ; then
7020 eval "DEFAULT_$LINE"
7025 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7030 eval "$ac_cv_use_textbuf"
7031 if test "$no_cache" != 1; then
7032 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7035 if test "$wxUSE_TEXTBUFFER" = yes; then
7036 { echo "$as_me:$LINENO: result: yes" >&5
7037 echo "${ECHO_T}yes" >&6; }
7039 { echo "$as_me:$LINENO: result: no" >&5
7040 echo "${ECHO_T}no" >&6; }
7045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7046 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7048 # Check whether --enable-textfile was given.
7049 if test "${enable_textfile+set}" = set; then
7050 enableval=$enable_textfile;
7051 if test "$enableval" = yes; then
7052 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7054 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7059 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7060 if test "x$LINE" != x ; then
7061 eval "DEFAULT_$LINE"
7066 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7071 eval "$ac_cv_use_textfile"
7072 if test "$no_cache" != 1; then
7073 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7076 if test "$wxUSE_TEXTFILE" = yes; then
7077 { echo "$as_me:$LINENO: result: yes" >&5
7078 echo "${ECHO_T}yes" >&6; }
7080 { echo "$as_me:$LINENO: result: no" >&5
7081 echo "${ECHO_T}no" >&6; }
7086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7087 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7089 # Check whether --enable-timer was given.
7090 if test "${enable_timer+set}" = set; then
7091 enableval=$enable_timer;
7092 if test "$enableval" = yes; then
7093 ac_cv_use_timer='wxUSE_TIMER=yes'
7095 ac_cv_use_timer='wxUSE_TIMER=no'
7100 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7101 if test "x$LINE" != x ; then
7102 eval "DEFAULT_$LINE"
7107 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7112 eval "$ac_cv_use_timer"
7113 if test "$no_cache" != 1; then
7114 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7117 if test "$wxUSE_TIMER" = yes; then
7118 { echo "$as_me:$LINENO: result: yes" >&5
7119 echo "${ECHO_T}yes" >&6; }
7121 { echo "$as_me:$LINENO: result: no" >&5
7122 echo "${ECHO_T}no" >&6; }
7127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7128 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7130 # Check whether --enable-unicode was given.
7131 if test "${enable_unicode+set}" = set; then
7132 enableval=$enable_unicode;
7133 if test "$enableval" = yes; then
7134 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7136 ac_cv_use_unicode='wxUSE_UNICODE=no'
7141 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7142 if test "x$LINE" != x ; then
7143 eval "DEFAULT_$LINE"
7148 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7153 eval "$ac_cv_use_unicode"
7154 if test "$no_cache" != 1; then
7155 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7158 if test "$wxUSE_UNICODE" = yes; then
7159 { echo "$as_me:$LINENO: result: yes" >&5
7160 echo "${ECHO_T}yes" >&6; }
7162 { echo "$as_me:$LINENO: result: no" >&5
7163 echo "${ECHO_T}no" >&6; }
7168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7169 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7171 # Check whether --enable-sound was given.
7172 if test "${enable_sound+set}" = set; then
7173 enableval=$enable_sound;
7174 if test "$enableval" = yes; then
7175 ac_cv_use_sound='wxUSE_SOUND=yes'
7177 ac_cv_use_sound='wxUSE_SOUND=no'
7182 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7183 if test "x$LINE" != x ; then
7184 eval "DEFAULT_$LINE"
7189 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7194 eval "$ac_cv_use_sound"
7195 if test "$no_cache" != 1; then
7196 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7199 if test "$wxUSE_SOUND" = yes; then
7200 { echo "$as_me:$LINENO: result: yes" >&5
7201 echo "${ECHO_T}yes" >&6; }
7203 { echo "$as_me:$LINENO: result: no" >&5
7204 echo "${ECHO_T}no" >&6; }
7209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7210 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7212 # Check whether --enable-mediactrl was given.
7213 if test "${enable_mediactrl+set}" = set; then
7214 enableval=$enable_mediactrl;
7215 if test "$enableval" = yes; then
7216 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7218 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7223 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7224 if test "x$LINE" != x ; then
7225 eval "DEFAULT_$LINE"
7230 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7235 eval "$ac_cv_use_mediactrl"
7236 if test "$no_cache" != 1; then
7237 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7240 if test "$wxUSE_MEDIACTRL" = yes; then
7241 { echo "$as_me:$LINENO: result: yes" >&5
7242 echo "${ECHO_T}yes" >&6; }
7244 { echo "$as_me:$LINENO: result: no" >&5
7245 echo "${ECHO_T}no" >&6; }
7250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7251 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7253 # Check whether --enable-gstreamer8 was given.
7254 if test "${enable_gstreamer8+set}" = set; then
7255 enableval=$enable_gstreamer8;
7256 if test "$enableval" = yes; then
7257 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7259 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7264 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
7265 if test "x$LINE" != x ; then
7266 eval "DEFAULT_$LINE"
7271 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7276 eval "$ac_cv_use_gstreamer8"
7277 if test "$no_cache" != 1; then
7278 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7281 if test "$wxUSE_GSTREAMER8" = yes; then
7282 { echo "$as_me:$LINENO: result: yes" >&5
7283 echo "${ECHO_T}yes" >&6; }
7285 { echo "$as_me:$LINENO: result: no" >&5
7286 echo "${ECHO_T}no" >&6; }
7291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7292 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7294 # Check whether --enable-printfposparam was given.
7295 if test "${enable_printfposparam+set}" = set; then
7296 enableval=$enable_printfposparam;
7297 if test "$enableval" = yes; then
7298 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7300 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7305 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7306 if test "x$LINE" != x ; then
7307 eval "DEFAULT_$LINE"
7312 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7317 eval "$ac_cv_use_printfposparam"
7318 if test "$no_cache" != 1; then
7319 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7322 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7323 { echo "$as_me:$LINENO: result: yes" >&5
7324 echo "${ECHO_T}yes" >&6; }
7326 { echo "$as_me:$LINENO: result: no" >&5
7327 echo "${ECHO_T}no" >&6; }
7332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7333 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7335 # Check whether --enable-zipstream was given.
7336 if test "${enable_zipstream+set}" = set; then
7337 enableval=$enable_zipstream;
7338 if test "$enableval" = yes; then
7339 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7341 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7346 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7347 if test "x$LINE" != x ; then
7348 eval "DEFAULT_$LINE"
7353 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7358 eval "$ac_cv_use_zipstream"
7359 if test "$no_cache" != 1; then
7360 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7363 if test "$wxUSE_ZIPSTREAM" = yes; then
7364 { echo "$as_me:$LINENO: result: yes" >&5
7365 echo "${ECHO_T}yes" >&6; }
7367 { echo "$as_me:$LINENO: result: no" >&5
7368 echo "${ECHO_T}no" >&6; }
7374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7375 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7377 # Check whether --enable-url was given.
7378 if test "${enable_url+set}" = set; then
7379 enableval=$enable_url;
7380 if test "$enableval" = yes; then
7381 ac_cv_use_url='wxUSE_URL=yes'
7383 ac_cv_use_url='wxUSE_URL=no'
7388 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7389 if test "x$LINE" != x ; then
7390 eval "DEFAULT_$LINE"
7395 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7400 eval "$ac_cv_use_url"
7401 if test "$no_cache" != 1; then
7402 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7405 if test "$wxUSE_URL" = yes; then
7406 { echo "$as_me:$LINENO: result: yes" >&5
7407 echo "${ECHO_T}yes" >&6; }
7409 { echo "$as_me:$LINENO: result: no" >&5
7410 echo "${ECHO_T}no" >&6; }
7415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7416 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7418 # Check whether --enable-variant was given.
7419 if test "${enable_variant+set}" = set; then
7420 enableval=$enable_variant;
7421 if test "$enableval" = yes; then
7422 ac_cv_use_variant='wxUSE_VARIANT=yes'
7424 ac_cv_use_variant='wxUSE_VARIANT=no'
7429 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
7430 if test "x$LINE" != x ; then
7431 eval "DEFAULT_$LINE"
7436 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7441 eval "$ac_cv_use_variant"
7442 if test "$no_cache" != 1; then
7443 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7446 if test "$wxUSE_VARIANT" = yes; then
7447 { echo "$as_me:$LINENO: result: yes" >&5
7448 echo "${ECHO_T}yes" >&6; }
7450 { echo "$as_me:$LINENO: result: no" >&5
7451 echo "${ECHO_T}no" >&6; }
7456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7457 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7459 # Check whether --enable-protocol was given.
7460 if test "${enable_protocol+set}" = set; then
7461 enableval=$enable_protocol;
7462 if test "$enableval" = yes; then
7463 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7465 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7470 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7471 if test "x$LINE" != x ; then
7472 eval "DEFAULT_$LINE"
7477 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7482 eval "$ac_cv_use_protocol"
7483 if test "$no_cache" != 1; then
7484 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7487 if test "$wxUSE_PROTOCOL" = yes; then
7488 { echo "$as_me:$LINENO: result: yes" >&5
7489 echo "${ECHO_T}yes" >&6; }
7491 { echo "$as_me:$LINENO: result: no" >&5
7492 echo "${ECHO_T}no" >&6; }
7497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7498 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7500 # Check whether --enable-protocol_http was given.
7501 if test "${enable_protocol_http+set}" = set; then
7502 enableval=$enable_protocol_http;
7503 if test "$enableval" = yes; then
7504 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7506 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7511 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7512 if test "x$LINE" != x ; then
7513 eval "DEFAULT_$LINE"
7518 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7523 eval "$ac_cv_use_protocol_http"
7524 if test "$no_cache" != 1; then
7525 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7528 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7529 { echo "$as_me:$LINENO: result: yes" >&5
7530 echo "${ECHO_T}yes" >&6; }
7532 { echo "$as_me:$LINENO: result: no" >&5
7533 echo "${ECHO_T}no" >&6; }
7538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7539 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7541 # Check whether --enable-protocol_ftp was given.
7542 if test "${enable_protocol_ftp+set}" = set; then
7543 enableval=$enable_protocol_ftp;
7544 if test "$enableval" = yes; then
7545 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7547 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7552 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7553 if test "x$LINE" != x ; then
7554 eval "DEFAULT_$LINE"
7559 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7564 eval "$ac_cv_use_protocol_ftp"
7565 if test "$no_cache" != 1; then
7566 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7569 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7570 { echo "$as_me:$LINENO: result: yes" >&5
7571 echo "${ECHO_T}yes" >&6; }
7573 { echo "$as_me:$LINENO: result: no" >&5
7574 echo "${ECHO_T}no" >&6; }
7579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7580 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7582 # Check whether --enable-protocol_file was given.
7583 if test "${enable_protocol_file+set}" = set; then
7584 enableval=$enable_protocol_file;
7585 if test "$enableval" = yes; then
7586 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7588 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7593 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7594 if test "x$LINE" != x ; then
7595 eval "DEFAULT_$LINE"
7600 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7605 eval "$ac_cv_use_protocol_file"
7606 if test "$no_cache" != 1; then
7607 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7610 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7611 { echo "$as_me:$LINENO: result: yes" >&5
7612 echo "${ECHO_T}yes" >&6; }
7614 { echo "$as_me:$LINENO: result: no" >&5
7615 echo "${ECHO_T}no" >&6; }
7623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7624 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7626 # Check whether --enable-threads was given.
7627 if test "${enable_threads+set}" = set; then
7628 enableval=$enable_threads;
7629 if test "$enableval" = yes; then
7630 ac_cv_use_threads='wxUSE_THREADS=yes'
7632 ac_cv_use_threads='wxUSE_THREADS=no'
7637 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7638 if test "x$LINE" != x ; then
7639 eval "DEFAULT_$LINE"
7644 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7649 eval "$ac_cv_use_threads"
7650 if test "$no_cache" != 1; then
7651 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7654 if test "$wxUSE_THREADS" = yes; then
7655 { echo "$as_me:$LINENO: result: yes" >&5
7656 echo "${ECHO_T}yes" >&6; }
7658 { echo "$as_me:$LINENO: result: no" >&5
7659 echo "${ECHO_T}no" >&6; }
7663 if test "$wxUSE_GUI" = "yes"; then
7668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7669 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7671 # Check whether --enable-docview was given.
7672 if test "${enable_docview+set}" = set; then
7673 enableval=$enable_docview;
7674 if test "$enableval" = yes; then
7675 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7677 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7682 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7683 if test "x$LINE" != x ; then
7684 eval "DEFAULT_$LINE"
7689 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7694 eval "$ac_cv_use_docview"
7695 if test "$no_cache" != 1; then
7696 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7699 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7700 { echo "$as_me:$LINENO: result: yes" >&5
7701 echo "${ECHO_T}yes" >&6; }
7703 { echo "$as_me:$LINENO: result: no" >&5
7704 echo "${ECHO_T}no" >&6; }
7709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7710 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7712 # Check whether --enable-help was given.
7713 if test "${enable_help+set}" = set; then
7714 enableval=$enable_help;
7715 if test "$enableval" = yes; then
7716 ac_cv_use_help='wxUSE_HELP=yes'
7718 ac_cv_use_help='wxUSE_HELP=no'
7723 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7724 if test "x$LINE" != x ; then
7725 eval "DEFAULT_$LINE"
7730 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7735 eval "$ac_cv_use_help"
7736 if test "$no_cache" != 1; then
7737 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7740 if test "$wxUSE_HELP" = yes; then
7741 { echo "$as_me:$LINENO: result: yes" >&5
7742 echo "${ECHO_T}yes" >&6; }
7744 { echo "$as_me:$LINENO: result: no" >&5
7745 echo "${ECHO_T}no" >&6; }
7750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7751 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7753 # Check whether --enable-mshtmlhelp was given.
7754 if test "${enable_mshtmlhelp+set}" = set; then
7755 enableval=$enable_mshtmlhelp;
7756 if test "$enableval" = yes; then
7757 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7759 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7764 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7765 if test "x$LINE" != x ; then
7766 eval "DEFAULT_$LINE"
7771 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7776 eval "$ac_cv_use_mshtmlhelp"
7777 if test "$no_cache" != 1; then
7778 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7781 if test "$wxUSE_MS_HTML_HELP" = yes; then
7782 { echo "$as_me:$LINENO: result: yes" >&5
7783 echo "${ECHO_T}yes" >&6; }
7785 { echo "$as_me:$LINENO: result: no" >&5
7786 echo "${ECHO_T}no" >&6; }
7791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7792 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7794 # Check whether --enable-html was given.
7795 if test "${enable_html+set}" = set; then
7796 enableval=$enable_html;
7797 if test "$enableval" = yes; then
7798 ac_cv_use_html='wxUSE_HTML=yes'
7800 ac_cv_use_html='wxUSE_HTML=no'
7805 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7806 if test "x$LINE" != x ; then
7807 eval "DEFAULT_$LINE"
7812 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7817 eval "$ac_cv_use_html"
7818 if test "$no_cache" != 1; then
7819 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7822 if test "$wxUSE_HTML" = yes; then
7823 { echo "$as_me:$LINENO: result: yes" >&5
7824 echo "${ECHO_T}yes" >&6; }
7826 { echo "$as_me:$LINENO: result: no" >&5
7827 echo "${ECHO_T}no" >&6; }
7832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7833 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7835 # Check whether --enable-htmlhelp was given.
7836 if test "${enable_htmlhelp+set}" = set; then
7837 enableval=$enable_htmlhelp;
7838 if test "$enableval" = yes; then
7839 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7841 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7846 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7847 if test "x$LINE" != x ; then
7848 eval "DEFAULT_$LINE"
7853 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7858 eval "$ac_cv_use_htmlhelp"
7859 if test "$no_cache" != 1; then
7860 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7863 if test "$wxUSE_WXHTML_HELP" = yes; then
7864 { echo "$as_me:$LINENO: result: yes" >&5
7865 echo "${ECHO_T}yes" >&6; }
7867 { echo "$as_me:$LINENO: result: no" >&5
7868 echo "${ECHO_T}no" >&6; }
7873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7874 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
7876 # Check whether --enable-xrc was given.
7877 if test "${enable_xrc+set}" = set; then
7878 enableval=$enable_xrc;
7879 if test "$enableval" = yes; then
7880 ac_cv_use_xrc='wxUSE_XRC=yes'
7882 ac_cv_use_xrc='wxUSE_XRC=no'
7887 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7888 if test "x$LINE" != x ; then
7889 eval "DEFAULT_$LINE"
7894 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7899 eval "$ac_cv_use_xrc"
7900 if test "$no_cache" != 1; then
7901 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7904 if test "$wxUSE_XRC" = yes; then
7905 { echo "$as_me:$LINENO: result: yes" >&5
7906 echo "${ECHO_T}yes" >&6; }
7908 { echo "$as_me:$LINENO: result: no" >&5
7909 echo "${ECHO_T}no" >&6; }
7914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7915 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
7917 # Check whether --enable-aui was given.
7918 if test "${enable_aui+set}" = set; then
7919 enableval=$enable_aui;
7920 if test "$enableval" = yes; then
7921 ac_cv_use_aui='wxUSE_AUI=yes'
7923 ac_cv_use_aui='wxUSE_AUI=no'
7928 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7929 if test "x$LINE" != x ; then
7930 eval "DEFAULT_$LINE"
7935 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7940 eval "$ac_cv_use_aui"
7941 if test "$no_cache" != 1; then
7942 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7945 if test "$wxUSE_AUI" = yes; then
7946 { echo "$as_me:$LINENO: result: yes" >&5
7947 echo "${ECHO_T}yes" >&6; }
7949 { echo "$as_me:$LINENO: result: no" >&5
7950 echo "${ECHO_T}no" >&6; }
7955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7956 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
7958 # Check whether --enable-constraints was given.
7959 if test "${enable_constraints+set}" = set; then
7960 enableval=$enable_constraints;
7961 if test "$enableval" = yes; then
7962 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7964 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7969 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7970 if test "x$LINE" != x ; then
7971 eval "DEFAULT_$LINE"
7976 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7981 eval "$ac_cv_use_constraints"
7982 if test "$no_cache" != 1; then
7983 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7986 if test "$wxUSE_CONSTRAINTS" = yes; then
7987 { echo "$as_me:$LINENO: result: yes" >&5
7988 echo "${ECHO_T}yes" >&6; }
7990 { echo "$as_me:$LINENO: result: no" >&5
7991 echo "${ECHO_T}no" >&6; }
7996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7997 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
7999 # Check whether --enable-printarch was given.
8000 if test "${enable_printarch+set}" = set; then
8001 enableval=$enable_printarch;
8002 if test "$enableval" = yes; then
8003 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8005 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8010 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8011 if test "x$LINE" != x ; then
8012 eval "DEFAULT_$LINE"
8017 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8022 eval "$ac_cv_use_printarch"
8023 if test "$no_cache" != 1; then
8024 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8027 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8028 { echo "$as_me:$LINENO: result: yes" >&5
8029 echo "${ECHO_T}yes" >&6; }
8031 { echo "$as_me:$LINENO: result: no" >&5
8032 echo "${ECHO_T}no" >&6; }
8037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8038 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8040 # Check whether --enable-mdi was given.
8041 if test "${enable_mdi+set}" = set; then
8042 enableval=$enable_mdi;
8043 if test "$enableval" = yes; then
8044 ac_cv_use_mdi='wxUSE_MDI=yes'
8046 ac_cv_use_mdi='wxUSE_MDI=no'
8051 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8052 if test "x$LINE" != x ; then
8053 eval "DEFAULT_$LINE"
8058 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8063 eval "$ac_cv_use_mdi"
8064 if test "$no_cache" != 1; then
8065 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8068 if test "$wxUSE_MDI" = yes; then
8069 { echo "$as_me:$LINENO: result: yes" >&5
8070 echo "${ECHO_T}yes" >&6; }
8072 { echo "$as_me:$LINENO: result: no" >&5
8073 echo "${ECHO_T}no" >&6; }
8078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8079 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8081 # Check whether --enable-mdidoc was given.
8082 if test "${enable_mdidoc+set}" = set; then
8083 enableval=$enable_mdidoc;
8084 if test "$enableval" = yes; then
8085 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8087 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8092 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8093 if test "x$LINE" != x ; then
8094 eval "DEFAULT_$LINE"
8099 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8104 eval "$ac_cv_use_mdidoc"
8105 if test "$no_cache" != 1; then
8106 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8109 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8110 { echo "$as_me:$LINENO: result: yes" >&5
8111 echo "${ECHO_T}yes" >&6; }
8113 { echo "$as_me:$LINENO: result: no" >&5
8114 echo "${ECHO_T}no" >&6; }
8119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8120 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8122 # Check whether --enable-loggui was given.
8123 if test "${enable_loggui+set}" = set; then
8124 enableval=$enable_loggui;
8125 if test "$enableval" = yes; then
8126 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8128 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8133 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8134 if test "x$LINE" != x ; then
8135 eval "DEFAULT_$LINE"
8140 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8145 eval "$ac_cv_use_loggui"
8146 if test "$no_cache" != 1; then
8147 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8150 if test "$wxUSE_LOGGUI" = yes; then
8151 { echo "$as_me:$LINENO: result: yes" >&5
8152 echo "${ECHO_T}yes" >&6; }
8154 { echo "$as_me:$LINENO: result: no" >&5
8155 echo "${ECHO_T}no" >&6; }
8160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8161 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8163 # Check whether --enable-logwin was given.
8164 if test "${enable_logwin+set}" = set; then
8165 enableval=$enable_logwin;
8166 if test "$enableval" = yes; then
8167 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8169 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8174 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8175 if test "x$LINE" != x ; then
8176 eval "DEFAULT_$LINE"
8181 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8186 eval "$ac_cv_use_logwin"
8187 if test "$no_cache" != 1; then
8188 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8191 if test "$wxUSE_LOGWINDOW" = yes; then
8192 { echo "$as_me:$LINENO: result: yes" >&5
8193 echo "${ECHO_T}yes" >&6; }
8195 { echo "$as_me:$LINENO: result: no" >&5
8196 echo "${ECHO_T}no" >&6; }
8201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8202 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8204 # Check whether --enable-logdialog was given.
8205 if test "${enable_logdialog+set}" = set; then
8206 enableval=$enable_logdialog;
8207 if test "$enableval" = yes; then
8208 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8210 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8215 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8216 if test "x$LINE" != x ; then
8217 eval "DEFAULT_$LINE"
8222 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8227 eval "$ac_cv_use_logdialog"
8228 if test "$no_cache" != 1; then
8229 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8232 if test "$wxUSE_LOGDIALOG" = yes; then
8233 { echo "$as_me:$LINENO: result: yes" >&5
8234 echo "${ECHO_T}yes" >&6; }
8236 { echo "$as_me:$LINENO: result: no" >&5
8237 echo "${ECHO_T}no" >&6; }
8242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8243 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8245 # Check whether --enable-webkit was given.
8246 if test "${enable_webkit+set}" = set; then
8247 enableval=$enable_webkit;
8248 if test "$enableval" = yes; then
8249 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8251 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8256 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8257 if test "x$LINE" != x ; then
8258 eval "DEFAULT_$LINE"
8263 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8268 eval "$ac_cv_use_webkit"
8269 if test "$no_cache" != 1; then
8270 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8273 if test "$wxUSE_WEBKIT" = yes; then
8274 { echo "$as_me:$LINENO: result: yes" >&5
8275 echo "${ECHO_T}yes" >&6; }
8277 { echo "$as_me:$LINENO: result: no" >&5
8278 echo "${ECHO_T}no" >&6; }
8283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8284 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8286 # Check whether --enable-richtext was given.
8287 if test "${enable_richtext+set}" = set; then
8288 enableval=$enable_richtext;
8289 if test "$enableval" = yes; then
8290 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8292 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8297 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8298 if test "x$LINE" != x ; then
8299 eval "DEFAULT_$LINE"
8304 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8309 eval "$ac_cv_use_richtext"
8310 if test "$no_cache" != 1; then
8311 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8314 if test "$wxUSE_RICHTEXT" = yes; then
8315 { echo "$as_me:$LINENO: result: yes" >&5
8316 echo "${ECHO_T}yes" >&6; }
8318 { echo "$as_me:$LINENO: result: no" >&5
8319 echo "${ECHO_T}no" >&6; }
8324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8325 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8327 # Check whether --enable-graphics_ctx was given.
8328 if test "${enable_graphics_ctx+set}" = set; then
8329 enableval=$enable_graphics_ctx;
8330 if test "$enableval" = yes; then
8331 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8333 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8338 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
8339 if test "x$LINE" != x ; then
8340 eval "DEFAULT_$LINE"
8345 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8350 eval "$ac_cv_use_graphics_ctx"
8351 if test "$no_cache" != 1; then
8352 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8355 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8356 { echo "$as_me:$LINENO: result: yes" >&5
8357 echo "${ECHO_T}yes" >&6; }
8359 { echo "$as_me:$LINENO: result: no" >&5
8360 echo "${ECHO_T}no" >&6; }
8366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8367 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8369 # Check whether --enable-postscript was given.
8370 if test "${enable_postscript+set}" = set; then
8371 enableval=$enable_postscript;
8372 if test "$enableval" = yes; then
8373 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8375 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8380 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8381 if test "x$LINE" != x ; then
8382 eval "DEFAULT_$LINE"
8387 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8392 eval "$ac_cv_use_postscript"
8393 if test "$no_cache" != 1; then
8394 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8397 if test "$wxUSE_POSTSCRIPT" = yes; then
8398 { echo "$as_me:$LINENO: result: yes" >&5
8399 echo "${ECHO_T}yes" >&6; }
8401 { echo "$as_me:$LINENO: result: no" >&5
8402 echo "${ECHO_T}no" >&6; }
8410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
8411 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6; }
8413 # Check whether --enable-prologio was given.
8414 if test "${enable_prologio+set}" = set; then
8415 enableval=$enable_prologio;
8416 if test "$enableval" = yes; then
8417 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
8419 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
8424 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
8425 if test "x$LINE" != x ; then
8426 eval "DEFAULT_$LINE"
8431 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
8436 eval "$ac_cv_use_prologio"
8437 if test "$no_cache" != 1; then
8438 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
8441 if test "$wxUSE_PROLOGIO" = yes; then
8442 { echo "$as_me:$LINENO: result: yes" >&5
8443 echo "${ECHO_T}yes" >&6; }
8445 { echo "$as_me:$LINENO: result: no" >&5
8446 echo "${ECHO_T}no" >&6; }
8451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
8452 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6; }
8454 # Check whether --enable-resources was given.
8455 if test "${enable_resources+set}" = set; then
8456 enableval=$enable_resources;
8457 if test "$enableval" = yes; then
8458 ac_cv_use_resources='wxUSE_RESOURCES=yes'
8460 ac_cv_use_resources='wxUSE_RESOURCES=no'
8465 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
8466 if test "x$LINE" != x ; then
8467 eval "DEFAULT_$LINE"
8472 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
8477 eval "$ac_cv_use_resources"
8478 if test "$no_cache" != 1; then
8479 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
8482 if test "$wxUSE_RESOURCES" = yes; then
8483 { echo "$as_me:$LINENO: result: yes" >&5
8484 echo "${ECHO_T}yes" >&6; }
8486 { echo "$as_me:$LINENO: result: no" >&5
8487 echo "${ECHO_T}no" >&6; }
8494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8495 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8497 # Check whether --enable-clipboard was given.
8498 if test "${enable_clipboard+set}" = set; then
8499 enableval=$enable_clipboard;
8500 if test "$enableval" = yes; then
8501 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8503 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8508 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
8509 if test "x$LINE" != x ; then
8510 eval "DEFAULT_$LINE"
8515 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8520 eval "$ac_cv_use_clipboard"
8521 if test "$no_cache" != 1; then
8522 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8525 if test "$wxUSE_CLIPBOARD" = yes; then
8526 { echo "$as_me:$LINENO: result: yes" >&5
8527 echo "${ECHO_T}yes" >&6; }
8529 { echo "$as_me:$LINENO: result: no" >&5
8530 echo "${ECHO_T}no" >&6; }
8535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8536 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8538 # Check whether --enable-dnd was given.
8539 if test "${enable_dnd+set}" = set; then
8540 enableval=$enable_dnd;
8541 if test "$enableval" = yes; then
8542 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8544 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8549 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
8550 if test "x$LINE" != x ; then
8551 eval "DEFAULT_$LINE"
8556 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8561 eval "$ac_cv_use_dnd"
8562 if test "$no_cache" != 1; then
8563 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8566 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8567 { echo "$as_me:$LINENO: result: yes" >&5
8568 echo "${ECHO_T}yes" >&6; }
8570 { echo "$as_me:$LINENO: result: no" >&5
8571 echo "${ECHO_T}no" >&6; }
8576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8577 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8579 # Check whether --enable-metafile was given.
8580 if test "${enable_metafile+set}" = set; then
8581 enableval=$enable_metafile;
8582 if test "$enableval" = yes; then
8583 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8585 ac_cv_use_metafile='wxUSE_METAFILE=no'
8590 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8591 if test "x$LINE" != x ; then
8592 eval "DEFAULT_$LINE"
8597 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8602 eval "$ac_cv_use_metafile"
8603 if test "$no_cache" != 1; then
8604 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8607 if test "$wxUSE_METAFILE" = yes; then
8608 { echo "$as_me:$LINENO: result: yes" >&5
8609 echo "${ECHO_T}yes" >&6; }
8611 { echo "$as_me:$LINENO: result: no" >&5
8612 echo "${ECHO_T}no" >&6; }
8620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8621 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8623 # Check whether --enable-controls was given.
8624 if test "${enable_controls+set}" = set; then
8625 enableval=$enable_controls;
8626 if test "$enableval" = yes; then
8627 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8629 ac_cv_use_controls='wxUSE_CONTROLS=no'
8634 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8635 if test "x$LINE" != x ; then
8636 eval "DEFAULT_$LINE"
8641 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8646 eval "$ac_cv_use_controls"
8647 if test "$no_cache" != 1; then
8648 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8651 if test "$wxUSE_CONTROLS" = yes; then
8652 { echo "$as_me:$LINENO: result: yes" >&5
8653 echo "${ECHO_T}yes" >&6; }
8655 { echo "$as_me:$LINENO: result: no" >&5
8656 echo "${ECHO_T}no" >&6; }
8660 if test "$wxUSE_CONTROLS" = "yes"; then
8661 DEFAULT_wxUSE_ACCEL=yes
8662 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8663 DEFAULT_wxUSE_BMPBUTTON=yes
8664 DEFAULT_wxUSE_BUTTON=yes
8665 DEFAULT_wxUSE_CALCTRL=yes
8666 DEFAULT_wxUSE_CARET=yes
8667 DEFAULT_wxUSE_COMBOBOX=yes
8668 DEFAULT_wxUSE_CHECKBOX=yes
8669 DEFAULT_wxUSE_CHECKLISTBOX=yes
8670 DEFAULT_wxUSE_CHOICE=yes
8671 DEFAULT_wxUSE_CHOICEBOOK=yes
8672 DEFAULT_wxUSE_COLLPANE=yes
8673 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8674 DEFAULT_wxUSE_COMBOBOX=yes
8675 DEFAULT_wxUSE_DATEPICKCTRL=yes
8676 DEFAULT_wxUSE_DISPLAY=yes
8677 DEFAULT_wxUSE_DETECT_SM=yes
8678 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8679 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8680 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8681 DEFAULT_wxUSE_GAUGE=yes
8682 DEFAULT_wxUSE_GRID=yes
8683 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8684 DEFAULT_wxUSE_DATAVIEWCTRL=no
8685 DEFAULT_wxUSE_IMAGLIST=yes
8686 DEFAULT_wxUSE_LISTBOOK=yes
8687 DEFAULT_wxUSE_LISTBOX=yes
8688 DEFAULT_wxUSE_LISTCTRL=yes
8689 DEFAULT_wxUSE_NOTEBOOK=yes
8690 DEFAULT_wxUSE_RADIOBOX=yes
8691 DEFAULT_wxUSE_RADIOBTN=yes
8692 DEFAULT_wxUSE_SASH=yes
8693 DEFAULT_wxUSE_SCROLLBAR=yes
8694 DEFAULT_wxUSE_SEARCHCTRL=yes
8695 DEFAULT_wxUSE_SLIDER=yes
8696 DEFAULT_wxUSE_SPINBTN=yes
8697 DEFAULT_wxUSE_SPINCTRL=yes
8698 DEFAULT_wxUSE_SPLITTER=yes
8699 DEFAULT_wxUSE_STATBMP=yes
8700 DEFAULT_wxUSE_STATBOX=yes
8701 DEFAULT_wxUSE_STATLINE=yes
8702 DEFAULT_wxUSE_STATUSBAR=yes
8703 DEFAULT_wxUSE_TAB_DIALOG=yes
8704 DEFAULT_wxUSE_TOGGLEBTN=yes
8705 DEFAULT_wxUSE_TOOLBAR=yes
8706 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8707 DEFAULT_wxUSE_TOOLTIPS=yes
8708 DEFAULT_wxUSE_TREEBOOK=yes
8709 DEFAULT_wxUSE_TOOLBOOK=yes
8710 DEFAULT_wxUSE_TREECTRL=yes
8711 DEFAULT_wxUSE_POPUPWIN=yes
8712 DEFAULT_wxUSE_TIPWINDOW=yes
8713 elif test "$wxUSE_CONTROLS" = "no"; then
8714 DEFAULT_wxUSE_ACCEL=no
8715 DEFAULT_wxUSE_ANIMATIONCTRL=no
8716 DEFAULT_wxUSE_BMPBUTTON=no
8717 DEFAULT_wxUSE_BUTTON=no
8718 DEFAULT_wxUSE_CALCTRL=no
8719 DEFAULT_wxUSE_CARET=no
8720 DEFAULT_wxUSE_COLLPANE=no
8721 DEFAULT_wxUSE_COMBOBOX=no
8722 DEFAULT_wxUSE_CHECKBOX=no
8723 DEFAULT_wxUSE_CHECKLISTBOX=no
8724 DEFAULT_wxUSE_CHOICE=no
8725 DEFAULT_wxUSE_CHOICEBOOK=no
8726 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8727 DEFAULT_wxUSE_COMBOBOX=no
8728 DEFAULT_wxUSE_DATEPICKCTRL=no
8729 DEFAULT_wxUSE_DISPLAY=no
8730 DEFAULT_wxUSE_DETECT_SM=no
8731 DEFAULT_wxUSE_DIRPICKERCTRL=no
8732 DEFAULT_wxUSE_FILEPICKERCTRL=no
8733 DEFAULT_wxUSE_FONTPICKERCTRL=no
8734 DEFAULT_wxUSE_GAUGE=no
8735 DEFAULT_wxUSE_GRID=no
8736 DEFAULT_wxUSE_HYPERLINKCTRL=no
8737 DEFAULT_wxUSE_DATAVIEWCTRL=no
8738 DEFAULT_wxUSE_IMAGLIST=no
8739 DEFAULT_wxUSE_LISTBOOK=no
8740 DEFAULT_wxUSE_LISTBOX=no
8741 DEFAULT_wxUSE_LISTCTRL=no
8742 DEFAULT_wxUSE_NOTEBOOK=no
8743 DEFAULT_wxUSE_RADIOBOX=no
8744 DEFAULT_wxUSE_RADIOBTN=no
8745 DEFAULT_wxUSE_SASH=no
8746 DEFAULT_wxUSE_SCROLLBAR=no
8747 DEFAULT_wxUSE_SEARCHCTRL=no
8748 DEFAULT_wxUSE_SLIDER=no
8749 DEFAULT_wxUSE_SPINBTN=no
8750 DEFAULT_wxUSE_SPINCTRL=no
8751 DEFAULT_wxUSE_SPLITTER=no
8752 DEFAULT_wxUSE_STATBMP=no
8753 DEFAULT_wxUSE_STATBOX=no
8754 DEFAULT_wxUSE_STATLINE=no
8755 DEFAULT_wxUSE_STATUSBAR=no
8756 DEFAULT_wxUSE_TAB_DIALOG=no
8757 DEFAULT_wxUSE_TOGGLEBTN=no
8758 DEFAULT_wxUSE_TOOLBAR=no
8759 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8760 DEFAULT_wxUSE_TOOLTIPS=no
8761 DEFAULT_wxUSE_TREEBOOK=no
8762 DEFAULT_wxUSE_TOOLBOOK=no
8763 DEFAULT_wxUSE_TREECTRL=no
8764 DEFAULT_wxUSE_POPUPWIN=no
8765 DEFAULT_wxUSE_TIPWINDOW=no
8770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8771 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8773 # Check whether --enable-accel was given.
8774 if test "${enable_accel+set}" = set; then
8775 enableval=$enable_accel;
8776 if test "$enableval" = yes; then
8777 ac_cv_use_accel='wxUSE_ACCEL=yes'
8779 ac_cv_use_accel='wxUSE_ACCEL=no'
8784 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8785 if test "x$LINE" != x ; then
8786 eval "DEFAULT_$LINE"
8791 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8796 eval "$ac_cv_use_accel"
8797 if test "$no_cache" != 1; then
8798 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8801 if test "$wxUSE_ACCEL" = yes; then
8802 { echo "$as_me:$LINENO: result: yes" >&5
8803 echo "${ECHO_T}yes" >&6; }
8805 { echo "$as_me:$LINENO: result: no" >&5
8806 echo "${ECHO_T}no" >&6; }
8811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8812 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8814 # Check whether --enable-animatectrl was given.
8815 if test "${enable_animatectrl+set}" = set; then
8816 enableval=$enable_animatectrl;
8817 if test "$enableval" = yes; then
8818 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8820 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8825 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8826 if test "x$LINE" != x ; then
8827 eval "DEFAULT_$LINE"
8832 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8837 eval "$ac_cv_use_animatectrl"
8838 if test "$no_cache" != 1; then
8839 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8842 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8843 { echo "$as_me:$LINENO: result: yes" >&5
8844 echo "${ECHO_T}yes" >&6; }
8846 { echo "$as_me:$LINENO: result: no" >&5
8847 echo "${ECHO_T}no" >&6; }
8852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8853 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8855 # Check whether --enable-button was given.
8856 if test "${enable_button+set}" = set; then
8857 enableval=$enable_button;
8858 if test "$enableval" = yes; then
8859 ac_cv_use_button='wxUSE_BUTTON=yes'
8861 ac_cv_use_button='wxUSE_BUTTON=no'
8866 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8867 if test "x$LINE" != x ; then
8868 eval "DEFAULT_$LINE"
8873 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8878 eval "$ac_cv_use_button"
8879 if test "$no_cache" != 1; then
8880 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8883 if test "$wxUSE_BUTTON" = yes; then
8884 { echo "$as_me:$LINENO: result: yes" >&5
8885 echo "${ECHO_T}yes" >&6; }
8887 { echo "$as_me:$LINENO: result: no" >&5
8888 echo "${ECHO_T}no" >&6; }
8893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8894 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
8896 # Check whether --enable-bmpbutton was given.
8897 if test "${enable_bmpbutton+set}" = set; then
8898 enableval=$enable_bmpbutton;
8899 if test "$enableval" = yes; then
8900 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8902 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8907 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8908 if test "x$LINE" != x ; then
8909 eval "DEFAULT_$LINE"
8914 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8919 eval "$ac_cv_use_bmpbutton"
8920 if test "$no_cache" != 1; then
8921 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8924 if test "$wxUSE_BMPBUTTON" = yes; then
8925 { echo "$as_me:$LINENO: result: yes" >&5
8926 echo "${ECHO_T}yes" >&6; }
8928 { echo "$as_me:$LINENO: result: no" >&5
8929 echo "${ECHO_T}no" >&6; }
8934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8935 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
8937 # Check whether --enable-bmpcombobox was given.
8938 if test "${enable_bmpcombobox+set}" = set; then
8939 enableval=$enable_bmpcombobox;
8940 if test "$enableval" = yes; then
8941 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8943 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8948 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8949 if test "x$LINE" != x ; then
8950 eval "DEFAULT_$LINE"
8955 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8960 eval "$ac_cv_use_bmpcombobox"
8961 if test "$no_cache" != 1; then
8962 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8965 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8966 { echo "$as_me:$LINENO: result: yes" >&5
8967 echo "${ECHO_T}yes" >&6; }
8969 { echo "$as_me:$LINENO: result: no" >&5
8970 echo "${ECHO_T}no" >&6; }
8975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8976 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
8978 # Check whether --enable-calendar was given.
8979 if test "${enable_calendar+set}" = set; then
8980 enableval=$enable_calendar;
8981 if test "$enableval" = yes; then
8982 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8984 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8989 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8990 if test "x$LINE" != x ; then
8991 eval "DEFAULT_$LINE"
8996 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
9001 eval "$ac_cv_use_calendar"
9002 if test "$no_cache" != 1; then
9003 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9006 if test "$wxUSE_CALCTRL" = yes; then
9007 { echo "$as_me:$LINENO: result: yes" >&5
9008 echo "${ECHO_T}yes" >&6; }
9010 { echo "$as_me:$LINENO: result: no" >&5
9011 echo "${ECHO_T}no" >&6; }
9016 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9017 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9019 # Check whether --enable-caret was given.
9020 if test "${enable_caret+set}" = set; then
9021 enableval=$enable_caret;
9022 if test "$enableval" = yes; then
9023 ac_cv_use_caret='wxUSE_CARET=yes'
9025 ac_cv_use_caret='wxUSE_CARET=no'
9030 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
9031 if test "x$LINE" != x ; then
9032 eval "DEFAULT_$LINE"
9037 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9042 eval "$ac_cv_use_caret"
9043 if test "$no_cache" != 1; then
9044 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9047 if test "$wxUSE_CARET" = yes; then
9048 { echo "$as_me:$LINENO: result: yes" >&5
9049 echo "${ECHO_T}yes" >&6; }
9051 { echo "$as_me:$LINENO: result: no" >&5
9052 echo "${ECHO_T}no" >&6; }
9057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9058 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9060 # Check whether --enable-checkbox was given.
9061 if test "${enable_checkbox+set}" = set; then
9062 enableval=$enable_checkbox;
9063 if test "$enableval" = yes; then
9064 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9066 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9071 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9072 if test "x$LINE" != x ; then
9073 eval "DEFAULT_$LINE"
9078 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9083 eval "$ac_cv_use_checkbox"
9084 if test "$no_cache" != 1; then
9085 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9088 if test "$wxUSE_CHECKBOX" = yes; then
9089 { echo "$as_me:$LINENO: result: yes" >&5
9090 echo "${ECHO_T}yes" >&6; }
9092 { echo "$as_me:$LINENO: result: no" >&5
9093 echo "${ECHO_T}no" >&6; }
9098 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9099 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9101 # Check whether --enable-checklst was given.
9102 if test "${enable_checklst+set}" = set; then
9103 enableval=$enable_checklst;
9104 if test "$enableval" = yes; then
9105 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9107 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9112 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9113 if test "x$LINE" != x ; then
9114 eval "DEFAULT_$LINE"
9119 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9124 eval "$ac_cv_use_checklst"
9125 if test "$no_cache" != 1; then
9126 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9129 if test "$wxUSE_CHECKLST" = yes; then
9130 { echo "$as_me:$LINENO: result: yes" >&5
9131 echo "${ECHO_T}yes" >&6; }
9133 { echo "$as_me:$LINENO: result: no" >&5
9134 echo "${ECHO_T}no" >&6; }
9139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9140 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9142 # Check whether --enable-choice was given.
9143 if test "${enable_choice+set}" = set; then
9144 enableval=$enable_choice;
9145 if test "$enableval" = yes; then
9146 ac_cv_use_choice='wxUSE_CHOICE=yes'
9148 ac_cv_use_choice='wxUSE_CHOICE=no'
9153 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9154 if test "x$LINE" != x ; then
9155 eval "DEFAULT_$LINE"
9160 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9165 eval "$ac_cv_use_choice"
9166 if test "$no_cache" != 1; then
9167 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9170 if test "$wxUSE_CHOICE" = yes; then
9171 { echo "$as_me:$LINENO: result: yes" >&5
9172 echo "${ECHO_T}yes" >&6; }
9174 { echo "$as_me:$LINENO: result: no" >&5
9175 echo "${ECHO_T}no" >&6; }
9180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9181 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9183 # Check whether --enable-choicebook was given.
9184 if test "${enable_choicebook+set}" = set; then
9185 enableval=$enable_choicebook;
9186 if test "$enableval" = yes; then
9187 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9189 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9194 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9195 if test "x$LINE" != x ; then
9196 eval "DEFAULT_$LINE"
9201 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9206 eval "$ac_cv_use_choicebook"
9207 if test "$no_cache" != 1; then
9208 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9211 if test "$wxUSE_CHOICEBOOK" = yes; then
9212 { echo "$as_me:$LINENO: result: yes" >&5
9213 echo "${ECHO_T}yes" >&6; }
9215 { echo "$as_me:$LINENO: result: no" >&5
9216 echo "${ECHO_T}no" >&6; }
9221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9222 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9224 # Check whether --enable-collpane was given.
9225 if test "${enable_collpane+set}" = set; then
9226 enableval=$enable_collpane;
9227 if test "$enableval" = yes; then
9228 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9230 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9235 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9236 if test "x$LINE" != x ; then
9237 eval "DEFAULT_$LINE"
9242 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9247 eval "$ac_cv_use_collpane"
9248 if test "$no_cache" != 1; then
9249 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9252 if test "$wxUSE_COLLPANE" = yes; then
9253 { echo "$as_me:$LINENO: result: yes" >&5
9254 echo "${ECHO_T}yes" >&6; }
9256 { echo "$as_me:$LINENO: result: no" >&5
9257 echo "${ECHO_T}no" >&6; }
9262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9263 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9265 # Check whether --enable-colourpicker was given.
9266 if test "${enable_colourpicker+set}" = set; then
9267 enableval=$enable_colourpicker;
9268 if test "$enableval" = yes; then
9269 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9271 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9276 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9277 if test "x$LINE" != x ; then
9278 eval "DEFAULT_$LINE"
9283 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9288 eval "$ac_cv_use_colourpicker"
9289 if test "$no_cache" != 1; then
9290 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9293 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9294 { echo "$as_me:$LINENO: result: yes" >&5
9295 echo "${ECHO_T}yes" >&6; }
9297 { echo "$as_me:$LINENO: result: no" >&5
9298 echo "${ECHO_T}no" >&6; }
9303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9304 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9306 # Check whether --enable-combobox was given.
9307 if test "${enable_combobox+set}" = set; then
9308 enableval=$enable_combobox;
9309 if test "$enableval" = yes; then
9310 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9312 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9317 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9318 if test "x$LINE" != x ; then
9319 eval "DEFAULT_$LINE"
9324 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9329 eval "$ac_cv_use_combobox"
9330 if test "$no_cache" != 1; then
9331 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9334 if test "$wxUSE_COMBOBOX" = yes; then
9335 { echo "$as_me:$LINENO: result: yes" >&5
9336 echo "${ECHO_T}yes" >&6; }
9338 { echo "$as_me:$LINENO: result: no" >&5
9339 echo "${ECHO_T}no" >&6; }
9344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9345 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9347 # Check whether --enable-comboctrl was given.
9348 if test "${enable_comboctrl+set}" = set; then
9349 enableval=$enable_comboctrl;
9350 if test "$enableval" = yes; then
9351 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9353 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9358 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9359 if test "x$LINE" != x ; then
9360 eval "DEFAULT_$LINE"
9365 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9370 eval "$ac_cv_use_comboctrl"
9371 if test "$no_cache" != 1; then
9372 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9375 if test "$wxUSE_COMBOCTRL" = yes; then
9376 { echo "$as_me:$LINENO: result: yes" >&5
9377 echo "${ECHO_T}yes" >&6; }
9379 { echo "$as_me:$LINENO: result: no" >&5
9380 echo "${ECHO_T}no" >&6; }
9385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9386 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9388 # Check whether --enable-datepick was given.
9389 if test "${enable_datepick+set}" = set; then
9390 enableval=$enable_datepick;
9391 if test "$enableval" = yes; then
9392 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9394 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9399 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9400 if test "x$LINE" != x ; then
9401 eval "DEFAULT_$LINE"
9406 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9411 eval "$ac_cv_use_datepick"
9412 if test "$no_cache" != 1; then
9413 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9416 if test "$wxUSE_DATEPICKCTRL" = yes; then
9417 { echo "$as_me:$LINENO: result: yes" >&5
9418 echo "${ECHO_T}yes" >&6; }
9420 { echo "$as_me:$LINENO: result: no" >&5
9421 echo "${ECHO_T}no" >&6; }
9426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9427 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9429 # Check whether --enable-dirpicker was given.
9430 if test "${enable_dirpicker+set}" = set; then
9431 enableval=$enable_dirpicker;
9432 if test "$enableval" = yes; then
9433 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9435 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9440 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9441 if test "x$LINE" != x ; then
9442 eval "DEFAULT_$LINE"
9447 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9452 eval "$ac_cv_use_dirpicker"
9453 if test "$no_cache" != 1; then
9454 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9457 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9458 { echo "$as_me:$LINENO: result: yes" >&5
9459 echo "${ECHO_T}yes" >&6; }
9461 { echo "$as_me:$LINENO: result: no" >&5
9462 echo "${ECHO_T}no" >&6; }
9467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9468 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9470 # Check whether --enable-display was given.
9471 if test "${enable_display+set}" = set; then
9472 enableval=$enable_display;
9473 if test "$enableval" = yes; then
9474 ac_cv_use_display='wxUSE_DISPLAY=yes'
9476 ac_cv_use_display='wxUSE_DISPLAY=no'
9481 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9482 if test "x$LINE" != x ; then
9483 eval "DEFAULT_$LINE"
9488 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9493 eval "$ac_cv_use_display"
9494 if test "$no_cache" != 1; then
9495 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9498 if test "$wxUSE_DISPLAY" = yes; then
9499 { echo "$as_me:$LINENO: result: yes" >&5
9500 echo "${ECHO_T}yes" >&6; }
9502 { echo "$as_me:$LINENO: result: no" >&5
9503 echo "${ECHO_T}no" >&6; }
9508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9509 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9511 # Check whether --enable-detect_sm was given.
9512 if test "${enable_detect_sm+set}" = set; then
9513 enableval=$enable_detect_sm;
9514 if test "$enableval" = yes; then
9515 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9517 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9522 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9523 if test "x$LINE" != x ; then
9524 eval "DEFAULT_$LINE"
9529 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9534 eval "$ac_cv_use_detect_sm"
9535 if test "$no_cache" != 1; then
9536 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9539 if test "$wxUSE_DETECT_SM" = yes; then
9540 { echo "$as_me:$LINENO: result: yes" >&5
9541 echo "${ECHO_T}yes" >&6; }
9543 { echo "$as_me:$LINENO: result: no" >&5
9544 echo "${ECHO_T}no" >&6; }
9549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9550 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9552 # Check whether --enable-filepicker was given.
9553 if test "${enable_filepicker+set}" = set; then
9554 enableval=$enable_filepicker;
9555 if test "$enableval" = yes; then
9556 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9558 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9563 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9564 if test "x$LINE" != x ; then
9565 eval "DEFAULT_$LINE"
9570 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9575 eval "$ac_cv_use_filepicker"
9576 if test "$no_cache" != 1; then
9577 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9580 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9581 { echo "$as_me:$LINENO: result: yes" >&5
9582 echo "${ECHO_T}yes" >&6; }
9584 { echo "$as_me:$LINENO: result: no" >&5
9585 echo "${ECHO_T}no" >&6; }
9590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9591 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9593 # Check whether --enable-fontpicker was given.
9594 if test "${enable_fontpicker+set}" = set; then
9595 enableval=$enable_fontpicker;
9596 if test "$enableval" = yes; then
9597 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9599 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9604 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9605 if test "x$LINE" != x ; then
9606 eval "DEFAULT_$LINE"
9611 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9616 eval "$ac_cv_use_fontpicker"
9617 if test "$no_cache" != 1; then
9618 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9621 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9622 { echo "$as_me:$LINENO: result: yes" >&5
9623 echo "${ECHO_T}yes" >&6; }
9625 { echo "$as_me:$LINENO: result: no" >&5
9626 echo "${ECHO_T}no" >&6; }
9631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9632 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9634 # Check whether --enable-gauge was given.
9635 if test "${enable_gauge+set}" = set; then
9636 enableval=$enable_gauge;
9637 if test "$enableval" = yes; then
9638 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9640 ac_cv_use_gauge='wxUSE_GAUGE=no'
9645 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9646 if test "x$LINE" != x ; then
9647 eval "DEFAULT_$LINE"
9652 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9657 eval "$ac_cv_use_gauge"
9658 if test "$no_cache" != 1; then
9659 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9662 if test "$wxUSE_GAUGE" = yes; then
9663 { echo "$as_me:$LINENO: result: yes" >&5
9664 echo "${ECHO_T}yes" >&6; }
9666 { echo "$as_me:$LINENO: result: no" >&5
9667 echo "${ECHO_T}no" >&6; }
9672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9673 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9675 # Check whether --enable-grid was given.
9676 if test "${enable_grid+set}" = set; then
9677 enableval=$enable_grid;
9678 if test "$enableval" = yes; then
9679 ac_cv_use_grid='wxUSE_GRID=yes'
9681 ac_cv_use_grid='wxUSE_GRID=no'
9686 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9687 if test "x$LINE" != x ; then
9688 eval "DEFAULT_$LINE"
9693 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9698 eval "$ac_cv_use_grid"
9699 if test "$no_cache" != 1; then
9700 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9703 if test "$wxUSE_GRID" = yes; then
9704 { echo "$as_me:$LINENO: result: yes" >&5
9705 echo "${ECHO_T}yes" >&6; }
9707 { echo "$as_me:$LINENO: result: no" >&5
9708 echo "${ECHO_T}no" >&6; }
9713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9714 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9716 # Check whether --enable-dataviewctrl was given.
9717 if test "${enable_dataviewctrl+set}" = set; then
9718 enableval=$enable_dataviewctrl;
9719 if test "$enableval" = yes; then
9720 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9722 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9727 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9728 if test "x$LINE" != x ; then
9729 eval "DEFAULT_$LINE"
9734 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9739 eval "$ac_cv_use_dataviewctrl"
9740 if test "$no_cache" != 1; then
9741 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9744 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9745 { echo "$as_me:$LINENO: result: yes" >&5
9746 echo "${ECHO_T}yes" >&6; }
9748 { echo "$as_me:$LINENO: result: no" >&5
9749 echo "${ECHO_T}no" >&6; }
9754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9755 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9757 # Check whether --enable-hyperlink was given.
9758 if test "${enable_hyperlink+set}" = set; then
9759 enableval=$enable_hyperlink;
9760 if test "$enableval" = yes; then
9761 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9763 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9768 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9769 if test "x$LINE" != x ; then
9770 eval "DEFAULT_$LINE"
9775 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9780 eval "$ac_cv_use_hyperlink"
9781 if test "$no_cache" != 1; then
9782 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9785 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9786 { echo "$as_me:$LINENO: result: yes" >&5
9787 echo "${ECHO_T}yes" >&6; }
9789 { echo "$as_me:$LINENO: result: no" >&5
9790 echo "${ECHO_T}no" >&6; }
9795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9796 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9798 # Check whether --enable-imaglist was given.
9799 if test "${enable_imaglist+set}" = set; then
9800 enableval=$enable_imaglist;
9801 if test "$enableval" = yes; then
9802 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9804 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9809 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9810 if test "x$LINE" != x ; then
9811 eval "DEFAULT_$LINE"
9816 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9821 eval "$ac_cv_use_imaglist"
9822 if test "$no_cache" != 1; then
9823 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9826 if test "$wxUSE_IMAGLIST" = yes; then
9827 { echo "$as_me:$LINENO: result: yes" >&5
9828 echo "${ECHO_T}yes" >&6; }
9830 { echo "$as_me:$LINENO: result: no" >&5
9831 echo "${ECHO_T}no" >&6; }
9836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9837 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9839 # Check whether --enable-listbook was given.
9840 if test "${enable_listbook+set}" = set; then
9841 enableval=$enable_listbook;
9842 if test "$enableval" = yes; then
9843 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9845 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9850 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9851 if test "x$LINE" != x ; then
9852 eval "DEFAULT_$LINE"
9857 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9862 eval "$ac_cv_use_listbook"
9863 if test "$no_cache" != 1; then
9864 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9867 if test "$wxUSE_LISTBOOK" = yes; then
9868 { echo "$as_me:$LINENO: result: yes" >&5
9869 echo "${ECHO_T}yes" >&6; }
9871 { echo "$as_me:$LINENO: result: no" >&5
9872 echo "${ECHO_T}no" >&6; }
9877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9878 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
9880 # Check whether --enable-listbox was given.
9881 if test "${enable_listbox+set}" = set; then
9882 enableval=$enable_listbox;
9883 if test "$enableval" = yes; then
9884 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9886 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9891 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9892 if test "x$LINE" != x ; then
9893 eval "DEFAULT_$LINE"
9898 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9903 eval "$ac_cv_use_listbox"
9904 if test "$no_cache" != 1; then
9905 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9908 if test "$wxUSE_LISTBOX" = yes; then
9909 { echo "$as_me:$LINENO: result: yes" >&5
9910 echo "${ECHO_T}yes" >&6; }
9912 { echo "$as_me:$LINENO: result: no" >&5
9913 echo "${ECHO_T}no" >&6; }
9918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9919 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
9921 # Check whether --enable-listctrl was given.
9922 if test "${enable_listctrl+set}" = set; then
9923 enableval=$enable_listctrl;
9924 if test "$enableval" = yes; then
9925 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9927 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9932 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9933 if test "x$LINE" != x ; then
9934 eval "DEFAULT_$LINE"
9939 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9944 eval "$ac_cv_use_listctrl"
9945 if test "$no_cache" != 1; then
9946 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9949 if test "$wxUSE_LISTCTRL" = yes; then
9950 { echo "$as_me:$LINENO: result: yes" >&5
9951 echo "${ECHO_T}yes" >&6; }
9953 { echo "$as_me:$LINENO: result: no" >&5
9954 echo "${ECHO_T}no" >&6; }
9959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9960 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
9962 # Check whether --enable-notebook was given.
9963 if test "${enable_notebook+set}" = set; then
9964 enableval=$enable_notebook;
9965 if test "$enableval" = yes; then
9966 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9968 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9973 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9974 if test "x$LINE" != x ; then
9975 eval "DEFAULT_$LINE"
9980 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9985 eval "$ac_cv_use_notebook"
9986 if test "$no_cache" != 1; then
9987 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9990 if test "$wxUSE_NOTEBOOK" = yes; then
9991 { echo "$as_me:$LINENO: result: yes" >&5
9992 echo "${ECHO_T}yes" >&6; }
9994 { echo "$as_me:$LINENO: result: no" >&5
9995 echo "${ECHO_T}no" >&6; }
10000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10001 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10003 # Check whether --enable-odcombobox was given.
10004 if test "${enable_odcombobox+set}" = set; then
10005 enableval=$enable_odcombobox;
10006 if test "$enableval" = yes; then
10007 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10009 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10014 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
10015 if test "x$LINE" != x ; then
10016 eval "DEFAULT_$LINE"
10021 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10026 eval "$ac_cv_use_odcombobox"
10027 if test "$no_cache" != 1; then
10028 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10031 if test "$wxUSE_ODCOMBOBOX" = yes; then
10032 { echo "$as_me:$LINENO: result: yes" >&5
10033 echo "${ECHO_T}yes" >&6; }
10035 { echo "$as_me:$LINENO: result: no" >&5
10036 echo "${ECHO_T}no" >&6; }
10041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10042 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10044 # Check whether --enable-radiobox was given.
10045 if test "${enable_radiobox+set}" = set; then
10046 enableval=$enable_radiobox;
10047 if test "$enableval" = yes; then
10048 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10050 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10055 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10056 if test "x$LINE" != x ; then
10057 eval "DEFAULT_$LINE"
10062 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10067 eval "$ac_cv_use_radiobox"
10068 if test "$no_cache" != 1; then
10069 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10072 if test "$wxUSE_RADIOBOX" = yes; then
10073 { echo "$as_me:$LINENO: result: yes" >&5
10074 echo "${ECHO_T}yes" >&6; }
10076 { echo "$as_me:$LINENO: result: no" >&5
10077 echo "${ECHO_T}no" >&6; }
10082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10083 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10085 # Check whether --enable-radiobtn was given.
10086 if test "${enable_radiobtn+set}" = set; then
10087 enableval=$enable_radiobtn;
10088 if test "$enableval" = yes; then
10089 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10091 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10096 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10097 if test "x$LINE" != x ; then
10098 eval "DEFAULT_$LINE"
10103 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10108 eval "$ac_cv_use_radiobtn"
10109 if test "$no_cache" != 1; then
10110 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10113 if test "$wxUSE_RADIOBTN" = yes; then
10114 { echo "$as_me:$LINENO: result: yes" >&5
10115 echo "${ECHO_T}yes" >&6; }
10117 { echo "$as_me:$LINENO: result: no" >&5
10118 echo "${ECHO_T}no" >&6; }
10123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10124 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10126 # Check whether --enable-sash was given.
10127 if test "${enable_sash+set}" = set; then
10128 enableval=$enable_sash;
10129 if test "$enableval" = yes; then
10130 ac_cv_use_sash='wxUSE_SASH=yes'
10132 ac_cv_use_sash='wxUSE_SASH=no'
10137 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10138 if test "x$LINE" != x ; then
10139 eval "DEFAULT_$LINE"
10144 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10149 eval "$ac_cv_use_sash"
10150 if test "$no_cache" != 1; then
10151 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10154 if test "$wxUSE_SASH" = yes; then
10155 { echo "$as_me:$LINENO: result: yes" >&5
10156 echo "${ECHO_T}yes" >&6; }
10158 { echo "$as_me:$LINENO: result: no" >&5
10159 echo "${ECHO_T}no" >&6; }
10164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10165 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10167 # Check whether --enable-scrollbar was given.
10168 if test "${enable_scrollbar+set}" = set; then
10169 enableval=$enable_scrollbar;
10170 if test "$enableval" = yes; then
10171 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10173 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10178 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10179 if test "x$LINE" != x ; then
10180 eval "DEFAULT_$LINE"
10185 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10190 eval "$ac_cv_use_scrollbar"
10191 if test "$no_cache" != 1; then
10192 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10195 if test "$wxUSE_SCROLLBAR" = yes; then
10196 { echo "$as_me:$LINENO: result: yes" >&5
10197 echo "${ECHO_T}yes" >&6; }
10199 { echo "$as_me:$LINENO: result: no" >&5
10200 echo "${ECHO_T}no" >&6; }
10205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10206 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10208 # Check whether --enable-searchctrl was given.
10209 if test "${enable_searchctrl+set}" = set; then
10210 enableval=$enable_searchctrl;
10211 if test "$enableval" = yes; then
10212 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10214 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10219 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10220 if test "x$LINE" != x ; then
10221 eval "DEFAULT_$LINE"
10226 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10231 eval "$ac_cv_use_searchctrl"
10232 if test "$no_cache" != 1; then
10233 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10236 if test "$wxUSE_SEARCHCTRL" = yes; then
10237 { echo "$as_me:$LINENO: result: yes" >&5
10238 echo "${ECHO_T}yes" >&6; }
10240 { echo "$as_me:$LINENO: result: no" >&5
10241 echo "${ECHO_T}no" >&6; }
10246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10247 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10249 # Check whether --enable-slider was given.
10250 if test "${enable_slider+set}" = set; then
10251 enableval=$enable_slider;
10252 if test "$enableval" = yes; then
10253 ac_cv_use_slider='wxUSE_SLIDER=yes'
10255 ac_cv_use_slider='wxUSE_SLIDER=no'
10260 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10261 if test "x$LINE" != x ; then
10262 eval "DEFAULT_$LINE"
10267 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10272 eval "$ac_cv_use_slider"
10273 if test "$no_cache" != 1; then
10274 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10277 if test "$wxUSE_SLIDER" = yes; then
10278 { echo "$as_me:$LINENO: result: yes" >&5
10279 echo "${ECHO_T}yes" >&6; }
10281 { echo "$as_me:$LINENO: result: no" >&5
10282 echo "${ECHO_T}no" >&6; }
10287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10288 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10290 # Check whether --enable-spinbtn was given.
10291 if test "${enable_spinbtn+set}" = set; then
10292 enableval=$enable_spinbtn;
10293 if test "$enableval" = yes; then
10294 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10296 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10301 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10302 if test "x$LINE" != x ; then
10303 eval "DEFAULT_$LINE"
10308 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10313 eval "$ac_cv_use_spinbtn"
10314 if test "$no_cache" != 1; then
10315 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10318 if test "$wxUSE_SPINBTN" = yes; then
10319 { echo "$as_me:$LINENO: result: yes" >&5
10320 echo "${ECHO_T}yes" >&6; }
10322 { echo "$as_me:$LINENO: result: no" >&5
10323 echo "${ECHO_T}no" >&6; }
10328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10329 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10331 # Check whether --enable-spinctrl was given.
10332 if test "${enable_spinctrl+set}" = set; then
10333 enableval=$enable_spinctrl;
10334 if test "$enableval" = yes; then
10335 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10337 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10342 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10343 if test "x$LINE" != x ; then
10344 eval "DEFAULT_$LINE"
10349 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10354 eval "$ac_cv_use_spinctrl"
10355 if test "$no_cache" != 1; then
10356 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10359 if test "$wxUSE_SPINCTRL" = yes; then
10360 { echo "$as_me:$LINENO: result: yes" >&5
10361 echo "${ECHO_T}yes" >&6; }
10363 { echo "$as_me:$LINENO: result: no" >&5
10364 echo "${ECHO_T}no" >&6; }
10369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10370 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10372 # Check whether --enable-splitter was given.
10373 if test "${enable_splitter+set}" = set; then
10374 enableval=$enable_splitter;
10375 if test "$enableval" = yes; then
10376 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10378 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10383 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10384 if test "x$LINE" != x ; then
10385 eval "DEFAULT_$LINE"
10390 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10395 eval "$ac_cv_use_splitter"
10396 if test "$no_cache" != 1; then
10397 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10400 if test "$wxUSE_SPLITTER" = yes; then
10401 { echo "$as_me:$LINENO: result: yes" >&5
10402 echo "${ECHO_T}yes" >&6; }
10404 { echo "$as_me:$LINENO: result: no" >&5
10405 echo "${ECHO_T}no" >&6; }
10410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10411 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10413 # Check whether --enable-statbmp was given.
10414 if test "${enable_statbmp+set}" = set; then
10415 enableval=$enable_statbmp;
10416 if test "$enableval" = yes; then
10417 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10419 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10424 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10425 if test "x$LINE" != x ; then
10426 eval "DEFAULT_$LINE"
10431 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10436 eval "$ac_cv_use_statbmp"
10437 if test "$no_cache" != 1; then
10438 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10441 if test "$wxUSE_STATBMP" = yes; then
10442 { echo "$as_me:$LINENO: result: yes" >&5
10443 echo "${ECHO_T}yes" >&6; }
10445 { echo "$as_me:$LINENO: result: no" >&5
10446 echo "${ECHO_T}no" >&6; }
10451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10452 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10454 # Check whether --enable-statbox was given.
10455 if test "${enable_statbox+set}" = set; then
10456 enableval=$enable_statbox;
10457 if test "$enableval" = yes; then
10458 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10460 ac_cv_use_statbox='wxUSE_STATBOX=no'
10465 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10466 if test "x$LINE" != x ; then
10467 eval "DEFAULT_$LINE"
10472 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10477 eval "$ac_cv_use_statbox"
10478 if test "$no_cache" != 1; then
10479 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10482 if test "$wxUSE_STATBOX" = yes; then
10483 { echo "$as_me:$LINENO: result: yes" >&5
10484 echo "${ECHO_T}yes" >&6; }
10486 { echo "$as_me:$LINENO: result: no" >&5
10487 echo "${ECHO_T}no" >&6; }
10492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10493 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10495 # Check whether --enable-statline was given.
10496 if test "${enable_statline+set}" = set; then
10497 enableval=$enable_statline;
10498 if test "$enableval" = yes; then
10499 ac_cv_use_statline='wxUSE_STATLINE=yes'
10501 ac_cv_use_statline='wxUSE_STATLINE=no'
10506 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10507 if test "x$LINE" != x ; then
10508 eval "DEFAULT_$LINE"
10513 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10518 eval "$ac_cv_use_statline"
10519 if test "$no_cache" != 1; then
10520 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10523 if test "$wxUSE_STATLINE" = yes; then
10524 { echo "$as_me:$LINENO: result: yes" >&5
10525 echo "${ECHO_T}yes" >&6; }
10527 { echo "$as_me:$LINENO: result: no" >&5
10528 echo "${ECHO_T}no" >&6; }
10533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10534 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10536 # Check whether --enable-stattext was given.
10537 if test "${enable_stattext+set}" = set; then
10538 enableval=$enable_stattext;
10539 if test "$enableval" = yes; then
10540 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10542 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10547 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10548 if test "x$LINE" != x ; then
10549 eval "DEFAULT_$LINE"
10554 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10559 eval "$ac_cv_use_stattext"
10560 if test "$no_cache" != 1; then
10561 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10564 if test "$wxUSE_STATTEXT" = yes; then
10565 { echo "$as_me:$LINENO: result: yes" >&5
10566 echo "${ECHO_T}yes" >&6; }
10568 { echo "$as_me:$LINENO: result: no" >&5
10569 echo "${ECHO_T}no" >&6; }
10574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10575 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10577 # Check whether --enable-statusbar was given.
10578 if test "${enable_statusbar+set}" = set; then
10579 enableval=$enable_statusbar;
10580 if test "$enableval" = yes; then
10581 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10583 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10588 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10589 if test "x$LINE" != x ; then
10590 eval "DEFAULT_$LINE"
10595 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10600 eval "$ac_cv_use_statusbar"
10601 if test "$no_cache" != 1; then
10602 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10605 if test "$wxUSE_STATUSBAR" = yes; then
10606 { echo "$as_me:$LINENO: result: yes" >&5
10607 echo "${ECHO_T}yes" >&6; }
10609 { echo "$as_me:$LINENO: result: no" >&5
10610 echo "${ECHO_T}no" >&6; }
10615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10616 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10618 # Check whether --enable-tabdialog was given.
10619 if test "${enable_tabdialog+set}" = set; then
10620 enableval=$enable_tabdialog;
10621 if test "$enableval" = yes; then
10622 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10624 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10629 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10630 if test "x$LINE" != x ; then
10631 eval "DEFAULT_$LINE"
10636 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10641 eval "$ac_cv_use_tabdialog"
10642 if test "$no_cache" != 1; then
10643 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10646 if test "$wxUSE_TAB_DIALOG" = yes; then
10647 { echo "$as_me:$LINENO: result: yes" >&5
10648 echo "${ECHO_T}yes" >&6; }
10650 { echo "$as_me:$LINENO: result: no" >&5
10651 echo "${ECHO_T}no" >&6; }
10656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10657 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10659 # Check whether --enable-textctrl was given.
10660 if test "${enable_textctrl+set}" = set; then
10661 enableval=$enable_textctrl;
10662 if test "$enableval" = yes; then
10663 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10665 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10670 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10671 if test "x$LINE" != x ; then
10672 eval "DEFAULT_$LINE"
10677 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10682 eval "$ac_cv_use_textctrl"
10683 if test "$no_cache" != 1; then
10684 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10687 if test "$wxUSE_TEXTCTRL" = yes; then
10688 { echo "$as_me:$LINENO: result: yes" >&5
10689 echo "${ECHO_T}yes" >&6; }
10691 { echo "$as_me:$LINENO: result: no" >&5
10692 echo "${ECHO_T}no" >&6; }
10697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10698 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10700 # Check whether --enable-togglebtn was given.
10701 if test "${enable_togglebtn+set}" = set; then
10702 enableval=$enable_togglebtn;
10703 if test "$enableval" = yes; then
10704 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10706 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10711 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10712 if test "x$LINE" != x ; then
10713 eval "DEFAULT_$LINE"
10718 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10723 eval "$ac_cv_use_togglebtn"
10724 if test "$no_cache" != 1; then
10725 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10728 if test "$wxUSE_TOGGLEBTN" = yes; then
10729 { echo "$as_me:$LINENO: result: yes" >&5
10730 echo "${ECHO_T}yes" >&6; }
10732 { echo "$as_me:$LINENO: result: no" >&5
10733 echo "${ECHO_T}no" >&6; }
10738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10739 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10741 # Check whether --enable-toolbar was given.
10742 if test "${enable_toolbar+set}" = set; then
10743 enableval=$enable_toolbar;
10744 if test "$enableval" = yes; then
10745 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10747 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10752 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10753 if test "x$LINE" != x ; then
10754 eval "DEFAULT_$LINE"
10759 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10764 eval "$ac_cv_use_toolbar"
10765 if test "$no_cache" != 1; then
10766 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10769 if test "$wxUSE_TOOLBAR" = yes; then
10770 { echo "$as_me:$LINENO: result: yes" >&5
10771 echo "${ECHO_T}yes" >&6; }
10773 { echo "$as_me:$LINENO: result: no" >&5
10774 echo "${ECHO_T}no" >&6; }
10779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10780 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10782 # Check whether --enable-tbarnative was given.
10783 if test "${enable_tbarnative+set}" = set; then
10784 enableval=$enable_tbarnative;
10785 if test "$enableval" = yes; then
10786 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10788 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10793 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10794 if test "x$LINE" != x ; then
10795 eval "DEFAULT_$LINE"
10800 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10805 eval "$ac_cv_use_tbarnative"
10806 if test "$no_cache" != 1; then
10807 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10810 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10811 { echo "$as_me:$LINENO: result: yes" >&5
10812 echo "${ECHO_T}yes" >&6; }
10814 { echo "$as_me:$LINENO: result: no" >&5
10815 echo "${ECHO_T}no" >&6; }
10820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10821 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10823 # Check whether --enable-treebook was given.
10824 if test "${enable_treebook+set}" = set; then
10825 enableval=$enable_treebook;
10826 if test "$enableval" = yes; then
10827 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10829 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10834 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10835 if test "x$LINE" != x ; then
10836 eval "DEFAULT_$LINE"
10841 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10846 eval "$ac_cv_use_treebook"
10847 if test "$no_cache" != 1; then
10848 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10851 if test "$wxUSE_TREEBOOK" = yes; then
10852 { echo "$as_me:$LINENO: result: yes" >&5
10853 echo "${ECHO_T}yes" >&6; }
10855 { echo "$as_me:$LINENO: result: no" >&5
10856 echo "${ECHO_T}no" >&6; }
10861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10862 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
10864 # Check whether --enable-toolbook was given.
10865 if test "${enable_toolbook+set}" = set; then
10866 enableval=$enable_toolbook;
10867 if test "$enableval" = yes; then
10868 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10870 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10875 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10876 if test "x$LINE" != x ; then
10877 eval "DEFAULT_$LINE"
10882 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10887 eval "$ac_cv_use_toolbook"
10888 if test "$no_cache" != 1; then
10889 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10892 if test "$wxUSE_TOOLBOOK" = yes; then
10893 { echo "$as_me:$LINENO: result: yes" >&5
10894 echo "${ECHO_T}yes" >&6; }
10896 { echo "$as_me:$LINENO: result: no" >&5
10897 echo "${ECHO_T}no" >&6; }
10902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10903 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
10905 # Check whether --enable-treectrl was given.
10906 if test "${enable_treectrl+set}" = set; then
10907 enableval=$enable_treectrl;
10908 if test "$enableval" = yes; then
10909 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10911 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10916 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10917 if test "x$LINE" != x ; then
10918 eval "DEFAULT_$LINE"
10923 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10928 eval "$ac_cv_use_treectrl"
10929 if test "$no_cache" != 1; then
10930 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10933 if test "$wxUSE_TREECTRL" = yes; then
10934 { echo "$as_me:$LINENO: result: yes" >&5
10935 echo "${ECHO_T}yes" >&6; }
10937 { echo "$as_me:$LINENO: result: no" >&5
10938 echo "${ECHO_T}no" >&6; }
10943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10944 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
10946 # Check whether --enable-tipwindow was given.
10947 if test "${enable_tipwindow+set}" = set; then
10948 enableval=$enable_tipwindow;
10949 if test "$enableval" = yes; then
10950 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10952 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10957 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10958 if test "x$LINE" != x ; then
10959 eval "DEFAULT_$LINE"
10964 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10969 eval "$ac_cv_use_tipwindow"
10970 if test "$no_cache" != 1; then
10971 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10974 if test "$wxUSE_TIPWINDOW" = yes; then
10975 { echo "$as_me:$LINENO: result: yes" >&5
10976 echo "${ECHO_T}yes" >&6; }
10978 { echo "$as_me:$LINENO: result: no" >&5
10979 echo "${ECHO_T}no" >&6; }
10984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10985 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
10987 # Check whether --enable-popupwin was given.
10988 if test "${enable_popupwin+set}" = set; then
10989 enableval=$enable_popupwin;
10990 if test "$enableval" = yes; then
10991 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10993 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10998 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10999 if test "x$LINE" != x ; then
11000 eval "DEFAULT_$LINE"
11005 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
11010 eval "$ac_cv_use_popupwin"
11011 if test "$no_cache" != 1; then
11012 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
11015 if test "$wxUSE_POPUPWIN" = yes; then
11016 { echo "$as_me:$LINENO: result: yes" >&5
11017 echo "${ECHO_T}yes" >&6; }
11019 { echo "$as_me:$LINENO: result: no" >&5
11020 echo "${ECHO_T}no" >&6; }
11027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11028 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11030 # Check whether --enable-commondlg was given.
11031 if test "${enable_commondlg+set}" = set; then
11032 enableval=$enable_commondlg;
11033 if test "$enableval" = yes; then
11034 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11036 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11041 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11042 if test "x$LINE" != x ; then
11043 eval "DEFAULT_$LINE"
11048 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11053 eval "$ac_cv_use_commondlg"
11054 if test "$no_cache" != 1; then
11055 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11058 if test "$wxUSE_COMMONDLGS" = yes; then
11059 { echo "$as_me:$LINENO: result: yes" >&5
11060 echo "${ECHO_T}yes" >&6; }
11062 { echo "$as_me:$LINENO: result: no" >&5
11063 echo "${ECHO_T}no" >&6; }
11068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11069 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11071 # Check whether --enable-aboutdlg was given.
11072 if test "${enable_aboutdlg+set}" = set; then
11073 enableval=$enable_aboutdlg;
11074 if test "$enableval" = yes; then
11075 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11077 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11082 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11083 if test "x$LINE" != x ; then
11084 eval "DEFAULT_$LINE"
11089 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11094 eval "$ac_cv_use_aboutdlg"
11095 if test "$no_cache" != 1; then
11096 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11099 if test "$wxUSE_ABOUTDLG" = yes; then
11100 { echo "$as_me:$LINENO: result: yes" >&5
11101 echo "${ECHO_T}yes" >&6; }
11103 { echo "$as_me:$LINENO: result: no" >&5
11104 echo "${ECHO_T}no" >&6; }
11109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11110 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11112 # Check whether --enable-choicedlg was given.
11113 if test "${enable_choicedlg+set}" = set; then
11114 enableval=$enable_choicedlg;
11115 if test "$enableval" = yes; then
11116 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11118 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11123 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11124 if test "x$LINE" != x ; then
11125 eval "DEFAULT_$LINE"
11130 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11135 eval "$ac_cv_use_choicedlg"
11136 if test "$no_cache" != 1; then
11137 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11140 if test "$wxUSE_CHOICEDLG" = yes; then
11141 { echo "$as_me:$LINENO: result: yes" >&5
11142 echo "${ECHO_T}yes" >&6; }
11144 { echo "$as_me:$LINENO: result: no" >&5
11145 echo "${ECHO_T}no" >&6; }
11150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11151 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11153 # Check whether --enable-coldlg was given.
11154 if test "${enable_coldlg+set}" = set; then
11155 enableval=$enable_coldlg;
11156 if test "$enableval" = yes; then
11157 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11159 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11164 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11165 if test "x$LINE" != x ; then
11166 eval "DEFAULT_$LINE"
11171 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11176 eval "$ac_cv_use_coldlg"
11177 if test "$no_cache" != 1; then
11178 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11181 if test "$wxUSE_COLOURDLG" = yes; then
11182 { echo "$as_me:$LINENO: result: yes" >&5
11183 echo "${ECHO_T}yes" >&6; }
11185 { echo "$as_me:$LINENO: result: no" >&5
11186 echo "${ECHO_T}no" >&6; }
11191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11192 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11194 # Check whether --enable-filedlg was given.
11195 if test "${enable_filedlg+set}" = set; then
11196 enableval=$enable_filedlg;
11197 if test "$enableval" = yes; then
11198 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11200 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11205 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11206 if test "x$LINE" != x ; then
11207 eval "DEFAULT_$LINE"
11212 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11217 eval "$ac_cv_use_filedlg"
11218 if test "$no_cache" != 1; then
11219 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11222 if test "$wxUSE_FILEDLG" = yes; then
11223 { echo "$as_me:$LINENO: result: yes" >&5
11224 echo "${ECHO_T}yes" >&6; }
11226 { echo "$as_me:$LINENO: result: no" >&5
11227 echo "${ECHO_T}no" >&6; }
11232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11233 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11235 # Check whether --enable-finddlg was given.
11236 if test "${enable_finddlg+set}" = set; then
11237 enableval=$enable_finddlg;
11238 if test "$enableval" = yes; then
11239 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11241 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11246 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11247 if test "x$LINE" != x ; then
11248 eval "DEFAULT_$LINE"
11253 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11258 eval "$ac_cv_use_finddlg"
11259 if test "$no_cache" != 1; then
11260 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11263 if test "$wxUSE_FINDREPLDLG" = yes; then
11264 { echo "$as_me:$LINENO: result: yes" >&5
11265 echo "${ECHO_T}yes" >&6; }
11267 { echo "$as_me:$LINENO: result: no" >&5
11268 echo "${ECHO_T}no" >&6; }
11273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11274 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11276 # Check whether --enable-fontdlg was given.
11277 if test "${enable_fontdlg+set}" = set; then
11278 enableval=$enable_fontdlg;
11279 if test "$enableval" = yes; then
11280 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11282 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11287 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11288 if test "x$LINE" != x ; then
11289 eval "DEFAULT_$LINE"
11294 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11299 eval "$ac_cv_use_fontdlg"
11300 if test "$no_cache" != 1; then
11301 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11304 if test "$wxUSE_FONTDLG" = yes; then
11305 { echo "$as_me:$LINENO: result: yes" >&5
11306 echo "${ECHO_T}yes" >&6; }
11308 { echo "$as_me:$LINENO: result: no" >&5
11309 echo "${ECHO_T}no" >&6; }
11314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11315 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11317 # Check whether --enable-dirdlg was given.
11318 if test "${enable_dirdlg+set}" = set; then
11319 enableval=$enable_dirdlg;
11320 if test "$enableval" = yes; then
11321 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11323 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11328 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11329 if test "x$LINE" != x ; then
11330 eval "DEFAULT_$LINE"
11335 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11340 eval "$ac_cv_use_dirdlg"
11341 if test "$no_cache" != 1; then
11342 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11345 if test "$wxUSE_DIRDLG" = yes; then
11346 { echo "$as_me:$LINENO: result: yes" >&5
11347 echo "${ECHO_T}yes" >&6; }
11349 { echo "$as_me:$LINENO: result: no" >&5
11350 echo "${ECHO_T}no" >&6; }
11355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11356 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11358 # Check whether --enable-msgdlg was given.
11359 if test "${enable_msgdlg+set}" = set; then
11360 enableval=$enable_msgdlg;
11361 if test "$enableval" = yes; then
11362 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11364 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11369 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11370 if test "x$LINE" != x ; then
11371 eval "DEFAULT_$LINE"
11376 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11381 eval "$ac_cv_use_msgdlg"
11382 if test "$no_cache" != 1; then
11383 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11386 if test "$wxUSE_MSGDLG" = yes; then
11387 { echo "$as_me:$LINENO: result: yes" >&5
11388 echo "${ECHO_T}yes" >&6; }
11390 { echo "$as_me:$LINENO: result: no" >&5
11391 echo "${ECHO_T}no" >&6; }
11396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11397 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11399 # Check whether --enable-numberdlg was given.
11400 if test "${enable_numberdlg+set}" = set; then
11401 enableval=$enable_numberdlg;
11402 if test "$enableval" = yes; then
11403 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11405 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11410 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11411 if test "x$LINE" != x ; then
11412 eval "DEFAULT_$LINE"
11417 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11422 eval "$ac_cv_use_numberdlg"
11423 if test "$no_cache" != 1; then
11424 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11427 if test "$wxUSE_NUMBERDLG" = yes; then
11428 { echo "$as_me:$LINENO: result: yes" >&5
11429 echo "${ECHO_T}yes" >&6; }
11431 { echo "$as_me:$LINENO: result: no" >&5
11432 echo "${ECHO_T}no" >&6; }
11437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11438 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11440 # Check whether --enable-splash was given.
11441 if test "${enable_splash+set}" = set; then
11442 enableval=$enable_splash;
11443 if test "$enableval" = yes; then
11444 ac_cv_use_splash='wxUSE_SPLASH=yes'
11446 ac_cv_use_splash='wxUSE_SPLASH=no'
11451 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11452 if test "x$LINE" != x ; then
11453 eval "DEFAULT_$LINE"
11458 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11463 eval "$ac_cv_use_splash"
11464 if test "$no_cache" != 1; then
11465 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11468 if test "$wxUSE_SPLASH" = yes; then
11469 { echo "$as_me:$LINENO: result: yes" >&5
11470 echo "${ECHO_T}yes" >&6; }
11472 { echo "$as_me:$LINENO: result: no" >&5
11473 echo "${ECHO_T}no" >&6; }
11478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11479 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11481 # Check whether --enable-textdlg was given.
11482 if test "${enable_textdlg+set}" = set; then
11483 enableval=$enable_textdlg;
11484 if test "$enableval" = yes; then
11485 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11487 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11492 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11493 if test "x$LINE" != x ; then
11494 eval "DEFAULT_$LINE"
11499 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11504 eval "$ac_cv_use_textdlg"
11505 if test "$no_cache" != 1; then
11506 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11509 if test "$wxUSE_TEXTDLG" = yes; then
11510 { echo "$as_me:$LINENO: result: yes" >&5
11511 echo "${ECHO_T}yes" >&6; }
11513 { echo "$as_me:$LINENO: result: no" >&5
11514 echo "${ECHO_T}no" >&6; }
11519 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11520 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11522 # Check whether --enable-tipdlg was given.
11523 if test "${enable_tipdlg+set}" = set; then
11524 enableval=$enable_tipdlg;
11525 if test "$enableval" = yes; then
11526 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11528 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11533 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11534 if test "x$LINE" != x ; then
11535 eval "DEFAULT_$LINE"
11540 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11545 eval "$ac_cv_use_tipdlg"
11546 if test "$no_cache" != 1; then
11547 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11550 if test "$wxUSE_STARTUP_TIPS" = yes; then
11551 { echo "$as_me:$LINENO: result: yes" >&5
11552 echo "${ECHO_T}yes" >&6; }
11554 { echo "$as_me:$LINENO: result: no" >&5
11555 echo "${ECHO_T}no" >&6; }
11560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11561 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11563 # Check whether --enable-progressdlg was given.
11564 if test "${enable_progressdlg+set}" = set; then
11565 enableval=$enable_progressdlg;
11566 if test "$enableval" = yes; then
11567 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11569 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11574 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11575 if test "x$LINE" != x ; then
11576 eval "DEFAULT_$LINE"
11581 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11586 eval "$ac_cv_use_progressdlg"
11587 if test "$no_cache" != 1; then
11588 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11591 if test "$wxUSE_PROGRESSDLG" = yes; then
11592 { echo "$as_me:$LINENO: result: yes" >&5
11593 echo "${ECHO_T}yes" >&6; }
11595 { echo "$as_me:$LINENO: result: no" >&5
11596 echo "${ECHO_T}no" >&6; }
11601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11602 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11604 # Check whether --enable-wizarddlg was given.
11605 if test "${enable_wizarddlg+set}" = set; then
11606 enableval=$enable_wizarddlg;
11607 if test "$enableval" = yes; then
11608 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11610 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11615 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11616 if test "x$LINE" != x ; then
11617 eval "DEFAULT_$LINE"
11622 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11627 eval "$ac_cv_use_wizarddlg"
11628 if test "$no_cache" != 1; then
11629 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11632 if test "$wxUSE_WIZARDDLG" = yes; then
11633 { echo "$as_me:$LINENO: result: yes" >&5
11634 echo "${ECHO_T}yes" >&6; }
11636 { echo "$as_me:$LINENO: result: no" >&5
11637 echo "${ECHO_T}no" >&6; }
11644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11645 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11647 # Check whether --enable-menus was given.
11648 if test "${enable_menus+set}" = set; then
11649 enableval=$enable_menus;
11650 if test "$enableval" = yes; then
11651 ac_cv_use_menus='wxUSE_MENUS=yes'
11653 ac_cv_use_menus='wxUSE_MENUS=no'
11658 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11659 if test "x$LINE" != x ; then
11660 eval "DEFAULT_$LINE"
11665 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11670 eval "$ac_cv_use_menus"
11671 if test "$no_cache" != 1; then
11672 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11675 if test "$wxUSE_MENUS" = yes; then
11676 { echo "$as_me:$LINENO: result: yes" >&5
11677 echo "${ECHO_T}yes" >&6; }
11679 { echo "$as_me:$LINENO: result: no" >&5
11680 echo "${ECHO_T}no" >&6; }
11685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11686 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11688 # Check whether --enable-miniframe was given.
11689 if test "${enable_miniframe+set}" = set; then
11690 enableval=$enable_miniframe;
11691 if test "$enableval" = yes; then
11692 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11694 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11699 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11700 if test "x$LINE" != x ; then
11701 eval "DEFAULT_$LINE"
11706 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11711 eval "$ac_cv_use_miniframe"
11712 if test "$no_cache" != 1; then
11713 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11716 if test "$wxUSE_MINIFRAME" = yes; then
11717 { echo "$as_me:$LINENO: result: yes" >&5
11718 echo "${ECHO_T}yes" >&6; }
11720 { echo "$as_me:$LINENO: result: no" >&5
11721 echo "${ECHO_T}no" >&6; }
11726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11727 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11729 # Check whether --enable-tooltips was given.
11730 if test "${enable_tooltips+set}" = set; then
11731 enableval=$enable_tooltips;
11732 if test "$enableval" = yes; then
11733 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11735 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11740 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11741 if test "x$LINE" != x ; then
11742 eval "DEFAULT_$LINE"
11747 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11752 eval "$ac_cv_use_tooltips"
11753 if test "$no_cache" != 1; then
11754 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11757 if test "$wxUSE_TOOLTIPS" = yes; then
11758 { echo "$as_me:$LINENO: result: yes" >&5
11759 echo "${ECHO_T}yes" >&6; }
11761 { echo "$as_me:$LINENO: result: no" >&5
11762 echo "${ECHO_T}no" >&6; }
11767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11768 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11770 # Check whether --enable-splines was given.
11771 if test "${enable_splines+set}" = set; then
11772 enableval=$enable_splines;
11773 if test "$enableval" = yes; then
11774 ac_cv_use_splines='wxUSE_SPLINES=yes'
11776 ac_cv_use_splines='wxUSE_SPLINES=no'
11781 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11782 if test "x$LINE" != x ; then
11783 eval "DEFAULT_$LINE"
11788 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11793 eval "$ac_cv_use_splines"
11794 if test "$no_cache" != 1; then
11795 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11798 if test "$wxUSE_SPLINES" = yes; then
11799 { echo "$as_me:$LINENO: result: yes" >&5
11800 echo "${ECHO_T}yes" >&6; }
11802 { echo "$as_me:$LINENO: result: no" >&5
11803 echo "${ECHO_T}no" >&6; }
11808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11809 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11811 # Check whether --enable-mousewheel was given.
11812 if test "${enable_mousewheel+set}" = set; then
11813 enableval=$enable_mousewheel;
11814 if test "$enableval" = yes; then
11815 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11817 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11822 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11823 if test "x$LINE" != x ; then
11824 eval "DEFAULT_$LINE"
11829 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11834 eval "$ac_cv_use_mousewheel"
11835 if test "$no_cache" != 1; then
11836 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11839 if test "$wxUSE_MOUSEWHEEL" = yes; then
11840 { echo "$as_me:$LINENO: result: yes" >&5
11841 echo "${ECHO_T}yes" >&6; }
11843 { echo "$as_me:$LINENO: result: no" >&5
11844 echo "${ECHO_T}no" >&6; }
11849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11850 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
11852 # Check whether --enable-validators was given.
11853 if test "${enable_validators+set}" = set; then
11854 enableval=$enable_validators;
11855 if test "$enableval" = yes; then
11856 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11858 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11863 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11864 if test "x$LINE" != x ; then
11865 eval "DEFAULT_$LINE"
11870 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11875 eval "$ac_cv_use_validators"
11876 if test "$no_cache" != 1; then
11877 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11880 if test "$wxUSE_VALIDATORS" = yes; then
11881 { echo "$as_me:$LINENO: result: yes" >&5
11882 echo "${ECHO_T}yes" >&6; }
11884 { echo "$as_me:$LINENO: result: no" >&5
11885 echo "${ECHO_T}no" >&6; }
11890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11891 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
11893 # Check whether --enable-busyinfo was given.
11894 if test "${enable_busyinfo+set}" = set; then
11895 enableval=$enable_busyinfo;
11896 if test "$enableval" = yes; then
11897 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11899 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11904 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11905 if test "x$LINE" != x ; then
11906 eval "DEFAULT_$LINE"
11911 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11916 eval "$ac_cv_use_busyinfo"
11917 if test "$no_cache" != 1; then
11918 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11921 if test "$wxUSE_BUSYINFO" = yes; then
11922 { echo "$as_me:$LINENO: result: yes" >&5
11923 echo "${ECHO_T}yes" >&6; }
11925 { echo "$as_me:$LINENO: result: no" >&5
11926 echo "${ECHO_T}no" >&6; }
11931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11932 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
11934 # Check whether --enable-joystick was given.
11935 if test "${enable_joystick+set}" = set; then
11936 enableval=$enable_joystick;
11937 if test "$enableval" = yes; then
11938 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11940 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11945 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11946 if test "x$LINE" != x ; then
11947 eval "DEFAULT_$LINE"
11952 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11957 eval "$ac_cv_use_joystick"
11958 if test "$no_cache" != 1; then
11959 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11962 if test "$wxUSE_JOYSTICK" = yes; then
11963 { echo "$as_me:$LINENO: result: yes" >&5
11964 echo "${ECHO_T}yes" >&6; }
11966 { echo "$as_me:$LINENO: result: no" >&5
11967 echo "${ECHO_T}no" >&6; }
11972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11973 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
11975 # Check whether --enable-metafile was given.
11976 if test "${enable_metafile+set}" = set; then
11977 enableval=$enable_metafile;
11978 if test "$enableval" = yes; then
11979 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11981 ac_cv_use_metafile='wxUSE_METAFILE=no'
11986 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11987 if test "x$LINE" != x ; then
11988 eval "DEFAULT_$LINE"
11993 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11998 eval "$ac_cv_use_metafile"
11999 if test "$no_cache" != 1; then
12000 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
12003 if test "$wxUSE_METAFILE" = yes; then
12004 { echo "$as_me:$LINENO: result: yes" >&5
12005 echo "${ECHO_T}yes" >&6; }
12007 { echo "$as_me:$LINENO: result: no" >&5
12008 echo "${ECHO_T}no" >&6; }
12013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12014 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12016 # Check whether --enable-dragimage was given.
12017 if test "${enable_dragimage+set}" = set; then
12018 enableval=$enable_dragimage;
12019 if test "$enableval" = yes; then
12020 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12022 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12027 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
12028 if test "x$LINE" != x ; then
12029 eval "DEFAULT_$LINE"
12034 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12039 eval "$ac_cv_use_dragimage"
12040 if test "$no_cache" != 1; then
12041 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12044 if test "$wxUSE_DRAGIMAGE" = yes; then
12045 { echo "$as_me:$LINENO: result: yes" >&5
12046 echo "${ECHO_T}yes" >&6; }
12048 { echo "$as_me:$LINENO: result: no" >&5
12049 echo "${ECHO_T}no" >&6; }
12054 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12055 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12057 # Check whether --enable-accessibility was given.
12058 if test "${enable_accessibility+set}" = set; then
12059 enableval=$enable_accessibility;
12060 if test "$enableval" = yes; then
12061 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12063 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12068 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12069 if test "x$LINE" != x ; then
12070 eval "DEFAULT_$LINE"
12075 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12080 eval "$ac_cv_use_accessibility"
12081 if test "$no_cache" != 1; then
12082 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12085 if test "$wxUSE_ACCESSIBILITY" = yes; then
12086 { echo "$as_me:$LINENO: result: yes" >&5
12087 echo "${ECHO_T}yes" >&6; }
12089 { echo "$as_me:$LINENO: result: no" >&5
12090 echo "${ECHO_T}no" >&6; }
12094 if test "$wxUSE_MSW" = "1"; then
12097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12098 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12100 # Check whether --enable-dccache was given.
12101 if test "${enable_dccache+set}" = set; then
12102 enableval=$enable_dccache;
12103 if test "$enableval" = yes; then
12104 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12106 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12111 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12112 if test "x$LINE" != x ; then
12113 eval "DEFAULT_$LINE"
12118 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12123 eval "$ac_cv_use_dccache"
12124 if test "$no_cache" != 1; then
12125 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12128 if test "$wxUSE_DC_CACHEING" = yes; then
12129 { echo "$as_me:$LINENO: result: yes" >&5
12130 echo "${ECHO_T}yes" >&6; }
12132 { echo "$as_me:$LINENO: result: no" >&5
12133 echo "${ECHO_T}no" >&6; }
12141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12142 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12144 # Check whether --enable-palette was given.
12145 if test "${enable_palette+set}" = set; then
12146 enableval=$enable_palette;
12147 if test "$enableval" = yes; then
12148 ac_cv_use_palette='wxUSE_PALETTE=yes'
12150 ac_cv_use_palette='wxUSE_PALETTE=no'
12155 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
12156 if test "x$LINE" != x ; then
12157 eval "DEFAULT_$LINE"
12162 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12167 eval "$ac_cv_use_palette"
12168 if test "$no_cache" != 1; then
12169 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12172 if test "$wxUSE_PALETTE" = yes; then
12173 { echo "$as_me:$LINENO: result: yes" >&5
12174 echo "${ECHO_T}yes" >&6; }
12176 { echo "$as_me:$LINENO: result: no" >&5
12177 echo "${ECHO_T}no" >&6; }
12182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12183 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12185 # Check whether --enable-image was given.
12186 if test "${enable_image+set}" = set; then
12187 enableval=$enable_image;
12188 if test "$enableval" = yes; then
12189 ac_cv_use_image='wxUSE_IMAGE=yes'
12191 ac_cv_use_image='wxUSE_IMAGE=no'
12196 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12197 if test "x$LINE" != x ; then
12198 eval "DEFAULT_$LINE"
12203 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12208 eval "$ac_cv_use_image"
12209 if test "$no_cache" != 1; then
12210 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12213 if test "$wxUSE_IMAGE" = yes; then
12214 { echo "$as_me:$LINENO: result: yes" >&5
12215 echo "${ECHO_T}yes" >&6; }
12217 { echo "$as_me:$LINENO: result: no" >&5
12218 echo "${ECHO_T}no" >&6; }
12223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12224 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12226 # Check whether --enable-gif was given.
12227 if test "${enable_gif+set}" = set; then
12228 enableval=$enable_gif;
12229 if test "$enableval" = yes; then
12230 ac_cv_use_gif='wxUSE_GIF=yes'
12232 ac_cv_use_gif='wxUSE_GIF=no'
12237 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12238 if test "x$LINE" != x ; then
12239 eval "DEFAULT_$LINE"
12244 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12249 eval "$ac_cv_use_gif"
12250 if test "$no_cache" != 1; then
12251 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12254 if test "$wxUSE_GIF" = yes; then
12255 { echo "$as_me:$LINENO: result: yes" >&5
12256 echo "${ECHO_T}yes" >&6; }
12258 { echo "$as_me:$LINENO: result: no" >&5
12259 echo "${ECHO_T}no" >&6; }
12264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12265 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12267 # Check whether --enable-pcx was given.
12268 if test "${enable_pcx+set}" = set; then
12269 enableval=$enable_pcx;
12270 if test "$enableval" = yes; then
12271 ac_cv_use_pcx='wxUSE_PCX=yes'
12273 ac_cv_use_pcx='wxUSE_PCX=no'
12278 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12279 if test "x$LINE" != x ; then
12280 eval "DEFAULT_$LINE"
12285 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12290 eval "$ac_cv_use_pcx"
12291 if test "$no_cache" != 1; then
12292 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12295 if test "$wxUSE_PCX" = yes; then
12296 { echo "$as_me:$LINENO: result: yes" >&5
12297 echo "${ECHO_T}yes" >&6; }
12299 { echo "$as_me:$LINENO: result: no" >&5
12300 echo "${ECHO_T}no" >&6; }
12305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12306 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12308 # Check whether --enable-tga was given.
12309 if test "${enable_tga+set}" = set; then
12310 enableval=$enable_tga;
12311 if test "$enableval" = yes; then
12312 ac_cv_use_tga='wxUSE_TGA=yes'
12314 ac_cv_use_tga='wxUSE_TGA=no'
12319 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12320 if test "x$LINE" != x ; then
12321 eval "DEFAULT_$LINE"
12326 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12331 eval "$ac_cv_use_tga"
12332 if test "$no_cache" != 1; then
12333 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12336 if test "$wxUSE_TGA" = yes; then
12337 { echo "$as_me:$LINENO: result: yes" >&5
12338 echo "${ECHO_T}yes" >&6; }
12340 { echo "$as_me:$LINENO: result: no" >&5
12341 echo "${ECHO_T}no" >&6; }
12346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12347 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12349 # Check whether --enable-iff was given.
12350 if test "${enable_iff+set}" = set; then
12351 enableval=$enable_iff;
12352 if test "$enableval" = yes; then
12353 ac_cv_use_iff='wxUSE_IFF=yes'
12355 ac_cv_use_iff='wxUSE_IFF=no'
12360 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12361 if test "x$LINE" != x ; then
12362 eval "DEFAULT_$LINE"
12367 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12372 eval "$ac_cv_use_iff"
12373 if test "$no_cache" != 1; then
12374 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12377 if test "$wxUSE_IFF" = yes; then
12378 { echo "$as_me:$LINENO: result: yes" >&5
12379 echo "${ECHO_T}yes" >&6; }
12381 { echo "$as_me:$LINENO: result: no" >&5
12382 echo "${ECHO_T}no" >&6; }
12387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12388 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12390 # Check whether --enable-pnm was given.
12391 if test "${enable_pnm+set}" = set; then
12392 enableval=$enable_pnm;
12393 if test "$enableval" = yes; then
12394 ac_cv_use_pnm='wxUSE_PNM=yes'
12396 ac_cv_use_pnm='wxUSE_PNM=no'
12401 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12402 if test "x$LINE" != x ; then
12403 eval "DEFAULT_$LINE"
12408 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12413 eval "$ac_cv_use_pnm"
12414 if test "$no_cache" != 1; then
12415 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12418 if test "$wxUSE_PNM" = yes; then
12419 { echo "$as_me:$LINENO: result: yes" >&5
12420 echo "${ECHO_T}yes" >&6; }
12422 { echo "$as_me:$LINENO: result: no" >&5
12423 echo "${ECHO_T}no" >&6; }
12428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12429 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12431 # Check whether --enable-xpm was given.
12432 if test "${enable_xpm+set}" = set; then
12433 enableval=$enable_xpm;
12434 if test "$enableval" = yes; then
12435 ac_cv_use_xpm='wxUSE_XPM=yes'
12437 ac_cv_use_xpm='wxUSE_XPM=no'
12442 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12443 if test "x$LINE" != x ; then
12444 eval "DEFAULT_$LINE"
12449 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12454 eval "$ac_cv_use_xpm"
12455 if test "$no_cache" != 1; then
12456 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12459 if test "$wxUSE_XPM" = yes; then
12460 { echo "$as_me:$LINENO: result: yes" >&5
12461 echo "${ECHO_T}yes" >&6; }
12463 { echo "$as_me:$LINENO: result: no" >&5
12464 echo "${ECHO_T}no" >&6; }
12469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12470 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12472 # Check whether --enable-ico_cur was given.
12473 if test "${enable_ico_cur+set}" = set; then
12474 enableval=$enable_ico_cur;
12475 if test "$enableval" = yes; then
12476 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12478 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12483 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12484 if test "x$LINE" != x ; then
12485 eval "DEFAULT_$LINE"
12490 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12495 eval "$ac_cv_use_ico_cur"
12496 if test "$no_cache" != 1; then
12497 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12500 if test "$wxUSE_ICO_CUR" = yes; then
12501 { echo "$as_me:$LINENO: result: yes" >&5
12502 echo "${ECHO_T}yes" >&6; }
12504 { echo "$as_me:$LINENO: result: no" >&5
12505 echo "${ECHO_T}no" >&6; }
12513 # Check whether --with-flavour was given.
12514 if test "${with_flavour+set}" = set; then
12515 withval=$with_flavour; WX_FLAVOUR="$withval"
12522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12523 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12525 # Check whether --enable-official_build was given.
12526 if test "${enable_official_build+set}" = set; then
12527 enableval=$enable_official_build;
12528 if test "$enableval" = yes; then
12529 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12531 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12536 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12537 if test "x$LINE" != x ; then
12538 eval "DEFAULT_$LINE"
12543 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12548 eval "$ac_cv_use_official_build"
12549 if test "$no_cache" != 1; then
12550 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12553 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12554 { echo "$as_me:$LINENO: result: yes" >&5
12555 echo "${ECHO_T}yes" >&6; }
12557 { echo "$as_me:$LINENO: result: no" >&5
12558 echo "${ECHO_T}no" >&6; }
12561 # Check whether --enable-vendor was given.
12562 if test "${enable_vendor+set}" = set; then
12563 enableval=$enable_vendor; VENDOR="$enableval"
12566 if test "x$VENDOR" = "x"; then
12573 echo "saving argument cache $wx_arg_cache_file"
12574 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12578 { echo "$as_me:$LINENO: checking for toolkit" >&5
12579 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12581 # In Wine, we need to default to MSW, not GTK or MOTIF
12582 if test "$wxUSE_WINE" = "yes"; then
12583 DEFAULT_DEFAULT_wxUSE_GTK=0
12584 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12585 DEFAULT_DEFAULT_wxUSE_MSW=1
12588 CXX=${CXX:-wineg++}
12592 if test "$wxUSE_GUI" = "yes"; then
12594 if test "$USE_BEOS" = 1; then
12595 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12596 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12597 { (exit 1); exit 1; }; }
12600 if test "$TOOLKIT_GIVEN" = 1; then
12601 for toolkit in `echo $ALL_TOOLKITS`; do
12603 eval "value=\$${var}"
12604 if test "x$value" = "xno"; then
12606 elif test "x$value" != "x"; then
12610 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12611 eval "wx${toolkit}_VERSION=$value"
12615 for toolkit in `echo $ALL_TOOLKITS`; do
12616 if test "$has_toolkit_in_cache" != 1; then
12617 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12619 var=DEFAULT_wxUSE_$toolkit
12621 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12622 if test "x$version" != "x"; then
12623 eval "wx${toolkit}_VERSION=$version"
12626 eval "wxUSE_$toolkit=\$${var}"
12630 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12631 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12632 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12635 *-pc-os2_emx | *-pc-os2-emx )
12636 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12639 case "$NUM_TOOLKITS" in
12643 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12644 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12645 { (exit 1); exit 1; }; }
12648 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12649 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12650 { (exit 1); exit 1; }; }
12653 # to be removed when --disable-gtk2 isn't needed
12654 if test "x$wxUSE_GTK2" = "xyes"; then
12656 elif test "x$wxUSE_GTK2" = "xno"; then
12660 for toolkit in `echo $ALL_TOOLKITS`; do
12662 eval "value=\$${var}"
12663 if test "x$value" != x; then
12664 cache_var=CACHE_$toolkit
12665 eval "cache=\$${cache_var}"
12666 if test "$cache" = 1; then
12667 echo "$var=$value" >> ${wx_arg_cache_file}
12668 eval "version=\$wx${toolkit}_VERSION"
12669 if test "x$version" != "x"; then
12670 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12673 if test "$value" = 1; then
12674 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12675 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12676 echo "${ECHO_T}$toolkit_echo" >&6; }
12681 if test "x$host_alias" != "x"; then
12682 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12683 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12685 { echo "$as_me:$LINENO: result: base only" >&5
12686 echo "${ECHO_T}base only" >&6; }
12691 cat >confcache <<\_ACEOF
12692 # This file is a shell script that caches the results of configure
12693 # tests run on this system so they can be shared between configure
12694 # scripts and configure runs, see configure's option --config-cache.
12695 # It is not useful on other systems. If it contains results you don't
12696 # want to keep, you may remove or edit it.
12698 # config.status only pays attention to the cache file if you give it
12699 # the --recheck option to rerun configure.
12701 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
12702 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12703 # following values.
12707 # The following way of writing the cache mishandles newlines in values,
12708 # but we know of no workaround that is simple, portable, and efficient.
12709 # So, we kill variables containing newlines.
12710 # Ultrix sh set writes to stderr and can't be redirected directly,
12711 # and sets the high bit in the cache file unless we assign to the vars.
12713 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12714 eval ac_val
=\$
$ac_var
12718 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12719 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12722 _
| IFS
| as_nl
) ;; #(
12723 *) $as_unset $ac_var ;;
12729 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12730 *${as_nl}ac_space
=\
*)
12731 # `set' does not quote correctly, so add quotes (double-quote
12732 # substitution turns \\\\ into \\, and sed turns \\ into \).
12735 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12738 # `set' quotes correctly as required by POSIX, so do not add quotes.
12739 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12748 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12750 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12752 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12753 if test -w "$cache_file"; then
12754 test "x$cache_file" != "x/dev/null" &&
12755 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12756 echo "$as_me: updating cache $cache_file" >&6;}
12757 cat confcache
>$cache_file
12759 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12760 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12770 ac_cpp
='$CPP $CPPFLAGS'
12771 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12772 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12773 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12774 if test -n "$ac_tool_prefix"; then
12775 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12776 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
12777 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12779 if test "${ac_cv_prog_CC+set}" = set; then
12780 echo $ECHO_N "(cached) $ECHO_C" >&6
12782 if test -n "$CC"; then
12783 ac_cv_prog_CC
="$CC" # Let the user override the test.
12785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12786 for as_dir
in $PATH
12789 test -z "$as_dir" && as_dir
=.
12790 for ac_exec_ext
in '' $ac_executable_extensions; do
12791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12792 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
12793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12803 if test -n "$CC"; then
12804 { echo "$as_me:$LINENO: result: $CC" >&5
12805 echo "${ECHO_T}$CC" >&6; }
12807 { echo "$as_me:$LINENO: result: no" >&5
12808 echo "${ECHO_T}no" >&6; }
12813 if test -z "$ac_cv_prog_CC"; then
12815 # Extract the first word of "gcc", so it can be a program name with args.
12816 set dummy gcc
; ac_word
=$2
12817 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12819 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12820 echo $ECHO_N "(cached) $ECHO_C" >&6
12822 if test -n "$ac_ct_CC"; then
12823 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12826 for as_dir
in $PATH
12829 test -z "$as_dir" && as_dir
=.
12830 for ac_exec_ext
in '' $ac_executable_extensions; do
12831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12832 ac_cv_prog_ac_ct_CC
="gcc"
12833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12842 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12843 if test -n "$ac_ct_CC"; then
12844 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12845 echo "${ECHO_T}$ac_ct_CC" >&6; }
12847 { echo "$as_me:$LINENO: result: no" >&5
12848 echo "${ECHO_T}no" >&6; }
12851 if test "x$ac_ct_CC" = x
; then
12854 case $cross_compiling:$ac_tool_warned in
12856 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12857 whose name does not start with the host triplet. If you think this
12858 configuration is useful to you, please write to autoconf@gnu.org." >&5
12859 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12860 whose name does not start with the host triplet. If you think this
12861 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12862 ac_tool_warned
=yes ;;
12867 CC
="$ac_cv_prog_CC"
12870 if test -z "$CC"; then
12871 if test -n "$ac_tool_prefix"; then
12872 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12873 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
12874 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12876 if test "${ac_cv_prog_CC+set}" = set; then
12877 echo $ECHO_N "(cached) $ECHO_C" >&6
12879 if test -n "$CC"; then
12880 ac_cv_prog_CC
="$CC" # Let the user override the test.
12882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12883 for as_dir
in $PATH
12886 test -z "$as_dir" && as_dir
=.
12887 for ac_exec_ext
in '' $ac_executable_extensions; do
12888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12889 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12900 if test -n "$CC"; then
12901 { echo "$as_me:$LINENO: result: $CC" >&5
12902 echo "${ECHO_T}$CC" >&6; }
12904 { echo "$as_me:$LINENO: result: no" >&5
12905 echo "${ECHO_T}no" >&6; }
12911 if test -z "$CC"; then
12912 # Extract the first word of "cc", so it can be a program name with args.
12913 set dummy cc
; ac_word
=$2
12914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12916 if test "${ac_cv_prog_CC+set}" = set; then
12917 echo $ECHO_N "(cached) $ECHO_C" >&6
12919 if test -n "$CC"; then
12920 ac_cv_prog_CC
="$CC" # Let the user override the test.
12922 ac_prog_rejected
=no
12923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12924 for as_dir
in $PATH
12927 test -z "$as_dir" && as_dir
=.
12928 for ac_exec_ext
in '' $ac_executable_extensions; do
12929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12930 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12931 ac_prog_rejected
=yes
12935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12942 if test $ac_prog_rejected = yes; then
12943 # We found a bogon in the path, so make sure we never use it.
12944 set dummy
$ac_cv_prog_CC
12946 if test $# != 0; then
12947 # We chose a different compiler from the bogus one.
12948 # However, it has the same basename, so the bogon will be chosen
12949 # first if we set CC to just the basename; use the full file name.
12951 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12957 if test -n "$CC"; then
12958 { echo "$as_me:$LINENO: result: $CC" >&5
12959 echo "${ECHO_T}$CC" >&6; }
12961 { echo "$as_me:$LINENO: result: no" >&5
12962 echo "${ECHO_T}no" >&6; }
12967 if test -z "$CC"; then
12968 if test -n "$ac_tool_prefix"; then
12969 for ac_prog
in cl.exe
12971 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12972 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12973 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12975 if test "${ac_cv_prog_CC+set}" = set; then
12976 echo $ECHO_N "(cached) $ECHO_C" >&6
12978 if test -n "$CC"; then
12979 ac_cv_prog_CC
="$CC" # Let the user override the test.
12981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12982 for as_dir
in $PATH
12985 test -z "$as_dir" && as_dir
=.
12986 for ac_exec_ext
in '' $ac_executable_extensions; do
12987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12988 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12999 if test -n "$CC"; then
13000 { echo "$as_me:$LINENO: result: $CC" >&5
13001 echo "${ECHO_T}$CC" >&6; }
13003 { echo "$as_me:$LINENO: result: no" >&5
13004 echo "${ECHO_T}no" >&6; }
13008 test -n "$CC" && break
13011 if test -z "$CC"; then
13013 for ac_prog
in cl.exe
13015 # Extract the first word of "$ac_prog", so it can be a program name with args.
13016 set dummy
$ac_prog; ac_word
=$2
13017 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13019 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13020 echo $ECHO_N "(cached) $ECHO_C" >&6
13022 if test -n "$ac_ct_CC"; then
13023 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13026 for as_dir
in $PATH
13029 test -z "$as_dir" && as_dir
=.
13030 for ac_exec_ext
in '' $ac_executable_extensions; do
13031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13032 ac_cv_prog_ac_ct_CC
="$ac_prog"
13033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13042 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13043 if test -n "$ac_ct_CC"; then
13044 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13045 echo "${ECHO_T}$ac_ct_CC" >&6; }
13047 { echo "$as_me:$LINENO: result: no" >&5
13048 echo "${ECHO_T}no" >&6; }
13052 test -n "$ac_ct_CC" && break
13055 if test "x$ac_ct_CC" = x
; then
13058 case $cross_compiling:$ac_tool_warned in
13060 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13061 whose name does not start with the host triplet. If you think this
13062 configuration is useful to you, please write to autoconf@gnu.org." >&5
13063 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13064 whose name does not start with the host triplet. If you think this
13065 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13066 ac_tool_warned
=yes ;;
13075 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13076 See \`config.log' for more details." >&5
13077 echo "$as_me: error: no acceptable C compiler found in \$PATH
13078 See \`config.log' for more details." >&2;}
13079 { (exit 1); exit 1; }; }
13081 # Provide some information about the compiler.
13082 echo "$as_me:$LINENO: checking for C compiler version" >&5
13083 ac_compiler
=`set X $ac_compile; echo $2`
13084 { (ac_try
="$ac_compiler --version >&5"
13085 case "(($ac_try" in
13086 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13087 *) ac_try_echo=$ac_try;;
13089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13090 (eval "$ac_compiler --version >&5") 2>&5
13092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13093 (exit $ac_status); }
13094 { (ac_try="$ac_compiler -v >&5"
13095 case "(($ac_try" in
13096 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
13097 *) ac_try_echo
=$ac_try;;
13099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13100 (eval "$ac_compiler -v >&5") 2>&5
13102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13103 (exit $ac_status); }
13104 { (ac_try
="$ac_compiler -V >&5"
13105 case "(($ac_try" in
13106 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13107 *) ac_try_echo=$ac_try;;
13109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13110 (eval "$ac_compiler -V >&5") 2>&5
13112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13113 (exit $ac_status); }
13115 cat >conftest.$ac_ext <<_ACEOF
13118 cat confdefs.h >>conftest.$ac_ext
13119 cat >>conftest.$ac_ext <<_ACEOF
13120 /* end confdefs.h. */
13130 ac_clean_files_save=$ac_clean_files
13131 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13132 # Try to create an executable without -o first, disregard a.out.
13133 # It will help us diagnose broken compilers, and finding out an intuition
13135 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13136 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13137 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13139 # List of possible output files, starting from the most likely.
13140 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
13141 # only as a last resort. b.out is created by i960 compilers.
13142 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
13144 # The IRIX 6 linker writes into existing files which may not be
13145 # executable, retaining their permissions. Remove them first so a
13146 # subsequent execution test works.
13148 for ac_file in $ac_files
13151 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13152 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13157 if { (ac_try="$ac_link_default"
13158 case "(($ac_try" in
13159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13160 *) ac_try_echo=$ac_try;;
13162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13163 (eval "$ac_link_default") 2>&5
13165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13166 (exit $ac_status); }; then
13167 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13168 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13169 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13170 # so that the user can short-circuit this test for compilers unknown to
13172 for ac_file
in $ac_files
13174 test -f "$ac_file" || continue
13176 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
13179 # We found the default executable, but exeext='' is most
13183 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
13185 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
13187 # We set ac_cv_exeext here because the later test for it is not
13188 # safe: cross compilers may not add the suffix if given an `-o'
13189 # argument, so we may need to know it at that point already.
13190 # Even if this section looks crufty: it has the advantage of
13191 # actually working.
13197 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
13200 echo "$as_me: failed program was:" >&5
13201 sed 's/^/| /' conftest.
$ac_ext >&5
13203 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13204 See \`config.log' for more details." >&5
13205 echo "$as_me: error: C compiler cannot create executables
13206 See \`config.log' for more details." >&2;}
13207 { (exit 77); exit 77; }; }
13210 ac_exeext
=$ac_cv_exeext
13211 { echo "$as_me:$LINENO: result: $ac_file" >&5
13212 echo "${ECHO_T}$ac_file" >&6; }
13214 # Check that the compiler produces executables we can run. If not, either
13215 # the compiler is broken, or we cross compile.
13216 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13217 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13218 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13219 # If not cross compiling, check that we can run a simple program.
13220 if test "$cross_compiling" != yes; then
13221 if { ac_try
='./$ac_file'
13222 { (case "(($ac_try" in
13223 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13224 *) ac_try_echo=$ac_try;;
13226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13227 (eval "$ac_try") 2>&5
13229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13230 (exit $ac_status); }; }; then
13233 if test "$cross_compiling" = maybe; then
13234 cross_compiling=yes
13236 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13237 If you meant to cross compile, use \`--host'.
13238 See \`config.log' for more details.
" >&5
13239 echo "$as_me: error
: cannot run C compiled programs.
13240 If you meant to cross compile
, use \
`--host'.
13241 See \`config.log
' for more details." >&2;}
13242 { (exit 1); exit 1; }; }
13246 { echo "$as_me:$LINENO: result: yes" >&5
13247 echo "${ECHO_T}yes" >&6; }
13249 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13250 ac_clean_files=$ac_clean_files_save
13251 # Check that the compiler produces executables we can run. If not, either
13252 # the compiler is broken, or we cross compile.
13253 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13254 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13255 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13256 echo "${ECHO_T}$cross_compiling" >&6; }
13258 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13259 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13260 if { (ac_try="$ac_link"
13261 case "(($ac_try" in
13262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13263 *) ac_try_echo=$ac_try;;
13265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13266 (eval "$ac_link") 2>&5
13268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13269 (exit $ac_status); }; then
13270 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
13271 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
13272 # work properly (i.e., refer to `conftest.exe
'), while it won't with
13274 for ac_file
in conftest.exe conftest conftest.
*; do
13275 test -f "$ac_file" || continue
13277 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
13278 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
13284 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13285 See \`config.log' for more details." >&5
13286 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13287 See \`config.log' for more details." >&2;}
13288 { (exit 1); exit 1; }; }
13291 rm -f conftest
$ac_cv_exeext
13292 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13293 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13295 rm -f conftest.
$ac_ext
13296 EXEEXT
=$ac_cv_exeext
13298 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13299 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13300 if test "${ac_cv_objext+set}" = set; then
13301 echo $ECHO_N "(cached) $ECHO_C" >&6
13303 cat >conftest.
$ac_ext <<_ACEOF
13306 cat confdefs.h
>>conftest.
$ac_ext
13307 cat >>conftest.
$ac_ext <<_ACEOF
13308 /* end confdefs.h. */
13318 rm -f conftest.o conftest.obj
13319 if { (ac_try
="$ac_compile"
13320 case "(($ac_try" in
13321 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13322 *) ac_try_echo=$ac_try;;
13324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13325 (eval "$ac_compile") 2>&5
13327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13328 (exit $ac_status); }; then
13329 for ac_file in conftest.o conftest.obj conftest.*; do
13330 test -f "$ac_file" || continue;
13332 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13333 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13338 echo "$as_me: failed program was:" >&5
13339 sed 's/^/| /' conftest.$ac_ext >&5
13341 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13342 See \`config.log
' for more details." >&5
13343 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13344 See \`config.log' for more details.
" >&2;}
13345 { (exit 1); exit 1; }; }
13348 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13350 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
13351 echo "${ECHO_T}$ac_cv_objext" >&6; }
13352 OBJEXT=$ac_cv_objext
13354 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
13355 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
13356 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13357 echo $ECHO_N "(cached
) $ECHO_C" >&6
13359 cat >conftest.$ac_ext <<_ACEOF
13362 cat confdefs.h >>conftest.$ac_ext
13363 cat >>conftest.$ac_ext <<_ACEOF
13364 /* end confdefs.h. */
13377 rm -f conftest.$ac_objext
13378 if { (ac_try="$ac_compile"
13379 case "(($ac_try" in
13380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13381 *) ac_try_echo=$ac_try;;
13383 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13384 (eval "$ac_compile") 2>conftest.er1
13386 grep -v '^ *+' conftest.er1 >conftest.err
13388 cat conftest.err >&5
13389 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13390 (exit $ac_status); } &&
13391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13392 { (case "(($ac_try" in
13393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13394 *) ac_try_echo=$ac_try;;
13396 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13397 (eval "$ac_try") 2>&5
13399 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13400 (exit $ac_status); }; } &&
13401 { ac_try='test -s conftest.$ac_objext'
13402 { (case "(($ac_try" in
13403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13404 *) ac_try_echo=$ac_try;;
13406 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13407 (eval "$ac_try") 2>&5
13409 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13410 (exit $ac_status); }; }; then
13411 ac_compiler_gnu=yes
13413 echo "$as_me: failed program was
:" >&5
13414 sed 's/^/| /' conftest.$ac_ext >&5
13419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13420 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13423 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
13424 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13425 GCC=`test $ac_compiler_gnu = yes && echo yes`
13426 ac_test_CFLAGS=${CFLAGS+set}
13427 ac_save_CFLAGS=$CFLAGS
13428 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
13429 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
13430 if test "${ac_cv_prog_cc_g+set}" = set; then
13431 echo $ECHO_N "(cached
) $ECHO_C" >&6
13433 ac_save_c_werror_flag=$ac_c_werror_flag
13434 ac_c_werror_flag=yes
13437 cat >conftest.$ac_ext <<_ACEOF
13440 cat confdefs.h >>conftest.$ac_ext
13441 cat >>conftest.$ac_ext <<_ACEOF
13442 /* end confdefs.h. */
13452 rm -f conftest.$ac_objext
13453 if { (ac_try="$ac_compile"
13454 case "(($ac_try" in
13455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13456 *) ac_try_echo=$ac_try;;
13458 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13459 (eval "$ac_compile") 2>conftest.er1
13461 grep -v '^ *+' conftest.er1 >conftest.err
13463 cat conftest.err >&5
13464 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13465 (exit $ac_status); } &&
13466 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13467 { (case "(($ac_try" in
13468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13469 *) ac_try_echo=$ac_try;;
13471 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13472 (eval "$ac_try") 2>&5
13474 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13475 (exit $ac_status); }; } &&
13476 { ac_try='test -s conftest.$ac_objext'
13477 { (case "(($ac_try" in
13478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13479 *) ac_try_echo=$ac_try;;
13481 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13482 (eval "$ac_try") 2>&5
13484 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13485 (exit $ac_status); }; }; then
13486 ac_cv_prog_cc_g=yes
13488 echo "$as_me: failed program was
:" >&5
13489 sed 's/^/| /' conftest.$ac_ext >&5
13492 cat >conftest.$ac_ext <<_ACEOF
13495 cat confdefs.h >>conftest.$ac_ext
13496 cat >>conftest.$ac_ext <<_ACEOF
13497 /* end confdefs.h. */
13507 rm -f conftest.$ac_objext
13508 if { (ac_try="$ac_compile"
13509 case "(($ac_try" in
13510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13511 *) ac_try_echo=$ac_try;;
13513 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13514 (eval "$ac_compile") 2>conftest.er1
13516 grep -v '^ *+' conftest.er1 >conftest.err
13518 cat conftest.err >&5
13519 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13520 (exit $ac_status); } &&
13521 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13522 { (case "(($ac_try" in
13523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13524 *) ac_try_echo=$ac_try;;
13526 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13527 (eval "$ac_try") 2>&5
13529 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13530 (exit $ac_status); }; } &&
13531 { ac_try='test -s conftest.$ac_objext'
13532 { (case "(($ac_try" in
13533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13534 *) ac_try_echo=$ac_try;;
13536 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13537 (eval "$ac_try") 2>&5
13539 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13540 (exit $ac_status); }; }; then
13543 echo "$as_me: failed program was
:" >&5
13544 sed 's/^/| /' conftest.$ac_ext >&5
13546 ac_c_werror_flag=$ac_save_c_werror_flag
13548 cat >conftest.$ac_ext <<_ACEOF
13551 cat confdefs.h >>conftest.$ac_ext
13552 cat >>conftest.$ac_ext <<_ACEOF
13553 /* end confdefs.h. */
13563 rm -f conftest.$ac_objext
13564 if { (ac_try="$ac_compile"
13565 case "(($ac_try" in
13566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13567 *) ac_try_echo=$ac_try;;
13569 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13570 (eval "$ac_compile") 2>conftest.er1
13572 grep -v '^ *+' conftest.er1 >conftest.err
13574 cat conftest.err >&5
13575 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13576 (exit $ac_status); } &&
13577 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13578 { (case "(($ac_try" in
13579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13580 *) ac_try_echo=$ac_try;;
13582 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13583 (eval "$ac_try") 2>&5
13585 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13586 (exit $ac_status); }; } &&
13587 { ac_try='test -s conftest.$ac_objext'
13588 { (case "(($ac_try" in
13589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13590 *) ac_try_echo=$ac_try;;
13592 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13593 (eval "$ac_try") 2>&5
13595 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13596 (exit $ac_status); }; }; then
13597 ac_cv_prog_cc_g=yes
13599 echo "$as_me: failed program was
:" >&5
13600 sed 's/^/| /' conftest.$ac_ext >&5
13605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13612 ac_c_werror_flag=$ac_save_c_werror_flag
13614 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
13615 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13616 if test "$ac_test_CFLAGS" = set; then
13617 CFLAGS=$ac_save_CFLAGS
13618 elif test $ac_cv_prog_cc_g = yes; then
13619 if test "$GCC" = yes; then
13625 if test "$GCC" = yes; then
13631 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
13632 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
13633 if test "${ac_cv_prog_cc_c89+set}" = set; then
13634 echo $ECHO_N "(cached
) $ECHO_C" >&6
13636 ac_cv_prog_cc_c89=no
13638 cat >conftest.$ac_ext <<_ACEOF
13641 cat confdefs.h >>conftest.$ac_ext
13642 cat >>conftest.$ac_ext <<_ACEOF
13643 /* end confdefs.h. */
13644 #include <stdarg.h>
13646 #include <sys/types.h>
13647 #include <sys/stat.h>
13648 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13649 struct buf { int x; };
13650 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13651 static char *e (p, i)
13657 static char *f (char * (*g) (char **, int), char **p, ...)
13662 s = g (p, va_arg (v,int));
13667 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13668 function prototypes and stuff, but not '\xHH' hex character constants.
13669 These don't provoke an error unfortunately, instead are silently treated
13670 as 'x'. The following induces an error, until -std is added to get
13671 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13672 array size at least. It's necessary to write '\x00'==0 to get something
13673 that's true only with -std. */
13674 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13676 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13677 inside strings and character constants. */
13679 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13681 int test (int i, double x);
13682 struct s1 {int (*f) (int a);};
13683 struct s2 {int (*f) (double a);};
13684 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13690 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13695 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13696 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13698 CC="$ac_save_CC $ac_arg"
13699 rm -f conftest.$ac_objext
13700 if { (ac_try="$ac_compile"
13701 case "(($ac_try" in
13702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13703 *) ac_try_echo=$ac_try;;
13705 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13706 (eval "$ac_compile") 2>conftest.er1
13708 grep -v '^ *+' conftest.er1 >conftest.err
13710 cat conftest.err >&5
13711 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13712 (exit $ac_status); } &&
13713 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13714 { (case "(($ac_try" in
13715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13716 *) ac_try_echo=$ac_try;;
13718 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13719 (eval "$ac_try") 2>&5
13721 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13722 (exit $ac_status); }; } &&
13723 { ac_try='test -s conftest.$ac_objext'
13724 { (case "(($ac_try" in
13725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13726 *) ac_try_echo=$ac_try;;
13728 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13729 (eval "$ac_try") 2>&5
13731 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13732 (exit $ac_status); }; }; then
13733 ac_cv_prog_cc_c89=$ac_arg
13735 echo "$as_me: failed program was
:" >&5
13736 sed 's/^/| /' conftest.$ac_ext >&5
13741 rm -f core conftest.err conftest.$ac_objext
13742 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
13744 rm -f conftest.$ac_ext
13749 case "x
$ac_cv_prog_cc_c89" in
13751 { echo "$as_me:$LINENO: result
: none needed
" >&5
13752 echo "${ECHO_T}none needed
" >&6; } ;;
13754 { echo "$as_me:$LINENO: result
: unsupported
" >&5
13755 echo "${ECHO_T}unsupported
" >&6; } ;;
13757 CC="$CC $ac_cv_prog_cc_c89"
13758 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
13759 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13764 ac_cpp='$CPP $CPPFLAGS'
13765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13772 ac_cpp='$CPP $CPPFLAGS'
13773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13777 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
13778 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
13779 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13780 echo $ECHO_N "(cached
) $ECHO_C" >&6
13782 cat >conftest.$ac_ext <<_ACEOF
13785 cat confdefs.h >>conftest.$ac_ext
13786 cat >>conftest.$ac_ext <<_ACEOF
13787 /* end confdefs.h. */
13793 #ifndef __INTEL_COMPILER
13801 rm -f conftest.$ac_objext
13802 if { (ac_try="$ac_compile"
13803 case "(($ac_try" in
13804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13805 *) ac_try_echo=$ac_try;;
13807 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13808 (eval "$ac_compile") 2>conftest.er1
13810 grep -v '^ *+' conftest.er1 >conftest.err
13812 cat conftest.err >&5
13813 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13814 (exit $ac_status); } &&
13815 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13816 { (case "(($ac_try" in
13817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13818 *) ac_try_echo=$ac_try;;
13820 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13821 (eval "$ac_try") 2>&5
13823 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13824 (exit $ac_status); }; } &&
13825 { ac_try='test -s conftest.$ac_objext'
13826 { (case "(($ac_try" in
13827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13828 *) ac_try_echo=$ac_try;;
13830 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13831 (eval "$ac_try") 2>&5
13833 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13834 (exit $ac_status); }; }; then
13835 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13837 echo "$as_me: failed program was
:" >&5
13838 sed 's/^/| /' conftest.$ac_ext >&5
13840 bakefile_cv_c_compiler___INTEL_COMPILER=no
13844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13848 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13849 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13850 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
13856 ac_cpp='$CPP $CPPFLAGS'
13857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13863 if test "x
$GCC" != "xyes
"; then
13864 if test "xCC
" = "xC
"; then
13865 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
13866 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
13867 if test "${bakefile_cv_c_exto+set}" = set; then
13868 echo $ECHO_N "(cached
) $ECHO_C" >&6
13870 cat >conftest.$ac_ext <<_ACEOF
13873 cat confdefs.h >>conftest.$ac_ext
13874 cat >>conftest.$ac_ext <<_ACEOF
13875 /* end confdefs.h. */
13885 rm -f conftest.$ac_objext conftest.$ac_ext.o
13886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13887 (eval $ac_compile) 2>&5
13889 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13890 (exit $ac_status); }; then
13891 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13893 conftest.$ac_ext.o)
13894 bakefile_cv_c_exto="-ext o
"
13901 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
13902 See \
`config.log' for more details." >&5
13903 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13904 See \`config.log
' for more details." >&2;}
13905 { (exit 1); exit 1; }; }
13909 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13912 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13913 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13914 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13915 if test "c" = "c"; then
13916 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13918 if test "c" = "cxx"; then
13919 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13923 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13924 unset ac_cv_prog_cc_g
13925 ac_test_CFLAGS=${CFLAGS+set}
13926 ac_save_CFLAGS=$CFLAGS
13927 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13928 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13929 if test "${ac_cv_prog_cc_g+set}" = set; then
13930 echo $ECHO_N "(cached) $ECHO_C" >&6
13932 ac_save_c_werror_flag=$ac_c_werror_flag
13933 ac_c_werror_flag=yes
13936 cat >conftest.$ac_ext <<_ACEOF
13939 cat confdefs.h >>conftest.$ac_ext
13940 cat >>conftest.$ac_ext <<_ACEOF
13941 /* end confdefs.h. */
13951 rm -f conftest.$ac_objext
13952 if { (ac_try="$ac_compile"
13953 case "(($ac_try" in
13954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13955 *) ac_try_echo=$ac_try;;
13957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13958 (eval "$ac_compile") 2>conftest.er1
13960 grep -v '^
*+' conftest.er1 >conftest.err
13962 cat conftest.err >&5
13963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13964 (exit $ac_status); } &&
13965 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
13966 { (case "(($ac_try" in
13967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13968 *) ac_try_echo=$ac_try;;
13970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13971 (eval "$ac_try") 2>&5
13973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13974 (exit $ac_status); }; } &&
13975 { ac_try='test -s conftest.
$ac_objext'
13976 { (case "(($ac_try" in
13977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13978 *) ac_try_echo=$ac_try;;
13980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13981 (eval "$ac_try") 2>&5
13983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13984 (exit $ac_status); }; }; then
13985 ac_cv_prog_cc_g=yes
13987 echo "$as_me: failed program was:" >&5
13988 sed 's
/^
/| /' conftest.$ac_ext >&5
13991 cat >conftest.$ac_ext <<_ACEOF
13994 cat confdefs.h >>conftest.$ac_ext
13995 cat >>conftest.$ac_ext <<_ACEOF
13996 /* end confdefs.h. */
14006 rm -f conftest.$ac_objext
14007 if { (ac_try="$ac_compile"
14008 case "(($ac_try" in
14009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14010 *) ac_try_echo=$ac_try;;
14012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14013 (eval "$ac_compile") 2>conftest.er1
14015 grep -v '^
*+' conftest.er1 >conftest.err
14017 cat conftest.err >&5
14018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14019 (exit $ac_status); } &&
14020 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14021 { (case "(($ac_try" in
14022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14023 *) ac_try_echo=$ac_try;;
14025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14026 (eval "$ac_try") 2>&5
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); }; } &&
14030 { ac_try='test -s conftest.
$ac_objext'
14031 { (case "(($ac_try" in
14032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14033 *) ac_try_echo=$ac_try;;
14035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14036 (eval "$ac_try") 2>&5
14038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14039 (exit $ac_status); }; }; then
14042 echo "$as_me: failed program was:" >&5
14043 sed 's
/^
/| /' conftest.$ac_ext >&5
14045 ac_c_werror_flag=$ac_save_c_werror_flag
14047 cat >conftest.$ac_ext <<_ACEOF
14050 cat confdefs.h >>conftest.$ac_ext
14051 cat >>conftest.$ac_ext <<_ACEOF
14052 /* end confdefs.h. */
14062 rm -f conftest.$ac_objext
14063 if { (ac_try="$ac_compile"
14064 case "(($ac_try" in
14065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14066 *) ac_try_echo=$ac_try;;
14068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14069 (eval "$ac_compile") 2>conftest.er1
14071 grep -v '^
*+' conftest.er1 >conftest.err
14073 cat conftest.err >&5
14074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14075 (exit $ac_status); } &&
14076 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14077 { (case "(($ac_try" in
14078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14079 *) ac_try_echo=$ac_try;;
14081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14082 (eval "$ac_try") 2>&5
14084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14085 (exit $ac_status); }; } &&
14086 { ac_try='test -s conftest.
$ac_objext'
14087 { (case "(($ac_try" in
14088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14089 *) ac_try_echo=$ac_try;;
14091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14092 (eval "$ac_try") 2>&5
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); }; }; then
14096 ac_cv_prog_cc_g=yes
14098 echo "$as_me: failed program was:" >&5
14099 sed 's
/^
/| /' conftest.$ac_ext >&5
14104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14111 ac_c_werror_flag=$ac_save_c_werror_flag
14113 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14114 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14115 if test "$ac_test_CFLAGS" = set; then
14116 CFLAGS=$ac_save_CFLAGS
14117 elif test $ac_cv_prog_cc_g = yes; then
14118 if test "$GCC" = yes; then
14124 if test "$GCC" = yes; then
14136 ac_cpp='$CPP $CPPFLAGS'
14137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14138 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14141 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14142 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14143 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14144 echo $ECHO_N "(cached) $ECHO_C" >&6
14146 cat >conftest.$ac_ext <<_ACEOF
14149 cat confdefs.h >>conftest.$ac_ext
14150 cat >>conftest.$ac_ext <<_ACEOF
14151 /* end confdefs.h. */
14164 rm -f conftest.$ac_objext
14165 if { (ac_try="$ac_compile"
14166 case "(($ac_try" in
14167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14168 *) ac_try_echo=$ac_try;;
14170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14171 (eval "$ac_compile") 2>conftest.er1
14173 grep -v '^
*+' conftest.er1 >conftest.err
14175 cat conftest.err >&5
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); } &&
14178 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14179 { (case "(($ac_try" in
14180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14181 *) ac_try_echo=$ac_try;;
14183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14184 (eval "$ac_try") 2>&5
14186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14187 (exit $ac_status); }; } &&
14188 { ac_try='test -s conftest.
$ac_objext'
14189 { (case "(($ac_try" in
14190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14191 *) ac_try_echo=$ac_try;;
14193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14194 (eval "$ac_try") 2>&5
14196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14197 (exit $ac_status); }; }; then
14198 bakefile_compiler_xlc=yes
14200 echo "$as_me: failed program was:" >&5
14201 sed 's
/^
/| /' conftest.$ac_ext >&5
14203 bakefile_compiler_xlc=no
14206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14207 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14210 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14211 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14213 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14215 ac_cpp='$CPP $CPPFLAGS'
14216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14217 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14225 ac_cpp='$CPP $CPPFLAGS'
14226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14227 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14230 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14231 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14232 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14233 echo $ECHO_N "(cached) $ECHO_C" >&6
14235 cat >conftest.$ac_ext <<_ACEOF
14238 cat confdefs.h >>conftest.$ac_ext
14239 cat >>conftest.$ac_ext <<_ACEOF
14240 /* end confdefs.h. */
14253 rm -f conftest.$ac_objext
14254 if { (ac_try="$ac_compile"
14255 case "(($ac_try" in
14256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14257 *) ac_try_echo=$ac_try;;
14259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14260 (eval "$ac_compile") 2>conftest.er1
14262 grep -v '^
*+' conftest.er1 >conftest.err
14264 cat conftest.err >&5
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); } &&
14267 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14268 { (case "(($ac_try" in
14269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14270 *) ac_try_echo=$ac_try;;
14272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14273 (eval "$ac_try") 2>&5
14275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14276 (exit $ac_status); }; } &&
14277 { ac_try='test -s conftest.
$ac_objext'
14278 { (case "(($ac_try" in
14279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14280 *) ac_try_echo=$ac_try;;
14282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14283 (eval "$ac_try") 2>&5
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); }; }; then
14287 bakefile_compiler_mwerks=yes
14289 echo "$as_me: failed program was:" >&5
14290 sed 's
/^
/| /' conftest.$ac_ext >&5
14292 bakefile_compiler_mwerks=no
14295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14296 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14299 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14300 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14302 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14304 ac_cpp='$CPP $CPPFLAGS'
14305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14306 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14311 ac_cpp='$CPP $CPPFLAGS'
14312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14313 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14316 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14317 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14318 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14319 echo $ECHO_N "(cached) $ECHO_C" >&6
14321 cat >conftest.$ac_ext <<_ACEOF
14324 cat confdefs.h >>conftest.$ac_ext
14325 cat >>conftest.$ac_ext <<_ACEOF
14326 /* end confdefs.h. */
14339 rm -f conftest.$ac_objext
14340 if { (ac_try="$ac_compile"
14341 case "(($ac_try" in
14342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14343 *) ac_try_echo=$ac_try;;
14345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14346 (eval "$ac_compile") 2>conftest.er1
14348 grep -v '^
*+' conftest.er1 >conftest.err
14350 cat conftest.err >&5
14351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14352 (exit $ac_status); } &&
14353 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14354 { (case "(($ac_try" in
14355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14356 *) ac_try_echo=$ac_try;;
14358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14359 (eval "$ac_try") 2>&5
14361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362 (exit $ac_status); }; } &&
14363 { ac_try='test -s conftest.
$ac_objext'
14364 { (case "(($ac_try" in
14365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14366 *) ac_try_echo=$ac_try;;
14368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14369 (eval "$ac_try") 2>&5
14371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14372 (exit $ac_status); }; }; then
14373 bakefile_compiler_xlc=yes
14375 echo "$as_me: failed program was:" >&5
14376 sed 's
/^
/| /' conftest.$ac_ext >&5
14378 bakefile_compiler_xlc=no
14381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14382 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14385 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14386 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14388 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14390 ac_cpp='$CPP $CPPFLAGS'
14391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14392 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14402 ac_cpp='$CPP $CPPFLAGS'
14403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14404 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14407 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14408 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14409 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14410 echo $ECHO_N "(cached) $ECHO_C" >&6
14412 cat >conftest.$ac_ext <<_ACEOF
14415 cat confdefs.h >>conftest.$ac_ext
14416 cat >>conftest.$ac_ext <<_ACEOF
14417 /* end confdefs.h. */
14423 #ifndef _SGI_COMPILER_VERSION
14431 rm -f conftest.$ac_objext
14432 if { (ac_try="$ac_compile"
14433 case "(($ac_try" in
14434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14435 *) ac_try_echo=$ac_try;;
14437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14438 (eval "$ac_compile") 2>conftest.er1
14440 grep -v '^
*+' conftest.er1 >conftest.err
14442 cat conftest.err >&5
14443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444 (exit $ac_status); } &&
14445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14446 { (case "(($ac_try" in
14447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14448 *) ac_try_echo=$ac_try;;
14450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14451 (eval "$ac_try") 2>&5
14453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14454 (exit $ac_status); }; } &&
14455 { ac_try='test -s conftest.
$ac_objext'
14456 { (case "(($ac_try" in
14457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14458 *) ac_try_echo=$ac_try;;
14460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14461 (eval "$ac_try") 2>&5
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); }; }; then
14465 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14467 echo "$as_me: failed program was:" >&5
14468 sed 's
/^
/| /' conftest.$ac_ext >&5
14470 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14478 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14479 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14480 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14486 ac_cpp='$CPP $CPPFLAGS'
14487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14488 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14499 ac_cpp='$CPP $CPPFLAGS'
14500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14501 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14504 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14505 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14506 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14507 echo $ECHO_N "(cached) $ECHO_C" >&6
14509 cat >conftest.$ac_ext <<_ACEOF
14512 cat confdefs.h >>conftest.$ac_ext
14513 cat >>conftest.$ac_ext <<_ACEOF
14514 /* end confdefs.h. */
14528 rm -f conftest.$ac_objext
14529 if { (ac_try="$ac_compile"
14530 case "(($ac_try" in
14531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14532 *) ac_try_echo=$ac_try;;
14534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14535 (eval "$ac_compile") 2>conftest.er1
14537 grep -v '^
*+' conftest.er1 >conftest.err
14539 cat conftest.err >&5
14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541 (exit $ac_status); } &&
14542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14543 { (case "(($ac_try" in
14544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14545 *) ac_try_echo=$ac_try;;
14547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14548 (eval "$ac_try") 2>&5
14550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14551 (exit $ac_status); }; } &&
14552 { ac_try='test -s conftest.
$ac_objext'
14553 { (case "(($ac_try" in
14554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14555 *) ac_try_echo=$ac_try;;
14557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14558 (eval "$ac_try") 2>&5
14560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14561 (exit $ac_status); }; }; then
14562 bakefile_cv_c_compiler___HP_cc=yes
14564 echo "$as_me: failed program was:" >&5
14565 sed 's
/^
/| /' conftest.$ac_ext >&5
14567 bakefile_cv_c_compiler___HP_cc=no
14571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14575 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14576 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14577 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14583 ac_cpp='$CPP $CPPFLAGS'
14584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14585 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14596 ac_cpp='$CPP $CPPFLAGS'
14597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14598 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14601 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14602 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14603 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14604 echo $ECHO_N "(cached) $ECHO_C" >&6
14606 cat >conftest.$ac_ext <<_ACEOF
14609 cat confdefs.h >>conftest.$ac_ext
14610 cat >>conftest.$ac_ext <<_ACEOF
14611 /* end confdefs.h. */
14625 rm -f conftest.$ac_objext
14626 if { (ac_try="$ac_compile"
14627 case "(($ac_try" in
14628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14629 *) ac_try_echo=$ac_try;;
14631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14632 (eval "$ac_compile") 2>conftest.er1
14634 grep -v '^
*+' conftest.er1 >conftest.err
14636 cat conftest.err >&5
14637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14638 (exit $ac_status); } &&
14639 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14640 { (case "(($ac_try" in
14641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14642 *) ac_try_echo=$ac_try;;
14644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14645 (eval "$ac_try") 2>&5
14647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14648 (exit $ac_status); }; } &&
14649 { ac_try='test -s conftest.
$ac_objext'
14650 { (case "(($ac_try" in
14651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14652 *) ac_try_echo=$ac_try;;
14654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14655 (eval "$ac_try") 2>&5
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); }; }; then
14659 bakefile_cv_c_compiler___DECC=yes
14661 echo "$as_me: failed program was:" >&5
14662 sed 's
/^
/| /' conftest.$ac_ext >&5
14664 bakefile_cv_c_compiler___DECC=no
14668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14672 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14673 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14674 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14680 ac_cpp='$CPP $CPPFLAGS'
14681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14682 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14693 ac_cpp='$CPP $CPPFLAGS'
14694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14695 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14698 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14699 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14700 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14701 echo $ECHO_N "(cached) $ECHO_C" >&6
14703 cat >conftest.$ac_ext <<_ACEOF
14706 cat confdefs.h >>conftest.$ac_ext
14707 cat >>conftest.$ac_ext <<_ACEOF
14708 /* end confdefs.h. */
14722 rm -f conftest.$ac_objext
14723 if { (ac_try="$ac_compile"
14724 case "(($ac_try" in
14725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14726 *) ac_try_echo=$ac_try;;
14728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14729 (eval "$ac_compile") 2>conftest.er1
14731 grep -v '^
*+' conftest.er1 >conftest.err
14733 cat conftest.err >&5
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); } &&
14736 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14737 { (case "(($ac_try" in
14738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14739 *) ac_try_echo=$ac_try;;
14741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14742 (eval "$ac_try") 2>&5
14744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); }; } &&
14746 { ac_try='test -s conftest.
$ac_objext'
14747 { (case "(($ac_try" in
14748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14749 *) ac_try_echo=$ac_try;;
14751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14752 (eval "$ac_try") 2>&5
14754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14755 (exit $ac_status); }; }; then
14756 bakefile_cv_c_compiler___SUNPRO_C=yes
14758 echo "$as_me: failed program was:" >&5
14759 sed 's
/^
/| /' conftest.$ac_ext >&5
14761 bakefile_cv_c_compiler___SUNPRO_C=no
14765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14769 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14770 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14771 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14777 ac_cpp='$CPP $CPPFLAGS'
14778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14779 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14791 ac_cpp='$CPP $CPPFLAGS'
14792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14793 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14795 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14796 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14797 # On Suns, sometimes $CPP names a directory.
14798 if test -n "$CPP" && test -d "$CPP"; then
14801 if test -z "$CPP"; then
14802 if test "${ac_cv_prog_CPP+set}" = set; then
14803 echo $ECHO_N "(cached) $ECHO_C" >&6
14805 # Double quotes because CPP needs to be expanded
14806 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14808 ac_preproc_ok=false
14809 for ac_c_preproc_warn_flag in '' yes
14811 # Use a header file that comes with gcc, so configuring glibc
14812 # with a fresh cross-compiler works.
14813 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14814 # <limits.h> exists even on freestanding compilers.
14815 # On the NeXT, cc -E runs the code through the compiler's parser
,
14816 # not just through cpp. "Syntax error" is here to catch this case.
14817 cat >conftest.
$ac_ext <<_ACEOF
14820 cat confdefs.h
>>conftest.
$ac_ext
14821 cat >>conftest.
$ac_ext <<_ACEOF
14822 /* end confdefs.h. */
14824 # include <limits.h>
14826 # include <assert.h>
14830 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14831 case "(($ac_try" in
14832 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14833 *) ac_try_echo=$ac_try;;
14835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14836 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14838 grep -v '^ *+' conftest.er1 >conftest.err
14840 cat conftest.err >&5
14841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14842 (exit $ac_status); } >/dev/null; then
14843 if test -s conftest.err; then
14844 ac_cpp_err=$ac_c_preproc_warn_flag
14845 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14852 if test -z "$ac_cpp_err"; then
14855 echo "$as_me: failed program was:" >&5
14856 sed 's/^/| /' conftest.$ac_ext >&5
14858 # Broken: fails on valid input.
14862 rm -f conftest.err conftest.$ac_ext
14864 # OK, works on sane cases. Now check whether nonexistent headers
14865 # can be detected and how.
14866 cat >conftest.$ac_ext <<_ACEOF
14869 cat confdefs.h >>conftest.$ac_ext
14870 cat >>conftest.$ac_ext <<_ACEOF
14871 /* end confdefs.h. */
14872 #include <ac_nonexistent.h>
14874 if { (ac_try="$ac_cpp conftest.$ac_ext"
14875 case "(($ac_try" in
14876 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14877 *) ac_try_echo
=$ac_try;;
14879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14880 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14882 grep -v '^ *+' conftest.er1
>conftest.err
14884 cat conftest.err
>&5
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); } >/dev
/null
; then
14887 if test -s conftest.err
; then
14888 ac_cpp_err
=$ac_c_preproc_warn_flag
14889 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14896 if test -z "$ac_cpp_err"; then
14897 # Broken: success on invalid input.
14900 echo "$as_me: failed program was:" >&5
14901 sed 's/^/| /' conftest.
$ac_ext >&5
14903 # Passes both tests.
14908 rm -f conftest.err conftest.
$ac_ext
14911 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14912 rm -f conftest.err conftest.
$ac_ext
14913 if $ac_preproc_ok; then
14918 ac_cv_prog_CPP
=$CPP
14921 CPP
=$ac_cv_prog_CPP
14923 ac_cv_prog_CPP
=$CPP
14925 { echo "$as_me:$LINENO: result: $CPP" >&5
14926 echo "${ECHO_T}$CPP" >&6; }
14927 ac_preproc_ok
=false
14928 for ac_c_preproc_warn_flag
in '' yes
14930 # Use a header file that comes with gcc, so configuring glibc
14931 # with a fresh cross-compiler works.
14932 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14933 # <limits.h> exists even on freestanding compilers.
14934 # On the NeXT, cc -E runs the code through the compiler's parser,
14935 # not just through cpp. "Syntax error" is here to catch this case.
14936 cat >conftest.
$ac_ext <<_ACEOF
14939 cat confdefs.h
>>conftest.
$ac_ext
14940 cat >>conftest.
$ac_ext <<_ACEOF
14941 /* end confdefs.h. */
14943 # include <limits.h>
14945 # include <assert.h>
14949 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14950 case "(($ac_try" in
14951 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14952 *) ac_try_echo=$ac_try;;
14954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14955 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14957 grep -v '^ *+' conftest.er1 >conftest.err
14959 cat conftest.err >&5
14960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14961 (exit $ac_status); } >/dev/null; then
14962 if test -s conftest.err; then
14963 ac_cpp_err=$ac_c_preproc_warn_flag
14964 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14971 if test -z "$ac_cpp_err"; then
14974 echo "$as_me: failed program was:" >&5
14975 sed 's/^/| /' conftest.$ac_ext >&5
14977 # Broken: fails on valid input.
14981 rm -f conftest.err conftest.$ac_ext
14983 # OK, works on sane cases. Now check whether nonexistent headers
14984 # can be detected and how.
14985 cat >conftest.$ac_ext <<_ACEOF
14988 cat confdefs.h >>conftest.$ac_ext
14989 cat >>conftest.$ac_ext <<_ACEOF
14990 /* end confdefs.h. */
14991 #include <ac_nonexistent.h>
14993 if { (ac_try="$ac_cpp conftest.$ac_ext"
14994 case "(($ac_try" in
14995 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14996 *) ac_try_echo
=$ac_try;;
14998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14999 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15001 grep -v '^ *+' conftest.er1
>conftest.err
15003 cat conftest.err
>&5
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); } >/dev
/null
; then
15006 if test -s conftest.err
; then
15007 ac_cpp_err
=$ac_c_preproc_warn_flag
15008 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15015 if test -z "$ac_cpp_err"; then
15016 # Broken: success on invalid input.
15019 echo "$as_me: failed program was:" >&5
15020 sed 's/^/| /' conftest.
$ac_ext >&5
15022 # Passes both tests.
15027 rm -f conftest.err conftest.
$ac_ext
15030 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15031 rm -f conftest.err conftest.
$ac_ext
15032 if $ac_preproc_ok; then
15035 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15036 See \`config.log' for more details." >&5
15037 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15038 See \`config.log' for more details." >&2;}
15039 { (exit 1); exit 1; }; }
15043 ac_cpp
='$CPP $CPPFLAGS'
15044 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15045 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15046 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15049 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15050 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15051 if test "${ac_cv_path_GREP+set}" = set; then
15052 echo $ECHO_N "(cached) $ECHO_C" >&6
15054 # Extract the first word of "grep ggrep" to use in msg output
15055 if test -z "$GREP"; then
15056 set dummy
grep ggrep
; ac_prog_name
=$2
15057 if test "${ac_cv_path_GREP+set}" = set; then
15058 echo $ECHO_N "(cached) $ECHO_C" >&6
15060 ac_path_GREP_found
=false
15061 # Loop through the user's path and test for each of PROGNAME-LIST
15062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15063 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
15066 test -z "$as_dir" && as_dir
=.
15067 for ac_prog
in grep ggrep
; do
15068 for ac_exec_ext
in '' $ac_executable_extensions; do
15069 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
15070 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
15071 # Check for GNU ac_path_GREP and select it if it is found.
15072 # Check for GNU $ac_path_GREP
15073 case `"$ac_path_GREP" --version 2>&1` in
15075 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
15078 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15081 cat "conftest.in" "conftest.in" >"conftest.tmp"
15082 mv "conftest.tmp" "conftest.in"
15083 cp "conftest.in" "conftest.nl"
15084 echo 'GREP' >> "conftest.nl"
15085 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
15086 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
15087 ac_count
=`expr $ac_count + 1`
15088 if test $ac_count -gt ${ac_path_GREP_max-0}; then
15089 # Best one so far, save it but keep looking for a better one
15090 ac_cv_path_GREP
="$ac_path_GREP"
15091 ac_path_GREP_max
=$ac_count
15093 # 10*(2^10) chars as input seems more than enough
15094 test $ac_count -gt 10 && break
15096 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
15100 $ac_path_GREP_found && break 3
15110 GREP
="$ac_cv_path_GREP"
15111 if test -z "$GREP"; then
15112 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15113 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15114 { (exit 1); exit 1; }; }
15118 ac_cv_path_GREP
=$GREP
15123 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
15124 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
15125 GREP
="$ac_cv_path_GREP"
15128 { echo "$as_me:$LINENO: checking for egrep" >&5
15129 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
15130 if test "${ac_cv_path_EGREP+set}" = set; then
15131 echo $ECHO_N "(cached) $ECHO_C" >&6
15133 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
15134 then ac_cv_path_EGREP
="$GREP -E"
15136 # Extract the first word of "egrep" to use in msg output
15137 if test -z "$EGREP"; then
15138 set dummy
egrep; ac_prog_name
=$2
15139 if test "${ac_cv_path_EGREP+set}" = set; then
15140 echo $ECHO_N "(cached) $ECHO_C" >&6
15142 ac_path_EGREP_found
=false
15143 # Loop through the user's path and test for each of PROGNAME-LIST
15144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15145 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
15148 test -z "$as_dir" && as_dir
=.
15149 for ac_prog
in egrep; do
15150 for ac_exec_ext
in '' $ac_executable_extensions; do
15151 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
15152 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
15153 # Check for GNU ac_path_EGREP and select it if it is found.
15154 # Check for GNU $ac_path_EGREP
15155 case `"$ac_path_EGREP" --version 2>&1` in
15157 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
15160 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15163 cat "conftest.in" "conftest.in" >"conftest.tmp"
15164 mv "conftest.tmp" "conftest.in"
15165 cp "conftest.in" "conftest.nl"
15166 echo 'EGREP' >> "conftest.nl"
15167 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
15168 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
15169 ac_count
=`expr $ac_count + 1`
15170 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
15171 # Best one so far, save it but keep looking for a better one
15172 ac_cv_path_EGREP
="$ac_path_EGREP"
15173 ac_path_EGREP_max
=$ac_count
15175 # 10*(2^10) chars as input seems more than enough
15176 test $ac_count -gt 10 && break
15178 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
15182 $ac_path_EGREP_found && break 3
15192 EGREP
="$ac_cv_path_EGREP"
15193 if test -z "$EGREP"; then
15194 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15195 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15196 { (exit 1); exit 1; }; }
15200 ac_cv_path_EGREP
=$EGREP
15206 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
15207 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
15208 EGREP
="$ac_cv_path_EGREP"
15211 if test $ac_cv_c_compiler_gnu = yes; then
15212 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
15213 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
15214 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
15215 echo $ECHO_N "(cached) $ECHO_C" >&6
15217 ac_pattern
="Autoconf.*'x'"
15218 cat >conftest.
$ac_ext <<_ACEOF
15221 cat confdefs.h
>>conftest.
$ac_ext
15222 cat >>conftest.
$ac_ext <<_ACEOF
15223 /* end confdefs.h. */
15227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15228 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
15229 ac_cv_prog_gcc_traditional
=yes
15231 ac_cv_prog_gcc_traditional
=no
15236 if test $ac_cv_prog_gcc_traditional = no
; then
15237 cat >conftest.
$ac_ext <<_ACEOF
15240 cat confdefs.h
>>conftest.
$ac_ext
15241 cat >>conftest.
$ac_ext <<_ACEOF
15242 /* end confdefs.h. */
15243 #include <termio.h>
15246 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15247 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
15248 ac_cv_prog_gcc_traditional
=yes
15254 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
15255 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
15256 if test $ac_cv_prog_gcc_traditional = yes; then
15257 CC
="$CC -traditional"
15262 CXXFLAGS
=${CXXFLAGS:=}
15267 ac_cpp
='$CXXCPP $CPPFLAGS'
15268 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15269 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15270 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15271 if test -z "$CXX"; then
15272 if test -n "$CCC"; then
15275 if test -n "$ac_tool_prefix"; then
15276 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
15278 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15279 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
15280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15282 if test "${ac_cv_prog_CXX+set}" = set; then
15283 echo $ECHO_N "(cached) $ECHO_C" >&6
15285 if test -n "$CXX"; then
15286 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
15288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15289 for as_dir
in $PATH
15292 test -z "$as_dir" && as_dir
=.
15293 for ac_exec_ext
in '' $ac_executable_extensions; do
15294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15295 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
15296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15305 CXX
=$ac_cv_prog_CXX
15306 if test -n "$CXX"; then
15307 { echo "$as_me:$LINENO: result: $CXX" >&5
15308 echo "${ECHO_T}$CXX" >&6; }
15310 { echo "$as_me:$LINENO: result: no" >&5
15311 echo "${ECHO_T}no" >&6; }
15315 test -n "$CXX" && break
15318 if test -z "$CXX"; then
15320 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
15322 # Extract the first word of "$ac_prog", so it can be a program name with args.
15323 set dummy
$ac_prog; ac_word
=$2
15324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15326 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15327 echo $ECHO_N "(cached) $ECHO_C" >&6
15329 if test -n "$ac_ct_CXX"; then
15330 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
15332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15333 for as_dir
in $PATH
15336 test -z "$as_dir" && as_dir
=.
15337 for ac_exec_ext
in '' $ac_executable_extensions; do
15338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15339 ac_cv_prog_ac_ct_CXX
="$ac_prog"
15340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15349 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
15350 if test -n "$ac_ct_CXX"; then
15351 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15352 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15354 { echo "$as_me:$LINENO: result: no" >&5
15355 echo "${ECHO_T}no" >&6; }
15359 test -n "$ac_ct_CXX" && break
15362 if test "x$ac_ct_CXX" = x
; then
15365 case $cross_compiling:$ac_tool_warned in
15367 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15368 whose name does not start with the host triplet. If you think this
15369 configuration is useful to you, please write to autoconf@gnu.org." >&5
15370 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15371 whose name does not start with the host triplet. If you think this
15372 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15373 ac_tool_warned
=yes ;;
15381 # Provide some information about the compiler.
15382 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15383 ac_compiler
=`set X $ac_compile; echo $2`
15384 { (ac_try
="$ac_compiler --version >&5"
15385 case "(($ac_try" in
15386 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15387 *) ac_try_echo=$ac_try;;
15389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15390 (eval "$ac_compiler --version >&5") 2>&5
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); }
15394 { (ac_try="$ac_compiler -v >&5"
15395 case "(($ac_try" in
15396 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15397 *) ac_try_echo
=$ac_try;;
15399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15400 (eval "$ac_compiler -v >&5") 2>&5
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); }
15404 { (ac_try
="$ac_compiler -V >&5"
15405 case "(($ac_try" in
15406 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15407 *) ac_try_echo=$ac_try;;
15409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15410 (eval "$ac_compiler -V >&5") 2>&5
15412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15413 (exit $ac_status); }
15415 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15416 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15417 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15418 echo $ECHO_N "(cached) $ECHO_C" >&6
15420 cat >conftest.$ac_ext <<_ACEOF
15423 cat confdefs.h >>conftest.$ac_ext
15424 cat >>conftest.$ac_ext <<_ACEOF
15425 /* end confdefs.h. */
15438 rm -f conftest.$ac_objext
15439 if { (ac_try="$ac_compile"
15440 case "(($ac_try" in
15441 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15442 *) ac_try_echo
=$ac_try;;
15444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15445 (eval "$ac_compile") 2>conftest.er1
15447 grep -v '^ *+' conftest.er1
>conftest.err
15449 cat conftest.err
>&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); } &&
15452 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15453 { (case "(($ac_try" in
15454 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15455 *) ac_try_echo=$ac_try;;
15457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15458 (eval "$ac_try") 2>&5
15460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15461 (exit $ac_status); }; } &&
15462 { ac_try='test -s conftest.$ac_objext'
15463 { (case "(($ac_try" in
15464 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15465 *) ac_try_echo
=$ac_try;;
15467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15468 (eval "$ac_try") 2>&5
15470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15471 (exit $ac_status); }; }; then
15472 ac_compiler_gnu
=yes
15474 echo "$as_me: failed program was:" >&5
15475 sed 's/^/| /' conftest.
$ac_ext >&5
15480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15481 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
15484 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15485 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15486 GXX
=`test $ac_compiler_gnu = yes && echo yes`
15487 ac_test_CXXFLAGS
=${CXXFLAGS+set}
15488 ac_save_CXXFLAGS
=$CXXFLAGS
15489 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15490 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15491 if test "${ac_cv_prog_cxx_g+set}" = set; then
15492 echo $ECHO_N "(cached) $ECHO_C" >&6
15494 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
15495 ac_cxx_werror_flag
=yes
15496 ac_cv_prog_cxx_g
=no
15498 cat >conftest.
$ac_ext <<_ACEOF
15501 cat confdefs.h
>>conftest.
$ac_ext
15502 cat >>conftest.
$ac_ext <<_ACEOF
15503 /* end confdefs.h. */
15513 rm -f conftest.
$ac_objext
15514 if { (ac_try
="$ac_compile"
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_compile") 2>conftest.er1
15522 grep -v '^ *+' conftest.er1 >conftest.err
15524 cat conftest.err >&5
15525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15526 (exit $ac_status); } &&
15527 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15528 { (case "(($ac_try" in
15529 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15530 *) ac_try_echo
=$ac_try;;
15532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15533 (eval "$ac_try") 2>&5
15535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15536 (exit $ac_status); }; } &&
15537 { ac_try
='test -s conftest.$ac_objext'
15538 { (case "(($ac_try" in
15539 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15540 *) ac_try_echo=$ac_try;;
15542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15543 (eval "$ac_try") 2>&5
15545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546 (exit $ac_status); }; }; then
15547 ac_cv_prog_cxx_g=yes
15549 echo "$as_me: failed program was:" >&5
15550 sed 's/^/| /' conftest.$ac_ext >&5
15553 cat >conftest.$ac_ext <<_ACEOF
15556 cat confdefs.h >>conftest.$ac_ext
15557 cat >>conftest.$ac_ext <<_ACEOF
15558 /* end confdefs.h. */
15568 rm -f conftest.$ac_objext
15569 if { (ac_try="$ac_compile"
15570 case "(($ac_try" in
15571 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15572 *) ac_try_echo
=$ac_try;;
15574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15575 (eval "$ac_compile") 2>conftest.er1
15577 grep -v '^ *+' conftest.er1
>conftest.err
15579 cat conftest.err
>&5
15580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581 (exit $ac_status); } &&
15582 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
15592 { ac_try='test -s conftest.$ac_objext'
15593 { (case "(($ac_try" in
15594 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15595 *) ac_try_echo
=$ac_try;;
15597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15598 (eval "$ac_try") 2>&5
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); }; }; then
15604 echo "$as_me: failed program was:" >&5
15605 sed 's/^/| /' conftest.
$ac_ext >&5
15607 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
15609 cat >conftest.
$ac_ext <<_ACEOF
15612 cat confdefs.h
>>conftest.
$ac_ext
15613 cat >>conftest.
$ac_ext <<_ACEOF
15614 /* end confdefs.h. */
15624 rm -f conftest.
$ac_objext
15625 if { (ac_try
="$ac_compile"
15626 case "(($ac_try" in
15627 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15628 *) ac_try_echo=$ac_try;;
15630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15631 (eval "$ac_compile") 2>conftest.er1
15633 grep -v '^ *+' conftest.er1 >conftest.err
15635 cat conftest.err >&5
15636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15637 (exit $ac_status); } &&
15638 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15639 { (case "(($ac_try" in
15640 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15641 *) ac_try_echo
=$ac_try;;
15643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15644 (eval "$ac_try") 2>&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); }; } &&
15648 { ac_try
='test -s conftest.$ac_objext'
15649 { (case "(($ac_try" in
15650 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15651 *) ac_try_echo=$ac_try;;
15653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15654 (eval "$ac_try") 2>&5
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); }; }; then
15658 ac_cv_prog_cxx_g=yes
15660 echo "$as_me: failed program was:" >&5
15661 sed 's/^/| /' conftest.$ac_ext >&5
15666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15673 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15675 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15676 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15677 if test "$ac_test_CXXFLAGS" = set; then
15678 CXXFLAGS=$ac_save_CXXFLAGS
15679 elif test $ac_cv_prog_cxx_g = yes; then
15680 if test "$GXX" = yes; then
15686 if test "$GXX" = yes; then
15693 ac_cpp='$CPP $CPPFLAGS'
15694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15701 ac_cpp='$CXXCPP $CPPFLAGS'
15702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15706 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15707 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15708 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15709 echo $ECHO_N "(cached) $ECHO_C" >&6
15711 cat >conftest.$ac_ext <<_ACEOF
15714 cat confdefs.h >>conftest.$ac_ext
15715 cat >>conftest.$ac_ext <<_ACEOF
15716 /* end confdefs.h. */
15722 #ifndef __INTEL_COMPILER
15730 rm -f conftest.$ac_objext
15731 if { (ac_try="$ac_compile"
15732 case "(($ac_try" in
15733 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15734 *) ac_try_echo
=$ac_try;;
15736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15737 (eval "$ac_compile") 2>conftest.er1
15739 grep -v '^ *+' conftest.er1
>conftest.err
15741 cat conftest.err
>&5
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); } &&
15744 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15745 { (case "(($ac_try" in
15746 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15747 *) ac_try_echo=$ac_try;;
15749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15750 (eval "$ac_try") 2>&5
15752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15753 (exit $ac_status); }; } &&
15754 { ac_try='test -s conftest.$ac_objext'
15755 { (case "(($ac_try" in
15756 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15757 *) ac_try_echo
=$ac_try;;
15759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15760 (eval "$ac_try") 2>&5
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); }; }; then
15764 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
15766 echo "$as_me: failed program was:" >&5
15767 sed 's/^/| /' conftest.
$ac_ext >&5
15769 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
15773 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15777 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15778 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15779 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
15785 ac_cpp
='$CPP $CPPFLAGS'
15786 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15787 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15788 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15792 if test "x$GCXX" != "xyes"; then
15793 if test "xCXX" = "xC"; then
15794 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15795 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15796 if test "${bakefile_cv_c_exto+set}" = set; then
15797 echo $ECHO_N "(cached) $ECHO_C" >&6
15799 cat >conftest.
$ac_ext <<_ACEOF
15802 cat confdefs.h
>>conftest.
$ac_ext
15803 cat >>conftest.
$ac_ext <<_ACEOF
15804 /* end confdefs.h. */
15814 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
15815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15816 (eval $ac_compile) 2>&5
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); }; then
15820 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
15822 conftest.
$ac_ext.o
)
15823 bakefile_cv_c_exto
="-ext o"
15830 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15831 See \`config.log' for more details." >&5
15832 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15833 See \`config.log' for more details." >&2;}
15834 { (exit 1); exit 1; }; }
15838 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
15841 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15842 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15843 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15844 if test "c" = "c"; then
15845 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
15847 if test "c" = "cxx"; then
15848 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
15852 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15853 unset ac_cv_prog_cc_g
15854 ac_test_CFLAGS
=${CFLAGS+set}
15855 ac_save_CFLAGS
=$CFLAGS
15856 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15857 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15858 if test "${ac_cv_prog_cc_g+set}" = set; then
15859 echo $ECHO_N "(cached) $ECHO_C" >&6
15861 ac_save_c_werror_flag
=$ac_c_werror_flag
15862 ac_c_werror_flag
=yes
15865 cat >conftest.
$ac_ext <<_ACEOF
15868 cat confdefs.h
>>conftest.
$ac_ext
15869 cat >>conftest.
$ac_ext <<_ACEOF
15870 /* end confdefs.h. */
15880 rm -f conftest.
$ac_objext
15881 if { (ac_try
="$ac_compile"
15882 case "(($ac_try" in
15883 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15884 *) ac_try_echo=$ac_try;;
15886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15887 (eval "$ac_compile") 2>conftest.er1
15889 grep -v '^ *+' conftest.er1 >conftest.err
15891 cat conftest.err >&5
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); } &&
15894 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15895 { (case "(($ac_try" in
15896 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15897 *) ac_try_echo
=$ac_try;;
15899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15900 (eval "$ac_try") 2>&5
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); }; } &&
15904 { ac_try
='test -s conftest.$ac_objext'
15905 { (case "(($ac_try" in
15906 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15907 *) ac_try_echo=$ac_try;;
15909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15910 (eval "$ac_try") 2>&5
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913 (exit $ac_status); }; }; then
15914 ac_cv_prog_cc_g=yes
15916 echo "$as_me: failed program was:" >&5
15917 sed 's/^/| /' conftest.$ac_ext >&5
15920 cat >conftest.$ac_ext <<_ACEOF
15923 cat confdefs.h >>conftest.$ac_ext
15924 cat >>conftest.$ac_ext <<_ACEOF
15925 /* end confdefs.h. */
15935 rm -f conftest.$ac_objext
15936 if { (ac_try="$ac_compile"
15937 case "(($ac_try" in
15938 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15939 *) ac_try_echo
=$ac_try;;
15941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15942 (eval "$ac_compile") 2>conftest.er1
15944 grep -v '^ *+' conftest.er1
>conftest.err
15946 cat conftest.err
>&5
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); } &&
15949 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15950 { (case "(($ac_try" in
15951 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15952 *) ac_try_echo=$ac_try;;
15954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15955 (eval "$ac_try") 2>&5
15957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15958 (exit $ac_status); }; } &&
15959 { ac_try='test -s conftest.$ac_objext'
15960 { (case "(($ac_try" in
15961 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15962 *) ac_try_echo
=$ac_try;;
15964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15965 (eval "$ac_try") 2>&5
15967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15968 (exit $ac_status); }; }; then
15971 echo "$as_me: failed program was:" >&5
15972 sed 's/^/| /' conftest.
$ac_ext >&5
15974 ac_c_werror_flag
=$ac_save_c_werror_flag
15976 cat >conftest.
$ac_ext <<_ACEOF
15979 cat confdefs.h
>>conftest.
$ac_ext
15980 cat >>conftest.
$ac_ext <<_ACEOF
15981 /* end confdefs.h. */
15991 rm -f conftest.
$ac_objext
15992 if { (ac_try
="$ac_compile"
15993 case "(($ac_try" in
15994 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15995 *) ac_try_echo=$ac_try;;
15997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15998 (eval "$ac_compile") 2>conftest.er1
16000 grep -v '^ *+' conftest.er1 >conftest.err
16002 cat conftest.err >&5
16003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16004 (exit $ac_status); } &&
16005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16006 { (case "(($ac_try" in
16007 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16008 *) ac_try_echo
=$ac_try;;
16010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16011 (eval "$ac_try") 2>&5
16013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16014 (exit $ac_status); }; } &&
16015 { ac_try
='test -s conftest.$ac_objext'
16016 { (case "(($ac_try" in
16017 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16018 *) ac_try_echo=$ac_try;;
16020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16021 (eval "$ac_try") 2>&5
16023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16024 (exit $ac_status); }; }; then
16025 ac_cv_prog_cc_g=yes
16027 echo "$as_me: failed program was:" >&5
16028 sed 's/^/| /' conftest.$ac_ext >&5
16033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16040 ac_c_werror_flag=$ac_save_c_werror_flag
16042 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16043 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16044 if test "$ac_test_CFLAGS" = set; then
16045 CFLAGS=$ac_save_CFLAGS
16046 elif test $ac_cv_prog_cc_g = yes; then
16047 if test "$GCC" = yes; then
16053 if test "$GCC" = yes; then
16065 ac_cpp='$CXXCPP $CPPFLAGS'
16066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16070 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16071 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16072 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
16073 echo $ECHO_N "(cached) $ECHO_C" >&6
16075 cat >conftest.$ac_ext <<_ACEOF
16078 cat confdefs.h >>conftest.$ac_ext
16079 cat >>conftest.$ac_ext <<_ACEOF
16080 /* end confdefs.h. */
16093 rm -f conftest.$ac_objext
16094 if { (ac_try="$ac_compile"
16095 case "(($ac_try" in
16096 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16097 *) ac_try_echo
=$ac_try;;
16099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16100 (eval "$ac_compile") 2>conftest.er1
16102 grep -v '^ *+' conftest.er1
>conftest.err
16104 cat conftest.err
>&5
16105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16106 (exit $ac_status); } &&
16107 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16108 { (case "(($ac_try" in
16109 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16110 *) ac_try_echo=$ac_try;;
16112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16113 (eval "$ac_try") 2>&5
16115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16116 (exit $ac_status); }; } &&
16117 { ac_try='test -s conftest.$ac_objext'
16118 { (case "(($ac_try" in
16119 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16120 *) ac_try_echo
=$ac_try;;
16122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16123 (eval "$ac_try") 2>&5
16125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126 (exit $ac_status); }; }; then
16127 bakefile_compiler_xlc
=yes
16129 echo "$as_me: failed program was:" >&5
16130 sed 's/^/| /' conftest.
$ac_ext >&5
16132 bakefile_compiler_xlc
=no
16135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16136 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
16139 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
16140 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
16142 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
16144 ac_cpp
='$CPP $CPPFLAGS'
16145 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16146 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16147 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16154 ac_cpp
='$CXXCPP $CPPFLAGS'
16155 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16156 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16157 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16159 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16160 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16161 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
16162 echo $ECHO_N "(cached) $ECHO_C" >&6
16164 cat >conftest.
$ac_ext <<_ACEOF
16167 cat confdefs.h
>>conftest.
$ac_ext
16168 cat >>conftest.
$ac_ext <<_ACEOF
16169 /* end confdefs.h. */
16182 rm -f conftest.
$ac_objext
16183 if { (ac_try
="$ac_compile"
16184 case "(($ac_try" in
16185 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16186 *) ac_try_echo=$ac_try;;
16188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16189 (eval "$ac_compile") 2>conftest.er1
16191 grep -v '^ *+' conftest.er1 >conftest.err
16193 cat conftest.err >&5
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 (exit $ac_status); } &&
16196 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16197 { (case "(($ac_try" in
16198 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16199 *) ac_try_echo
=$ac_try;;
16201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16202 (eval "$ac_try") 2>&5
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); }; } &&
16206 { ac_try
='test -s conftest.$ac_objext'
16207 { (case "(($ac_try" in
16208 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16209 *) ac_try_echo=$ac_try;;
16211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16212 (eval "$ac_try") 2>&5
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); }; }; then
16216 bakefile_compiler_mwerks=yes
16218 echo "$as_me: failed program was:" >&5
16219 sed 's/^/| /' conftest.$ac_ext >&5
16221 bakefile_compiler_mwerks=no
16224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16225 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
16228 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
16229 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
16231 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
16233 ac_cpp='$CPP $CPPFLAGS'
16234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16240 ac_cpp='$CXXCPP $CPPFLAGS'
16241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16245 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16246 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16247 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
16248 echo $ECHO_N "(cached) $ECHO_C" >&6
16250 cat >conftest.$ac_ext <<_ACEOF
16253 cat confdefs.h >>conftest.$ac_ext
16254 cat >>conftest.$ac_ext <<_ACEOF
16255 /* end confdefs.h. */
16268 rm -f conftest.$ac_objext
16269 if { (ac_try="$ac_compile"
16270 case "(($ac_try" in
16271 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16272 *) ac_try_echo
=$ac_try;;
16274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16275 (eval "$ac_compile") 2>conftest.er1
16277 grep -v '^ *+' conftest.er1
>conftest.err
16279 cat conftest.err
>&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); } &&
16282 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16283 { (case "(($ac_try" in
16284 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16285 *) ac_try_echo=$ac_try;;
16287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16288 (eval "$ac_try") 2>&5
16290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16291 (exit $ac_status); }; } &&
16292 { ac_try='test -s conftest.$ac_objext'
16293 { (case "(($ac_try" in
16294 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16295 *) ac_try_echo
=$ac_try;;
16297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16298 (eval "$ac_try") 2>&5
16300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16301 (exit $ac_status); }; }; then
16302 bakefile_compiler_xlc
=yes
16304 echo "$as_me: failed program was:" >&5
16305 sed 's/^/| /' conftest.
$ac_ext >&5
16307 bakefile_compiler_xlc
=no
16310 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16311 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
16314 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
16315 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
16317 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
16319 ac_cpp
='$CPP $CPPFLAGS'
16320 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16321 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16322 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16331 ac_cpp
='$CXXCPP $CPPFLAGS'
16332 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16333 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16334 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16336 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
16337 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
16338 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
16339 echo $ECHO_N "(cached) $ECHO_C" >&6
16341 cat >conftest.
$ac_ext <<_ACEOF
16344 cat confdefs.h
>>conftest.
$ac_ext
16345 cat >>conftest.
$ac_ext <<_ACEOF
16346 /* end confdefs.h. */
16352 #ifndef _SGI_COMPILER_VERSION
16360 rm -f conftest.
$ac_objext
16361 if { (ac_try
="$ac_compile"
16362 case "(($ac_try" in
16363 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16364 *) ac_try_echo=$ac_try;;
16366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16367 (eval "$ac_compile") 2>conftest.er1
16369 grep -v '^ *+' conftest.er1 >conftest.err
16371 cat conftest.err >&5
16372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16373 (exit $ac_status); } &&
16374 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
16382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16383 (exit $ac_status); }; } &&
16384 { ac_try
='test -s conftest.$ac_objext'
16385 { (case "(($ac_try" in
16386 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16387 *) ac_try_echo=$ac_try;;
16389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16390 (eval "$ac_try") 2>&5
16392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16393 (exit $ac_status); }; }; then
16394 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
16396 echo "$as_me: failed program was:" >&5
16397 sed 's/^/| /' conftest.$ac_ext >&5
16399 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
16403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16407 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
16408 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
16409 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16415 ac_cpp='$CPP $CPPFLAGS'
16416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16428 ac_cpp='$CXXCPP $CPPFLAGS'
16429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16433 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
16434 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
16435 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
16436 echo $ECHO_N "(cached) $ECHO_C" >&6
16438 cat >conftest.$ac_ext <<_ACEOF
16441 cat confdefs.h >>conftest.$ac_ext
16442 cat >>conftest.$ac_ext <<_ACEOF
16443 /* end confdefs.h. */
16457 rm -f conftest.$ac_objext
16458 if { (ac_try="$ac_compile"
16459 case "(($ac_try" in
16460 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16461 *) ac_try_echo
=$ac_try;;
16463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16464 (eval "$ac_compile") 2>conftest.er1
16466 grep -v '^ *+' conftest.er1
>conftest.err
16468 cat conftest.err
>&5
16469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16470 (exit $ac_status); } &&
16471 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16472 { (case "(($ac_try" in
16473 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16474 *) ac_try_echo=$ac_try;;
16476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16477 (eval "$ac_try") 2>&5
16479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16480 (exit $ac_status); }; } &&
16481 { ac_try='test -s conftest.$ac_objext'
16482 { (case "(($ac_try" in
16483 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16484 *) ac_try_echo
=$ac_try;;
16486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16487 (eval "$ac_try") 2>&5
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); }; }; then
16491 bakefile_cv_cxx_compiler___HP_aCC
=yes
16493 echo "$as_me: failed program was:" >&5
16494 sed 's/^/| /' conftest.
$ac_ext >&5
16496 bakefile_cv_cxx_compiler___HP_aCC
=no
16500 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16504 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16505 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16506 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
16512 ac_cpp
='$CPP $CPPFLAGS'
16513 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16514 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16515 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16525 ac_cpp
='$CXXCPP $CPPFLAGS'
16526 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16527 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16528 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16530 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16531 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16532 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16533 echo $ECHO_N "(cached) $ECHO_C" >&6
16535 cat >conftest.
$ac_ext <<_ACEOF
16538 cat confdefs.h
>>conftest.
$ac_ext
16539 cat >>conftest.
$ac_ext <<_ACEOF
16540 /* end confdefs.h. */
16554 rm -f conftest.
$ac_objext
16555 if { (ac_try
="$ac_compile"
16556 case "(($ac_try" in
16557 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16558 *) ac_try_echo=$ac_try;;
16560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16561 (eval "$ac_compile") 2>conftest.er1
16563 grep -v '^ *+' conftest.er1 >conftest.err
16565 cat conftest.err >&5
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); } &&
16568 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16569 { (case "(($ac_try" in
16570 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16571 *) ac_try_echo
=$ac_try;;
16573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16574 (eval "$ac_try") 2>&5
16576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16577 (exit $ac_status); }; } &&
16578 { ac_try
='test -s conftest.$ac_objext'
16579 { (case "(($ac_try" in
16580 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16581 *) ac_try_echo=$ac_try;;
16583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16584 (eval "$ac_try") 2>&5
16586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587 (exit $ac_status); }; }; then
16588 bakefile_cv_cxx_compiler___DECCXX=yes
16590 echo "$as_me: failed program was:" >&5
16591 sed 's/^/| /' conftest.$ac_ext >&5
16593 bakefile_cv_cxx_compiler___DECCXX=no
16597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16601 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16602 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16603 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
16609 ac_cpp='$CPP $CPPFLAGS'
16610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16622 ac_cpp='$CXXCPP $CPPFLAGS'
16623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16627 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16628 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16629 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16630 echo $ECHO_N "(cached) $ECHO_C" >&6
16632 cat >conftest.$ac_ext <<_ACEOF
16635 cat confdefs.h >>conftest.$ac_ext
16636 cat >>conftest.$ac_ext <<_ACEOF
16637 /* end confdefs.h. */
16643 #ifndef __SUNPRO_CC
16651 rm -f conftest.$ac_objext
16652 if { (ac_try="$ac_compile"
16653 case "(($ac_try" in
16654 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16655 *) ac_try_echo
=$ac_try;;
16657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16658 (eval "$ac_compile") 2>conftest.er1
16660 grep -v '^ *+' conftest.er1
>conftest.err
16662 cat conftest.err
>&5
16663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16664 (exit $ac_status); } &&
16665 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16666 { (case "(($ac_try" in
16667 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16668 *) ac_try_echo=$ac_try;;
16670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16671 (eval "$ac_try") 2>&5
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); }; } &&
16675 { ac_try='test -s conftest.$ac_objext'
16676 { (case "(($ac_try" in
16677 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16678 *) ac_try_echo
=$ac_try;;
16680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16681 (eval "$ac_try") 2>&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); }; }; then
16685 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
16687 echo "$as_me: failed program was:" >&5
16688 sed 's/^/| /' conftest.
$ac_ext >&5
16690 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
16694 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16698 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16699 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16700 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
16706 ac_cpp
='$CPP $CPPFLAGS'
16707 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16708 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16709 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16719 if test -n "$ac_tool_prefix"; then
16720 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16721 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
16722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16724 if test "${ac_cv_prog_RANLIB+set}" = set; then
16725 echo $ECHO_N "(cached) $ECHO_C" >&6
16727 if test -n "$RANLIB"; then
16728 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
16730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16731 for as_dir
in $PATH
16734 test -z "$as_dir" && as_dir
=.
16735 for ac_exec_ext
in '' $ac_executable_extensions; do
16736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16737 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
16738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16747 RANLIB
=$ac_cv_prog_RANLIB
16748 if test -n "$RANLIB"; then
16749 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16750 echo "${ECHO_T}$RANLIB" >&6; }
16752 { echo "$as_me:$LINENO: result: no" >&5
16753 echo "${ECHO_T}no" >&6; }
16758 if test -z "$ac_cv_prog_RANLIB"; then
16759 ac_ct_RANLIB
=$RANLIB
16760 # Extract the first word of "ranlib", so it can be a program name with args.
16761 set dummy ranlib
; ac_word
=$2
16762 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16764 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16765 echo $ECHO_N "(cached) $ECHO_C" >&6
16767 if test -n "$ac_ct_RANLIB"; then
16768 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
16770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16771 for as_dir
in $PATH
16774 test -z "$as_dir" && as_dir
=.
16775 for ac_exec_ext
in '' $ac_executable_extensions; do
16776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16777 ac_cv_prog_ac_ct_RANLIB
="ranlib"
16778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16787 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
16788 if test -n "$ac_ct_RANLIB"; then
16789 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16790 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16792 { echo "$as_me:$LINENO: result: no" >&5
16793 echo "${ECHO_T}no" >&6; }
16796 if test "x$ac_ct_RANLIB" = x
; then
16799 case $cross_compiling:$ac_tool_warned in
16801 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16802 whose name does not start with the host triplet. If you think this
16803 configuration is useful to you, please write to autoconf@gnu.org." >&5
16804 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16805 whose name does not start with the host triplet. If you think this
16806 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16807 ac_tool_warned
=yes ;;
16809 RANLIB
=$ac_ct_RANLIB
16812 RANLIB
="$ac_cv_prog_RANLIB"
16816 if test "x$SUNCXX" != xyes
; then
16817 if test -n "$ac_tool_prefix"; then
16818 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16819 set dummy
${ac_tool_prefix}ar; ac_word
=$2
16820 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16822 if test "${ac_cv_prog_AR+set}" = set; then
16823 echo $ECHO_N "(cached) $ECHO_C" >&6
16825 if test -n "$AR"; then
16826 ac_cv_prog_AR
="$AR" # Let the user override the test.
16828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16829 for as_dir
in $PATH
16832 test -z "$as_dir" && as_dir
=.
16833 for ac_exec_ext
in '' $ac_executable_extensions; do
16834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16835 ac_cv_prog_AR
="${ac_tool_prefix}ar"
16836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16846 if test -n "$AR"; then
16847 { echo "$as_me:$LINENO: result: $AR" >&5
16848 echo "${ECHO_T}$AR" >&6; }
16850 { echo "$as_me:$LINENO: result: no" >&5
16851 echo "${ECHO_T}no" >&6; }
16856 if test -z "$ac_cv_prog_AR"; then
16858 # Extract the first word of "ar", so it can be a program name with args.
16859 set dummy
ar; ac_word
=$2
16860 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16862 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16863 echo $ECHO_N "(cached) $ECHO_C" >&6
16865 if test -n "$ac_ct_AR"; then
16866 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
16868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16869 for as_dir
in $PATH
16872 test -z "$as_dir" && as_dir
=.
16873 for ac_exec_ext
in '' $ac_executable_extensions; do
16874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16875 ac_cv_prog_ac_ct_AR
="ar"
16876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16885 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
16886 if test -n "$ac_ct_AR"; then
16887 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16888 echo "${ECHO_T}$ac_ct_AR" >&6; }
16890 { echo "$as_me:$LINENO: result: no" >&5
16891 echo "${ECHO_T}no" >&6; }
16894 if test "x$ac_ct_AR" = x
; then
16897 case $cross_compiling:$ac_tool_warned in
16899 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16900 whose name does not start with the host triplet. If you think this
16901 configuration is useful to you, please write to autoconf@gnu.org." >&5
16902 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16903 whose name does not start with the host triplet. If you think this
16904 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16905 ac_tool_warned
=yes ;;
16910 AR
="$ac_cv_prog_AR"
16913 if test "x$AR" = "x" ; then
16914 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16915 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16916 { (exit 1); exit 1; }; }
16920 # Find a good install program. We prefer a C program (faster),
16921 # so one script is as good as another. But avoid the broken or
16922 # incompatible versions:
16923 # SysV /etc/install, /usr/sbin/install
16924 # SunOS /usr/etc/install
16925 # IRIX /sbin/install
16927 # AmigaOS /C/install, which installs bootblocks on floppy discs
16928 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16929 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16930 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16931 # OS/2's system install, which has a completely different semantic
16932 # ./install, which can be erroneously created by make from ./install.sh.
16933 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16934 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16935 if test -z "$INSTALL"; then
16936 if test "${ac_cv_path_install+set}" = set; then
16937 echo $ECHO_N "(cached) $ECHO_C" >&6
16939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16940 for as_dir
in $PATH
16943 test -z "$as_dir" && as_dir
=.
16944 # Account for people who put trailing slashes in PATH elements.
16946 .
/ | .
// | /cC
/* | \
16947 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
16948 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
16951 # OSF1 and SCO ODT 3.0 have their own names for install.
16952 # Don't use installbsd from OSF since it installs stuff as root
16954 for ac_prog
in ginstall scoinst
install; do
16955 for ac_exec_ext
in '' $ac_executable_extensions; do
16956 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
16957 if test $ac_prog = install &&
16958 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
16959 # AIX install. It has an incompatible calling convention.
16961 elif test $ac_prog = install &&
16962 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
16963 # program-specific install script used by HP pwplus--don't use.
16966 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
16979 if test "${ac_cv_path_install+set}" = set; then
16980 INSTALL
=$ac_cv_path_install
16982 # As a last resort, use the slow shell script. Don't cache a
16983 # value for INSTALL within a source directory, because that will
16984 # break other packages using the cache if that directory is
16985 # removed, or if the value is a relative name.
16986 INSTALL
=$ac_install_sh
16989 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16990 echo "${ECHO_T}$INSTALL" >&6; }
16992 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16993 # It thinks the first close brace ends the variable substitution.
16994 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
16996 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
16998 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
17004 ?
:* ) # Drive letter, considered as absolute.
17007 INSTALL
=`pwd`/${INSTALL} ;;
17014 INSTALL_PROGRAM
="cp -fp"
17015 INSTALL_DATA
="cp -fp"
17021 if test -n "$ac_tool_prefix"; then
17022 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
17023 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
17024 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17026 if test "${ac_cv_prog_STRIP+set}" = set; then
17027 echo $ECHO_N "(cached) $ECHO_C" >&6
17029 if test -n "$STRIP"; then
17030 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
17032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17033 for as_dir
in $PATH
17036 test -z "$as_dir" && as_dir
=.
17037 for ac_exec_ext
in '' $ac_executable_extensions; do
17038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17039 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
17040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17049 STRIP
=$ac_cv_prog_STRIP
17050 if test -n "$STRIP"; then
17051 { echo "$as_me:$LINENO: result: $STRIP" >&5
17052 echo "${ECHO_T}$STRIP" >&6; }
17054 { echo "$as_me:$LINENO: result: no" >&5
17055 echo "${ECHO_T}no" >&6; }
17060 if test -z "$ac_cv_prog_STRIP"; then
17062 # Extract the first word of "strip", so it can be a program name with args.
17063 set dummy strip
; ac_word
=$2
17064 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17066 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
17067 echo $ECHO_N "(cached) $ECHO_C" >&6
17069 if test -n "$ac_ct_STRIP"; then
17070 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
17072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17073 for as_dir
in $PATH
17076 test -z "$as_dir" && as_dir
=.
17077 for ac_exec_ext
in '' $ac_executable_extensions; do
17078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17079 ac_cv_prog_ac_ct_STRIP
="strip"
17080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17089 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
17090 if test -n "$ac_ct_STRIP"; then
17091 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
17092 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
17094 { echo "$as_me:$LINENO: result: no" >&5
17095 echo "${ECHO_T}no" >&6; }
17098 if test "x$ac_ct_STRIP" = x
; then
17101 case $cross_compiling:$ac_tool_warned in
17103 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17104 whose name does not start with the host triplet. If you think this
17105 configuration is useful to you, please write to autoconf@gnu.org." >&5
17106 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17107 whose name does not start with the host triplet. If you think this
17108 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17109 ac_tool_warned
=yes ;;
17114 STRIP
="$ac_cv_prog_STRIP"
17118 if test "$wxUSE_WINE" = "yes"; then
17119 if test -n "$ac_tool_prefix"; then
17120 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
17121 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
17122 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17124 if test "${ac_cv_prog_WINDRES+set}" = set; then
17125 echo $ECHO_N "(cached) $ECHO_C" >&6
17127 if test -n "$WINDRES"; then
17128 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
17130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17131 for as_dir
in $PATH
17134 test -z "$as_dir" && as_dir
=.
17135 for ac_exec_ext
in '' $ac_executable_extensions; do
17136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17137 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
17138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17147 WINDRES
=$ac_cv_prog_WINDRES
17148 if test -n "$WINDRES"; then
17149 { echo "$as_me:$LINENO: result: $WINDRES" >&5
17150 echo "${ECHO_T}$WINDRES" >&6; }
17152 { echo "$as_me:$LINENO: result: no" >&5
17153 echo "${ECHO_T}no" >&6; }
17158 if test -z "$ac_cv_prog_WINDRES"; then
17159 ac_ct_WINDRES
=$WINDRES
17160 # Extract the first word of "wrc", so it can be a program name with args.
17161 set dummy wrc
; ac_word
=$2
17162 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17164 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
17165 echo $ECHO_N "(cached) $ECHO_C" >&6
17167 if test -n "$ac_ct_WINDRES"; then
17168 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
17170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17171 for as_dir
in $PATH
17174 test -z "$as_dir" && as_dir
=.
17175 for ac_exec_ext
in '' $ac_executable_extensions; do
17176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17177 ac_cv_prog_ac_ct_WINDRES
="wrc"
17178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17187 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
17188 if test -n "$ac_ct_WINDRES"; then
17189 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
17190 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
17192 { echo "$as_me:$LINENO: result: no" >&5
17193 echo "${ECHO_T}no" >&6; }
17196 if test "x$ac_ct_WINDRES" = x
; then
17199 case $cross_compiling:$ac_tool_warned in
17201 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17202 whose name does not start with the host triplet. If you think this
17203 configuration is useful to you, please write to autoconf@gnu.org." >&5
17204 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17205 whose name does not start with the host triplet. If you think this
17206 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17207 ac_tool_warned
=yes ;;
17209 WINDRES
=$ac_ct_WINDRES
17212 WINDRES
="$ac_cv_prog_WINDRES"
17218 *-*-cygwin* | *-*-mingw32* )
17219 if test -n "$ac_tool_prefix"; then
17220 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
17221 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
17222 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17224 if test "${ac_cv_prog_WINDRES+set}" = set; then
17225 echo $ECHO_N "(cached) $ECHO_C" >&6
17227 if test -n "$WINDRES"; then
17228 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
17230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17231 for as_dir
in $PATH
17234 test -z "$as_dir" && as_dir
=.
17235 for ac_exec_ext
in '' $ac_executable_extensions; do
17236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17237 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
17238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17247 WINDRES
=$ac_cv_prog_WINDRES
17248 if test -n "$WINDRES"; then
17249 { echo "$as_me:$LINENO: result: $WINDRES" >&5
17250 echo "${ECHO_T}$WINDRES" >&6; }
17252 { echo "$as_me:$LINENO: result: no" >&5
17253 echo "${ECHO_T}no" >&6; }
17258 if test -z "$ac_cv_prog_WINDRES"; then
17259 ac_ct_WINDRES
=$WINDRES
17260 # Extract the first word of "windres", so it can be a program name with args.
17261 set dummy windres
; ac_word
=$2
17262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17264 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
17265 echo $ECHO_N "(cached) $ECHO_C" >&6
17267 if test -n "$ac_ct_WINDRES"; then
17268 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
17270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17271 for as_dir
in $PATH
17274 test -z "$as_dir" && as_dir
=.
17275 for ac_exec_ext
in '' $ac_executable_extensions; do
17276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17277 ac_cv_prog_ac_ct_WINDRES
="windres"
17278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17287 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
17288 if test -n "$ac_ct_WINDRES"; then
17289 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
17290 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
17292 { echo "$as_me:$LINENO: result: no" >&5
17293 echo "${ECHO_T}no" >&6; }
17296 if test "x$ac_ct_WINDRES" = x
; then
17299 case $cross_compiling:$ac_tool_warned in
17301 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17302 whose name does not start with the host triplet. If you think this
17303 configuration is useful to you, please write to autoconf@gnu.org." >&5
17304 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17305 whose name does not start with the host triplet. If you think this
17306 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17307 ac_tool_warned
=yes ;;
17309 WINDRES
=$ac_ct_WINDRES
17312 WINDRES
="$ac_cv_prog_WINDRES"
17316 if test -n "$ac_tool_prefix"; then
17317 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
17318 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
17319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17321 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
17322 echo $ECHO_N "(cached) $ECHO_C" >&6
17324 if test -n "$DLLTOOL"; then
17325 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
17327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17328 for as_dir
in $PATH
17331 test -z "$as_dir" && as_dir
=.
17332 for ac_exec_ext
in '' $ac_executable_extensions; do
17333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17334 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
17335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17344 DLLTOOL
=$ac_cv_prog_DLLTOOL
17345 if test -n "$DLLTOOL"; then
17346 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
17347 echo "${ECHO_T}$DLLTOOL" >&6; }
17349 { echo "$as_me:$LINENO: result: no" >&5
17350 echo "${ECHO_T}no" >&6; }
17355 if test -z "$ac_cv_prog_DLLTOOL"; then
17356 ac_ct_DLLTOOL
=$DLLTOOL
17357 # Extract the first word of "dlltool", so it can be a program name with args.
17358 set dummy dlltool
; ac_word
=$2
17359 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17361 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
17362 echo $ECHO_N "(cached) $ECHO_C" >&6
17364 if test -n "$ac_ct_DLLTOOL"; then
17365 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
17367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17368 for as_dir
in $PATH
17371 test -z "$as_dir" && as_dir
=.
17372 for ac_exec_ext
in '' $ac_executable_extensions; do
17373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17374 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
17375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17384 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
17385 if test -n "$ac_ct_DLLTOOL"; then
17386 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
17387 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
17389 { echo "$as_me:$LINENO: result: no" >&5
17390 echo "${ECHO_T}no" >&6; }
17393 if test "x$ac_ct_DLLTOOL" = x
; then
17396 case $cross_compiling:$ac_tool_warned in
17398 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17399 whose name does not start with the host triplet. If you think this
17400 configuration is useful to you, please write to autoconf@gnu.org." >&5
17401 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17402 whose name does not start with the host triplet. If you think this
17403 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17404 ac_tool_warned
=yes ;;
17406 DLLTOOL
=$ac_ct_DLLTOOL
17409 DLLTOOL
="$ac_cv_prog_DLLTOOL"
17416 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
17417 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
17418 if test "${wx_cv_prog_makeisgnu+set}" = set; then
17419 echo $ECHO_N "(cached) $ECHO_C" >&6
17422 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
17423 $EGREP -s GNU
> /dev
/null
); then
17424 wx_cv_prog_makeisgnu
="yes"
17426 wx_cv_prog_makeisgnu
="no"
17430 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
17431 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
17433 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
17441 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
17442 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
17443 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
17444 if test "${wx_cv_prog_makevpath+set}" = set; then
17445 echo $ECHO_N "(cached) $ECHO_C" >&6
17448 cat - << EOF > confMake
17454 if test ! -d sub
; then
17457 echo dummy
> sub
/file
17458 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
17460 rm -f sub
/file check final_file confMake
17462 if test "$RESULT" = 0; then
17463 wx_cv_prog_makevpath
="yes"
17465 wx_cv_prog_makevpath
="no"
17469 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
17470 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
17472 if test "x$wx_cv_prog_makevpath" != "xyes"; then
17473 { { echo "$as_me:$LINENO: error:
17474 You need a make-utility that is able to use the variable
17476 If your version of make does not support VPATH correctly,
17477 please install GNU-make (possibly as gmake), and start
17478 configure with the following command:
17479 export MAKE=gmake; ./configure for sh-type shells
17480 setenv MAKE gmake; ./configure for csh-type shells
17481 Also please do remember to use gmake in this case every time
17482 you are trying to compile.
17484 echo "$as_me: error:
17485 You need a make-utility that is able to use the variable
17487 If your version of make does not support VPATH correctly,
17488 please install GNU-make (possibly as gmake), and start
17489 configure with the following command:
17490 export MAKE=gmake; ./configure for sh-type shells
17491 setenv MAKE gmake; ./configure for csh-type shells
17492 Also please do remember to use gmake in this case every time
17493 you are trying to compile.
17495 { (exit 1); exit 1; }; }
17497 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
17498 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
17500 if test "$LN_S" = "ln -s"; then
17501 { echo "$as_me:$LINENO: result: yes" >&5
17502 echo "${ECHO_T}yes" >&6; }
17504 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
17505 echo "${ECHO_T}no, using $LN_S" >&6; }
17511 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17512 CXXFLAGS
="-qunique $CXXFLAGS"
17516 powerpc
-*-darwin* )
17517 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17518 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17519 cat >conftest.
$ac_ext <<_ACEOF
17522 cat confdefs.h
>>conftest.
$ac_ext
17523 cat >>conftest.
$ac_ext <<_ACEOF
17524 /* end confdefs.h. */
17529 #ifndef __POWERPC__
17530 choke me for lack of PowerPC
17537 rm -f conftest.
$ac_objext
17538 if { (ac_try
="$ac_compile"
17539 case "(($ac_try" in
17540 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17541 *) ac_try_echo=$ac_try;;
17543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17544 (eval "$ac_compile") 2>conftest.er1
17546 grep -v '^ *+' conftest.er1 >conftest.err
17548 cat conftest.err >&5
17549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550 (exit $ac_status); } &&
17551 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17552 { (case "(($ac_try" in
17553 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17554 *) ac_try_echo
=$ac_try;;
17556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17557 (eval "$ac_try") 2>&5
17559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17560 (exit $ac_status); }; } &&
17561 { ac_try
='test -s conftest.$ac_objext'
17562 { (case "(($ac_try" in
17563 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17564 *) ac_try_echo=$ac_try;;
17566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17567 (eval "$ac_try") 2>&5
17569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17570 (exit $ac_status); }; }; then
17571 { echo "$as_me:$LINENO: result: yes" >&5
17572 echo "${ECHO_T}yes" >&6; }
17574 echo "$as_me: failed program was:" >&5
17575 sed 's/^/| /' conftest.$ac_ext >&5
17577 { echo "$as_me:$LINENO: result: no" >&5
17578 echo "${ECHO_T}no" >&6; }
17579 cat >>confdefs.h <<\_ACEOF
17580 #define __POWERPC__ 1
17586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17592 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17593 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17594 cat >conftest.$ac_ext <<_ACEOF
17597 cat confdefs.h >>conftest.$ac_ext
17598 cat >>conftest.$ac_ext <<_ACEOF
17599 /* end confdefs.h. */
17600 #include <CoreFoundation/CFBase.h>
17610 rm -f conftest.$ac_objext
17611 if { (ac_try="$ac_compile"
17612 case "(($ac_try" in
17613 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17614 *) ac_try_echo
=$ac_try;;
17616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17617 (eval "$ac_compile") 2>conftest.er1
17619 grep -v '^ *+' conftest.er1
>conftest.err
17621 cat conftest.err
>&5
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); } &&
17624 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17625 { (case "(($ac_try" in
17626 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17627 *) ac_try_echo=$ac_try;;
17629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17630 (eval "$ac_try") 2>&5
17632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17633 (exit $ac_status); }; } &&
17634 { ac_try='test -s conftest.$ac_objext'
17635 { (case "(($ac_try" in
17636 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17637 *) ac_try_echo
=$ac_try;;
17639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17640 (eval "$ac_try") 2>&5
17642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643 (exit $ac_status); }; }; then
17644 { echo "$as_me:$LINENO: result: yes" >&5
17645 echo "${ECHO_T}yes" >&6; }
17647 echo "$as_me: failed program was:" >&5
17648 sed 's/^/| /' conftest.
$ac_ext >&5
17650 { echo "$as_me:$LINENO: result: no" >&5
17651 echo "${ECHO_T}no" >&6; }
17652 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17653 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17654 cat >conftest.
$ac_ext <<_ACEOF
17657 cat confdefs.h
>>conftest.
$ac_ext
17658 cat >>conftest.
$ac_ext <<_ACEOF
17659 /* end confdefs.h. */
17660 #define __CF_USE_FRAMEWORK_INCLUDES__
17661 #include <CoreFoundation/CFBase.h>
17671 rm -f conftest.
$ac_objext
17672 if { (ac_try
="$ac_compile"
17673 case "(($ac_try" in
17674 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17675 *) ac_try_echo=$ac_try;;
17677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17678 (eval "$ac_compile") 2>conftest.er1
17680 grep -v '^ *+' conftest.er1 >conftest.err
17682 cat conftest.err >&5
17683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17684 (exit $ac_status); } &&
17685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17686 { (case "(($ac_try" in
17687 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17688 *) ac_try_echo
=$ac_try;;
17690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17691 (eval "$ac_try") 2>&5
17693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17694 (exit $ac_status); }; } &&
17695 { ac_try
='test -s conftest.$ac_objext'
17696 { (case "(($ac_try" in
17697 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17698 *) ac_try_echo=$ac_try;;
17700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17701 (eval "$ac_try") 2>&5
17703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704 (exit $ac_status); }; }; then
17705 { echo "$as_me:$LINENO: result: yes" >&5
17706 echo "${ECHO_T}yes" >&6; }
17707 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17709 echo "$as_me: failed program was:" >&5
17710 sed 's/^/| /' conftest.$ac_ext >&5
17712 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17713 See \`config.log
' for more details." >&5
17714 echo "$as_me: error: no. CoreFoundation not available.
17715 See \`config.log' for more details.
" >&2;}
17716 { (exit 1); exit 1; }; }
17720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17730 doesnt_want_win32=0
17733 if test "$wxUSE_MSW" = 1 ; then
17736 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
17737 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
17738 if test "${wx_cv_nocygwin+set}" = set; then
17739 echo $ECHO_N "(cached
) $ECHO_C" >&6
17742 cat >conftest.$ac_ext <<_ACEOF
17745 cat confdefs.h >>conftest.$ac_ext
17746 cat >>conftest.$ac_ext <<_ACEOF
17747 /* end confdefs.h. */
17761 rm -f conftest.$ac_objext
17762 if { (ac_try="$ac_compile"
17763 case "(($ac_try" in
17764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17765 *) ac_try_echo=$ac_try;;
17767 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17768 (eval "$ac_compile") 2>conftest.er1
17770 grep -v '^ *+' conftest.er1 >conftest.err
17772 cat conftest.err >&5
17773 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17774 (exit $ac_status); } &&
17775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17776 { (case "(($ac_try" in
17777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17778 *) ac_try_echo=$ac_try;;
17780 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17781 (eval "$ac_try") 2>&5
17783 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17784 (exit $ac_status); }; } &&
17785 { ac_try='test -s conftest.$ac_objext'
17786 { (case "(($ac_try" in
17787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17788 *) ac_try_echo=$ac_try;;
17790 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17791 (eval "$ac_try") 2>&5
17793 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17794 (exit $ac_status); }; }; then
17797 echo "$as_me: failed program was
:" >&5
17798 sed 's/^/| /' conftest.$ac_ext >&5
17804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17808 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
17809 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17811 if test "$wx_cv_nocygwin" = "yes"; then
17814 doesnt_want_win32=1
17817 if test "$wants_win32" = 1 ; then
17818 BAKEFILE_FORCE_PLATFORM=win32
17826 if test "$wxUSE_WINE" = "yes"; then
17828 LDFLAGS_GUI="-mwindows"
17831 if test "$wants_win32" = 1 ; then
17834 cat >>confdefs.h <<\_ACEOF
17835 #define __WIN32__ 1
17838 cat >>confdefs.h <<\_ACEOF
17839 #define __WIN95__ 1
17842 cat >>confdefs.h <<\_ACEOF
17843 #define __WINDOWS__ 1
17846 cat >>confdefs.h <<\_ACEOF
17847 #define __GNUWIN32__ 1
17850 cat >>confdefs.h <<\_ACEOF
17855 if test "$doesnt_want_win32" = 1 ; then
17860 if test "$USE_UNIX" = 1 ; then
17862 cat >>confdefs.h <<\_ACEOF
17869 *-pc-os2_emx | *-pc-os2-emx )
17870 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17871 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
17872 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
17873 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17874 echo $ECHO_N "(cached
) $ECHO_C" >&6
17876 ac_check_lib_save_LIBS=$LIBS
17877 LIBS="-lcExt $LIBS"
17878 cat >conftest.$ac_ext <<_ACEOF
17881 cat confdefs.h >>conftest.$ac_ext
17882 cat >>conftest.$ac_ext <<_ACEOF
17883 /* end confdefs.h. */
17885 /* Override any GCC internal prototype to avoid an error.
17886 Use char because int might match the return type of a GCC
17887 builtin and then its argument prototype would still apply. */
17900 rm -f conftest.$ac_objext conftest$ac_exeext
17901 if { (ac_try="$ac_link"
17902 case "(($ac_try" in
17903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17904 *) ac_try_echo=$ac_try;;
17906 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17907 (eval "$ac_link") 2>conftest.er1
17909 grep -v '^ *+' conftest.er1 >conftest.err
17911 cat conftest.err >&5
17912 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17913 (exit $ac_status); } &&
17914 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17915 { (case "(($ac_try" in
17916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17917 *) ac_try_echo=$ac_try;;
17919 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17920 (eval "$ac_try") 2>&5
17922 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17923 (exit $ac_status); }; } &&
17924 { ac_try='test -s conftest$ac_exeext'
17925 { (case "(($ac_try" in
17926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17927 *) ac_try_echo=$ac_try;;
17929 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17930 (eval "$ac_try") 2>&5
17932 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17933 (exit $ac_status); }; }; then
17934 ac_cv_lib_cExt_drand48=yes
17936 echo "$as_me: failed program was
:" >&5
17937 sed 's/^/| /' conftest.$ac_ext >&5
17939 ac_cv_lib_cExt_drand48=no
17942 rm -f core conftest.err conftest.$ac_objext \
17943 conftest$ac_exeext conftest.$ac_ext
17944 LIBS=$ac_check_lib_save_LIBS
17946 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
17947 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17948 if test $ac_cv_lib_cExt_drand48 = yes; then
17949 LIBS="$LIBS -lcExt"
17953 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
17955 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
17956 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
17957 if test "${wx_cv_gccversion+set}" = set; then
17958 echo $ECHO_N "(cached
) $ECHO_C" >&6
17961 if test "$cross_compiling" = yes; then
17962 wx_cv_gccversion="EMX2
"
17965 cat >conftest.$ac_ext <<_ACEOF
17968 cat confdefs.h >>conftest.$ac_ext
17969 cat >>conftest.$ac_ext <<_ACEOF
17970 /* end confdefs.h. */
17976 FILE *f=fopen("conftestval
", "w
");
17981 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17983 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17993 rm -f conftest$ac_exeext
17994 if { (ac_try="$ac_link"
17995 case "(($ac_try" in
17996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17997 *) ac_try_echo=$ac_try;;
17999 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18000 (eval "$ac_link") 2>&5
18002 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18003 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18004 { (case "(($ac_try" in
18005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18006 *) ac_try_echo=$ac_try;;
18008 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18009 (eval "$ac_try") 2>&5
18011 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18012 (exit $ac_status); }; }; then
18013 wx_cv_gccversion=`cat conftestval`
18015 echo "$as_me: program exited with status
$ac_status" >&5
18016 echo "$as_me: failed program was
:" >&5
18017 sed 's/^/| /' conftest.$ac_ext >&5
18019 ( exit $ac_status )
18020 wx_cv_gccversion="EMX2
"
18022 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18028 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18029 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18030 if test "$wx_cv_gccversion" = "EMX2
"; then
18031 LIBS="$LIBS -lstdcpp"
18032 LDFLAGS="$LDFLAGS -Zsysv-signals"
18034 if test "$wx_cv_gccversion" = "EMX3
"; then
18035 LIBS="$LIBS -lstdcxx -lgcc"
18036 LDFLAGS="$LDFLAGS -Zsysv-signals"
18038 LIBS="$LIBS -lstdc++"
18041 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18042 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18043 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18050 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18051 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18052 if test "${ac_cv_string_strcasecmp+set}" = set; then
18053 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. */
18063 #include <string.h>
18069 strcasecmp("foo
", "bar
");
18075 rm -f conftest.$ac_objext conftest$ac_exeext
18076 if { (ac_try="$ac_link"
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_link") 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 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18090 { (case "(($ac_try" in
18091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18092 *) ac_try_echo=$ac_try;;
18094 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18095 (eval "$ac_try") 2>&5
18097 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18098 (exit $ac_status); }; } &&
18099 { ac_try='test -s conftest$ac_exeext'
18100 { (case "(($ac_try" in
18101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18102 *) ac_try_echo=$ac_try;;
18104 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18105 (eval "$ac_try") 2>&5
18107 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18108 (exit $ac_status); }; }; then
18109 ac_cv_string_strcasecmp=yes
18111 echo "$as_me: failed program was
:" >&5
18112 sed 's/^/| /' conftest.$ac_ext >&5
18114 ac_cv_string_strcasecmp=no
18118 rm -f core conftest.err conftest.$ac_objext \
18119 conftest$ac_exeext conftest.$ac_ext
18122 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18123 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18125 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18126 cat >>confdefs.h <<\_ACEOF
18127 #define HAVE_STRCASECMP_IN_STRING_H 1
18131 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18132 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18133 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18134 echo $ECHO_N "(cached
) $ECHO_C" >&6
18137 cat >conftest.$ac_ext <<_ACEOF
18140 cat confdefs.h >>conftest.$ac_ext
18141 cat >>conftest.$ac_ext <<_ACEOF
18142 /* end confdefs.h. */
18144 #include <strings.h>
18150 strcasecmp("foo
", "bar
");
18156 rm -f conftest.$ac_objext conftest$ac_exeext
18157 if { (ac_try="$ac_link"
18158 case "(($ac_try" in
18159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18160 *) ac_try_echo=$ac_try;;
18162 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18163 (eval "$ac_link") 2>conftest.er1
18165 grep -v '^ *+' conftest.er1 >conftest.err
18167 cat conftest.err >&5
18168 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18169 (exit $ac_status); } &&
18170 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18171 { (case "(($ac_try" in
18172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18173 *) ac_try_echo=$ac_try;;
18175 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18176 (eval "$ac_try") 2>&5
18178 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18179 (exit $ac_status); }; } &&
18180 { ac_try='test -s conftest$ac_exeext'
18181 { (case "(($ac_try" in
18182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18183 *) ac_try_echo=$ac_try;;
18185 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18186 (eval "$ac_try") 2>&5
18188 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18189 (exit $ac_status); }; }; then
18190 ac_cv_strings_strcasecmp=yes
18192 echo "$as_me: failed program was
:" >&5
18193 sed 's/^/| /' conftest.$ac_ext >&5
18195 ac_cv_strings_strcasecmp=no
18199 rm -f core conftest.err conftest.$ac_objext \
18200 conftest$ac_exeext conftest.$ac_ext
18203 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18204 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18206 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18207 cat >>confdefs.h <<\_ACEOF
18208 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18212 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18213 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18214 { (exit 1); exit 1; }; }
18222 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18223 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18224 if test "${ac_cv_header_stdc+set}" = set; then
18225 echo $ECHO_N "(cached
) $ECHO_C" >&6
18227 cat >conftest.$ac_ext <<_ACEOF
18230 cat confdefs.h >>conftest.$ac_ext
18231 cat >>conftest.$ac_ext <<_ACEOF
18232 /* end confdefs.h. */
18233 #include <stdlib.h>
18234 #include <stdarg.h>
18235 #include <string.h>
18246 rm -f conftest.$ac_objext
18247 if { (ac_try="$ac_compile"
18248 case "(($ac_try" in
18249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18250 *) ac_try_echo=$ac_try;;
18252 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18253 (eval "$ac_compile") 2>conftest.er1
18255 grep -v '^ *+' conftest.er1 >conftest.err
18257 cat conftest.err >&5
18258 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18259 (exit $ac_status); } &&
18260 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18261 { (case "(($ac_try" in
18262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18263 *) ac_try_echo=$ac_try;;
18265 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18266 (eval "$ac_try") 2>&5
18268 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18269 (exit $ac_status); }; } &&
18270 { ac_try='test -s conftest.$ac_objext'
18271 { (case "(($ac_try" in
18272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18273 *) ac_try_echo=$ac_try;;
18275 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18276 (eval "$ac_try") 2>&5
18278 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18279 (exit $ac_status); }; }; then
18280 ac_cv_header_stdc=yes
18282 echo "$as_me: failed program was
:" >&5
18283 sed 's/^/| /' conftest.$ac_ext >&5
18285 ac_cv_header_stdc=no
18288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18290 if test $ac_cv_header_stdc = yes; then
18291 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18292 cat >conftest.$ac_ext <<_ACEOF
18295 cat confdefs.h >>conftest.$ac_ext
18296 cat >>conftest.$ac_ext <<_ACEOF
18297 /* end confdefs.h. */
18298 #include <string.h>
18301 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18302 $EGREP "memchr
" >/dev/null 2>&1; then
18305 ac_cv_header_stdc=no
18311 if test $ac_cv_header_stdc = yes; then
18312 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18313 cat >conftest.$ac_ext <<_ACEOF
18316 cat confdefs.h >>conftest.$ac_ext
18317 cat >>conftest.$ac_ext <<_ACEOF
18318 /* end confdefs.h. */
18319 #include <stdlib.h>
18322 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18323 $EGREP "free
" >/dev/null 2>&1; then
18326 ac_cv_header_stdc=no
18332 if test $ac_cv_header_stdc = yes; then
18333 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18334 if test "$cross_compiling" = yes; then
18337 cat >conftest.$ac_ext <<_ACEOF
18340 cat confdefs.h >>conftest.$ac_ext
18341 cat >>conftest.$ac_ext <<_ACEOF
18342 /* end confdefs.h. */
18344 #include <stdlib.h>
18345 #if ((' ' & 0x0FF) == 0x020)
18346 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18347 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18349 # define ISLOWER(c) \
18350 (('a' <= (c) && (c) <= 'i') \
18351 || ('j' <= (c) && (c) <= 'r') \
18352 || ('s' <= (c) && (c) <= 'z'))
18353 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18356 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18361 for (i = 0; i < 256; i++)
18362 if (XOR (islower (i), ISLOWER (i))
18363 || toupper (i) != TOUPPER (i))
18368 rm -f conftest$ac_exeext
18369 if { (ac_try="$ac_link"
18370 case "(($ac_try" in
18371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18372 *) ac_try_echo=$ac_try;;
18374 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18375 (eval "$ac_link") 2>&5
18377 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18378 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18379 { (case "(($ac_try" in
18380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18381 *) ac_try_echo=$ac_try;;
18383 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18384 (eval "$ac_try") 2>&5
18386 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18387 (exit $ac_status); }; }; then
18390 echo "$as_me: program exited with status
$ac_status" >&5
18391 echo "$as_me: failed program was
:" >&5
18392 sed 's/^/| /' conftest.$ac_ext >&5
18394 ( exit $ac_status )
18395 ac_cv_header_stdc=no
18397 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18403 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
18404 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18405 if test $ac_cv_header_stdc = yes; then
18407 cat >>confdefs.h <<\_ACEOF
18408 #define STDC_HEADERS 1
18413 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18423 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18424 inttypes.h stdint.h unistd.h
18426 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18427 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18428 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18429 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18430 echo $ECHO_N "(cached
) $ECHO_C" >&6
18432 cat >conftest.$ac_ext <<_ACEOF
18435 cat confdefs.h >>conftest.$ac_ext
18436 cat >>conftest.$ac_ext <<_ACEOF
18437 /* end confdefs.h. */
18438 $ac_includes_default
18440 #include <$ac_header>
18442 rm -f conftest.$ac_objext
18443 if { (ac_try="$ac_compile"
18444 case "(($ac_try" in
18445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18446 *) ac_try_echo=$ac_try;;
18448 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18449 (eval "$ac_compile") 2>conftest.er1
18451 grep -v '^ *+' conftest.er1 >conftest.err
18453 cat conftest.err >&5
18454 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18455 (exit $ac_status); } &&
18456 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18457 { (case "(($ac_try" in
18458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18459 *) ac_try_echo=$ac_try;;
18461 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18462 (eval "$ac_try") 2>&5
18464 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18465 (exit $ac_status); }; } &&
18466 { ac_try='test -s conftest.$ac_objext'
18467 { (case "(($ac_try" in
18468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18469 *) ac_try_echo=$ac_try;;
18471 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18472 (eval "$ac_try") 2>&5
18474 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18475 (exit $ac_status); }; }; then
18476 eval "$as_ac_Header=yes"
18478 echo "$as_me: failed program was
:" >&5
18479 sed 's/^/| /' conftest.$ac_ext >&5
18481 eval "$as_ac_Header=no
"
18484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18486 ac_res=`eval echo '${'$as_ac_Header'}'`
18487 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18488 echo "${ECHO_T}$ac_res" >&6; }
18489 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18490 cat >>confdefs.h <<_ACEOF
18491 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18505 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
18507 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18508 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18509 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18510 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18511 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18512 echo $ECHO_N "(cached
) $ECHO_C" >&6
18514 ac_res=`eval echo '${'$as_ac_Header'}'`
18515 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18516 echo "${ECHO_T}$ac_res" >&6; }
18518 # Is the header compilable?
18519 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
18520 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
18521 cat >conftest.$ac_ext <<_ACEOF
18524 cat confdefs.h >>conftest.$ac_ext
18525 cat >>conftest.$ac_ext <<_ACEOF
18526 /* end confdefs.h. */
18527 $ac_includes_default
18528 #include <$ac_header>
18530 rm -f conftest.$ac_objext
18531 if { (ac_try="$ac_compile"
18532 case "(($ac_try" in
18533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18534 *) ac_try_echo=$ac_try;;
18536 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18537 (eval "$ac_compile") 2>conftest.er1
18539 grep -v '^ *+' conftest.er1 >conftest.err
18541 cat conftest.err >&5
18542 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18543 (exit $ac_status); } &&
18544 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18545 { (case "(($ac_try" in
18546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18547 *) ac_try_echo=$ac_try;;
18549 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18550 (eval "$ac_try") 2>&5
18552 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18553 (exit $ac_status); }; } &&
18554 { ac_try='test -s conftest.$ac_objext'
18555 { (case "(($ac_try" in
18556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18557 *) ac_try_echo=$ac_try;;
18559 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18560 (eval "$ac_try") 2>&5
18562 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18563 (exit $ac_status); }; }; then
18564 ac_header_compiler=yes
18566 echo "$as_me: failed program was
:" >&5
18567 sed 's/^/| /' conftest.$ac_ext >&5
18569 ac_header_compiler=no
18572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18573 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
18574 echo "${ECHO_T}$ac_header_compiler" >&6; }
18576 # Is the header present?
18577 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
18578 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
18579 cat >conftest.$ac_ext <<_ACEOF
18582 cat confdefs.h >>conftest.$ac_ext
18583 cat >>conftest.$ac_ext <<_ACEOF
18584 /* end confdefs.h. */
18585 #include <$ac_header>
18587 if { (ac_try="$ac_cpp conftest.
$ac_ext"
18588 case "(($ac_try" in
18589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18590 *) ac_try_echo=$ac_try;;
18592 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18593 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
18595 grep -v '^ *+' conftest.er1 >conftest.err
18597 cat conftest.err >&5
18598 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18599 (exit $ac_status); } >/dev/null; then
18600 if test -s conftest.err; then
18601 ac_cpp_err=$ac_c_preproc_warn_flag
18602 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18609 if test -z "$ac_cpp_err"; then
18610 ac_header_preproc=yes
18612 echo "$as_me: failed program was
:" >&5
18613 sed 's/^/| /' conftest.$ac_ext >&5
18615 ac_header_preproc=no
18618 rm -f conftest.err conftest.$ac_ext
18619 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
18620 echo "${ECHO_T}$ac_header_preproc" >&6; }
18622 # So? What about this header?
18623 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18625 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
18626 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
18627 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
18628 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
18629 ac_header_preproc=yes
18632 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
18633 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
18634 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
18635 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
18636 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
18637 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
18638 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
18639 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
18640 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
18641 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
18642 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
18643 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
18645 ## ----------------------------------------- ##
18646 ## Report this to wx-dev@lists.wxwidgets.org ##
18647 ## ----------------------------------------- ##
18649 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
18652 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18653 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18654 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18655 echo $ECHO_N "(cached
) $ECHO_C" >&6
18657 eval "$as_ac_Header=\
$ac_header_preproc"
18659 ac_res=`eval echo '${'$as_ac_Header'}'`
18660 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18661 echo "${ECHO_T}$ac_res" >&6; }
18664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18665 cat >>confdefs.h <<_ACEOF
18666 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18674 if test "$ac_cv_header_wchar_h" != "yes"; then
18676 for ac_header in wcstr.h
18678 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18679 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18680 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18681 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18682 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18683 echo $ECHO_N "(cached
) $ECHO_C" >&6
18685 ac_res=`eval echo '${'$as_ac_Header'}'`
18686 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18687 echo "${ECHO_T}$ac_res" >&6; }
18689 # Is the header compilable?
18690 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
18691 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
18692 cat >conftest.$ac_ext <<_ACEOF
18695 cat confdefs.h >>conftest.$ac_ext
18696 cat >>conftest.$ac_ext <<_ACEOF
18697 /* end confdefs.h. */
18698 $ac_includes_default
18699 #include <$ac_header>
18701 rm -f conftest.$ac_objext
18702 if { (ac_try="$ac_compile"
18703 case "(($ac_try" in
18704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18705 *) ac_try_echo=$ac_try;;
18707 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18708 (eval "$ac_compile") 2>conftest.er1
18710 grep -v '^ *+' conftest.er1 >conftest.err
18712 cat conftest.err >&5
18713 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18714 (exit $ac_status); } &&
18715 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18716 { (case "(($ac_try" in
18717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18718 *) ac_try_echo=$ac_try;;
18720 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18721 (eval "$ac_try") 2>&5
18723 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18724 (exit $ac_status); }; } &&
18725 { ac_try='test -s conftest.$ac_objext'
18726 { (case "(($ac_try" in
18727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18728 *) ac_try_echo=$ac_try;;
18730 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18731 (eval "$ac_try") 2>&5
18733 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18734 (exit $ac_status); }; }; then
18735 ac_header_compiler=yes
18737 echo "$as_me: failed program was
:" >&5
18738 sed 's/^/| /' conftest.$ac_ext >&5
18740 ac_header_compiler=no
18743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18744 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
18745 echo "${ECHO_T}$ac_header_compiler" >&6; }
18747 # Is the header present?
18748 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
18749 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
18750 cat >conftest.$ac_ext <<_ACEOF
18753 cat confdefs.h >>conftest.$ac_ext
18754 cat >>conftest.$ac_ext <<_ACEOF
18755 /* end confdefs.h. */
18756 #include <$ac_header>
18758 if { (ac_try="$ac_cpp conftest.
$ac_ext"
18759 case "(($ac_try" in
18760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18761 *) ac_try_echo=$ac_try;;
18763 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18764 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
18766 grep -v '^ *+' conftest.er1 >conftest.err
18768 cat conftest.err >&5
18769 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18770 (exit $ac_status); } >/dev/null; then
18771 if test -s conftest.err; then
18772 ac_cpp_err=$ac_c_preproc_warn_flag
18773 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18780 if test -z "$ac_cpp_err"; then
18781 ac_header_preproc=yes
18783 echo "$as_me: failed program was
:" >&5
18784 sed 's/^/| /' conftest.$ac_ext >&5
18786 ac_header_preproc=no
18789 rm -f conftest.err conftest.$ac_ext
18790 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
18791 echo "${ECHO_T}$ac_header_preproc" >&6; }
18793 # So? What about this header?
18794 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18796 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
18797 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
18798 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
18799 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
18800 ac_header_preproc=yes
18803 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
18804 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
18805 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
18806 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
18807 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
18808 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
18809 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
18810 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
18811 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
18812 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
18813 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
18814 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
18816 ## ----------------------------------------- ##
18817 ## Report this to wx-dev@lists.wxwidgets.org ##
18818 ## ----------------------------------------- ##
18820 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
18823 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18824 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18825 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18826 echo $ECHO_N "(cached
) $ECHO_C" >&6
18828 eval "$as_ac_Header=\
$ac_header_preproc"
18830 ac_res=`eval echo '${'$as_ac_Header'}'`
18831 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18832 echo "${ECHO_T}$ac_res" >&6; }
18835 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18836 cat >>confdefs.h <<_ACEOF
18837 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18847 *-pc-os2_emx | *-pc-os2-emx )
18848 if test $ac_cv_header_langinfo_h = "yes" \
18849 -a \( "$wx_cv_gccversion" = "EMX2
" \
18850 -o "$wx_cv_gccversion" = "EMX3
" \
18851 -o "$wx_cv_gccversion" = "Innotek5
" \); then
18852 LIBS="$LIBS -lintl"
18857 if test "$USE_UNIX" = 1 ; then
18859 for ac_header in sys/select.h
18861 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18862 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18863 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18864 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18865 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18866 echo $ECHO_N "(cached
) $ECHO_C" >&6
18868 ac_res=`eval echo '${'$as_ac_Header'}'`
18869 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18870 echo "${ECHO_T}$ac_res" >&6; }
18872 # Is the header compilable?
18873 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
18874 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
18875 cat >conftest.$ac_ext <<_ACEOF
18878 cat confdefs.h >>conftest.$ac_ext
18879 cat >>conftest.$ac_ext <<_ACEOF
18880 /* end confdefs.h. */
18881 $ac_includes_default
18882 #include <$ac_header>
18884 rm -f conftest.$ac_objext
18885 if { (ac_try="$ac_compile"
18886 case "(($ac_try" in
18887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18888 *) ac_try_echo=$ac_try;;
18890 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18891 (eval "$ac_compile") 2>conftest.er1
18893 grep -v '^ *+' conftest.er1 >conftest.err
18895 cat conftest.err >&5
18896 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18897 (exit $ac_status); } &&
18898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18899 { (case "(($ac_try" in
18900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18901 *) ac_try_echo=$ac_try;;
18903 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18904 (eval "$ac_try") 2>&5
18906 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18907 (exit $ac_status); }; } &&
18908 { ac_try='test -s conftest.$ac_objext'
18909 { (case "(($ac_try" in
18910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18911 *) ac_try_echo=$ac_try;;
18913 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18914 (eval "$ac_try") 2>&5
18916 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18917 (exit $ac_status); }; }; then
18918 ac_header_compiler=yes
18920 echo "$as_me: failed program was
:" >&5
18921 sed 's/^/| /' conftest.$ac_ext >&5
18923 ac_header_compiler=no
18926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18927 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
18928 echo "${ECHO_T}$ac_header_compiler" >&6; }
18930 # Is the header present?
18931 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
18932 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
18933 cat >conftest.$ac_ext <<_ACEOF
18936 cat confdefs.h >>conftest.$ac_ext
18937 cat >>conftest.$ac_ext <<_ACEOF
18938 /* end confdefs.h. */
18939 #include <$ac_header>
18941 if { (ac_try="$ac_cpp conftest.
$ac_ext"
18942 case "(($ac_try" in
18943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18944 *) ac_try_echo=$ac_try;;
18946 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18947 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
18949 grep -v '^ *+' conftest.er1 >conftest.err
18951 cat conftest.err >&5
18952 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18953 (exit $ac_status); } >/dev/null; then
18954 if test -s conftest.err; then
18955 ac_cpp_err=$ac_c_preproc_warn_flag
18956 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18963 if test -z "$ac_cpp_err"; then
18964 ac_header_preproc=yes
18966 echo "$as_me: failed program was
:" >&5
18967 sed 's/^/| /' conftest.$ac_ext >&5
18969 ac_header_preproc=no
18972 rm -f conftest.err conftest.$ac_ext
18973 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
18974 echo "${ECHO_T}$ac_header_preproc" >&6; }
18976 # So? What about this header?
18977 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18979 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
18980 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
18981 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
18982 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
18983 ac_header_preproc=yes
18986 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
18987 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
18988 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
18989 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
18990 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
18991 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
18992 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
18993 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
18994 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
18995 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
18996 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
18997 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
18999 ## ----------------------------------------- ##
19000 ## Report this to wx-dev@lists.wxwidgets.org ##
19001 ## ----------------------------------------- ##
19003 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
19006 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19007 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19008 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19009 echo $ECHO_N "(cached
) $ECHO_C" >&6
19011 eval "$as_ac_Header=\
$ac_header_preproc"
19013 ac_res=`eval echo '${'$as_ac_Header'}'`
19014 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19015 echo "${ECHO_T}$ac_res" >&6; }
19018 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19019 cat >>confdefs.h <<_ACEOF
19020 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19030 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19031 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19032 if test "${ac_cv_c_const+set}" = set; then
19033 echo $ECHO_N "(cached
) $ECHO_C" >&6
19035 cat >conftest.$ac_ext <<_ACEOF
19038 cat confdefs.h >>conftest.$ac_ext
19039 cat >>conftest.$ac_ext <<_ACEOF
19040 /* end confdefs.h. */
19045 /* FIXME: Include the comments suggested by Paul. */
19046 #ifndef __cplusplus
19047 /* Ultrix mips cc rejects this. */
19048 typedef int charset[2];
19050 /* SunOS 4.1.1 cc rejects this. */
19051 char const *const *ccp;
19053 /* NEC SVR4.0.2 mips cc rejects this. */
19054 struct point {int x, y;};
19055 static struct point const zero = {0,0};
19056 /* AIX XL C 1.02.0.0 rejects this.
19057 It does not let you subtract one const X* pointer from another in
19058 an arm of an if-expression whose if-part is not a constant
19060 const char *g = "string
";
19061 ccp = &g + (g ? g-g : 0);
19062 /* HPUX 7.0 cc rejects these. */
19065 ccp = (char const *const *) p;
19066 { /* SCO 3.2v4 cc rejects this. */
19068 char const *s = 0 ? (char *) 0 : (char const *) 0;
19073 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19074 int x[] = {25, 17};
19075 const int *foo = &x[0];
19078 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19079 typedef const int *iptr;
19083 { /* AIX XL C 1.02.0.0 rejects this saying
19084 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19085 struct s { int j; const int *ap[3]; };
19086 struct s *b; b->j = 5;
19088 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19089 const int foo = 10;
19090 if (!foo) return 0;
19092 return !x[0] && !zero.x;
19099 rm -f conftest.$ac_objext
19100 if { (ac_try="$ac_compile"
19101 case "(($ac_try" in
19102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19103 *) ac_try_echo=$ac_try;;
19105 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19106 (eval "$ac_compile") 2>conftest.er1
19108 grep -v '^ *+' conftest.er1 >conftest.err
19110 cat conftest.err >&5
19111 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19112 (exit $ac_status); } &&
19113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19114 { (case "(($ac_try" in
19115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19116 *) ac_try_echo=$ac_try;;
19118 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19119 (eval "$ac_try") 2>&5
19121 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19122 (exit $ac_status); }; } &&
19123 { ac_try='test -s conftest.$ac_objext'
19124 { (case "(($ac_try" in
19125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19126 *) ac_try_echo=$ac_try;;
19128 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19129 (eval "$ac_try") 2>&5
19131 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19132 (exit $ac_status); }; }; then
19135 echo "$as_me: failed program was
:" >&5
19136 sed 's/^/| /' conftest.$ac_ext >&5
19141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19143 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19144 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19145 if test $ac_cv_c_const = no; then
19147 cat >>confdefs.h <<\_ACEOF
19153 { echo "$as_me:$LINENO: checking
for inline
" >&5
19154 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19155 if test "${ac_cv_c_inline+set}" = set; then
19156 echo $ECHO_N "(cached
) $ECHO_C" >&6
19159 for ac_kw in inline __inline__ __inline; do
19160 cat >conftest.$ac_ext <<_ACEOF
19163 cat confdefs.h >>conftest.$ac_ext
19164 cat >>conftest.$ac_ext <<_ACEOF
19165 /* end confdefs.h. */
19166 #ifndef __cplusplus
19168 static $ac_kw foo_t static_foo () {return 0; }
19169 $ac_kw foo_t foo () {return 0; }
19173 rm -f conftest.$ac_objext
19174 if { (ac_try="$ac_compile"
19175 case "(($ac_try" in
19176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19177 *) ac_try_echo=$ac_try;;
19179 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19180 (eval "$ac_compile") 2>conftest.er1
19182 grep -v '^ *+' conftest.er1 >conftest.err
19184 cat conftest.err >&5
19185 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19186 (exit $ac_status); } &&
19187 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19188 { (case "(($ac_try" in
19189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19190 *) ac_try_echo=$ac_try;;
19192 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19193 (eval "$ac_try") 2>&5
19195 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19196 (exit $ac_status); }; } &&
19197 { ac_try='test -s conftest.$ac_objext'
19198 { (case "(($ac_try" in
19199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19200 *) ac_try_echo=$ac_try;;
19202 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19203 (eval "$ac_try") 2>&5
19205 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19206 (exit $ac_status); }; }; then
19207 ac_cv_c_inline=$ac_kw
19209 echo "$as_me: failed program was
:" >&5
19210 sed 's/^/| /' conftest.$ac_ext >&5
19215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19216 test "$ac_cv_c_inline" != no && break
19220 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19221 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19224 case $ac_cv_c_inline in
19227 case $ac_cv_c_inline in
19229 *) ac_val=$ac_cv_c_inline;;
19231 cat >>confdefs.h <<_ACEOF
19232 #ifndef __cplusplus
19233 #define inline $ac_val
19240 { echo "$as_me:$LINENO: checking
for char
" >&5
19241 echo $ECHO_N "checking
for char...
$ECHO_C" >&6; }
19242 if test "${ac_cv_type_char+set}" = set; then
19243 echo $ECHO_N "(cached
) $ECHO_C" >&6
19245 cat >conftest.$ac_ext <<_ACEOF
19248 cat confdefs.h >>conftest.$ac_ext
19249 cat >>conftest.$ac_ext <<_ACEOF
19250 /* end confdefs.h. */
19251 $ac_includes_default
19252 typedef char ac__type_new_;
19256 if ((ac__type_new_ *) 0)
19258 if (sizeof (ac__type_new_))
19264 rm -f conftest.$ac_objext
19265 if { (ac_try="$ac_compile"
19266 case "(($ac_try" in
19267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19268 *) ac_try_echo=$ac_try;;
19270 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19271 (eval "$ac_compile") 2>conftest.er1
19273 grep -v '^ *+' conftest.er1 >conftest.err
19275 cat conftest.err >&5
19276 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19277 (exit $ac_status); } &&
19278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19279 { (case "(($ac_try" in
19280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19281 *) ac_try_echo=$ac_try;;
19283 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19284 (eval "$ac_try") 2>&5
19286 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19287 (exit $ac_status); }; } &&
19288 { ac_try='test -s conftest.$ac_objext'
19289 { (case "(($ac_try" in
19290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19291 *) ac_try_echo=$ac_try;;
19293 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19294 (eval "$ac_try") 2>&5
19296 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19297 (exit $ac_status); }; }; then
19298 ac_cv_type_char=yes
19300 echo "$as_me: failed program was
:" >&5
19301 sed 's/^/| /' conftest.$ac_ext >&5
19306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19308 { echo "$as_me:$LINENO: result
: $ac_cv_type_char" >&5
19309 echo "${ECHO_T}$ac_cv_type_char" >&6; }
19311 { echo "$as_me:$LINENO: checking size of char
" >&5
19312 echo $ECHO_N "checking size of char...
$ECHO_C" >&6; }
19313 if test "${ac_cv_sizeof_char+set}" = set; then
19314 echo $ECHO_N "(cached
) $ECHO_C" >&6
19316 if test "$ac_cv_type_char" = yes; then
19317 # The cast to long int works around a bug in the HP C Compiler
19318 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19319 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19320 # This bug is HP SR number 8606223364.
19321 if test "$cross_compiling" = yes; then
19322 # Depending upon the size, compute the lo and hi bounds.
19323 cat >conftest.$ac_ext <<_ACEOF
19326 cat confdefs.h >>conftest.$ac_ext
19327 cat >>conftest.$ac_ext <<_ACEOF
19328 /* end confdefs.h. */
19329 $ac_includes_default
19330 typedef char ac__type_sizeof_;
19334 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19341 rm -f conftest.$ac_objext
19342 if { (ac_try="$ac_compile"
19343 case "(($ac_try" in
19344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19345 *) ac_try_echo=$ac_try;;
19347 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19348 (eval "$ac_compile") 2>conftest.er1
19350 grep -v '^ *+' conftest.er1 >conftest.err
19352 cat conftest.err >&5
19353 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19354 (exit $ac_status); } &&
19355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19356 { (case "(($ac_try" in
19357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19358 *) ac_try_echo=$ac_try;;
19360 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19361 (eval "$ac_try") 2>&5
19363 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19364 (exit $ac_status); }; } &&
19365 { ac_try='test -s conftest.$ac_objext'
19366 { (case "(($ac_try" in
19367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19368 *) ac_try_echo=$ac_try;;
19370 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19371 (eval "$ac_try") 2>&5
19373 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19374 (exit $ac_status); }; }; then
19377 cat >conftest.$ac_ext <<_ACEOF
19380 cat confdefs.h >>conftest.$ac_ext
19381 cat >>conftest.$ac_ext <<_ACEOF
19382 /* end confdefs.h. */
19383 $ac_includes_default
19384 typedef char ac__type_sizeof_;
19388 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19395 rm -f conftest.$ac_objext
19396 if { (ac_try="$ac_compile"
19397 case "(($ac_try" in
19398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19399 *) ac_try_echo=$ac_try;;
19401 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19402 (eval "$ac_compile") 2>conftest.er1
19404 grep -v '^ *+' conftest.er1 >conftest.err
19406 cat conftest.err >&5
19407 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19408 (exit $ac_status); } &&
19409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19410 { (case "(($ac_try" in
19411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19412 *) ac_try_echo=$ac_try;;
19414 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19415 (eval "$ac_try") 2>&5
19417 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19418 (exit $ac_status); }; } &&
19419 { ac_try='test -s conftest.$ac_objext'
19420 { (case "(($ac_try" in
19421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19422 *) ac_try_echo=$ac_try;;
19424 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19425 (eval "$ac_try") 2>&5
19427 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19428 (exit $ac_status); }; }; then
19429 ac_hi=$ac_mid; break
19431 echo "$as_me: failed program was
:" >&5
19432 sed 's/^/| /' conftest.$ac_ext >&5
19434 ac_lo=`expr $ac_mid + 1`
19435 if test $ac_lo -le $ac_mid; then
19439 ac_mid=`expr 2 '*' $ac_mid + 1`
19442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19445 echo "$as_me: failed program was
:" >&5
19446 sed 's/^/| /' conftest.$ac_ext >&5
19448 cat >conftest.$ac_ext <<_ACEOF
19451 cat confdefs.h >>conftest.$ac_ext
19452 cat >>conftest.$ac_ext <<_ACEOF
19453 /* end confdefs.h. */
19454 $ac_includes_default
19455 typedef char ac__type_sizeof_;
19459 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19466 rm -f conftest.$ac_objext
19467 if { (ac_try="$ac_compile"
19468 case "(($ac_try" in
19469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19470 *) ac_try_echo=$ac_try;;
19472 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19473 (eval "$ac_compile") 2>conftest.er1
19475 grep -v '^ *+' conftest.er1 >conftest.err
19477 cat conftest.err >&5
19478 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19479 (exit $ac_status); } &&
19480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19481 { (case "(($ac_try" in
19482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19483 *) ac_try_echo=$ac_try;;
19485 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19486 (eval "$ac_try") 2>&5
19488 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19489 (exit $ac_status); }; } &&
19490 { ac_try='test -s conftest.$ac_objext'
19491 { (case "(($ac_try" in
19492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19493 *) ac_try_echo=$ac_try;;
19495 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19496 (eval "$ac_try") 2>&5
19498 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19499 (exit $ac_status); }; }; then
19502 cat >conftest.$ac_ext <<_ACEOF
19505 cat confdefs.h >>conftest.$ac_ext
19506 cat >>conftest.$ac_ext <<_ACEOF
19507 /* end confdefs.h. */
19508 $ac_includes_default
19509 typedef char ac__type_sizeof_;
19513 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19520 rm -f conftest.$ac_objext
19521 if { (ac_try="$ac_compile"
19522 case "(($ac_try" in
19523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19524 *) ac_try_echo=$ac_try;;
19526 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19527 (eval "$ac_compile") 2>conftest.er1
19529 grep -v '^ *+' conftest.er1 >conftest.err
19531 cat conftest.err >&5
19532 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19533 (exit $ac_status); } &&
19534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19535 { (case "(($ac_try" in
19536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19537 *) ac_try_echo=$ac_try;;
19539 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19540 (eval "$ac_try") 2>&5
19542 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19543 (exit $ac_status); }; } &&
19544 { ac_try='test -s conftest.$ac_objext'
19545 { (case "(($ac_try" in
19546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19547 *) ac_try_echo=$ac_try;;
19549 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19550 (eval "$ac_try") 2>&5
19552 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19553 (exit $ac_status); }; }; then
19554 ac_lo=$ac_mid; break
19556 echo "$as_me: failed program was
:" >&5
19557 sed 's/^/| /' conftest.$ac_ext >&5
19559 ac_hi=`expr '(' $ac_mid ')' - 1`
19560 if test $ac_mid -le $ac_hi; then
19564 ac_mid=`expr 2 '*' $ac_mid`
19567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19570 echo "$as_me: failed program was
:" >&5
19571 sed 's/^/| /' conftest.$ac_ext >&5
19576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19580 # Binary search between lo and hi bounds.
19581 while test "x
$ac_lo" != "x
$ac_hi"; do
19582 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19583 cat >conftest.$ac_ext <<_ACEOF
19586 cat confdefs.h >>conftest.$ac_ext
19587 cat >>conftest.$ac_ext <<_ACEOF
19588 /* end confdefs.h. */
19589 $ac_includes_default
19590 typedef char ac__type_sizeof_;
19594 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19601 rm -f conftest.$ac_objext
19602 if { (ac_try="$ac_compile"
19603 case "(($ac_try" in
19604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19605 *) ac_try_echo=$ac_try;;
19607 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19608 (eval "$ac_compile") 2>conftest.er1
19610 grep -v '^ *+' conftest.er1 >conftest.err
19612 cat conftest.err >&5
19613 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19614 (exit $ac_status); } &&
19615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19616 { (case "(($ac_try" in
19617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19618 *) ac_try_echo=$ac_try;;
19620 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19621 (eval "$ac_try") 2>&5
19623 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19624 (exit $ac_status); }; } &&
19625 { ac_try='test -s conftest.$ac_objext'
19626 { (case "(($ac_try" in
19627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19628 *) ac_try_echo=$ac_try;;
19630 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19631 (eval "$ac_try") 2>&5
19633 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19634 (exit $ac_status); }; }; then
19637 echo "$as_me: failed program was
:" >&5
19638 sed 's/^/| /' conftest.$ac_ext >&5
19640 ac_lo=`expr '(' $ac_mid ')' + 1`
19643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19646 ?*) ac_cv_sizeof_char=$ac_lo;;
19647 '') { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(char
)
19648 See \
`config.log' for more details." >&5
19649 echo "$as_me: error: cannot compute sizeof (char)
19650 See \`config.log
' for more details." >&2;}
19651 { (exit 77); exit 77; }; } ;;
19654 cat >conftest.$ac_ext <<_ACEOF
19657 cat confdefs.h >>conftest.$ac_ext
19658 cat >>conftest.$ac_ext <<_ACEOF
19659 /* end confdefs.h. */
19660 $ac_includes_default
19661 typedef char ac__type_sizeof_;
19662 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19663 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19665 #include <stdlib.h>
19670 FILE *f = fopen ("conftest.val", "w");
19673 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19675 long int i = longval ();
19676 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19678 fprintf (f, "%ld\n", i);
19682 unsigned long int i = ulongval ();
19683 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19685 fprintf (f, "%lu\n", i);
19687 return ferror (f) || fclose (f) != 0;
19693 rm -f conftest$ac_exeext
19694 if { (ac_try="$ac_link"
19695 case "(($ac_try" in
19696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19697 *) ac_try_echo=$ac_try;;
19699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19700 (eval "$ac_link") 2>&5
19702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19703 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19704 { (case "(($ac_try" in
19705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19706 *) ac_try_echo=$ac_try;;
19708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19709 (eval "$ac_try") 2>&5
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); }; }; then
19713 ac_cv_sizeof_char=`cat conftest.val`
19715 echo "$as_me: program exited with status $ac_status" >&5
19716 echo "$as_me: failed program was:" >&5
19717 sed 's
/^
/| /' conftest.$ac_ext >&5
19719 ( exit $ac_status )
19720 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
19721 See \`config.log' for more details.
" >&5
19722 echo "$as_me: error
: cannot compute sizeof
(char
)
19723 See \
`config.log' for more details." >&2;}
19724 { (exit 77); exit 77; }; }
19726 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19730 ac_cv_sizeof_char=0
19733 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
19734 echo "${ECHO_T}$ac_cv_sizeof_char" >&6; }
19735 cat >>confdefs.h <<_ACEOF
19736 #define SIZEOF_CHAR $ac_cv_sizeof_char
19740 { echo "$as_me:$LINENO: checking for short" >&5
19741 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19742 if test "${ac_cv_type_short+set}" = set; then
19743 echo $ECHO_N "(cached) $ECHO_C" >&6
19745 cat >conftest.$ac_ext <<_ACEOF
19748 cat confdefs.h >>conftest.$ac_ext
19749 cat >>conftest.$ac_ext <<_ACEOF
19750 /* end confdefs.h. */
19751 $ac_includes_default
19752 typedef short ac__type_new_;
19756 if ((ac__type_new_ *) 0)
19758 if (sizeof (ac__type_new_))
19764 rm -f conftest.$ac_objext
19765 if { (ac_try="$ac_compile"
19766 case "(($ac_try" in
19767 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19768 *) ac_try_echo
=$ac_try;;
19770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19771 (eval "$ac_compile") 2>conftest.er1
19773 grep -v '^ *+' conftest.er1
>conftest.err
19775 cat conftest.err
>&5
19776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19777 (exit $ac_status); } &&
19778 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19779 { (case "(($ac_try" in
19780 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19781 *) ac_try_echo=$ac_try;;
19783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19784 (eval "$ac_try") 2>&5
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); }; } &&
19788 { ac_try='test -s conftest.$ac_objext'
19789 { (case "(($ac_try" in
19790 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19791 *) ac_try_echo
=$ac_try;;
19793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19794 (eval "$ac_try") 2>&5
19796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19797 (exit $ac_status); }; }; then
19798 ac_cv_type_short
=yes
19800 echo "$as_me: failed program was:" >&5
19801 sed 's/^/| /' conftest.
$ac_ext >&5
19803 ac_cv_type_short
=no
19806 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19808 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19809 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19811 { echo "$as_me:$LINENO: checking size of short" >&5
19812 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19813 if test "${ac_cv_sizeof_short+set}" = set; then
19814 echo $ECHO_N "(cached) $ECHO_C" >&6
19816 if test "$ac_cv_type_short" = yes; then
19817 # The cast to long int works around a bug in the HP C Compiler
19818 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19819 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19820 # This bug is HP SR number 8606223364.
19821 if test "$cross_compiling" = yes; then
19822 # Depending upon the size, compute the lo and hi bounds.
19823 cat >conftest.
$ac_ext <<_ACEOF
19826 cat confdefs.h
>>conftest.
$ac_ext
19827 cat >>conftest.
$ac_ext <<_ACEOF
19828 /* end confdefs.h. */
19829 $ac_includes_default
19830 typedef short ac__type_sizeof_;
19834 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19841 rm -f conftest.
$ac_objext
19842 if { (ac_try
="$ac_compile"
19843 case "(($ac_try" in
19844 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19845 *) ac_try_echo=$ac_try;;
19847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19848 (eval "$ac_compile") 2>conftest.er1
19850 grep -v '^ *+' conftest.er1 >conftest.err
19852 cat conftest.err >&5
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); } &&
19855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19856 { (case "(($ac_try" in
19857 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19858 *) ac_try_echo
=$ac_try;;
19860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19861 (eval "$ac_try") 2>&5
19863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19864 (exit $ac_status); }; } &&
19865 { ac_try
='test -s conftest.$ac_objext'
19866 { (case "(($ac_try" in
19867 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19868 *) ac_try_echo=$ac_try;;
19870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19871 (eval "$ac_try") 2>&5
19873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19874 (exit $ac_status); }; }; then
19877 cat >conftest.$ac_ext <<_ACEOF
19880 cat confdefs.h >>conftest.$ac_ext
19881 cat >>conftest.$ac_ext <<_ACEOF
19882 /* end confdefs.h. */
19883 $ac_includes_default
19884 typedef short ac__type_sizeof_;
19888 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19895 rm -f conftest.$ac_objext
19896 if { (ac_try="$ac_compile"
19897 case "(($ac_try" in
19898 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19899 *) ac_try_echo
=$ac_try;;
19901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19902 (eval "$ac_compile") 2>conftest.er1
19904 grep -v '^ *+' conftest.er1
>conftest.err
19906 cat conftest.err
>&5
19907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19908 (exit $ac_status); } &&
19909 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19910 { (case "(($ac_try" in
19911 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19912 *) ac_try_echo=$ac_try;;
19914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19915 (eval "$ac_try") 2>&5
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); }; } &&
19919 { ac_try='test -s conftest.$ac_objext'
19920 { (case "(($ac_try" in
19921 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19922 *) ac_try_echo
=$ac_try;;
19924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19925 (eval "$ac_try") 2>&5
19927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928 (exit $ac_status); }; }; then
19929 ac_hi
=$ac_mid; break
19931 echo "$as_me: failed program was:" >&5
19932 sed 's/^/| /' conftest.
$ac_ext >&5
19934 ac_lo
=`expr $ac_mid + 1`
19935 if test $ac_lo -le $ac_mid; then
19939 ac_mid
=`expr 2 '*' $ac_mid + 1`
19942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19945 echo "$as_me: failed program was:" >&5
19946 sed 's/^/| /' conftest.
$ac_ext >&5
19948 cat >conftest.
$ac_ext <<_ACEOF
19951 cat confdefs.h
>>conftest.
$ac_ext
19952 cat >>conftest.
$ac_ext <<_ACEOF
19953 /* end confdefs.h. */
19954 $ac_includes_default
19955 typedef short ac__type_sizeof_;
19959 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19966 rm -f conftest.
$ac_objext
19967 if { (ac_try
="$ac_compile"
19968 case "(($ac_try" in
19969 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19970 *) ac_try_echo=$ac_try;;
19972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19973 (eval "$ac_compile") 2>conftest.er1
19975 grep -v '^ *+' conftest.er1 >conftest.err
19977 cat conftest.err >&5
19978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19979 (exit $ac_status); } &&
19980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19981 { (case "(($ac_try" in
19982 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19983 *) ac_try_echo
=$ac_try;;
19985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19986 (eval "$ac_try") 2>&5
19988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19989 (exit $ac_status); }; } &&
19990 { ac_try
='test -s conftest.$ac_objext'
19991 { (case "(($ac_try" in
19992 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19993 *) ac_try_echo=$ac_try;;
19995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19996 (eval "$ac_try") 2>&5
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); }; }; then
20002 cat >conftest.$ac_ext <<_ACEOF
20005 cat confdefs.h >>conftest.$ac_ext
20006 cat >>conftest.$ac_ext <<_ACEOF
20007 /* end confdefs.h. */
20008 $ac_includes_default
20009 typedef short ac__type_sizeof_;
20013 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20020 rm -f conftest.$ac_objext
20021 if { (ac_try="$ac_compile"
20022 case "(($ac_try" in
20023 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20024 *) ac_try_echo
=$ac_try;;
20026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20027 (eval "$ac_compile") 2>conftest.er1
20029 grep -v '^ *+' conftest.er1
>conftest.err
20031 cat conftest.err
>&5
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); } &&
20034 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20035 { (case "(($ac_try" in
20036 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20037 *) ac_try_echo=$ac_try;;
20039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20040 (eval "$ac_try") 2>&5
20042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20043 (exit $ac_status); }; } &&
20044 { ac_try='test -s conftest.$ac_objext'
20045 { (case "(($ac_try" in
20046 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20047 *) ac_try_echo
=$ac_try;;
20049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20050 (eval "$ac_try") 2>&5
20052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20053 (exit $ac_status); }; }; then
20054 ac_lo
=$ac_mid; break
20056 echo "$as_me: failed program was:" >&5
20057 sed 's/^/| /' conftest.
$ac_ext >&5
20059 ac_hi
=`expr '(' $ac_mid ')' - 1`
20060 if test $ac_mid -le $ac_hi; then
20064 ac_mid
=`expr 2 '*' $ac_mid`
20067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20070 echo "$as_me: failed program was:" >&5
20071 sed 's/^/| /' conftest.
$ac_ext >&5
20076 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20080 # Binary search between lo and hi bounds.
20081 while test "x$ac_lo" != "x$ac_hi"; do
20082 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20083 cat >conftest.
$ac_ext <<_ACEOF
20086 cat confdefs.h
>>conftest.
$ac_ext
20087 cat >>conftest.
$ac_ext <<_ACEOF
20088 /* end confdefs.h. */
20089 $ac_includes_default
20090 typedef short ac__type_sizeof_;
20094 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20101 rm -f conftest.
$ac_objext
20102 if { (ac_try
="$ac_compile"
20103 case "(($ac_try" in
20104 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20105 *) ac_try_echo=$ac_try;;
20107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20108 (eval "$ac_compile") 2>conftest.er1
20110 grep -v '^ *+' conftest.er1 >conftest.err
20112 cat conftest.err >&5
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); } &&
20115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20116 { (case "(($ac_try" in
20117 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20118 *) ac_try_echo
=$ac_try;;
20120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20121 (eval "$ac_try") 2>&5
20123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124 (exit $ac_status); }; } &&
20125 { ac_try
='test -s conftest.$ac_objext'
20126 { (case "(($ac_try" in
20127 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20128 *) ac_try_echo=$ac_try;;
20130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20131 (eval "$ac_try") 2>&5
20133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20134 (exit $ac_status); }; }; then
20137 echo "$as_me: failed program was:" >&5
20138 sed 's/^/| /' conftest.$ac_ext >&5
20140 ac_lo=`expr '(' $ac_mid ')' + 1`
20143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20146 ?*) ac_cv_sizeof_short=$ac_lo;;
20147 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20148 See \`config.log
' for more details." >&5
20149 echo "$as_me: error: cannot compute sizeof (short)
20150 See \`config.log' for more details.
" >&2;}
20151 { (exit 77); exit 77; }; } ;;
20154 cat >conftest.$ac_ext <<_ACEOF
20157 cat confdefs.h >>conftest.$ac_ext
20158 cat >>conftest.$ac_ext <<_ACEOF
20159 /* end confdefs.h. */
20160 $ac_includes_default
20161 typedef short ac__type_sizeof_;
20162 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20163 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20165 #include <stdlib.h>
20170 FILE *f = fopen ("conftest.val
", "w
");
20173 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20175 long int i = longval ();
20176 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20178 fprintf (f, "%ld
\n", i);
20182 unsigned long int i = ulongval ();
20183 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20185 fprintf (f, "%lu
\n", i);
20187 return ferror (f) || fclose (f) != 0;
20193 rm -f conftest$ac_exeext
20194 if { (ac_try="$ac_link"
20195 case "(($ac_try" in
20196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20197 *) ac_try_echo=$ac_try;;
20199 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20200 (eval "$ac_link") 2>&5
20202 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20203 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20204 { (case "(($ac_try" in
20205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20206 *) ac_try_echo=$ac_try;;
20208 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20209 (eval "$ac_try") 2>&5
20211 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20212 (exit $ac_status); }; }; then
20213 ac_cv_sizeof_short=`cat conftest.val`
20215 echo "$as_me: program exited with status
$ac_status" >&5
20216 echo "$as_me: failed program was
:" >&5
20217 sed 's/^/| /' conftest.$ac_ext >&5
20219 ( exit $ac_status )
20220 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
20221 See \
`config.log' for more details." >&5
20222 echo "$as_me: error: cannot compute sizeof (short)
20223 See \`config.log
' for more details." >&2;}
20224 { (exit 77); exit 77; }; }
20226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20230 ac_cv_sizeof_short=0
20233 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20234 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20235 cat >>confdefs.h <<_ACEOF
20236 #define SIZEOF_SHORT $ac_cv_sizeof_short
20240 { echo "$as_me:$LINENO: checking for void *" >&5
20241 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20242 if test "${ac_cv_type_void_p+set}" = set; then
20243 echo $ECHO_N "(cached) $ECHO_C" >&6
20245 cat >conftest.$ac_ext <<_ACEOF
20248 cat confdefs.h >>conftest.$ac_ext
20249 cat >>conftest.$ac_ext <<_ACEOF
20250 /* end confdefs.h. */
20251 $ac_includes_default
20252 typedef void * ac__type_new_;
20256 if ((ac__type_new_ *) 0)
20258 if (sizeof (ac__type_new_))
20264 rm -f conftest.$ac_objext
20265 if { (ac_try="$ac_compile"
20266 case "(($ac_try" in
20267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20268 *) ac_try_echo=$ac_try;;
20270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20271 (eval "$ac_compile") 2>conftest.er1
20273 grep -v '^
*+' conftest.er1 >conftest.err
20275 cat conftest.err >&5
20276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20277 (exit $ac_status); } &&
20278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
20279 { (case "(($ac_try" in
20280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20281 *) ac_try_echo=$ac_try;;
20283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20284 (eval "$ac_try") 2>&5
20286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20287 (exit $ac_status); }; } &&
20288 { ac_try='test -s conftest.
$ac_objext'
20289 { (case "(($ac_try" in
20290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20291 *) ac_try_echo=$ac_try;;
20293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20294 (eval "$ac_try") 2>&5
20296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20297 (exit $ac_status); }; }; then
20298 ac_cv_type_void_p=yes
20300 echo "$as_me: failed program was:" >&5
20301 sed 's
/^
/| /' conftest.$ac_ext >&5
20303 ac_cv_type_void_p=no
20306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20308 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20309 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20311 { echo "$as_me:$LINENO: checking size of void *" >&5
20312 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20313 if test "${ac_cv_sizeof_void_p+set}" = set; then
20314 echo $ECHO_N "(cached) $ECHO_C" >&6
20316 if test "$ac_cv_type_void_p" = yes; then
20317 # The cast to long int works around a bug in the HP C Compiler
20318 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20319 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20320 # This bug is HP SR number 8606223364.
20321 if test "$cross_compiling" = yes; then
20322 # Depending upon the size, compute the lo and hi bounds.
20323 cat >conftest.
$ac_ext <<_ACEOF
20326 cat confdefs.h
>>conftest.
$ac_ext
20327 cat >>conftest.
$ac_ext <<_ACEOF
20328 /* end confdefs.h. */
20329 $ac_includes_default
20330 typedef void * ac__type_sizeof_;
20334 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20341 rm -f conftest.
$ac_objext
20342 if { (ac_try
="$ac_compile"
20343 case "(($ac_try" in
20344 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20345 *) ac_try_echo=$ac_try;;
20347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20348 (eval "$ac_compile") 2>conftest.er1
20350 grep -v '^ *+' conftest.er1 >conftest.err
20352 cat conftest.err >&5
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); } &&
20355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20356 { (case "(($ac_try" in
20357 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20358 *) ac_try_echo
=$ac_try;;
20360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20361 (eval "$ac_try") 2>&5
20363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20364 (exit $ac_status); }; } &&
20365 { ac_try
='test -s conftest.$ac_objext'
20366 { (case "(($ac_try" in
20367 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20368 *) ac_try_echo=$ac_try;;
20370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20371 (eval "$ac_try") 2>&5
20373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20374 (exit $ac_status); }; }; then
20377 cat >conftest.$ac_ext <<_ACEOF
20380 cat confdefs.h >>conftest.$ac_ext
20381 cat >>conftest.$ac_ext <<_ACEOF
20382 /* end confdefs.h. */
20383 $ac_includes_default
20384 typedef void * ac__type_sizeof_;
20388 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20395 rm -f conftest.$ac_objext
20396 if { (ac_try="$ac_compile"
20397 case "(($ac_try" in
20398 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20399 *) ac_try_echo
=$ac_try;;
20401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20402 (eval "$ac_compile") 2>conftest.er1
20404 grep -v '^ *+' conftest.er1
>conftest.err
20406 cat conftest.err
>&5
20407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408 (exit $ac_status); } &&
20409 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20410 { (case "(($ac_try" in
20411 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20412 *) ac_try_echo=$ac_try;;
20414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20415 (eval "$ac_try") 2>&5
20417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418 (exit $ac_status); }; } &&
20419 { ac_try='test -s conftest.$ac_objext'
20420 { (case "(($ac_try" in
20421 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20422 *) ac_try_echo
=$ac_try;;
20424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20425 (eval "$ac_try") 2>&5
20427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20428 (exit $ac_status); }; }; then
20429 ac_hi
=$ac_mid; break
20431 echo "$as_me: failed program was:" >&5
20432 sed 's/^/| /' conftest.
$ac_ext >&5
20434 ac_lo
=`expr $ac_mid + 1`
20435 if test $ac_lo -le $ac_mid; then
20439 ac_mid
=`expr 2 '*' $ac_mid + 1`
20442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20445 echo "$as_me: failed program was:" >&5
20446 sed 's/^/| /' conftest.
$ac_ext >&5
20448 cat >conftest.
$ac_ext <<_ACEOF
20451 cat confdefs.h
>>conftest.
$ac_ext
20452 cat >>conftest.
$ac_ext <<_ACEOF
20453 /* end confdefs.h. */
20454 $ac_includes_default
20455 typedef void * ac__type_sizeof_;
20459 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20466 rm -f conftest.
$ac_objext
20467 if { (ac_try
="$ac_compile"
20468 case "(($ac_try" in
20469 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20470 *) ac_try_echo=$ac_try;;
20472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20473 (eval "$ac_compile") 2>conftest.er1
20475 grep -v '^ *+' conftest.er1 >conftest.err
20477 cat conftest.err >&5
20478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20479 (exit $ac_status); } &&
20480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20481 { (case "(($ac_try" in
20482 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20483 *) ac_try_echo
=$ac_try;;
20485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20486 (eval "$ac_try") 2>&5
20488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20489 (exit $ac_status); }; } &&
20490 { ac_try
='test -s conftest.$ac_objext'
20491 { (case "(($ac_try" in
20492 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20493 *) ac_try_echo=$ac_try;;
20495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20496 (eval "$ac_try") 2>&5
20498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20499 (exit $ac_status); }; }; then
20502 cat >conftest.$ac_ext <<_ACEOF
20505 cat confdefs.h >>conftest.$ac_ext
20506 cat >>conftest.$ac_ext <<_ACEOF
20507 /* end confdefs.h. */
20508 $ac_includes_default
20509 typedef void * ac__type_sizeof_;
20513 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20520 rm -f conftest.$ac_objext
20521 if { (ac_try="$ac_compile"
20522 case "(($ac_try" in
20523 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20524 *) ac_try_echo
=$ac_try;;
20526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20527 (eval "$ac_compile") 2>conftest.er1
20529 grep -v '^ *+' conftest.er1
>conftest.err
20531 cat conftest.err
>&5
20532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); } &&
20534 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20535 { (case "(($ac_try" in
20536 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20537 *) ac_try_echo=$ac_try;;
20539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20540 (eval "$ac_try") 2>&5
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); }; } &&
20544 { ac_try='test -s conftest.$ac_objext'
20545 { (case "(($ac_try" in
20546 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20547 *) ac_try_echo
=$ac_try;;
20549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20550 (eval "$ac_try") 2>&5
20552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20553 (exit $ac_status); }; }; then
20554 ac_lo
=$ac_mid; break
20556 echo "$as_me: failed program was:" >&5
20557 sed 's/^/| /' conftest.
$ac_ext >&5
20559 ac_hi
=`expr '(' $ac_mid ')' - 1`
20560 if test $ac_mid -le $ac_hi; then
20564 ac_mid
=`expr 2 '*' $ac_mid`
20567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20570 echo "$as_me: failed program was:" >&5
20571 sed 's/^/| /' conftest.
$ac_ext >&5
20576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20580 # Binary search between lo and hi bounds.
20581 while test "x$ac_lo" != "x$ac_hi"; do
20582 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20583 cat >conftest.
$ac_ext <<_ACEOF
20586 cat confdefs.h
>>conftest.
$ac_ext
20587 cat >>conftest.
$ac_ext <<_ACEOF
20588 /* end confdefs.h. */
20589 $ac_includes_default
20590 typedef void * ac__type_sizeof_;
20594 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20601 rm -f conftest.
$ac_objext
20602 if { (ac_try
="$ac_compile"
20603 case "(($ac_try" in
20604 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20605 *) ac_try_echo=$ac_try;;
20607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20608 (eval "$ac_compile") 2>conftest.er1
20610 grep -v '^ *+' conftest.er1 >conftest.err
20612 cat conftest.err >&5
20613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614 (exit $ac_status); } &&
20615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20616 { (case "(($ac_try" in
20617 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20618 *) ac_try_echo
=$ac_try;;
20620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20621 (eval "$ac_try") 2>&5
20623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20624 (exit $ac_status); }; } &&
20625 { ac_try
='test -s conftest.$ac_objext'
20626 { (case "(($ac_try" in
20627 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20628 *) ac_try_echo=$ac_try;;
20630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20631 (eval "$ac_try") 2>&5
20633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20634 (exit $ac_status); }; }; then
20637 echo "$as_me: failed program was:" >&5
20638 sed 's/^/| /' conftest.$ac_ext >&5
20640 ac_lo=`expr '(' $ac_mid ')' + 1`
20643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20646 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20647 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20648 See \`config.log
' for more details." >&5
20649 echo "$as_me: error: cannot compute sizeof (void *)
20650 See \`config.log' for more details.
" >&2;}
20651 { (exit 77); exit 77; }; } ;;
20654 cat >conftest.$ac_ext <<_ACEOF
20657 cat confdefs.h >>conftest.$ac_ext
20658 cat >>conftest.$ac_ext <<_ACEOF
20659 /* end confdefs.h. */
20660 $ac_includes_default
20661 typedef void * ac__type_sizeof_;
20662 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20663 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20665 #include <stdlib.h>
20670 FILE *f = fopen ("conftest.val
", "w
");
20673 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20675 long int i = longval ();
20676 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20678 fprintf (f, "%ld
\n", i);
20682 unsigned long int i = ulongval ();
20683 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20685 fprintf (f, "%lu
\n", i);
20687 return ferror (f) || fclose (f) != 0;
20693 rm -f conftest$ac_exeext
20694 if { (ac_try="$ac_link"
20695 case "(($ac_try" in
20696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20697 *) ac_try_echo=$ac_try;;
20699 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20700 (eval "$ac_link") 2>&5
20702 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20703 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20704 { (case "(($ac_try" in
20705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20706 *) ac_try_echo=$ac_try;;
20708 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20709 (eval "$ac_try") 2>&5
20711 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20712 (exit $ac_status); }; }; then
20713 ac_cv_sizeof_void_p=`cat conftest.val`
20715 echo "$as_me: program exited with status
$ac_status" >&5
20716 echo "$as_me: failed program was
:" >&5
20717 sed 's/^/| /' conftest.$ac_ext >&5
20719 ( exit $ac_status )
20720 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20721 See \
`config.log' for more details." >&5
20722 echo "$as_me: error: cannot compute sizeof (void *)
20723 See \`config.log
' for more details." >&2;}
20724 { (exit 77); exit 77; }; }
20726 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20730 ac_cv_sizeof_void_p=0
20733 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20734 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20735 cat >>confdefs.h <<_ACEOF
20736 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20740 { echo "$as_me:$LINENO: checking for int" >&5
20741 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20742 if test "${ac_cv_type_int+set}" = set; then
20743 echo $ECHO_N "(cached) $ECHO_C" >&6
20745 cat >conftest.$ac_ext <<_ACEOF
20748 cat confdefs.h >>conftest.$ac_ext
20749 cat >>conftest.$ac_ext <<_ACEOF
20750 /* end confdefs.h. */
20751 $ac_includes_default
20752 typedef int ac__type_new_;
20756 if ((ac__type_new_ *) 0)
20758 if (sizeof (ac__type_new_))
20764 rm -f conftest.$ac_objext
20765 if { (ac_try="$ac_compile"
20766 case "(($ac_try" in
20767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20768 *) ac_try_echo=$ac_try;;
20770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20771 (eval "$ac_compile") 2>conftest.er1
20773 grep -v '^
*+' conftest.er1 >conftest.err
20775 cat conftest.err >&5
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); } &&
20778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
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_try") 2>&5
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); }; } &&
20788 { ac_try='test -s conftest.
$ac_objext'
20789 { (case "(($ac_try" in
20790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20791 *) ac_try_echo=$ac_try;;
20793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20794 (eval "$ac_try") 2>&5
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); }; }; then
20800 echo "$as_me: failed program was:" >&5
20801 sed 's
/^
/| /' conftest.$ac_ext >&5
20806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20808 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20809 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20811 { echo "$as_me:$LINENO: checking size of int" >&5
20812 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20813 if test "${ac_cv_sizeof_int+set}" = set; then
20814 echo $ECHO_N "(cached) $ECHO_C" >&6
20816 if test "$ac_cv_type_int" = yes; then
20817 # The cast to long int works around a bug in the HP C Compiler
20818 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20819 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20820 # This bug is HP SR number 8606223364.
20821 if test "$cross_compiling" = yes; then
20822 # Depending upon the size, compute the lo and hi bounds.
20823 cat >conftest.
$ac_ext <<_ACEOF
20826 cat confdefs.h
>>conftest.
$ac_ext
20827 cat >>conftest.
$ac_ext <<_ACEOF
20828 /* end confdefs.h. */
20829 $ac_includes_default
20830 typedef int ac__type_sizeof_;
20834 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20841 rm -f conftest.
$ac_objext
20842 if { (ac_try
="$ac_compile"
20843 case "(($ac_try" in
20844 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20845 *) ac_try_echo=$ac_try;;
20847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20848 (eval "$ac_compile") 2>conftest.er1
20850 grep -v '^ *+' conftest.er1 >conftest.err
20852 cat conftest.err >&5
20853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854 (exit $ac_status); } &&
20855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20856 { (case "(($ac_try" in
20857 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20858 *) ac_try_echo
=$ac_try;;
20860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20861 (eval "$ac_try") 2>&5
20863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20864 (exit $ac_status); }; } &&
20865 { ac_try
='test -s conftest.$ac_objext'
20866 { (case "(($ac_try" in
20867 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20868 *) ac_try_echo=$ac_try;;
20870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20871 (eval "$ac_try") 2>&5
20873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20874 (exit $ac_status); }; }; then
20877 cat >conftest.$ac_ext <<_ACEOF
20880 cat confdefs.h >>conftest.$ac_ext
20881 cat >>conftest.$ac_ext <<_ACEOF
20882 /* end confdefs.h. */
20883 $ac_includes_default
20884 typedef int ac__type_sizeof_;
20888 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20895 rm -f conftest.$ac_objext
20896 if { (ac_try="$ac_compile"
20897 case "(($ac_try" in
20898 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20899 *) ac_try_echo
=$ac_try;;
20901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20902 (eval "$ac_compile") 2>conftest.er1
20904 grep -v '^ *+' conftest.er1
>conftest.err
20906 cat conftest.err
>&5
20907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20908 (exit $ac_status); } &&
20909 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20910 { (case "(($ac_try" in
20911 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20912 *) ac_try_echo=$ac_try;;
20914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20915 (eval "$ac_try") 2>&5
20917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20918 (exit $ac_status); }; } &&
20919 { ac_try='test -s conftest.$ac_objext'
20920 { (case "(($ac_try" in
20921 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20922 *) ac_try_echo
=$ac_try;;
20924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20925 (eval "$ac_try") 2>&5
20927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928 (exit $ac_status); }; }; then
20929 ac_hi
=$ac_mid; break
20931 echo "$as_me: failed program was:" >&5
20932 sed 's/^/| /' conftest.
$ac_ext >&5
20934 ac_lo
=`expr $ac_mid + 1`
20935 if test $ac_lo -le $ac_mid; then
20939 ac_mid
=`expr 2 '*' $ac_mid + 1`
20942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20945 echo "$as_me: failed program was:" >&5
20946 sed 's/^/| /' conftest.
$ac_ext >&5
20948 cat >conftest.
$ac_ext <<_ACEOF
20951 cat confdefs.h
>>conftest.
$ac_ext
20952 cat >>conftest.
$ac_ext <<_ACEOF
20953 /* end confdefs.h. */
20954 $ac_includes_default
20955 typedef int ac__type_sizeof_;
20959 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20966 rm -f conftest.
$ac_objext
20967 if { (ac_try
="$ac_compile"
20968 case "(($ac_try" in
20969 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20970 *) ac_try_echo=$ac_try;;
20972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20973 (eval "$ac_compile") 2>conftest.er1
20975 grep -v '^ *+' conftest.er1 >conftest.err
20977 cat conftest.err >&5
20978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20979 (exit $ac_status); } &&
20980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20981 { (case "(($ac_try" in
20982 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20983 *) ac_try_echo
=$ac_try;;
20985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20986 (eval "$ac_try") 2>&5
20988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20989 (exit $ac_status); }; } &&
20990 { ac_try
='test -s conftest.$ac_objext'
20991 { (case "(($ac_try" in
20992 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20993 *) ac_try_echo=$ac_try;;
20995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20996 (eval "$ac_try") 2>&5
20998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20999 (exit $ac_status); }; }; then
21002 cat >conftest.$ac_ext <<_ACEOF
21005 cat confdefs.h >>conftest.$ac_ext
21006 cat >>conftest.$ac_ext <<_ACEOF
21007 /* end confdefs.h. */
21008 $ac_includes_default
21009 typedef int ac__type_sizeof_;
21013 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21020 rm -f conftest.$ac_objext
21021 if { (ac_try="$ac_compile"
21022 case "(($ac_try" in
21023 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21024 *) ac_try_echo
=$ac_try;;
21026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21027 (eval "$ac_compile") 2>conftest.er1
21029 grep -v '^ *+' conftest.er1
>conftest.err
21031 cat conftest.err
>&5
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); } &&
21034 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21035 { (case "(($ac_try" in
21036 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21037 *) ac_try_echo=$ac_try;;
21039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21040 (eval "$ac_try") 2>&5
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); }; } &&
21044 { ac_try='test -s conftest.$ac_objext'
21045 { (case "(($ac_try" in
21046 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21047 *) ac_try_echo
=$ac_try;;
21049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21050 (eval "$ac_try") 2>&5
21052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21053 (exit $ac_status); }; }; then
21054 ac_lo
=$ac_mid; break
21056 echo "$as_me: failed program was:" >&5
21057 sed 's/^/| /' conftest.
$ac_ext >&5
21059 ac_hi
=`expr '(' $ac_mid ')' - 1`
21060 if test $ac_mid -le $ac_hi; then
21064 ac_mid
=`expr 2 '*' $ac_mid`
21067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21070 echo "$as_me: failed program was:" >&5
21071 sed 's/^/| /' conftest.
$ac_ext >&5
21076 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21080 # Binary search between lo and hi bounds.
21081 while test "x$ac_lo" != "x$ac_hi"; do
21082 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21083 cat >conftest.
$ac_ext <<_ACEOF
21086 cat confdefs.h
>>conftest.
$ac_ext
21087 cat >>conftest.
$ac_ext <<_ACEOF
21088 /* end confdefs.h. */
21089 $ac_includes_default
21090 typedef int ac__type_sizeof_;
21094 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21101 rm -f conftest.
$ac_objext
21102 if { (ac_try
="$ac_compile"
21103 case "(($ac_try" in
21104 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21105 *) ac_try_echo=$ac_try;;
21107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21108 (eval "$ac_compile") 2>conftest.er1
21110 grep -v '^ *+' conftest.er1 >conftest.err
21112 cat conftest.err >&5
21113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21114 (exit $ac_status); } &&
21115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21116 { (case "(($ac_try" in
21117 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21118 *) ac_try_echo
=$ac_try;;
21120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21121 (eval "$ac_try") 2>&5
21123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21124 (exit $ac_status); }; } &&
21125 { ac_try
='test -s conftest.$ac_objext'
21126 { (case "(($ac_try" in
21127 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21128 *) ac_try_echo=$ac_try;;
21130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21131 (eval "$ac_try") 2>&5
21133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134 (exit $ac_status); }; }; then
21137 echo "$as_me: failed program was:" >&5
21138 sed 's/^/| /' conftest.$ac_ext >&5
21140 ac_lo=`expr '(' $ac_mid ')' + 1`
21143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21146 ?*) ac_cv_sizeof_int=$ac_lo;;
21147 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21148 See \`config.log
' for more details." >&5
21149 echo "$as_me: error: cannot compute sizeof (int)
21150 See \`config.log' for more details.
" >&2;}
21151 { (exit 77); exit 77; }; } ;;
21154 cat >conftest.$ac_ext <<_ACEOF
21157 cat confdefs.h >>conftest.$ac_ext
21158 cat >>conftest.$ac_ext <<_ACEOF
21159 /* end confdefs.h. */
21160 $ac_includes_default
21161 typedef int ac__type_sizeof_;
21162 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21163 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21165 #include <stdlib.h>
21170 FILE *f = fopen ("conftest.val
", "w
");
21173 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21175 long int i = longval ();
21176 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21178 fprintf (f, "%ld
\n", i);
21182 unsigned long int i = ulongval ();
21183 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21185 fprintf (f, "%lu
\n", i);
21187 return ferror (f) || fclose (f) != 0;
21193 rm -f conftest$ac_exeext
21194 if { (ac_try="$ac_link"
21195 case "(($ac_try" in
21196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21197 *) ac_try_echo=$ac_try;;
21199 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21200 (eval "$ac_link") 2>&5
21202 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21203 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21204 { (case "(($ac_try" in
21205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21206 *) ac_try_echo=$ac_try;;
21208 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21209 (eval "$ac_try") 2>&5
21211 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21212 (exit $ac_status); }; }; then
21213 ac_cv_sizeof_int=`cat conftest.val`
21215 echo "$as_me: program exited with status
$ac_status" >&5
21216 echo "$as_me: failed program was
:" >&5
21217 sed 's/^/| /' conftest.$ac_ext >&5
21219 ( exit $ac_status )
21220 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
21221 See \
`config.log' for more details." >&5
21222 echo "$as_me: error: cannot compute sizeof (int)
21223 See \`config.log
' for more details." >&2;}
21224 { (exit 77); exit 77; }; }
21226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21233 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21234 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21235 cat >>confdefs.h <<_ACEOF
21236 #define SIZEOF_INT $ac_cv_sizeof_int
21240 { echo "$as_me:$LINENO: checking for long" >&5
21241 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21242 if test "${ac_cv_type_long+set}" = set; then
21243 echo $ECHO_N "(cached) $ECHO_C" >&6
21245 cat >conftest.$ac_ext <<_ACEOF
21248 cat confdefs.h >>conftest.$ac_ext
21249 cat >>conftest.$ac_ext <<_ACEOF
21250 /* end confdefs.h. */
21251 $ac_includes_default
21252 typedef long ac__type_new_;
21256 if ((ac__type_new_ *) 0)
21258 if (sizeof (ac__type_new_))
21264 rm -f conftest.$ac_objext
21265 if { (ac_try="$ac_compile"
21266 case "(($ac_try" in
21267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21268 *) ac_try_echo=$ac_try;;
21270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21271 (eval "$ac_compile") 2>conftest.er1
21273 grep -v '^
*+' conftest.er1 >conftest.err
21275 cat conftest.err >&5
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); } &&
21278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
21279 { (case "(($ac_try" in
21280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21281 *) ac_try_echo=$ac_try;;
21283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21284 (eval "$ac_try") 2>&5
21286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21287 (exit $ac_status); }; } &&
21288 { ac_try='test -s conftest.
$ac_objext'
21289 { (case "(($ac_try" in
21290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21291 *) ac_try_echo=$ac_try;;
21293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21294 (eval "$ac_try") 2>&5
21296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21297 (exit $ac_status); }; }; then
21298 ac_cv_type_long=yes
21300 echo "$as_me: failed program was:" >&5
21301 sed 's
/^
/| /' conftest.$ac_ext >&5
21306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21308 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21309 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21311 { echo "$as_me:$LINENO: checking size of long" >&5
21312 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21313 if test "${ac_cv_sizeof_long+set}" = set; then
21314 echo $ECHO_N "(cached) $ECHO_C" >&6
21316 if test "$ac_cv_type_long" = yes; then
21317 # The cast to long int works around a bug in the HP C Compiler
21318 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21319 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21320 # This bug is HP SR number 8606223364.
21321 if test "$cross_compiling" = yes; then
21322 # Depending upon the size, compute the lo and hi bounds.
21323 cat >conftest.
$ac_ext <<_ACEOF
21326 cat confdefs.h
>>conftest.
$ac_ext
21327 cat >>conftest.
$ac_ext <<_ACEOF
21328 /* end confdefs.h. */
21329 $ac_includes_default
21330 typedef long ac__type_sizeof_;
21334 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21341 rm -f conftest.
$ac_objext
21342 if { (ac_try
="$ac_compile"
21343 case "(($ac_try" in
21344 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21345 *) ac_try_echo=$ac_try;;
21347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21348 (eval "$ac_compile") 2>conftest.er1
21350 grep -v '^ *+' conftest.er1 >conftest.err
21352 cat conftest.err >&5
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); } &&
21355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21356 { (case "(($ac_try" in
21357 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21358 *) ac_try_echo
=$ac_try;;
21360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21361 (eval "$ac_try") 2>&5
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); }; } &&
21365 { ac_try
='test -s conftest.$ac_objext'
21366 { (case "(($ac_try" in
21367 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21368 *) ac_try_echo=$ac_try;;
21370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21371 (eval "$ac_try") 2>&5
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); }; }; then
21377 cat >conftest.$ac_ext <<_ACEOF
21380 cat confdefs.h >>conftest.$ac_ext
21381 cat >>conftest.$ac_ext <<_ACEOF
21382 /* end confdefs.h. */
21383 $ac_includes_default
21384 typedef long ac__type_sizeof_;
21388 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21395 rm -f conftest.$ac_objext
21396 if { (ac_try="$ac_compile"
21397 case "(($ac_try" in
21398 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21399 *) ac_try_echo
=$ac_try;;
21401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21402 (eval "$ac_compile") 2>conftest.er1
21404 grep -v '^ *+' conftest.er1
>conftest.err
21406 cat conftest.err
>&5
21407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408 (exit $ac_status); } &&
21409 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21410 { (case "(($ac_try" in
21411 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21412 *) ac_try_echo=$ac_try;;
21414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21415 (eval "$ac_try") 2>&5
21417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21418 (exit $ac_status); }; } &&
21419 { ac_try='test -s conftest.$ac_objext'
21420 { (case "(($ac_try" in
21421 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21422 *) ac_try_echo
=$ac_try;;
21424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21425 (eval "$ac_try") 2>&5
21427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); }; }; then
21429 ac_hi
=$ac_mid; break
21431 echo "$as_me: failed program was:" >&5
21432 sed 's/^/| /' conftest.
$ac_ext >&5
21434 ac_lo
=`expr $ac_mid + 1`
21435 if test $ac_lo -le $ac_mid; then
21439 ac_mid
=`expr 2 '*' $ac_mid + 1`
21442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21445 echo "$as_me: failed program was:" >&5
21446 sed 's/^/| /' conftest.
$ac_ext >&5
21448 cat >conftest.
$ac_ext <<_ACEOF
21451 cat confdefs.h
>>conftest.
$ac_ext
21452 cat >>conftest.
$ac_ext <<_ACEOF
21453 /* end confdefs.h. */
21454 $ac_includes_default
21455 typedef long ac__type_sizeof_;
21459 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21466 rm -f conftest.
$ac_objext
21467 if { (ac_try
="$ac_compile"
21468 case "(($ac_try" in
21469 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21470 *) ac_try_echo=$ac_try;;
21472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21473 (eval "$ac_compile") 2>conftest.er1
21475 grep -v '^ *+' conftest.er1 >conftest.err
21477 cat conftest.err >&5
21478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21479 (exit $ac_status); } &&
21480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21481 { (case "(($ac_try" in
21482 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21483 *) ac_try_echo
=$ac_try;;
21485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21486 (eval "$ac_try") 2>&5
21488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21489 (exit $ac_status); }; } &&
21490 { ac_try
='test -s conftest.$ac_objext'
21491 { (case "(($ac_try" in
21492 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21493 *) ac_try_echo=$ac_try;;
21495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21496 (eval "$ac_try") 2>&5
21498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21499 (exit $ac_status); }; }; then
21502 cat >conftest.$ac_ext <<_ACEOF
21505 cat confdefs.h >>conftest.$ac_ext
21506 cat >>conftest.$ac_ext <<_ACEOF
21507 /* end confdefs.h. */
21508 $ac_includes_default
21509 typedef long ac__type_sizeof_;
21513 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21520 rm -f conftest.$ac_objext
21521 if { (ac_try="$ac_compile"
21522 case "(($ac_try" in
21523 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21524 *) ac_try_echo
=$ac_try;;
21526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21527 (eval "$ac_compile") 2>conftest.er1
21529 grep -v '^ *+' conftest.er1
>conftest.err
21531 cat conftest.err
>&5
21532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21533 (exit $ac_status); } &&
21534 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21535 { (case "(($ac_try" in
21536 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21537 *) ac_try_echo=$ac_try;;
21539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21540 (eval "$ac_try") 2>&5
21542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21543 (exit $ac_status); }; } &&
21544 { ac_try='test -s conftest.$ac_objext'
21545 { (case "(($ac_try" in
21546 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21547 *) ac_try_echo
=$ac_try;;
21549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21550 (eval "$ac_try") 2>&5
21552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21553 (exit $ac_status); }; }; then
21554 ac_lo
=$ac_mid; break
21556 echo "$as_me: failed program was:" >&5
21557 sed 's/^/| /' conftest.
$ac_ext >&5
21559 ac_hi
=`expr '(' $ac_mid ')' - 1`
21560 if test $ac_mid -le $ac_hi; then
21564 ac_mid
=`expr 2 '*' $ac_mid`
21567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21570 echo "$as_me: failed program was:" >&5
21571 sed 's/^/| /' conftest.
$ac_ext >&5
21576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21580 # Binary search between lo and hi bounds.
21581 while test "x$ac_lo" != "x$ac_hi"; do
21582 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21583 cat >conftest.
$ac_ext <<_ACEOF
21586 cat confdefs.h
>>conftest.
$ac_ext
21587 cat >>conftest.
$ac_ext <<_ACEOF
21588 /* end confdefs.h. */
21589 $ac_includes_default
21590 typedef long ac__type_sizeof_;
21594 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21601 rm -f conftest.
$ac_objext
21602 if { (ac_try
="$ac_compile"
21603 case "(($ac_try" in
21604 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21605 *) ac_try_echo=$ac_try;;
21607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21608 (eval "$ac_compile") 2>conftest.er1
21610 grep -v '^ *+' conftest.er1 >conftest.err
21612 cat conftest.err >&5
21613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21614 (exit $ac_status); } &&
21615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21616 { (case "(($ac_try" in
21617 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21618 *) ac_try_echo
=$ac_try;;
21620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21621 (eval "$ac_try") 2>&5
21623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21624 (exit $ac_status); }; } &&
21625 { ac_try
='test -s conftest.$ac_objext'
21626 { (case "(($ac_try" in
21627 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21628 *) ac_try_echo=$ac_try;;
21630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21631 (eval "$ac_try") 2>&5
21633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21634 (exit $ac_status); }; }; then
21637 echo "$as_me: failed program was:" >&5
21638 sed 's/^/| /' conftest.$ac_ext >&5
21640 ac_lo=`expr '(' $ac_mid ')' + 1`
21643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21646 ?*) ac_cv_sizeof_long=$ac_lo;;
21647 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21648 See \`config.log
' for more details." >&5
21649 echo "$as_me: error: cannot compute sizeof (long)
21650 See \`config.log' for more details.
" >&2;}
21651 { (exit 77); exit 77; }; } ;;
21654 cat >conftest.$ac_ext <<_ACEOF
21657 cat confdefs.h >>conftest.$ac_ext
21658 cat >>conftest.$ac_ext <<_ACEOF
21659 /* end confdefs.h. */
21660 $ac_includes_default
21661 typedef long ac__type_sizeof_;
21662 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21663 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21665 #include <stdlib.h>
21670 FILE *f = fopen ("conftest.val
", "w
");
21673 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21675 long int i = longval ();
21676 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21678 fprintf (f, "%ld
\n", i);
21682 unsigned long int i = ulongval ();
21683 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21685 fprintf (f, "%lu
\n", i);
21687 return ferror (f) || fclose (f) != 0;
21693 rm -f conftest$ac_exeext
21694 if { (ac_try="$ac_link"
21695 case "(($ac_try" in
21696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21697 *) ac_try_echo=$ac_try;;
21699 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21700 (eval "$ac_link") 2>&5
21702 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21703 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21704 { (case "(($ac_try" in
21705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21706 *) ac_try_echo=$ac_try;;
21708 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21709 (eval "$ac_try") 2>&5
21711 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21712 (exit $ac_status); }; }; then
21713 ac_cv_sizeof_long=`cat conftest.val`
21715 echo "$as_me: program exited with status
$ac_status" >&5
21716 echo "$as_me: failed program was
:" >&5
21717 sed 's/^/| /' conftest.$ac_ext >&5
21719 ( exit $ac_status )
21720 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21721 See \
`config.log' for more details." >&5
21722 echo "$as_me: error: cannot compute sizeof (long)
21723 See \`config.log
' for more details." >&2;}
21724 { (exit 77); exit 77; }; }
21726 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21730 ac_cv_sizeof_long=0
21733 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21734 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21735 cat >>confdefs.h <<_ACEOF
21736 #define SIZEOF_LONG $ac_cv_sizeof_long
21740 { echo "$as_me:$LINENO: checking for size_t" >&5
21741 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21742 if test "${ac_cv_type_size_t+set}" = set; then
21743 echo $ECHO_N "(cached) $ECHO_C" >&6
21745 cat >conftest.$ac_ext <<_ACEOF
21748 cat confdefs.h >>conftest.$ac_ext
21749 cat >>conftest.$ac_ext <<_ACEOF
21750 /* end confdefs.h. */
21751 $ac_includes_default
21752 typedef size_t ac__type_new_;
21756 if ((ac__type_new_ *) 0)
21758 if (sizeof (ac__type_new_))
21764 rm -f conftest.$ac_objext
21765 if { (ac_try="$ac_compile"
21766 case "(($ac_try" in
21767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21768 *) ac_try_echo=$ac_try;;
21770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21771 (eval "$ac_compile") 2>conftest.er1
21773 grep -v '^
*+' conftest.er1 >conftest.err
21775 cat conftest.err >&5
21776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777 (exit $ac_status); } &&
21778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
21779 { (case "(($ac_try" in
21780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21781 *) ac_try_echo=$ac_try;;
21783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21784 (eval "$ac_try") 2>&5
21786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787 (exit $ac_status); }; } &&
21788 { ac_try='test -s conftest.
$ac_objext'
21789 { (case "(($ac_try" in
21790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21791 *) ac_try_echo=$ac_try;;
21793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21794 (eval "$ac_try") 2>&5
21796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21797 (exit $ac_status); }; }; then
21798 ac_cv_type_size_t=yes
21800 echo "$as_me: failed program was:" >&5
21801 sed 's
/^
/| /' conftest.$ac_ext >&5
21803 ac_cv_type_size_t=no
21806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21808 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21809 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21811 { echo "$as_me:$LINENO: checking size of size_t" >&5
21812 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21813 if test "${ac_cv_sizeof_size_t+set}" = set; then
21814 echo $ECHO_N "(cached) $ECHO_C" >&6
21816 if test "$ac_cv_type_size_t" = yes; then
21817 # The cast to long int works around a bug in the HP C Compiler
21818 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21819 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21820 # This bug is HP SR number 8606223364.
21821 if test "$cross_compiling" = yes; then
21822 # Depending upon the size, compute the lo and hi bounds.
21823 cat >conftest.
$ac_ext <<_ACEOF
21826 cat confdefs.h
>>conftest.
$ac_ext
21827 cat >>conftest.
$ac_ext <<_ACEOF
21828 /* end confdefs.h. */
21829 $ac_includes_default
21830 typedef size_t ac__type_sizeof_;
21834 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21841 rm -f conftest.
$ac_objext
21842 if { (ac_try
="$ac_compile"
21843 case "(($ac_try" in
21844 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21845 *) ac_try_echo=$ac_try;;
21847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21848 (eval "$ac_compile") 2>conftest.er1
21850 grep -v '^ *+' conftest.er1 >conftest.err
21852 cat conftest.err >&5
21853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21854 (exit $ac_status); } &&
21855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21856 { (case "(($ac_try" in
21857 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21858 *) ac_try_echo
=$ac_try;;
21860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21861 (eval "$ac_try") 2>&5
21863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21864 (exit $ac_status); }; } &&
21865 { ac_try
='test -s conftest.$ac_objext'
21866 { (case "(($ac_try" in
21867 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21868 *) ac_try_echo=$ac_try;;
21870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21871 (eval "$ac_try") 2>&5
21873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21874 (exit $ac_status); }; }; then
21877 cat >conftest.$ac_ext <<_ACEOF
21880 cat confdefs.h >>conftest.$ac_ext
21881 cat >>conftest.$ac_ext <<_ACEOF
21882 /* end confdefs.h. */
21883 $ac_includes_default
21884 typedef size_t ac__type_sizeof_;
21888 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21895 rm -f conftest.$ac_objext
21896 if { (ac_try="$ac_compile"
21897 case "(($ac_try" in
21898 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21899 *) ac_try_echo
=$ac_try;;
21901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21902 (eval "$ac_compile") 2>conftest.er1
21904 grep -v '^ *+' conftest.er1
>conftest.err
21906 cat conftest.err
>&5
21907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21908 (exit $ac_status); } &&
21909 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21910 { (case "(($ac_try" in
21911 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21912 *) ac_try_echo=$ac_try;;
21914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21915 (eval "$ac_try") 2>&5
21917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21918 (exit $ac_status); }; } &&
21919 { ac_try='test -s conftest.$ac_objext'
21920 { (case "(($ac_try" in
21921 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21922 *) ac_try_echo
=$ac_try;;
21924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21925 (eval "$ac_try") 2>&5
21927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21928 (exit $ac_status); }; }; then
21929 ac_hi
=$ac_mid; break
21931 echo "$as_me: failed program was:" >&5
21932 sed 's/^/| /' conftest.
$ac_ext >&5
21934 ac_lo
=`expr $ac_mid + 1`
21935 if test $ac_lo -le $ac_mid; then
21939 ac_mid
=`expr 2 '*' $ac_mid + 1`
21942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21945 echo "$as_me: failed program was:" >&5
21946 sed 's/^/| /' conftest.
$ac_ext >&5
21948 cat >conftest.
$ac_ext <<_ACEOF
21951 cat confdefs.h
>>conftest.
$ac_ext
21952 cat >>conftest.
$ac_ext <<_ACEOF
21953 /* end confdefs.h. */
21954 $ac_includes_default
21955 typedef size_t ac__type_sizeof_;
21959 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21966 rm -f conftest.
$ac_objext
21967 if { (ac_try
="$ac_compile"
21968 case "(($ac_try" in
21969 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21970 *) ac_try_echo=$ac_try;;
21972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21973 (eval "$ac_compile") 2>conftest.er1
21975 grep -v '^ *+' conftest.er1 >conftest.err
21977 cat conftest.err >&5
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); } &&
21980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21981 { (case "(($ac_try" in
21982 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21983 *) ac_try_echo
=$ac_try;;
21985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21986 (eval "$ac_try") 2>&5
21988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21989 (exit $ac_status); }; } &&
21990 { ac_try
='test -s conftest.$ac_objext'
21991 { (case "(($ac_try" in
21992 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21993 *) ac_try_echo=$ac_try;;
21995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21996 (eval "$ac_try") 2>&5
21998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21999 (exit $ac_status); }; }; then
22002 cat >conftest.$ac_ext <<_ACEOF
22005 cat confdefs.h >>conftest.$ac_ext
22006 cat >>conftest.$ac_ext <<_ACEOF
22007 /* end confdefs.h. */
22008 $ac_includes_default
22009 typedef size_t ac__type_sizeof_;
22013 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22020 rm -f conftest.$ac_objext
22021 if { (ac_try="$ac_compile"
22022 case "(($ac_try" in
22023 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22024 *) ac_try_echo
=$ac_try;;
22026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22027 (eval "$ac_compile") 2>conftest.er1
22029 grep -v '^ *+' conftest.er1
>conftest.err
22031 cat conftest.err
>&5
22032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22033 (exit $ac_status); } &&
22034 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22035 { (case "(($ac_try" in
22036 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22037 *) ac_try_echo=$ac_try;;
22039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22040 (eval "$ac_try") 2>&5
22042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043 (exit $ac_status); }; } &&
22044 { ac_try='test -s conftest.$ac_objext'
22045 { (case "(($ac_try" in
22046 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22047 *) ac_try_echo
=$ac_try;;
22049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22050 (eval "$ac_try") 2>&5
22052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22053 (exit $ac_status); }; }; then
22054 ac_lo
=$ac_mid; break
22056 echo "$as_me: failed program was:" >&5
22057 sed 's/^/| /' conftest.
$ac_ext >&5
22059 ac_hi
=`expr '(' $ac_mid ')' - 1`
22060 if test $ac_mid -le $ac_hi; then
22064 ac_mid
=`expr 2 '*' $ac_mid`
22067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22070 echo "$as_me: failed program was:" >&5
22071 sed 's/^/| /' conftest.
$ac_ext >&5
22076 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22080 # Binary search between lo and hi bounds.
22081 while test "x$ac_lo" != "x$ac_hi"; do
22082 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22083 cat >conftest.
$ac_ext <<_ACEOF
22086 cat confdefs.h
>>conftest.
$ac_ext
22087 cat >>conftest.
$ac_ext <<_ACEOF
22088 /* end confdefs.h. */
22089 $ac_includes_default
22090 typedef size_t ac__type_sizeof_;
22094 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22101 rm -f conftest.
$ac_objext
22102 if { (ac_try
="$ac_compile"
22103 case "(($ac_try" in
22104 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22105 *) ac_try_echo=$ac_try;;
22107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22108 (eval "$ac_compile") 2>conftest.er1
22110 grep -v '^ *+' conftest.er1 >conftest.err
22112 cat conftest.err >&5
22113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22114 (exit $ac_status); } &&
22115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22116 { (case "(($ac_try" in
22117 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22118 *) ac_try_echo
=$ac_try;;
22120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22121 (eval "$ac_try") 2>&5
22123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22124 (exit $ac_status); }; } &&
22125 { ac_try
='test -s conftest.$ac_objext'
22126 { (case "(($ac_try" in
22127 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22128 *) ac_try_echo=$ac_try;;
22130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22131 (eval "$ac_try") 2>&5
22133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22134 (exit $ac_status); }; }; then
22137 echo "$as_me: failed program was:" >&5
22138 sed 's/^/| /' conftest.$ac_ext >&5
22140 ac_lo=`expr '(' $ac_mid ')' + 1`
22143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22146 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22147 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22148 See \`config.log
' for more details." >&5
22149 echo "$as_me: error: cannot compute sizeof (size_t)
22150 See \`config.log' for more details.
" >&2;}
22151 { (exit 77); exit 77; }; } ;;
22154 cat >conftest.$ac_ext <<_ACEOF
22157 cat confdefs.h >>conftest.$ac_ext
22158 cat >>conftest.$ac_ext <<_ACEOF
22159 /* end confdefs.h. */
22160 $ac_includes_default
22161 typedef size_t ac__type_sizeof_;
22162 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22163 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22165 #include <stdlib.h>
22170 FILE *f = fopen ("conftest.val
", "w
");
22173 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22175 long int i = longval ();
22176 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22178 fprintf (f, "%ld
\n", i);
22182 unsigned long int i = ulongval ();
22183 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22185 fprintf (f, "%lu
\n", i);
22187 return ferror (f) || fclose (f) != 0;
22193 rm -f conftest$ac_exeext
22194 if { (ac_try="$ac_link"
22195 case "(($ac_try" in
22196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22197 *) ac_try_echo=$ac_try;;
22199 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22200 (eval "$ac_link") 2>&5
22202 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22203 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22204 { (case "(($ac_try" in
22205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22206 *) ac_try_echo=$ac_try;;
22208 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22209 (eval "$ac_try") 2>&5
22211 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22212 (exit $ac_status); }; }; then
22213 ac_cv_sizeof_size_t=`cat conftest.val`
22215 echo "$as_me: program exited with status
$ac_status" >&5
22216 echo "$as_me: failed program was
:" >&5
22217 sed 's/^/| /' conftest.$ac_ext >&5
22219 ( exit $ac_status )
22220 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
22221 See \
`config.log' for more details." >&5
22222 echo "$as_me: error: cannot compute sizeof (size_t)
22223 See \`config.log
' for more details." >&2;}
22224 { (exit 77); exit 77; }; }
22226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22230 ac_cv_sizeof_size_t=0
22233 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22234 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22235 cat >>confdefs.h <<_ACEOF
22236 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22243 { echo "$as_me:$LINENO: checking for long long" >&5
22244 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22245 if test "${ac_cv_type_long_long+set}" = set; then
22246 echo $ECHO_N "(cached) $ECHO_C" >&6
22248 cat >conftest.$ac_ext <<_ACEOF
22251 cat confdefs.h >>conftest.$ac_ext
22252 cat >>conftest.$ac_ext <<_ACEOF
22253 /* end confdefs.h. */
22254 $ac_includes_default
22255 typedef long long ac__type_new_;
22259 if ((ac__type_new_ *) 0)
22261 if (sizeof (ac__type_new_))
22267 rm -f conftest.$ac_objext
22268 if { (ac_try="$ac_compile"
22269 case "(($ac_try" in
22270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22271 *) ac_try_echo=$ac_try;;
22273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22274 (eval "$ac_compile") 2>conftest.er1
22276 grep -v '^
*+' conftest.er1 >conftest.err
22278 cat conftest.err >&5
22279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22280 (exit $ac_status); } &&
22281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
22282 { (case "(($ac_try" in
22283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22284 *) ac_try_echo=$ac_try;;
22286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22287 (eval "$ac_try") 2>&5
22289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22290 (exit $ac_status); }; } &&
22291 { ac_try='test -s conftest.
$ac_objext'
22292 { (case "(($ac_try" in
22293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22294 *) ac_try_echo=$ac_try;;
22296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22297 (eval "$ac_try") 2>&5
22299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300 (exit $ac_status); }; }; then
22301 ac_cv_type_long_long=yes
22303 echo "$as_me: failed program was:" >&5
22304 sed 's
/^
/| /' conftest.$ac_ext >&5
22306 ac_cv_type_long_long=no
22309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22311 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22312 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22314 { echo "$as_me:$LINENO: checking size of long long" >&5
22315 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22316 if test "${ac_cv_sizeof_long_long+set}" = set; then
22317 echo $ECHO_N "(cached) $ECHO_C" >&6
22319 if test "$ac_cv_type_long_long" = yes; then
22320 # The cast to long int works around a bug in the HP C Compiler
22321 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22322 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22323 # This bug is HP SR number 8606223364.
22324 if test "$cross_compiling" = yes; then
22325 # Depending upon the size, compute the lo and hi bounds.
22326 cat >conftest.
$ac_ext <<_ACEOF
22329 cat confdefs.h
>>conftest.
$ac_ext
22330 cat >>conftest.
$ac_ext <<_ACEOF
22331 /* end confdefs.h. */
22332 $ac_includes_default
22333 typedef long long ac__type_sizeof_;
22337 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22344 rm -f conftest.
$ac_objext
22345 if { (ac_try
="$ac_compile"
22346 case "(($ac_try" in
22347 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22348 *) ac_try_echo=$ac_try;;
22350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22351 (eval "$ac_compile") 2>conftest.er1
22353 grep -v '^ *+' conftest.er1 >conftest.err
22355 cat conftest.err >&5
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); } &&
22358 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22359 { (case "(($ac_try" in
22360 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22361 *) ac_try_echo
=$ac_try;;
22363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22364 (eval "$ac_try") 2>&5
22366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22367 (exit $ac_status); }; } &&
22368 { ac_try
='test -s conftest.$ac_objext'
22369 { (case "(($ac_try" in
22370 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22371 *) ac_try_echo=$ac_try;;
22373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22374 (eval "$ac_try") 2>&5
22376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22377 (exit $ac_status); }; }; then
22380 cat >conftest.$ac_ext <<_ACEOF
22383 cat confdefs.h >>conftest.$ac_ext
22384 cat >>conftest.$ac_ext <<_ACEOF
22385 /* end confdefs.h. */
22386 $ac_includes_default
22387 typedef long long ac__type_sizeof_;
22391 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22398 rm -f conftest.$ac_objext
22399 if { (ac_try="$ac_compile"
22400 case "(($ac_try" in
22401 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22402 *) ac_try_echo
=$ac_try;;
22404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22405 (eval "$ac_compile") 2>conftest.er1
22407 grep -v '^ *+' conftest.er1
>conftest.err
22409 cat conftest.err
>&5
22410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22411 (exit $ac_status); } &&
22412 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22413 { (case "(($ac_try" in
22414 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22415 *) ac_try_echo=$ac_try;;
22417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22418 (eval "$ac_try") 2>&5
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); }; } &&
22422 { ac_try='test -s conftest.$ac_objext'
22423 { (case "(($ac_try" in
22424 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22425 *) ac_try_echo
=$ac_try;;
22427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22428 (eval "$ac_try") 2>&5
22430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22431 (exit $ac_status); }; }; then
22432 ac_hi
=$ac_mid; break
22434 echo "$as_me: failed program was:" >&5
22435 sed 's/^/| /' conftest.
$ac_ext >&5
22437 ac_lo
=`expr $ac_mid + 1`
22438 if test $ac_lo -le $ac_mid; then
22442 ac_mid
=`expr 2 '*' $ac_mid + 1`
22445 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22448 echo "$as_me: failed program was:" >&5
22449 sed 's/^/| /' conftest.
$ac_ext >&5
22451 cat >conftest.
$ac_ext <<_ACEOF
22454 cat confdefs.h
>>conftest.
$ac_ext
22455 cat >>conftest.
$ac_ext <<_ACEOF
22456 /* end confdefs.h. */
22457 $ac_includes_default
22458 typedef long long ac__type_sizeof_;
22462 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22469 rm -f conftest.
$ac_objext
22470 if { (ac_try
="$ac_compile"
22471 case "(($ac_try" in
22472 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22473 *) ac_try_echo=$ac_try;;
22475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22476 (eval "$ac_compile") 2>conftest.er1
22478 grep -v '^ *+' conftest.er1 >conftest.err
22480 cat conftest.err >&5
22481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22482 (exit $ac_status); } &&
22483 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22484 { (case "(($ac_try" in
22485 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22486 *) ac_try_echo
=$ac_try;;
22488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22489 (eval "$ac_try") 2>&5
22491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22492 (exit $ac_status); }; } &&
22493 { ac_try
='test -s conftest.$ac_objext'
22494 { (case "(($ac_try" in
22495 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22496 *) ac_try_echo=$ac_try;;
22498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22499 (eval "$ac_try") 2>&5
22501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22502 (exit $ac_status); }; }; then
22505 cat >conftest.$ac_ext <<_ACEOF
22508 cat confdefs.h >>conftest.$ac_ext
22509 cat >>conftest.$ac_ext <<_ACEOF
22510 /* end confdefs.h. */
22511 $ac_includes_default
22512 typedef long long ac__type_sizeof_;
22516 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22523 rm -f conftest.$ac_objext
22524 if { (ac_try="$ac_compile"
22525 case "(($ac_try" in
22526 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22527 *) ac_try_echo
=$ac_try;;
22529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22530 (eval "$ac_compile") 2>conftest.er1
22532 grep -v '^ *+' conftest.er1
>conftest.err
22534 cat conftest.err
>&5
22535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536 (exit $ac_status); } &&
22537 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22538 { (case "(($ac_try" in
22539 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22540 *) ac_try_echo=$ac_try;;
22542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22543 (eval "$ac_try") 2>&5
22545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22546 (exit $ac_status); }; } &&
22547 { ac_try='test -s conftest.$ac_objext'
22548 { (case "(($ac_try" in
22549 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22550 *) ac_try_echo
=$ac_try;;
22552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22553 (eval "$ac_try") 2>&5
22555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22556 (exit $ac_status); }; }; then
22557 ac_lo
=$ac_mid; break
22559 echo "$as_me: failed program was:" >&5
22560 sed 's/^/| /' conftest.
$ac_ext >&5
22562 ac_hi
=`expr '(' $ac_mid ')' - 1`
22563 if test $ac_mid -le $ac_hi; then
22567 ac_mid
=`expr 2 '*' $ac_mid`
22570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22573 echo "$as_me: failed program was:" >&5
22574 sed 's/^/| /' conftest.
$ac_ext >&5
22579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22582 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22583 # Binary search between lo and hi bounds.
22584 while test "x$ac_lo" != "x$ac_hi"; do
22585 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22586 cat >conftest.
$ac_ext <<_ACEOF
22589 cat confdefs.h
>>conftest.
$ac_ext
22590 cat >>conftest.
$ac_ext <<_ACEOF
22591 /* end confdefs.h. */
22592 $ac_includes_default
22593 typedef long long ac__type_sizeof_;
22597 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22604 rm -f conftest.
$ac_objext
22605 if { (ac_try
="$ac_compile"
22606 case "(($ac_try" in
22607 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22608 *) ac_try_echo=$ac_try;;
22610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22611 (eval "$ac_compile") 2>conftest.er1
22613 grep -v '^ *+' conftest.er1 >conftest.err
22615 cat conftest.err >&5
22616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617 (exit $ac_status); } &&
22618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22619 { (case "(($ac_try" in
22620 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22621 *) ac_try_echo
=$ac_try;;
22623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22624 (eval "$ac_try") 2>&5
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); }; } &&
22628 { ac_try
='test -s conftest.$ac_objext'
22629 { (case "(($ac_try" in
22630 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22631 *) ac_try_echo=$ac_try;;
22633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22634 (eval "$ac_try") 2>&5
22636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22637 (exit $ac_status); }; }; then
22640 echo "$as_me: failed program was:" >&5
22641 sed 's/^/| /' conftest.$ac_ext >&5
22643 ac_lo=`expr '(' $ac_mid ')' + 1`
22646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22649 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22650 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22651 See \`config.log
' for more details." >&5
22652 echo "$as_me: error: cannot compute sizeof (long long)
22653 See \`config.log' for more details.
" >&2;}
22654 { (exit 77); exit 77; }; } ;;
22657 cat >conftest.$ac_ext <<_ACEOF
22660 cat confdefs.h >>conftest.$ac_ext
22661 cat >>conftest.$ac_ext <<_ACEOF
22662 /* end confdefs.h. */
22663 $ac_includes_default
22664 typedef long long ac__type_sizeof_;
22665 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22666 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22668 #include <stdlib.h>
22673 FILE *f = fopen ("conftest.val
", "w
");
22676 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22678 long int i = longval ();
22679 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22681 fprintf (f, "%ld
\n", i);
22685 unsigned long int i = ulongval ();
22686 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22688 fprintf (f, "%lu
\n", i);
22690 return ferror (f) || fclose (f) != 0;
22696 rm -f conftest$ac_exeext
22697 if { (ac_try="$ac_link"
22698 case "(($ac_try" in
22699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22700 *) ac_try_echo=$ac_try;;
22702 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22703 (eval "$ac_link") 2>&5
22705 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22706 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22707 { (case "(($ac_try" in
22708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22709 *) ac_try_echo=$ac_try;;
22711 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22712 (eval "$ac_try") 2>&5
22714 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22715 (exit $ac_status); }; }; then
22716 ac_cv_sizeof_long_long=`cat conftest.val`
22718 echo "$as_me: program exited with status
$ac_status" >&5
22719 echo "$as_me: failed program was
:" >&5
22720 sed 's/^/| /' conftest.$ac_ext >&5
22722 ( exit $ac_status )
22723 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22724 See \
`config.log' for more details." >&5
22725 echo "$as_me: error: cannot compute sizeof (long long)
22726 See \`config.log
' for more details." >&2;}
22727 { (exit 77); exit 77; }; }
22729 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22733 ac_cv_sizeof_long_long=0
22736 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22737 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22738 cat >>confdefs.h <<_ACEOF
22739 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22745 { echo "$as_me:$LINENO: checking for long long" >&5
22746 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22747 if test "${ac_cv_type_long_long+set}" = set; then
22748 echo $ECHO_N "(cached) $ECHO_C" >&6
22750 cat >conftest.$ac_ext <<_ACEOF
22753 cat confdefs.h >>conftest.$ac_ext
22754 cat >>conftest.$ac_ext <<_ACEOF
22755 /* end confdefs.h. */
22756 $ac_includes_default
22757 typedef long long ac__type_new_;
22761 if ((ac__type_new_ *) 0)
22763 if (sizeof (ac__type_new_))
22769 rm -f conftest.$ac_objext
22770 if { (ac_try="$ac_compile"
22771 case "(($ac_try" in
22772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22773 *) ac_try_echo=$ac_try;;
22775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22776 (eval "$ac_compile") 2>conftest.er1
22778 grep -v '^
*+' conftest.er1 >conftest.err
22780 cat conftest.err >&5
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); } &&
22783 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
22784 { (case "(($ac_try" in
22785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22786 *) ac_try_echo=$ac_try;;
22788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22789 (eval "$ac_try") 2>&5
22791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22792 (exit $ac_status); }; } &&
22793 { ac_try='test -s conftest.
$ac_objext'
22794 { (case "(($ac_try" in
22795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22796 *) ac_try_echo=$ac_try;;
22798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22799 (eval "$ac_try") 2>&5
22801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802 (exit $ac_status); }; }; then
22803 ac_cv_type_long_long=yes
22805 echo "$as_me: failed program was:" >&5
22806 sed 's
/^
/| /' conftest.$ac_ext >&5
22808 ac_cv_type_long_long=no
22811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22813 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22814 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22816 { echo "$as_me:$LINENO: checking size of long long" >&5
22817 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22818 if test "${ac_cv_sizeof_long_long+set}" = set; then
22819 echo $ECHO_N "(cached) $ECHO_C" >&6
22821 if test "$ac_cv_type_long_long" = yes; then
22822 # The cast to long int works around a bug in the HP C Compiler
22823 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22824 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22825 # This bug is HP SR number 8606223364.
22826 if test "$cross_compiling" = yes; then
22827 # Depending upon the size, compute the lo and hi bounds.
22828 cat >conftest.
$ac_ext <<_ACEOF
22831 cat confdefs.h
>>conftest.
$ac_ext
22832 cat >>conftest.
$ac_ext <<_ACEOF
22833 /* end confdefs.h. */
22834 $ac_includes_default
22835 typedef long long ac__type_sizeof_;
22839 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22846 rm -f conftest.
$ac_objext
22847 if { (ac_try
="$ac_compile"
22848 case "(($ac_try" in
22849 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22850 *) ac_try_echo=$ac_try;;
22852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22853 (eval "$ac_compile") 2>conftest.er1
22855 grep -v '^ *+' conftest.er1 >conftest.err
22857 cat conftest.err >&5
22858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859 (exit $ac_status); } &&
22860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22861 { (case "(($ac_try" in
22862 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22863 *) ac_try_echo
=$ac_try;;
22865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22866 (eval "$ac_try") 2>&5
22868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869 (exit $ac_status); }; } &&
22870 { ac_try
='test -s conftest.$ac_objext'
22871 { (case "(($ac_try" in
22872 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22873 *) ac_try_echo=$ac_try;;
22875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22876 (eval "$ac_try") 2>&5
22878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22879 (exit $ac_status); }; }; then
22882 cat >conftest.$ac_ext <<_ACEOF
22885 cat confdefs.h >>conftest.$ac_ext
22886 cat >>conftest.$ac_ext <<_ACEOF
22887 /* end confdefs.h. */
22888 $ac_includes_default
22889 typedef long long ac__type_sizeof_;
22893 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22900 rm -f conftest.$ac_objext
22901 if { (ac_try="$ac_compile"
22902 case "(($ac_try" in
22903 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22904 *) ac_try_echo
=$ac_try;;
22906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22907 (eval "$ac_compile") 2>conftest.er1
22909 grep -v '^ *+' conftest.er1
>conftest.err
22911 cat conftest.err
>&5
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); } &&
22914 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22915 { (case "(($ac_try" in
22916 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22917 *) ac_try_echo=$ac_try;;
22919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22920 (eval "$ac_try") 2>&5
22922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22923 (exit $ac_status); }; } &&
22924 { ac_try='test -s conftest.$ac_objext'
22925 { (case "(($ac_try" in
22926 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22927 *) ac_try_echo
=$ac_try;;
22929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22930 (eval "$ac_try") 2>&5
22932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22933 (exit $ac_status); }; }; then
22934 ac_hi
=$ac_mid; break
22936 echo "$as_me: failed program was:" >&5
22937 sed 's/^/| /' conftest.
$ac_ext >&5
22939 ac_lo
=`expr $ac_mid + 1`
22940 if test $ac_lo -le $ac_mid; then
22944 ac_mid
=`expr 2 '*' $ac_mid + 1`
22947 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22950 echo "$as_me: failed program was:" >&5
22951 sed 's/^/| /' conftest.
$ac_ext >&5
22953 cat >conftest.
$ac_ext <<_ACEOF
22956 cat confdefs.h
>>conftest.
$ac_ext
22957 cat >>conftest.
$ac_ext <<_ACEOF
22958 /* end confdefs.h. */
22959 $ac_includes_default
22960 typedef long long ac__type_sizeof_;
22964 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22971 rm -f conftest.
$ac_objext
22972 if { (ac_try
="$ac_compile"
22973 case "(($ac_try" in
22974 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22975 *) ac_try_echo=$ac_try;;
22977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22978 (eval "$ac_compile") 2>conftest.er1
22980 grep -v '^ *+' conftest.er1 >conftest.err
22982 cat conftest.err >&5
22983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22984 (exit $ac_status); } &&
22985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22986 { (case "(($ac_try" in
22987 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22988 *) ac_try_echo
=$ac_try;;
22990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22991 (eval "$ac_try") 2>&5
22993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22994 (exit $ac_status); }; } &&
22995 { ac_try
='test -s conftest.$ac_objext'
22996 { (case "(($ac_try" in
22997 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22998 *) ac_try_echo=$ac_try;;
23000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23001 (eval "$ac_try") 2>&5
23003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23004 (exit $ac_status); }; }; then
23007 cat >conftest.$ac_ext <<_ACEOF
23010 cat confdefs.h >>conftest.$ac_ext
23011 cat >>conftest.$ac_ext <<_ACEOF
23012 /* end confdefs.h. */
23013 $ac_includes_default
23014 typedef long long ac__type_sizeof_;
23018 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23025 rm -f conftest.$ac_objext
23026 if { (ac_try="$ac_compile"
23027 case "(($ac_try" in
23028 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23029 *) ac_try_echo
=$ac_try;;
23031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23032 (eval "$ac_compile") 2>conftest.er1
23034 grep -v '^ *+' conftest.er1
>conftest.err
23036 cat conftest.err
>&5
23037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23038 (exit $ac_status); } &&
23039 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23040 { (case "(($ac_try" in
23041 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23042 *) ac_try_echo=$ac_try;;
23044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23045 (eval "$ac_try") 2>&5
23047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23048 (exit $ac_status); }; } &&
23049 { ac_try='test -s conftest.$ac_objext'
23050 { (case "(($ac_try" in
23051 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23052 *) ac_try_echo
=$ac_try;;
23054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23055 (eval "$ac_try") 2>&5
23057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23058 (exit $ac_status); }; }; then
23059 ac_lo
=$ac_mid; break
23061 echo "$as_me: failed program was:" >&5
23062 sed 's/^/| /' conftest.
$ac_ext >&5
23064 ac_hi
=`expr '(' $ac_mid ')' - 1`
23065 if test $ac_mid -le $ac_hi; then
23069 ac_mid
=`expr 2 '*' $ac_mid`
23072 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23075 echo "$as_me: failed program was:" >&5
23076 sed 's/^/| /' conftest.
$ac_ext >&5
23081 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23085 # Binary search between lo and hi bounds.
23086 while test "x$ac_lo" != "x$ac_hi"; do
23087 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23088 cat >conftest.
$ac_ext <<_ACEOF
23091 cat confdefs.h
>>conftest.
$ac_ext
23092 cat >>conftest.
$ac_ext <<_ACEOF
23093 /* end confdefs.h. */
23094 $ac_includes_default
23095 typedef long long ac__type_sizeof_;
23099 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23106 rm -f conftest.
$ac_objext
23107 if { (ac_try
="$ac_compile"
23108 case "(($ac_try" in
23109 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23110 *) ac_try_echo=$ac_try;;
23112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23113 (eval "$ac_compile") 2>conftest.er1
23115 grep -v '^ *+' conftest.er1 >conftest.err
23117 cat conftest.err >&5
23118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23119 (exit $ac_status); } &&
23120 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23121 { (case "(($ac_try" in
23122 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23123 *) ac_try_echo
=$ac_try;;
23125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23126 (eval "$ac_try") 2>&5
23128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23129 (exit $ac_status); }; } &&
23130 { ac_try
='test -s conftest.$ac_objext'
23131 { (case "(($ac_try" in
23132 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23133 *) ac_try_echo=$ac_try;;
23135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23136 (eval "$ac_try") 2>&5
23138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23139 (exit $ac_status); }; }; then
23142 echo "$as_me: failed program was:" >&5
23143 sed 's/^/| /' conftest.$ac_ext >&5
23145 ac_lo=`expr '(' $ac_mid ')' + 1`
23148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23151 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23152 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23153 See \`config.log
' for more details." >&5
23154 echo "$as_me: error: cannot compute sizeof (long long)
23155 See \`config.log' for more details.
" >&2;}
23156 { (exit 77); exit 77; }; } ;;
23159 cat >conftest.$ac_ext <<_ACEOF
23162 cat confdefs.h >>conftest.$ac_ext
23163 cat >>conftest.$ac_ext <<_ACEOF
23164 /* end confdefs.h. */
23165 $ac_includes_default
23166 typedef long long ac__type_sizeof_;
23167 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23168 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23170 #include <stdlib.h>
23175 FILE *f = fopen ("conftest.val
", "w
");
23178 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23180 long int i = longval ();
23181 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23183 fprintf (f, "%ld
\n", i);
23187 unsigned long int i = ulongval ();
23188 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23190 fprintf (f, "%lu
\n", i);
23192 return ferror (f) || fclose (f) != 0;
23198 rm -f conftest$ac_exeext
23199 if { (ac_try="$ac_link"
23200 case "(($ac_try" in
23201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23202 *) ac_try_echo=$ac_try;;
23204 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23205 (eval "$ac_link") 2>&5
23207 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23208 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23209 { (case "(($ac_try" in
23210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23211 *) ac_try_echo=$ac_try;;
23213 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23214 (eval "$ac_try") 2>&5
23216 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23217 (exit $ac_status); }; }; then
23218 ac_cv_sizeof_long_long=`cat conftest.val`
23220 echo "$as_me: program exited with status
$ac_status" >&5
23221 echo "$as_me: failed program was
:" >&5
23222 sed 's/^/| /' conftest.$ac_ext >&5
23224 ( exit $ac_status )
23225 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23226 See \
`config.log' for more details." >&5
23227 echo "$as_me: error: cannot compute sizeof (long long)
23228 See \`config.log
' for more details." >&2;}
23229 { (exit 77); exit 77; }; }
23231 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23235 ac_cv_sizeof_long_long=0
23238 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23239 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23240 cat >>confdefs.h <<_ACEOF
23241 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23245 if test "$ac_cv_sizeof_long_long" != "0"; then
23246 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23250 { echo "$as_me:$LINENO: checking for long long" >&5
23251 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23252 if test "${ac_cv_type_long_long+set}" = set; then
23253 echo $ECHO_N "(cached) $ECHO_C" >&6
23255 cat >conftest.$ac_ext <<_ACEOF
23258 cat confdefs.h >>conftest.$ac_ext
23259 cat >>conftest.$ac_ext <<_ACEOF
23260 /* end confdefs.h. */
23261 $ac_includes_default
23262 typedef long long ac__type_new_;
23266 if ((ac__type_new_ *) 0)
23268 if (sizeof (ac__type_new_))
23274 rm -f conftest.$ac_objext
23275 if { (ac_try="$ac_compile"
23276 case "(($ac_try" in
23277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23278 *) ac_try_echo=$ac_try;;
23280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23281 (eval "$ac_compile") 2>conftest.er1
23283 grep -v '^
*+' conftest.er1 >conftest.err
23285 cat conftest.err >&5
23286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23287 (exit $ac_status); } &&
23288 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
23289 { (case "(($ac_try" in
23290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23291 *) ac_try_echo=$ac_try;;
23293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23294 (eval "$ac_try") 2>&5
23296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23297 (exit $ac_status); }; } &&
23298 { ac_try='test -s conftest.
$ac_objext'
23299 { (case "(($ac_try" in
23300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23301 *) ac_try_echo=$ac_try;;
23303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23304 (eval "$ac_try") 2>&5
23306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23307 (exit $ac_status); }; }; then
23308 ac_cv_type_long_long=yes
23310 echo "$as_me: failed program was:" >&5
23311 sed 's
/^
/| /' conftest.$ac_ext >&5
23313 ac_cv_type_long_long=no
23316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23318 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23319 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23321 { echo "$as_me:$LINENO: checking size of long long" >&5
23322 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23323 if test "${ac_cv_sizeof_long_long+set}" = set; then
23324 echo $ECHO_N "(cached) $ECHO_C" >&6
23326 if test "$ac_cv_type_long_long" = yes; then
23327 # The cast to long int works around a bug in the HP C Compiler
23328 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23329 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23330 # This bug is HP SR number 8606223364.
23331 if test "$cross_compiling" = yes; then
23332 # Depending upon the size, compute the lo and hi bounds.
23333 cat >conftest.
$ac_ext <<_ACEOF
23336 cat confdefs.h
>>conftest.
$ac_ext
23337 cat >>conftest.
$ac_ext <<_ACEOF
23338 /* end confdefs.h. */
23339 $ac_includes_default
23340 typedef long long ac__type_sizeof_;
23344 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23351 rm -f conftest.
$ac_objext
23352 if { (ac_try
="$ac_compile"
23353 case "(($ac_try" in
23354 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23355 *) ac_try_echo=$ac_try;;
23357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23358 (eval "$ac_compile") 2>conftest.er1
23360 grep -v '^ *+' conftest.er1 >conftest.err
23362 cat conftest.err >&5
23363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23364 (exit $ac_status); } &&
23365 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23366 { (case "(($ac_try" in
23367 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23368 *) ac_try_echo
=$ac_try;;
23370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23371 (eval "$ac_try") 2>&5
23373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23374 (exit $ac_status); }; } &&
23375 { ac_try
='test -s conftest.$ac_objext'
23376 { (case "(($ac_try" in
23377 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23378 *) ac_try_echo=$ac_try;;
23380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23381 (eval "$ac_try") 2>&5
23383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23384 (exit $ac_status); }; }; then
23387 cat >conftest.$ac_ext <<_ACEOF
23390 cat confdefs.h >>conftest.$ac_ext
23391 cat >>conftest.$ac_ext <<_ACEOF
23392 /* end confdefs.h. */
23393 $ac_includes_default
23394 typedef long long ac__type_sizeof_;
23398 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23405 rm -f conftest.$ac_objext
23406 if { (ac_try="$ac_compile"
23407 case "(($ac_try" in
23408 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23409 *) ac_try_echo
=$ac_try;;
23411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23412 (eval "$ac_compile") 2>conftest.er1
23414 grep -v '^ *+' conftest.er1
>conftest.err
23416 cat conftest.err
>&5
23417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23418 (exit $ac_status); } &&
23419 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23420 { (case "(($ac_try" in
23421 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23422 *) ac_try_echo=$ac_try;;
23424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23425 (eval "$ac_try") 2>&5
23427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23428 (exit $ac_status); }; } &&
23429 { ac_try='test -s conftest.$ac_objext'
23430 { (case "(($ac_try" in
23431 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23432 *) ac_try_echo
=$ac_try;;
23434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23435 (eval "$ac_try") 2>&5
23437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438 (exit $ac_status); }; }; then
23439 ac_hi
=$ac_mid; break
23441 echo "$as_me: failed program was:" >&5
23442 sed 's/^/| /' conftest.
$ac_ext >&5
23444 ac_lo
=`expr $ac_mid + 1`
23445 if test $ac_lo -le $ac_mid; then
23449 ac_mid
=`expr 2 '*' $ac_mid + 1`
23452 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23455 echo "$as_me: failed program was:" >&5
23456 sed 's/^/| /' conftest.
$ac_ext >&5
23458 cat >conftest.
$ac_ext <<_ACEOF
23461 cat confdefs.h
>>conftest.
$ac_ext
23462 cat >>conftest.
$ac_ext <<_ACEOF
23463 /* end confdefs.h. */
23464 $ac_includes_default
23465 typedef long long ac__type_sizeof_;
23469 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23476 rm -f conftest.
$ac_objext
23477 if { (ac_try
="$ac_compile"
23478 case "(($ac_try" in
23479 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23480 *) ac_try_echo=$ac_try;;
23482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23483 (eval "$ac_compile") 2>conftest.er1
23485 grep -v '^ *+' conftest.er1 >conftest.err
23487 cat conftest.err >&5
23488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23489 (exit $ac_status); } &&
23490 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23491 { (case "(($ac_try" in
23492 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23493 *) ac_try_echo
=$ac_try;;
23495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23496 (eval "$ac_try") 2>&5
23498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499 (exit $ac_status); }; } &&
23500 { ac_try
='test -s conftest.$ac_objext'
23501 { (case "(($ac_try" in
23502 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23503 *) ac_try_echo=$ac_try;;
23505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23506 (eval "$ac_try") 2>&5
23508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23509 (exit $ac_status); }; }; then
23512 cat >conftest.$ac_ext <<_ACEOF
23515 cat confdefs.h >>conftest.$ac_ext
23516 cat >>conftest.$ac_ext <<_ACEOF
23517 /* end confdefs.h. */
23518 $ac_includes_default
23519 typedef long long ac__type_sizeof_;
23523 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23530 rm -f conftest.$ac_objext
23531 if { (ac_try="$ac_compile"
23532 case "(($ac_try" in
23533 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23534 *) ac_try_echo
=$ac_try;;
23536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23537 (eval "$ac_compile") 2>conftest.er1
23539 grep -v '^ *+' conftest.er1
>conftest.err
23541 cat conftest.err
>&5
23542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23543 (exit $ac_status); } &&
23544 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23545 { (case "(($ac_try" in
23546 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23547 *) ac_try_echo=$ac_try;;
23549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23550 (eval "$ac_try") 2>&5
23552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23553 (exit $ac_status); }; } &&
23554 { ac_try='test -s conftest.$ac_objext'
23555 { (case "(($ac_try" in
23556 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23557 *) ac_try_echo
=$ac_try;;
23559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23560 (eval "$ac_try") 2>&5
23562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23563 (exit $ac_status); }; }; then
23564 ac_lo
=$ac_mid; break
23566 echo "$as_me: failed program was:" >&5
23567 sed 's/^/| /' conftest.
$ac_ext >&5
23569 ac_hi
=`expr '(' $ac_mid ')' - 1`
23570 if test $ac_mid -le $ac_hi; then
23574 ac_mid
=`expr 2 '*' $ac_mid`
23577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23580 echo "$as_me: failed program was:" >&5
23581 sed 's/^/| /' conftest.
$ac_ext >&5
23586 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23590 # Binary search between lo and hi bounds.
23591 while test "x$ac_lo" != "x$ac_hi"; do
23592 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23593 cat >conftest.
$ac_ext <<_ACEOF
23596 cat confdefs.h
>>conftest.
$ac_ext
23597 cat >>conftest.
$ac_ext <<_ACEOF
23598 /* end confdefs.h. */
23599 $ac_includes_default
23600 typedef long long ac__type_sizeof_;
23604 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23611 rm -f conftest.
$ac_objext
23612 if { (ac_try
="$ac_compile"
23613 case "(($ac_try" in
23614 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23615 *) ac_try_echo=$ac_try;;
23617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23618 (eval "$ac_compile") 2>conftest.er1
23620 grep -v '^ *+' conftest.er1 >conftest.err
23622 cat conftest.err >&5
23623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23624 (exit $ac_status); } &&
23625 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23626 { (case "(($ac_try" in
23627 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23628 *) ac_try_echo
=$ac_try;;
23630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23631 (eval "$ac_try") 2>&5
23633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23634 (exit $ac_status); }; } &&
23635 { ac_try
='test -s conftest.$ac_objext'
23636 { (case "(($ac_try" in
23637 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23638 *) ac_try_echo=$ac_try;;
23640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23641 (eval "$ac_try") 2>&5
23643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23644 (exit $ac_status); }; }; then
23647 echo "$as_me: failed program was:" >&5
23648 sed 's/^/| /' conftest.$ac_ext >&5
23650 ac_lo=`expr '(' $ac_mid ')' + 1`
23653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23656 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23657 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23658 See \`config.log
' for more details." >&5
23659 echo "$as_me: error: cannot compute sizeof (long long)
23660 See \`config.log' for more details.
" >&2;}
23661 { (exit 77); exit 77; }; } ;;
23664 cat >conftest.$ac_ext <<_ACEOF
23667 cat confdefs.h >>conftest.$ac_ext
23668 cat >>conftest.$ac_ext <<_ACEOF
23669 /* end confdefs.h. */
23670 $ac_includes_default
23671 typedef long long ac__type_sizeof_;
23672 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23673 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23675 #include <stdlib.h>
23680 FILE *f = fopen ("conftest.val
", "w
");
23683 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23685 long int i = longval ();
23686 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23688 fprintf (f, "%ld
\n", i);
23692 unsigned long int i = ulongval ();
23693 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23695 fprintf (f, "%lu
\n", i);
23697 return ferror (f) || fclose (f) != 0;
23703 rm -f conftest$ac_exeext
23704 if { (ac_try="$ac_link"
23705 case "(($ac_try" in
23706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23707 *) ac_try_echo=$ac_try;;
23709 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23710 (eval "$ac_link") 2>&5
23712 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23713 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23714 { (case "(($ac_try" in
23715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23716 *) ac_try_echo=$ac_try;;
23718 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23719 (eval "$ac_try") 2>&5
23721 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23722 (exit $ac_status); }; }; then
23723 ac_cv_sizeof_long_long=`cat conftest.val`
23725 echo "$as_me: program exited with status
$ac_status" >&5
23726 echo "$as_me: failed program was
:" >&5
23727 sed 's/^/| /' conftest.$ac_ext >&5
23729 ( exit $ac_status )
23730 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23731 See \
`config.log' for more details." >&5
23732 echo "$as_me: error: cannot compute sizeof (long long)
23733 See \`config.log
' for more details." >&2;}
23734 { (exit 77); exit 77; }; }
23736 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23740 ac_cv_sizeof_long_long=0
23743 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23744 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23745 cat >>confdefs.h <<_ACEOF
23746 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23752 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23753 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23754 if test "${ac_cv_type_wchar_t+set}" = set; then
23755 echo $ECHO_N "(cached) $ECHO_C" >&6
23757 cat >conftest.$ac_ext <<_ACEOF
23760 cat confdefs.h >>conftest.$ac_ext
23761 cat >>conftest.$ac_ext <<_ACEOF
23762 /* end confdefs.h. */
23764 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23765 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23766 # error "fake wchar_t"
23768 #ifdef HAVE_WCHAR_H
23770 # include <stddef.h>
23772 # include <wchar.h>
23774 #ifdef HAVE_STDLIB_H
23775 # include <stdlib.h>
23781 typedef wchar_t ac__type_new_
;
23785 if ((ac__type_new_
*) 0)
23787 if (sizeof
(ac__type_new_
))
23793 rm -f conftest.
$ac_objext
23794 if { (ac_try
="$ac_compile"
23795 case "(($ac_try" in
23796 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23797 *) ac_try_echo=$ac_try;;
23799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23800 (eval "$ac_compile") 2>conftest.er1
23802 grep -v '^ *+' conftest.er1 >conftest.err
23804 cat conftest.err >&5
23805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23806 (exit $ac_status); } &&
23807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23808 { (case "(($ac_try" in
23809 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23810 *) ac_try_echo
=$ac_try;;
23812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23813 (eval "$ac_try") 2>&5
23815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23816 (exit $ac_status); }; } &&
23817 { ac_try
='test -s conftest.$ac_objext'
23818 { (case "(($ac_try" in
23819 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23820 *) ac_try_echo=$ac_try;;
23822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23823 (eval "$ac_try") 2>&5
23825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23826 (exit $ac_status); }; }; then
23827 ac_cv_type_wchar_t=yes
23829 echo "$as_me: failed program was:" >&5
23830 sed 's/^/| /' conftest.$ac_ext >&5
23832 ac_cv_type_wchar_t=no
23835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23837 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23838 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23840 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23841 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23842 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23843 echo $ECHO_N "(cached) $ECHO_C" >&6
23845 if test "$ac_cv_type_wchar_t" = yes; then
23846 # The cast to long int works around a bug in the HP C Compiler
23847 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23848 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
23849 # This bug is HP SR number 8606223364.
23850 if test "$cross_compiling" = yes; then
23851 # Depending upon the size, compute the lo and hi bounds.
23852 cat >conftest.$ac_ext <<_ACEOF
23855 cat confdefs.h >>conftest.$ac_ext
23856 cat >>conftest.$ac_ext <<_ACEOF
23857 /* end confdefs.h. */
23859 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23860 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23861 # error "fake wchar_t"
23863 #ifdef HAVE_WCHAR_H
23865 # include <stddef.h>
23867 # include <wchar.h>
23869 #ifdef HAVE_STDLIB_H
23870 # include <stdlib.h>
23876 typedef wchar_t ac__type_sizeof_
;
23880 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
23887 rm -f conftest.
$ac_objext
23888 if { (ac_try
="$ac_compile"
23889 case "(($ac_try" in
23890 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23891 *) ac_try_echo=$ac_try;;
23893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23894 (eval "$ac_compile") 2>conftest.er1
23896 grep -v '^ *+' conftest.er1 >conftest.err
23898 cat conftest.err >&5
23899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23900 (exit $ac_status); } &&
23901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23902 { (case "(($ac_try" in
23903 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23904 *) ac_try_echo
=$ac_try;;
23906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23907 (eval "$ac_try") 2>&5
23909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23910 (exit $ac_status); }; } &&
23911 { ac_try
='test -s conftest.$ac_objext'
23912 { (case "(($ac_try" in
23913 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23914 *) ac_try_echo=$ac_try;;
23916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23917 (eval "$ac_try") 2>&5
23919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23920 (exit $ac_status); }; }; then
23923 cat >conftest.$ac_ext <<_ACEOF
23926 cat confdefs.h >>conftest.$ac_ext
23927 cat >>conftest.$ac_ext <<_ACEOF
23928 /* end confdefs.h. */
23930 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23931 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23932 # error "fake wchar_t"
23934 #ifdef HAVE_WCHAR_H
23936 # include <stddef.h>
23938 # include <wchar.h>
23940 #ifdef HAVE_STDLIB_H
23941 # include <stdlib.h>
23947 typedef wchar_t ac__type_sizeof_;
23951 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23958 rm -f conftest.$ac_objext
23959 if { (ac_try="$ac_compile"
23960 case "(($ac_try" in
23961 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23962 *) ac_try_echo
=$ac_try;;
23964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23965 (eval "$ac_compile") 2>conftest.er1
23967 grep -v '^ *+' conftest.er1
>conftest.err
23969 cat conftest.err
>&5
23970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23971 (exit $ac_status); } &&
23972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23973 { (case "(($ac_try" in
23974 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23975 *) ac_try_echo=$ac_try;;
23977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23978 (eval "$ac_try") 2>&5
23980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23981 (exit $ac_status); }; } &&
23982 { ac_try='test -s conftest.$ac_objext'
23983 { (case "(($ac_try" in
23984 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23985 *) ac_try_echo
=$ac_try;;
23987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23988 (eval "$ac_try") 2>&5
23990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23991 (exit $ac_status); }; }; then
23992 ac_hi
=$ac_mid; break
23994 echo "$as_me: failed program was:" >&5
23995 sed 's/^/| /' conftest.
$ac_ext >&5
23997 ac_lo
=`expr $ac_mid + 1`
23998 if test $ac_lo -le $ac_mid; then
24002 ac_mid
=`expr 2 '*' $ac_mid + 1`
24005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24008 echo "$as_me: failed program was:" >&5
24009 sed 's/^/| /' conftest.
$ac_ext >&5
24011 cat >conftest.
$ac_ext <<_ACEOF
24014 cat confdefs.h
>>conftest.
$ac_ext
24015 cat >>conftest.
$ac_ext <<_ACEOF
24016 /* end confdefs.h. */
24018 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24019 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24020 # error "fake wchar_t"
24022 #ifdef HAVE_WCHAR_H
24024 # include <stddef.h>
24026 # include <wchar.h>
24028 #ifdef HAVE_STDLIB_H
24029 # include <stdlib.h>
24035 typedef wchar_t ac__type_sizeof_;
24039 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
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 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24061 { (case "(($ac_try" in
24062 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24063 *) ac_try_echo
=$ac_try;;
24065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24066 (eval "$ac_try") 2>&5
24068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24069 (exit $ac_status); }; } &&
24070 { ac_try
='test -s conftest.$ac_objext'
24071 { (case "(($ac_try" in
24072 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24073 *) ac_try_echo=$ac_try;;
24075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24076 (eval "$ac_try") 2>&5
24078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24079 (exit $ac_status); }; }; then
24082 cat >conftest.$ac_ext <<_ACEOF
24085 cat confdefs.h >>conftest.$ac_ext
24086 cat >>conftest.$ac_ext <<_ACEOF
24087 /* end confdefs.h. */
24089 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24090 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24091 # error "fake wchar_t"
24093 #ifdef HAVE_WCHAR_H
24095 # include <stddef.h>
24097 # include <wchar.h>
24099 #ifdef HAVE_STDLIB_H
24100 # include <stdlib.h>
24106 typedef wchar_t ac__type_sizeof_;
24110 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24117 rm -f conftest.$ac_objext
24118 if { (ac_try="$ac_compile"
24119 case "(($ac_try" in
24120 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24121 *) ac_try_echo
=$ac_try;;
24123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24124 (eval "$ac_compile") 2>conftest.er1
24126 grep -v '^ *+' conftest.er1
>conftest.err
24128 cat conftest.err
>&5
24129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24130 (exit $ac_status); } &&
24131 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24132 { (case "(($ac_try" in
24133 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24134 *) ac_try_echo=$ac_try;;
24136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24137 (eval "$ac_try") 2>&5
24139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24140 (exit $ac_status); }; } &&
24141 { ac_try='test -s conftest.$ac_objext'
24142 { (case "(($ac_try" in
24143 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24144 *) ac_try_echo
=$ac_try;;
24146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24147 (eval "$ac_try") 2>&5
24149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24150 (exit $ac_status); }; }; then
24151 ac_lo
=$ac_mid; break
24153 echo "$as_me: failed program was:" >&5
24154 sed 's/^/| /' conftest.
$ac_ext >&5
24156 ac_hi
=`expr '(' $ac_mid ')' - 1`
24157 if test $ac_mid -le $ac_hi; then
24161 ac_mid
=`expr 2 '*' $ac_mid`
24164 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24167 echo "$as_me: failed program was:" >&5
24168 sed 's/^/| /' conftest.
$ac_ext >&5
24173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24177 # Binary search between lo and hi bounds.
24178 while test "x$ac_lo" != "x$ac_hi"; do
24179 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24180 cat >conftest.
$ac_ext <<_ACEOF
24183 cat confdefs.h
>>conftest.
$ac_ext
24184 cat >>conftest.
$ac_ext <<_ACEOF
24185 /* end confdefs.h. */
24187 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24188 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24189 # error "fake wchar_t"
24191 #ifdef HAVE_WCHAR_H
24193 # include <stddef.h>
24195 # include <wchar.h>
24197 #ifdef HAVE_STDLIB_H
24198 # include <stdlib.h>
24204 typedef wchar_t ac__type_sizeof_;
24208 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24215 rm -f conftest.
$ac_objext
24216 if { (ac_try
="$ac_compile"
24217 case "(($ac_try" in
24218 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24219 *) ac_try_echo=$ac_try;;
24221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24222 (eval "$ac_compile") 2>conftest.er1
24224 grep -v '^ *+' conftest.er1 >conftest.err
24226 cat conftest.err >&5
24227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24228 (exit $ac_status); } &&
24229 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24230 { (case "(($ac_try" in
24231 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24232 *) ac_try_echo
=$ac_try;;
24234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24235 (eval "$ac_try") 2>&5
24237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24238 (exit $ac_status); }; } &&
24239 { ac_try
='test -s conftest.$ac_objext'
24240 { (case "(($ac_try" in
24241 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24242 *) ac_try_echo=$ac_try;;
24244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24245 (eval "$ac_try") 2>&5
24247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24248 (exit $ac_status); }; }; then
24251 echo "$as_me: failed program was:" >&5
24252 sed 's/^/| /' conftest.$ac_ext >&5
24254 ac_lo=`expr '(' $ac_mid ')' + 1`
24257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24260 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24261 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24262 See \`config.log
' for more details." >&5
24263 echo "$as_me: error: cannot compute sizeof (wchar_t)
24264 See \`config.log' for more details.
" >&2;}
24265 { (exit 77); exit 77; }; } ;;
24268 cat >conftest.$ac_ext <<_ACEOF
24271 cat confdefs.h >>conftest.$ac_ext
24272 cat >>conftest.$ac_ext <<_ACEOF
24273 /* end confdefs.h. */
24275 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24276 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24277 # error "fake wchar_t
"
24279 #ifdef HAVE_WCHAR_H
24281 # include <stddef.h>
24283 # include <wchar.h>
24285 #ifdef HAVE_STDLIB_H
24286 # include <stdlib.h>
24292 typedef wchar_t ac__type_sizeof_;
24293 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24294 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24296 #include <stdlib.h>
24301 FILE *f = fopen ("conftest.val
", "w
");
24304 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24306 long int i = longval ();
24307 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24309 fprintf (f, "%ld
\n", i);
24313 unsigned long int i = ulongval ();
24314 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24316 fprintf (f, "%lu
\n", i);
24318 return ferror (f) || fclose (f) != 0;
24324 rm -f conftest$ac_exeext
24325 if { (ac_try="$ac_link"
24326 case "(($ac_try" in
24327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24328 *) ac_try_echo=$ac_try;;
24330 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24331 (eval "$ac_link") 2>&5
24333 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24334 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24335 { (case "(($ac_try" in
24336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24337 *) ac_try_echo=$ac_try;;
24339 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24340 (eval "$ac_try") 2>&5
24342 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24343 (exit $ac_status); }; }; then
24344 ac_cv_sizeof_wchar_t=`cat conftest.val`
24346 echo "$as_me: program exited with status
$ac_status" >&5
24347 echo "$as_me: failed program was
:" >&5
24348 sed 's/^/| /' conftest.$ac_ext >&5
24350 ( exit $ac_status )
24351 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
24352 See \
`config.log' for more details." >&5
24353 echo "$as_me: error: cannot compute sizeof (wchar_t)
24354 See \`config.log
' for more details." >&2;}
24355 { (exit 77); exit 77; }; }
24357 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24361 ac_cv_sizeof_wchar_t=0
24364 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24365 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24366 cat >>confdefs.h <<_ACEOF
24367 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24371 if test "$ac_cv_sizeof_wchar_t" != "0"; then
24377 { echo "$as_me:$LINENO: checking for va_copy" >&5
24378 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24379 if test "${wx_cv_func_va_copy+set}" = set; then
24380 echo $ECHO_N "(cached) $ECHO_C" >&6
24383 cat >conftest.$ac_ext <<_ACEOF
24385 #include <stdarg.h>
24386 void foo(char *f, ...)
24400 rm -f conftest.$ac_objext conftest$ac_exeext
24401 if { (ac_try="$ac_link"
24402 case "(($ac_try" in
24403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24404 *) ac_try_echo=$ac_try;;
24406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24407 (eval "$ac_link") 2>conftest.er1
24409 grep -v '^
*+' conftest.er1 >conftest.err
24411 cat conftest.err >&5
24412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24413 (exit $ac_status); } &&
24414 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
24415 { (case "(($ac_try" in
24416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24417 *) ac_try_echo=$ac_try;;
24419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24420 (eval "$ac_try") 2>&5
24422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423 (exit $ac_status); }; } &&
24424 { ac_try='test -s conftest
$ac_exeext'
24425 { (case "(($ac_try" in
24426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24427 *) ac_try_echo=$ac_try;;
24429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24430 (eval "$ac_try") 2>&5
24432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24433 (exit $ac_status); }; }; then
24434 wx_cv_func_va_copy=yes
24436 echo "$as_me: failed program was:" >&5
24437 sed 's
/^
/| /' conftest.$ac_ext >&5
24439 wx_cv_func_va_copy=no
24443 rm -f core conftest.err conftest.$ac_objext \
24444 conftest$ac_exeext conftest.$ac_ext
24448 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24449 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24451 if test $wx_cv_func_va_copy = "yes"; then
24452 cat >>confdefs.h <<\_ACEOF
24453 #define HAVE_VA_COPY 1
24457 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24458 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24459 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24460 echo $ECHO_N "(cached) $ECHO_C" >&6
24463 if test "$cross_compiling" = yes; then
24464 wx_cv_type_va_list_lvalue=yes
24467 cat >conftest.$ac_ext <<_ACEOF
24469 #include <stdarg.h>
24470 int foo(char *f, ...)
24475 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24483 return foo("hi", 17);
24486 rm -f conftest$ac_exeext
24487 if { (ac_try="$ac_link"
24488 case "(($ac_try" in
24489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24490 *) ac_try_echo=$ac_try;;
24492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24493 (eval "$ac_link") 2>&5
24495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24496 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24497 { (case "(($ac_try" in
24498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24499 *) ac_try_echo=$ac_try;;
24501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24502 (eval "$ac_try") 2>&5
24504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24505 (exit $ac_status); }; }; then
24506 wx_cv_type_va_list_lvalue=yes
24508 echo "$as_me: program exited with status $ac_status" >&5
24509 echo "$as_me: failed program was:" >&5
24510 sed 's
/^
/| /' conftest.$ac_ext >&5
24512 ( exit $ac_status )
24513 wx_cv_type_va_list_lvalue=no
24515 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24522 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24523 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24525 if test $wx_cv_type_va_list_lvalue != "yes"; then
24526 cat >>confdefs.h <<\_ACEOF
24527 #define VA_LIST_IS_ARRAY 1
24533 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24535 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24536 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24537 if test "${wx_cv_have_variadic_macros+set}" = set; then
24538 echo $ECHO_N "(cached) $ECHO_C" >&6
24542 ac_cpp='$CXXCPP $CPPFLAGS'
24543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24544 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24547 cat >conftest.$ac_ext <<_ACEOF
24550 cat confdefs.h >>conftest.$ac_ext
24551 cat >>conftest.$ac_ext <<_ACEOF
24552 /* end confdefs.h. */
24555 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24561 test("%s %d %p", "test", 1, 0);
24568 rm -f conftest.$ac_objext
24569 if { (ac_try="$ac_compile"
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_compile") 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 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
'
24583 { (case "(($ac_try" in
24584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24585 *) ac_try_echo=$ac_try;;
24587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24588 (eval "$ac_try") 2>&5
24590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24591 (exit $ac_status); }; } &&
24592 { ac_try='test -s conftest.
$ac_objext'
24593 { (case "(($ac_try" in
24594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24595 *) ac_try_echo=$ac_try;;
24597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24598 (eval "$ac_try") 2>&5
24600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24601 (exit $ac_status); }; }; then
24602 wx_cv_have_variadic_macros=yes
24604 echo "$as_me: failed program was:" >&5
24605 sed 's
/^
/| /' conftest.$ac_ext >&5
24607 wx_cv_have_variadic_macros=no
24611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24613 ac_cpp='$CPP $CPPFLAGS'
24614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24615 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24621 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24622 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24624 if test $wx_cv_have_variadic_macros = "yes"; then
24625 cat >>confdefs.h <<\_ACEOF
24626 #define HAVE_VARIADIC_MACROS 1
24632 # Check whether --enable-largefile was given.
24633 if test "${enable_largefile+set}" = set; then
24634 enableval=$enable_largefile;
24637 if test "$enable_largefile" != no; then
24640 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24641 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24642 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24643 echo $ECHO_N "(cached) $ECHO_C" >&6
24646 cat >conftest.$ac_ext <<_ACEOF
24649 cat confdefs.h >>conftest.$ac_ext
24650 cat >>conftest.$ac_ext <<_ACEOF
24651 /* end confdefs.h. */
24652 #define _FILE_OFFSET_BITS 64
24653 #include <sys/types.h>
24658 unsigned int field: sizeof(off_t) == 8;
24665 rm -f conftest.$ac_objext
24666 if { (ac_try="$ac_compile"
24667 case "(($ac_try" in
24668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24669 *) ac_try_echo=$ac_try;;
24671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24672 (eval "$ac_compile") 2>conftest.er1
24674 grep -v '^
*+' conftest.er1 >conftest.err
24676 cat conftest.err >&5
24677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24678 (exit $ac_status); } &&
24679 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
24680 { (case "(($ac_try" in
24681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24682 *) ac_try_echo=$ac_try;;
24684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24685 (eval "$ac_try") 2>&5
24687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24688 (exit $ac_status); }; } &&
24689 { ac_try='test -s conftest.
$ac_objext'
24690 { (case "(($ac_try" in
24691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24692 *) ac_try_echo=$ac_try;;
24694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24695 (eval "$ac_try") 2>&5
24697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24698 (exit $ac_status); }; }; then
24699 ac_cv_sys_file_offset_bits=64
24701 echo "$as_me: failed program was:" >&5
24702 sed 's
/^
/| /' conftest.$ac_ext >&5
24704 ac_cv_sys_file_offset_bits=no
24707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24711 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24712 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24714 if test "$ac_cv_sys_file_offset_bits" != no; then
24716 cat >>confdefs.h <<_ACEOF
24717 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24722 if test "x$wx_largefile" != "xyes"; then
24724 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24725 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24726 if test "${ac_cv_sys_large_files+set}" = set; then
24727 echo $ECHO_N "(cached) $ECHO_C" >&6
24730 cat >conftest.$ac_ext <<_ACEOF
24733 cat confdefs.h >>conftest.$ac_ext
24734 cat >>conftest.$ac_ext <<_ACEOF
24735 /* end confdefs.h. */
24736 #define _LARGE_FILES 1
24737 #include <sys/types.h>
24742 unsigned int field: sizeof(off_t) == 8;
24749 rm -f conftest.$ac_objext
24750 if { (ac_try="$ac_compile"
24751 case "(($ac_try" in
24752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24753 *) ac_try_echo=$ac_try;;
24755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24756 (eval "$ac_compile") 2>conftest.er1
24758 grep -v '^
*+' conftest.er1 >conftest.err
24760 cat conftest.err >&5
24761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24762 (exit $ac_status); } &&
24763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
24764 { (case "(($ac_try" in
24765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24766 *) ac_try_echo=$ac_try;;
24768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24769 (eval "$ac_try") 2>&5
24771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24772 (exit $ac_status); }; } &&
24773 { ac_try='test -s conftest.
$ac_objext'
24774 { (case "(($ac_try" in
24775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24776 *) ac_try_echo=$ac_try;;
24778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24779 (eval "$ac_try") 2>&5
24781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24782 (exit $ac_status); }; }; then
24783 ac_cv_sys_large_files=1
24785 echo "$as_me: failed program was:" >&5
24786 sed 's
/^
/| /' conftest.$ac_ext >&5
24788 ac_cv_sys_large_files=no
24791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24795 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24796 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24798 if test "$ac_cv_sys_large_files" != no; then
24800 cat >>confdefs.h <<_ACEOF
24801 #define _LARGE_FILES $ac_cv_sys_large_files
24808 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24809 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24810 if test "x$wx_largefile" = "xyes"; then
24811 cat >>confdefs.h <<\_ACEOF
24812 #define HAVE_LARGEFILE_SUPPORT 1
24816 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24817 echo "${ECHO_T}$wx_largefile" >&6; }
24821 if test "x$wx_largefile" = "xyes"; then
24822 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
24823 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
24825 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24826 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24827 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24828 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24829 echo $ECHO_N "(cached) $ECHO_C" >&6
24833 ac_cpp='$CXXCPP $CPPFLAGS'
24834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24835 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24838 cat >conftest.$ac_ext <<_ACEOF
24841 cat confdefs.h >>conftest.$ac_ext
24842 cat >>conftest.$ac_ext <<_ACEOF
24843 /* end confdefs.h. */
24849 #ifndef __STDC_EXT__
24857 rm -f conftest.$ac_objext
24858 if { (ac_try="$ac_compile"
24859 case "(($ac_try" in
24860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24861 *) ac_try_echo=$ac_try;;
24863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24864 (eval "$ac_compile") 2>conftest.er1
24866 grep -v '^
*+' conftest.er1 >conftest.err
24868 cat conftest.err >&5
24869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24870 (exit $ac_status); } &&
24871 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
'
24872 { (case "(($ac_try" in
24873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24874 *) ac_try_echo=$ac_try;;
24876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24877 (eval "$ac_try") 2>&5
24879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24880 (exit $ac_status); }; } &&
24881 { ac_try='test -s conftest.
$ac_objext'
24882 { (case "(($ac_try" in
24883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24884 *) ac_try_echo=$ac_try;;
24886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24887 (eval "$ac_try") 2>&5
24889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24890 (exit $ac_status); }; }; then
24891 wx_cv_STDC_EXT_required=no
24893 echo "$as_me: failed program was:" >&5
24894 sed 's
/^
/| /' conftest.$ac_ext >&5
24896 wx_cv_STDC_EXT_required=yes
24900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24902 ac_cpp='$CPP $CPPFLAGS'
24903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24904 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24910 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24911 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24912 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24913 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24917 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
24919 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24920 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24921 if test "${ac_cv_sys_largefile_source+set}" = set; then
24922 echo $ECHO_N "(cached) $ECHO_C" >&6
24925 ac_cv_sys_largefile_source=no
24926 cat >conftest.$ac_ext <<_ACEOF
24929 cat confdefs.h >>conftest.$ac_ext
24930 cat >>conftest.$ac_ext <<_ACEOF
24931 /* end confdefs.h. */
24941 rm -f conftest.$ac_objext
24942 if { (ac_try="$ac_compile"
24943 case "(($ac_try" in
24944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24945 *) ac_try_echo=$ac_try;;
24947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24948 (eval "$ac_compile") 2>conftest.er1
24950 grep -v '^
*+' conftest.er1 >conftest.err
24952 cat conftest.err >&5
24953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24954 (exit $ac_status); } &&
24955 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
24956 { (case "(($ac_try" in
24957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24958 *) ac_try_echo=$ac_try;;
24960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24961 (eval "$ac_try") 2>&5
24963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24964 (exit $ac_status); }; } &&
24965 { ac_try='test -s conftest.
$ac_objext'
24966 { (case "(($ac_try" in
24967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24968 *) ac_try_echo=$ac_try;;
24970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24971 (eval "$ac_try") 2>&5
24973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24974 (exit $ac_status); }; }; then
24977 echo "$as_me: failed program was:" >&5
24978 sed 's
/^
/| /' conftest.$ac_ext >&5
24983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24984 cat >conftest.$ac_ext <<_ACEOF
24987 cat confdefs.h >>conftest.$ac_ext
24988 cat >>conftest.$ac_ext <<_ACEOF
24989 /* end confdefs.h. */
24990 #define _LARGEFILE_SOURCE 1
25000 rm -f conftest.$ac_objext
25001 if { (ac_try="$ac_compile"
25002 case "(($ac_try" in
25003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25004 *) ac_try_echo=$ac_try;;
25006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25007 (eval "$ac_compile") 2>conftest.er1
25009 grep -v '^
*+' conftest.er1 >conftest.err
25011 cat conftest.err >&5
25012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25013 (exit $ac_status); } &&
25014 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
25015 { (case "(($ac_try" in
25016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25017 *) ac_try_echo=$ac_try;;
25019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25020 (eval "$ac_try") 2>&5
25022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25023 (exit $ac_status); }; } &&
25024 { ac_try='test -s conftest.
$ac_objext'
25025 { (case "(($ac_try" in
25026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25027 *) ac_try_echo=$ac_try;;
25029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25030 (eval "$ac_try") 2>&5
25032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25033 (exit $ac_status); }; }; then
25034 ac_cv_sys_largefile_source=1; break
25036 echo "$as_me: failed program was:" >&5
25037 sed 's
/^
/| /' conftest.$ac_ext >&5
25042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25046 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25047 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25048 if test "$ac_cv_sys_largefile_source" != no; then
25050 cat >>confdefs.h <<_ACEOF
25051 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25057 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25058 # in glibc 2.1.3, but that breaks too many other things.
25059 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25060 { echo "$as_me:$LINENO: checking for fseeko" >&5
25061 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6; }
25062 if test "${ac_cv_func_fseeko+set}" = set; then
25063 echo $ECHO_N "(cached) $ECHO_C" >&6
25065 cat >conftest.$ac_ext <<_ACEOF
25068 cat confdefs.h >>conftest.$ac_ext
25069 cat >>conftest.$ac_ext <<_ACEOF
25070 /* end confdefs.h. */
25075 return fseeko && fseeko (stdin, 0, 0);
25080 rm -f conftest.$ac_objext conftest$ac_exeext
25081 if { (ac_try="$ac_link"
25082 case "(($ac_try" in
25083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25084 *) ac_try_echo=$ac_try;;
25086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25087 (eval "$ac_link") 2>conftest.er1
25089 grep -v '^
*+' conftest.er1 >conftest.err
25091 cat conftest.err >&5
25092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25093 (exit $ac_status); } &&
25094 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
25095 { (case "(($ac_try" in
25096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25097 *) ac_try_echo=$ac_try;;
25099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25100 (eval "$ac_try") 2>&5
25102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25103 (exit $ac_status); }; } &&
25104 { ac_try='test -s conftest
$ac_exeext'
25105 { (case "(($ac_try" in
25106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25107 *) ac_try_echo=$ac_try;;
25109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25110 (eval "$ac_try") 2>&5
25112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25113 (exit $ac_status); }; }; then
25114 ac_cv_func_fseeko=yes
25116 echo "$as_me: failed program was:" >&5
25117 sed 's
/^
/| /' conftest.$ac_ext >&5
25119 ac_cv_func_fseeko=no
25122 rm -f core conftest.err conftest.$ac_objext \
25123 conftest$ac_exeext conftest.$ac_ext
25125 { echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
25126 echo "${ECHO_T}$ac_cv_func_fseeko" >&6; }
25127 if test $ac_cv_func_fseeko = yes; then
25129 cat >>confdefs.h <<\_ACEOF
25130 #define HAVE_FSEEKO 1
25135 if test "$ac_cv_sys_largefile_source" != no; then
25136 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25140 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25141 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25142 if test "${ac_cv_c_bigendian+set}" = set; then
25143 echo $ECHO_N "(cached) $ECHO_C" >&6
25145 ac_cv_c_bigendian=unknown
25146 # See if sys/param.h defines the BYTE_ORDER macro.
25147 cat >conftest.$ac_ext <<_ACEOF
25150 cat confdefs.h >>conftest.$ac_ext
25151 cat >>conftest.$ac_ext <<_ACEOF
25152 /* end confdefs.h. */
25153 #include <sys/types.h>
25154 #include <sys/param.h>
25159 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25160 bogus endian macros
25166 rm -f conftest.$ac_objext
25167 if { (ac_try="$ac_compile"
25168 case "(($ac_try" in
25169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25170 *) ac_try_echo=$ac_try;;
25172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25173 (eval "$ac_compile") 2>conftest.er1
25175 grep -v '^
*+' conftest.er1 >conftest.err
25177 cat conftest.err >&5
25178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25179 (exit $ac_status); } &&
25180 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
25181 { (case "(($ac_try" in
25182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25183 *) ac_try_echo=$ac_try;;
25185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25186 (eval "$ac_try") 2>&5
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); }; } &&
25190 { ac_try='test -s conftest.
$ac_objext'
25191 { (case "(($ac_try" in
25192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25193 *) ac_try_echo=$ac_try;;
25195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25196 (eval "$ac_try") 2>&5
25198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25199 (exit $ac_status); }; }; 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 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
25235 { (case "(($ac_try" in
25236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25237 *) ac_try_echo=$ac_try;;
25239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25240 (eval "$ac_try") 2>&5
25242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25243 (exit $ac_status); }; } &&
25244 { ac_try='test -s conftest.
$ac_objext'
25245 { (case "(($ac_try" in
25246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25247 *) ac_try_echo=$ac_try;;
25249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25250 (eval "$ac_try") 2>&5
25252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25253 (exit $ac_status); }; }; then
25254 ac_cv_c_bigendian=yes
25256 echo "$as_me: failed program was:" >&5
25257 sed 's
/^
/| /' conftest.$ac_ext >&5
25259 ac_cv_c_bigendian=no
25262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25264 echo "$as_me: failed program was:" >&5
25265 sed 's
/^
/| /' conftest.$ac_ext >&5
25270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25271 if test $ac_cv_c_bigendian = unknown; then
25272 if test "$cross_compiling" = yes; then
25273 ac_cv_c_bigendian=unknown
25275 cat >conftest.$ac_ext <<_ACEOF
25278 cat confdefs.h >>conftest.$ac_ext
25279 cat >>conftest.$ac_ext <<_ACEOF
25280 /* end confdefs.h. */
25282 /* Are we little or big endian? From Harbison&Steele. */
25286 char c[sizeof (long)];
25289 exit (u.c[sizeof (long) - 1] == 1);
25292 rm -f conftest$ac_exeext
25293 if { (ac_try="$ac_link"
25294 case "(($ac_try" in
25295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25296 *) ac_try_echo=$ac_try;;
25298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25299 (eval "$ac_link") 2>&5
25301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25302 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
25303 { (case "(($ac_try" in
25304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25305 *) ac_try_echo=$ac_try;;
25307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25308 (eval "$ac_try") 2>&5
25310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25311 (exit $ac_status); }; }; then
25312 ac_cv_c_bigendian=no
25314 echo "$as_me: program exited with status $ac_status" >&5
25315 echo "$as_me: failed program was:" >&5
25316 sed 's
/^
/| /' conftest.$ac_ext >&5
25318 ( exit $ac_status )
25319 ac_cv_c_bigendian=yes
25321 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25327 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25328 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25329 if test $ac_cv_c_bigendian = unknown; then
25330 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
25331 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
25333 if test $ac_cv_c_bigendian = yes; then
25334 cat >>confdefs.h <<\_ACEOF
25335 #define WORDS_BIGENDIAN 1
25342 ac_cpp='$CXXCPP $CPPFLAGS'
25343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25344 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25346 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
25347 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
25348 if test -z "$CXXCPP"; then
25349 if test "${ac_cv_prog_CXXCPP+set}" = set; then
25350 echo $ECHO_N "(cached) $ECHO_C" >&6
25352 # Double quotes because CXXCPP needs to be expanded
25353 for CXXCPP in "$CXX -E" "/lib/cpp"
25355 ac_preproc_ok=false
25356 for ac_cxx_preproc_warn_flag in '' yes
25358 # Use a header file that comes with gcc, so configuring glibc
25359 # with a fresh cross-compiler works.
25360 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25361 # <limits.h> exists even on freestanding compilers.
25362 # On the NeXT, cc -E runs the code through the compiler's parser
,
25363 # not just through cpp. "Syntax error" is here to catch this case.
25364 cat >conftest.
$ac_ext <<_ACEOF
25367 cat confdefs.h
>>conftest.
$ac_ext
25368 cat >>conftest.
$ac_ext <<_ACEOF
25369 /* end confdefs.h. */
25371 # include <limits.h>
25373 # include <assert.h>
25377 if { (ac_try
="$ac_cpp conftest.$ac_ext"
25378 case "(($ac_try" in
25379 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25380 *) ac_try_echo=$ac_try;;
25382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25383 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25385 grep -v '^ *+' conftest.er1 >conftest.err
25387 cat conftest.err >&5
25388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25389 (exit $ac_status); } >/dev/null; then
25390 if test -s conftest.err; then
25391 ac_cpp_err=$ac_cxx_preproc_warn_flag
25392 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25399 if test -z "$ac_cpp_err"; then
25402 echo "$as_me: failed program was:" >&5
25403 sed 's/^/| /' conftest.$ac_ext >&5
25405 # Broken: fails on valid input.
25409 rm -f conftest.err conftest.$ac_ext
25411 # OK, works on sane cases. Now check whether nonexistent headers
25412 # can be detected and how.
25413 cat >conftest.$ac_ext <<_ACEOF
25416 cat confdefs.h >>conftest.$ac_ext
25417 cat >>conftest.$ac_ext <<_ACEOF
25418 /* end confdefs.h. */
25419 #include <ac_nonexistent.h>
25421 if { (ac_try="$ac_cpp conftest.$ac_ext"
25422 case "(($ac_try" in
25423 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25424 *) ac_try_echo
=$ac_try;;
25426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25427 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25429 grep -v '^ *+' conftest.er1
>conftest.err
25431 cat conftest.err
>&5
25432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25433 (exit $ac_status); } >/dev
/null
; then
25434 if test -s conftest.err
; then
25435 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25436 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25443 if test -z "$ac_cpp_err"; then
25444 # Broken: success on invalid input.
25447 echo "$as_me: failed program was:" >&5
25448 sed 's/^/| /' conftest.
$ac_ext >&5
25450 # Passes both tests.
25455 rm -f conftest.err conftest.
$ac_ext
25458 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
25459 rm -f conftest.err conftest.
$ac_ext
25460 if $ac_preproc_ok; then
25465 ac_cv_prog_CXXCPP
=$CXXCPP
25468 CXXCPP
=$ac_cv_prog_CXXCPP
25470 ac_cv_prog_CXXCPP
=$CXXCPP
25472 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
25473 echo "${ECHO_T}$CXXCPP" >&6; }
25474 ac_preproc_ok
=false
25475 for ac_cxx_preproc_warn_flag
in '' yes
25477 # Use a header file that comes with gcc, so configuring glibc
25478 # with a fresh cross-compiler works.
25479 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25480 # <limits.h> exists even on freestanding compilers.
25481 # On the NeXT, cc -E runs the code through the compiler's parser,
25482 # not just through cpp. "Syntax error" is here to catch this case.
25483 cat >conftest.
$ac_ext <<_ACEOF
25486 cat confdefs.h
>>conftest.
$ac_ext
25487 cat >>conftest.
$ac_ext <<_ACEOF
25488 /* end confdefs.h. */
25490 # include <limits.h>
25492 # include <assert.h>
25496 if { (ac_try
="$ac_cpp conftest.$ac_ext"
25497 case "(($ac_try" in
25498 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25499 *) ac_try_echo=$ac_try;;
25501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25502 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25504 grep -v '^ *+' conftest.er1 >conftest.err
25506 cat conftest.err >&5
25507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25508 (exit $ac_status); } >/dev/null; then
25509 if test -s conftest.err; then
25510 ac_cpp_err=$ac_cxx_preproc_warn_flag
25511 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25518 if test -z "$ac_cpp_err"; then
25521 echo "$as_me: failed program was:" >&5
25522 sed 's/^/| /' conftest.$ac_ext >&5
25524 # Broken: fails on valid input.
25528 rm -f conftest.err conftest.$ac_ext
25530 # OK, works on sane cases. Now check whether nonexistent headers
25531 # can be detected and how.
25532 cat >conftest.$ac_ext <<_ACEOF
25535 cat confdefs.h >>conftest.$ac_ext
25536 cat >>conftest.$ac_ext <<_ACEOF
25537 /* end confdefs.h. */
25538 #include <ac_nonexistent.h>
25540 if { (ac_try="$ac_cpp conftest.$ac_ext"
25541 case "(($ac_try" in
25542 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25543 *) ac_try_echo
=$ac_try;;
25545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25546 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25548 grep -v '^ *+' conftest.er1
>conftest.err
25550 cat conftest.err
>&5
25551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25552 (exit $ac_status); } >/dev
/null
; then
25553 if test -s conftest.err
; then
25554 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25555 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25562 if test -z "$ac_cpp_err"; then
25563 # Broken: success on invalid input.
25566 echo "$as_me: failed program was:" >&5
25567 sed 's/^/| /' conftest.
$ac_ext >&5
25569 # Passes both tests.
25574 rm -f conftest.err conftest.
$ac_ext
25577 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
25578 rm -f conftest.err conftest.
$ac_ext
25579 if $ac_preproc_ok; then
25582 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
25583 See \`config.log' for more details." >&5
25584 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
25585 See \`config.log' for more details." >&2;}
25586 { (exit 1); exit 1; }; }
25590 ac_cpp
='$CXXCPP $CPPFLAGS'
25591 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25592 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25593 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25599 ac_cpp
='$CXXCPP $CPPFLAGS'
25600 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25601 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25602 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25606 for ac_header
in iostream
25608 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25609 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25610 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25612 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25613 echo $ECHO_N "(cached) $ECHO_C" >&6
25615 ac_res
=`eval echo '${'$as_ac_Header'}'`
25616 { echo "$as_me:$LINENO: result: $ac_res" >&5
25617 echo "${ECHO_T}$ac_res" >&6; }
25619 # Is the header compilable?
25620 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
25621 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
25622 cat >conftest.
$ac_ext <<_ACEOF
25625 cat confdefs.h
>>conftest.
$ac_ext
25626 cat >>conftest.
$ac_ext <<_ACEOF
25627 /* end confdefs.h. */
25628 $ac_includes_default
25629 #include <$ac_header>
25631 rm -f conftest.
$ac_objext
25632 if { (ac_try
="$ac_compile"
25633 case "(($ac_try" in
25634 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25635 *) ac_try_echo=$ac_try;;
25637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25638 (eval "$ac_compile") 2>conftest.er1
25640 grep -v '^ *+' conftest.er1 >conftest.err
25642 cat conftest.err >&5
25643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25644 (exit $ac_status); } &&
25645 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25646 { (case "(($ac_try" in
25647 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25648 *) ac_try_echo
=$ac_try;;
25650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25651 (eval "$ac_try") 2>&5
25653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25654 (exit $ac_status); }; } &&
25655 { ac_try
='test -s conftest.$ac_objext'
25656 { (case "(($ac_try" in
25657 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25658 *) ac_try_echo=$ac_try;;
25660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25661 (eval "$ac_try") 2>&5
25663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25664 (exit $ac_status); }; }; then
25665 ac_header_compiler=yes
25667 echo "$as_me: failed program was:" >&5
25668 sed 's/^/| /' conftest.$ac_ext >&5
25670 ac_header_compiler=no
25673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25674 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25675 echo "${ECHO_T}$ac_header_compiler" >&6; }
25677 # Is the header present?
25678 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
25679 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
25680 cat >conftest.$ac_ext <<_ACEOF
25683 cat confdefs.h >>conftest.$ac_ext
25684 cat >>conftest.$ac_ext <<_ACEOF
25685 /* end confdefs.h. */
25686 #include <$ac_header>
25688 if { (ac_try="$ac_cpp conftest.$ac_ext"
25689 case "(($ac_try" in
25690 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25691 *) ac_try_echo
=$ac_try;;
25693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25694 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25696 grep -v '^ *+' conftest.er1
>conftest.err
25698 cat conftest.err
>&5
25699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25700 (exit $ac_status); } >/dev
/null
; then
25701 if test -s conftest.err
; then
25702 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25703 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25710 if test -z "$ac_cpp_err"; then
25711 ac_header_preproc
=yes
25713 echo "$as_me: failed program was:" >&5
25714 sed 's/^/| /' conftest.
$ac_ext >&5
25716 ac_header_preproc
=no
25719 rm -f conftest.err conftest.
$ac_ext
25720 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25721 echo "${ECHO_T}$ac_header_preproc" >&6; }
25723 # So? What about this header?
25724 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25726 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25727 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25728 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25729 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25730 ac_header_preproc
=yes
25733 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25734 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25735 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25736 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25737 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25738 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25739 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25740 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25741 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25742 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25743 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25744 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25746 ## ----------------------------------------- ##
25747 ## Report this to wx-dev@lists.wxwidgets.org ##
25748 ## ----------------------------------------- ##
25750 ) | sed "s/^/$as_me: WARNING: /" >&2
25753 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25755 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25756 echo $ECHO_N "(cached) $ECHO_C" >&6
25758 eval "$as_ac_Header=\$ac_header_preproc"
25760 ac_res
=`eval echo '${'$as_ac_Header'}'`
25761 { echo "$as_me:$LINENO: result: $ac_res" >&5
25762 echo "${ECHO_T}$ac_res" >&6; }
25765 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25766 cat >>confdefs.h
<<_ACEOF
25767 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25775 if test "$ac_cv_header_iostream" = "yes" ; then
25778 cat >>confdefs.h
<<\_ACEOF
25779 #define wxUSE_IOSTREAMH 1
25785 ac_cpp
='$CPP $CPPFLAGS'
25786 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25787 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25788 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25793 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
25794 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
25795 if test "${wx_cv_cpp_bool+set}" = set; then
25796 echo $ECHO_N "(cached) $ECHO_C" >&6
25801 ac_cpp
='$CXXCPP $CPPFLAGS'
25802 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25803 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25804 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25807 cat >conftest.
$ac_ext <<_ACEOF
25810 cat confdefs.h
>>conftest.
$ac_ext
25811 cat >>conftest.
$ac_ext <<_ACEOF
25812 /* end confdefs.h. */
25827 rm -f conftest.
$ac_objext
25828 if { (ac_try
="$ac_compile"
25829 case "(($ac_try" in
25830 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25831 *) ac_try_echo=$ac_try;;
25833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25834 (eval "$ac_compile") 2>conftest.er1
25836 grep -v '^ *+' conftest.er1 >conftest.err
25838 cat conftest.err >&5
25839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25840 (exit $ac_status); } &&
25841 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25842 { (case "(($ac_try" in
25843 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25844 *) ac_try_echo
=$ac_try;;
25846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25847 (eval "$ac_try") 2>&5
25849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25850 (exit $ac_status); }; } &&
25851 { ac_try
='test -s conftest.$ac_objext'
25852 { (case "(($ac_try" in
25853 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25854 *) ac_try_echo=$ac_try;;
25856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25857 (eval "$ac_try") 2>&5
25859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25860 (exit $ac_status); }; }; then
25865 echo "$as_me: failed program was:" >&5
25866 sed 's/^/| /' conftest.$ac_ext >&5
25874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25877 ac_cpp='$CPP $CPPFLAGS'
25878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25884 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
25885 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
25887 if test "$wx_cv_cpp_bool" = "yes"; then
25888 cat >>confdefs.h <<\_ACEOF
25889 #define HAVE_BOOL 1
25896 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25897 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25898 if test "${wx_cv_explicit+set}" = set; then
25899 echo $ECHO_N "(cached) $ECHO_C" >&6
25904 ac_cpp='$CXXCPP $CPPFLAGS'
25905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25910 cat >conftest.$ac_ext <<_ACEOF
25913 cat confdefs.h >>conftest.$ac_ext
25914 cat >>conftest.$ac_ext <<_ACEOF
25915 /* end confdefs.h. */
25917 class Foo { public: explicit Foo(int) {} };
25929 rm -f conftest.$ac_objext
25930 if { (ac_try="$ac_compile"
25931 case "(($ac_try" in
25932 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25933 *) ac_try_echo
=$ac_try;;
25935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25936 (eval "$ac_compile") 2>conftest.er1
25938 grep -v '^ *+' conftest.er1
>conftest.err
25940 cat conftest.err
>&5
25941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25942 (exit $ac_status); } &&
25943 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25944 { (case "(($ac_try" in
25945 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25946 *) ac_try_echo=$ac_try;;
25948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25949 (eval "$ac_try") 2>&5
25951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25952 (exit $ac_status); }; } &&
25953 { ac_try='test -s conftest.$ac_objext'
25954 { (case "(($ac_try" in
25955 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25956 *) ac_try_echo
=$ac_try;;
25958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25959 (eval "$ac_try") 2>&5
25961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25962 (exit $ac_status); }; }; then
25964 cat >conftest.
$ac_ext <<_ACEOF
25967 cat confdefs.h
>>conftest.
$ac_ext
25968 cat >>conftest.
$ac_ext <<_ACEOF
25969 /* end confdefs.h. */
25971 class Foo { public: explicit Foo(int) {} };
25972 static void TakeFoo(const Foo& foo) { }
25985 rm -f conftest.
$ac_objext
25986 if { (ac_try
="$ac_compile"
25987 case "(($ac_try" in
25988 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25989 *) ac_try_echo=$ac_try;;
25991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25992 (eval "$ac_compile") 2>conftest.er1
25994 grep -v '^ *+' conftest.er1 >conftest.err
25996 cat conftest.err >&5
25997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25998 (exit $ac_status); } &&
25999 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26000 { (case "(($ac_try" in
26001 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26002 *) ac_try_echo
=$ac_try;;
26004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26005 (eval "$ac_try") 2>&5
26007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26008 (exit $ac_status); }; } &&
26009 { ac_try
='test -s conftest.$ac_objext'
26010 { (case "(($ac_try" in
26011 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26012 *) ac_try_echo=$ac_try;;
26014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26015 (eval "$ac_try") 2>&5
26017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26018 (exit $ac_status); }; }; then
26021 echo "$as_me: failed program was:" >&5
26022 sed 's/^/| /' conftest.$ac_ext >&5
26028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26031 echo "$as_me: failed program was:" >&5
26032 sed 's/^/| /' conftest.$ac_ext >&5
26038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26041 ac_cpp='$CPP $CPPFLAGS'
26042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26048 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26049 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26051 if test "$wx_cv_explicit" = "yes"; then
26052 cat >>confdefs.h <<\_ACEOF
26053 #define HAVE_EXPLICIT 1
26059 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26060 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26061 if test "${ac_cv_cxx_const_cast+set}" = set; then
26062 echo $ECHO_N "(cached) $ECHO_C" >&6
26066 ac_cpp='$CXXCPP $CPPFLAGS'
26067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26071 cat >conftest.$ac_ext <<_ACEOF
26074 cat confdefs.h >>conftest.$ac_ext
26075 cat >>conftest.$ac_ext <<_ACEOF
26076 /* end confdefs.h. */
26081 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26086 rm -f conftest.$ac_objext
26087 if { (ac_try="$ac_compile"
26088 case "(($ac_try" in
26089 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26090 *) ac_try_echo
=$ac_try;;
26092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26093 (eval "$ac_compile") 2>conftest.er1
26095 grep -v '^ *+' conftest.er1
>conftest.err
26097 cat conftest.err
>&5
26098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26099 (exit $ac_status); } &&
26100 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26101 { (case "(($ac_try" in
26102 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26103 *) ac_try_echo=$ac_try;;
26105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26106 (eval "$ac_try") 2>&5
26108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26109 (exit $ac_status); }; } &&
26110 { ac_try='test -s conftest.$ac_objext'
26111 { (case "(($ac_try" in
26112 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26113 *) ac_try_echo
=$ac_try;;
26115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26116 (eval "$ac_try") 2>&5
26118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26119 (exit $ac_status); }; }; then
26120 ac_cv_cxx_const_cast
=yes
26122 echo "$as_me: failed program was:" >&5
26123 sed 's/^/| /' conftest.
$ac_ext >&5
26125 ac_cv_cxx_const_cast
=no
26128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26130 ac_cpp
='$CPP $CPPFLAGS'
26131 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26132 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26133 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26137 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26138 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26139 if test "$ac_cv_cxx_const_cast" = yes; then
26141 cat >>confdefs.h
<<\_ACEOF
26142 #define HAVE_CONST_CAST
26147 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26148 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26149 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26150 echo $ECHO_N "(cached) $ECHO_C" >&6
26154 ac_cpp
='$CXXCPP $CPPFLAGS'
26155 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26156 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26157 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26159 cat >conftest.
$ac_ext <<_ACEOF
26162 cat confdefs.h
>>conftest.
$ac_ext
26163 cat >>conftest.
$ac_ext <<_ACEOF
26164 /* end confdefs.h. */
26165 #include <typeinfo>
26166 class Base { public : Base () {} virtual void f () = 0;};
26167 class Derived : public Base { public : Derived () {} virtual void f () {} };
26168 class Unrelated { public : Unrelated () {} };
26169 int g (Unrelated&) { return 0; }
26174 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26179 rm -f conftest.
$ac_objext
26180 if { (ac_try
="$ac_compile"
26181 case "(($ac_try" in
26182 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26183 *) ac_try_echo=$ac_try;;
26185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26186 (eval "$ac_compile") 2>conftest.er1
26188 grep -v '^ *+' conftest.er1 >conftest.err
26190 cat conftest.err >&5
26191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26192 (exit $ac_status); } &&
26193 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26194 { (case "(($ac_try" in
26195 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26196 *) ac_try_echo
=$ac_try;;
26198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26199 (eval "$ac_try") 2>&5
26201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26202 (exit $ac_status); }; } &&
26203 { ac_try
='test -s conftest.$ac_objext'
26204 { (case "(($ac_try" in
26205 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26206 *) ac_try_echo=$ac_try;;
26208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26209 (eval "$ac_try") 2>&5
26211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26212 (exit $ac_status); }; }; then
26213 ac_cv_cxx_reinterpret_cast=yes
26215 echo "$as_me: failed program was:" >&5
26216 sed 's/^/| /' conftest.$ac_ext >&5
26218 ac_cv_cxx_reinterpret_cast=no
26221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26223 ac_cpp='$CPP $CPPFLAGS'
26224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26230 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26231 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26232 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26234 cat >>confdefs.h <<\_ACEOF
26235 #define HAVE_REINTERPRET_CAST
26240 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26241 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26242 if test "${ac_cv_cxx_static_cast+set}" = set; then
26243 echo $ECHO_N "(cached) $ECHO_C" >&6
26247 ac_cpp='$CXXCPP $CPPFLAGS'
26248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26252 cat >conftest.$ac_ext <<_ACEOF
26255 cat confdefs.h >>conftest.$ac_ext
26256 cat >>conftest.$ac_ext <<_ACEOF
26257 /* end confdefs.h. */
26258 #include <typeinfo>
26259 class Base { public : Base () {} virtual void f () = 0; };
26260 class Derived : public Base { public : Derived () {} virtual void f () {} };
26261 int g (Derived&) { return 0; }
26266 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26271 rm -f conftest.$ac_objext
26272 if { (ac_try="$ac_compile"
26273 case "(($ac_try" in
26274 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26275 *) ac_try_echo
=$ac_try;;
26277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26278 (eval "$ac_compile") 2>conftest.er1
26280 grep -v '^ *+' conftest.er1
>conftest.err
26282 cat conftest.err
>&5
26283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26284 (exit $ac_status); } &&
26285 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26286 { (case "(($ac_try" in
26287 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26288 *) ac_try_echo=$ac_try;;
26290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26291 (eval "$ac_try") 2>&5
26293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26294 (exit $ac_status); }; } &&
26295 { ac_try='test -s conftest.$ac_objext'
26296 { (case "(($ac_try" in
26297 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26298 *) ac_try_echo
=$ac_try;;
26300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26301 (eval "$ac_try") 2>&5
26303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26304 (exit $ac_status); }; }; then
26305 ac_cv_cxx_static_cast
=yes
26307 echo "$as_me: failed program was:" >&5
26308 sed 's/^/| /' conftest.
$ac_ext >&5
26310 ac_cv_cxx_static_cast
=no
26313 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26315 ac_cpp
='$CPP $CPPFLAGS'
26316 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26317 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26318 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26322 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26323 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26324 if test "$ac_cv_cxx_static_cast" = yes; then
26326 cat >>confdefs.h
<<\_ACEOF
26327 #define HAVE_STATIC_CAST
26333 if test "x$SUNCXX" = xyes
; then
26334 CXXFLAGS
="-features=tmplife $CXXFLAGS"
26337 if test "x$SUNCC" = xyes
; then
26338 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26341 if test "x$SGICC" = "xyes"; then
26342 CFLAGS
="-woff 3970 $CFLAGS"
26344 if test "x$SGICXX" = "xyes"; then
26345 CXXFLAGS
="-woff 3970 $CXXFLAGS"
26348 if test "x$HPCC" = "xyes"; then
26349 CFLAGS
="+W 2011,2450 $CFLAGS"
26351 if test "x$HPCXX" = "xyes"; then
26352 CXXFLAGS
="+W 2340 $CXXFLAGS"
26355 if test "x$COMPAQCXX" = "xyes"; then
26356 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26360 ac_cpp
='$CXXCPP $CPPFLAGS'
26361 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26362 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26363 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26366 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26367 if test "$wxUSE_UNICODE" = "yes"; then
26368 std_string
="std::wstring"
26369 char_type
="wchar_t"
26371 std_string
="std::string"
26375 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26376 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26377 if test "${wx_cv_class_stdstring+set}" = set; then
26378 echo $ECHO_N "(cached) $ECHO_C" >&6
26381 cat >conftest.
$ac_ext <<_ACEOF
26384 cat confdefs.h
>>conftest.
$ac_ext
26385 cat >>conftest.
$ac_ext <<_ACEOF
26386 /* end confdefs.h. */
26396 rm -f conftest.
$ac_objext
26397 if { (ac_try
="$ac_compile"
26398 case "(($ac_try" in
26399 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26400 *) ac_try_echo=$ac_try;;
26402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26403 (eval "$ac_compile") 2>conftest.er1
26405 grep -v '^ *+' conftest.er1 >conftest.err
26407 cat conftest.err >&5
26408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26409 (exit $ac_status); } &&
26410 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26411 { (case "(($ac_try" in
26412 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26413 *) ac_try_echo
=$ac_try;;
26415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26416 (eval "$ac_try") 2>&5
26418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26419 (exit $ac_status); }; } &&
26420 { ac_try
='test -s conftest.$ac_objext'
26421 { (case "(($ac_try" in
26422 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26423 *) ac_try_echo=$ac_try;;
26425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26426 (eval "$ac_try") 2>&5
26428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26429 (exit $ac_status); }; }; then
26430 wx_cv_class_stdstring=yes
26432 echo "$as_me: failed program was:" >&5
26433 sed 's/^/| /' conftest.$ac_ext >&5
26435 wx_cv_class_stdstring=no
26439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26443 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26444 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26446 if test "$wx_cv_class_stdstring" = yes; then
26447 if test "$wxUSE_UNICODE" = "yes"; then
26448 cat >>confdefs.h <<\_ACEOF
26449 #define HAVE_STD_WSTRING 1
26454 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26455 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26456 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26457 echo $ECHO_N "(cached) $ECHO_C" >&6
26460 cat >conftest.$ac_ext <<_ACEOF
26463 cat confdefs.h >>conftest.$ac_ext
26464 cat >>conftest.$ac_ext <<_ACEOF
26465 /* end confdefs.h. */
26467 #ifdef HAVE_WCHAR_H
26469 # include <stddef.h>
26471 # include <wchar.h>
26473 #ifdef HAVE_STDLIB_H
26474 # include <stdlib.h>
26482 std::basic_string<$char_type> foo;
26483 const $char_type* dummy = foo.c_str();
26488 rm -f conftest.$ac_objext
26489 if { (ac_try="$ac_compile"
26490 case "(($ac_try" in
26491 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26492 *) ac_try_echo
=$ac_try;;
26494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26495 (eval "$ac_compile") 2>conftest.er1
26497 grep -v '^ *+' conftest.er1
>conftest.err
26499 cat conftest.err
>&5
26500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26501 (exit $ac_status); } &&
26502 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26503 { (case "(($ac_try" in
26504 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26505 *) ac_try_echo=$ac_try;;
26507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26508 (eval "$ac_try") 2>&5
26510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26511 (exit $ac_status); }; } &&
26512 { ac_try='test -s conftest.$ac_objext'
26513 { (case "(($ac_try" in
26514 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26515 *) ac_try_echo
=$ac_try;;
26517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26518 (eval "$ac_try") 2>&5
26520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26521 (exit $ac_status); }; }; then
26522 wx_cv_class_stdbasicstring
=yes
26524 echo "$as_me: failed program was:" >&5
26525 sed 's/^/| /' conftest.
$ac_ext >&5
26527 wx_cv_class_stdbasicstring
=no
26531 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26535 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26536 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26538 if test "$wx_cv_class_stdbasicstring" != yes; then
26539 if test "$wxUSE_STL" = "yes"; then
26540 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
26541 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26542 { (exit 1); exit 1; }; }
26543 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
26544 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
26545 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26546 { (exit 1); exit 1; }; }
26548 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26549 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26550 wxUSE_STD_STRING
=no
26556 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26557 { echo "$as_me:$LINENO: checking for std::istream" >&5
26558 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
26559 if test "${ac_cv_type_std__istream+set}" = set; then
26560 echo $ECHO_N "(cached) $ECHO_C" >&6
26562 cat >conftest.
$ac_ext <<_ACEOF
26565 cat confdefs.h
>>conftest.
$ac_ext
26566 cat >>conftest.
$ac_ext <<_ACEOF
26567 /* end confdefs.h. */
26568 #include <iostream>
26570 typedef std::istream ac__type_new_;
26574 if ((ac__type_new_ *) 0)
26576 if (sizeof (ac__type_new_))
26582 rm -f conftest.
$ac_objext
26583 if { (ac_try
="$ac_compile"
26584 case "(($ac_try" in
26585 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26586 *) ac_try_echo=$ac_try;;
26588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26589 (eval "$ac_compile") 2>conftest.er1
26591 grep -v '^ *+' conftest.er1 >conftest.err
26593 cat conftest.err >&5
26594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26595 (exit $ac_status); } &&
26596 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26597 { (case "(($ac_try" in
26598 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26599 *) ac_try_echo
=$ac_try;;
26601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26602 (eval "$ac_try") 2>&5
26604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26605 (exit $ac_status); }; } &&
26606 { ac_try
='test -s conftest.$ac_objext'
26607 { (case "(($ac_try" in
26608 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26609 *) ac_try_echo=$ac_try;;
26611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26612 (eval "$ac_try") 2>&5
26614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26615 (exit $ac_status); }; }; then
26616 ac_cv_type_std__istream=yes
26618 echo "$as_me: failed program was:" >&5
26619 sed 's/^/| /' conftest.$ac_ext >&5
26621 ac_cv_type_std__istream=no
26624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26626 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26627 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
26628 if test $ac_cv_type_std__istream = yes; then
26630 cat >>confdefs.h <<_ACEOF
26631 #define HAVE_STD__ISTREAM 1
26636 wxUSE_STD_IOSTREAM=no
26638 { echo "$as_me:$LINENO: checking for std::ostream" >&5
26639 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
26640 if test "${ac_cv_type_std__ostream+set}" = set; then
26641 echo $ECHO_N "(cached) $ECHO_C" >&6
26643 cat >conftest.$ac_ext <<_ACEOF
26646 cat confdefs.h >>conftest.$ac_ext
26647 cat >>conftest.$ac_ext <<_ACEOF
26648 /* end confdefs.h. */
26649 #include <iostream>
26651 typedef std::ostream ac__type_new_;
26655 if ((ac__type_new_ *) 0)
26657 if (sizeof (ac__type_new_))
26663 rm -f conftest.$ac_objext
26664 if { (ac_try="$ac_compile"
26665 case "(($ac_try" in
26666 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26667 *) ac_try_echo
=$ac_try;;
26669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26670 (eval "$ac_compile") 2>conftest.er1
26672 grep -v '^ *+' conftest.er1
>conftest.err
26674 cat conftest.err
>&5
26675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26676 (exit $ac_status); } &&
26677 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26678 { (case "(($ac_try" in
26679 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26680 *) ac_try_echo=$ac_try;;
26682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26683 (eval "$ac_try") 2>&5
26685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26686 (exit $ac_status); }; } &&
26687 { ac_try='test -s conftest.$ac_objext'
26688 { (case "(($ac_try" in
26689 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26690 *) ac_try_echo
=$ac_try;;
26692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26693 (eval "$ac_try") 2>&5
26695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26696 (exit $ac_status); }; }; then
26697 ac_cv_type_std__ostream
=yes
26699 echo "$as_me: failed program was:" >&5
26700 sed 's/^/| /' conftest.
$ac_ext >&5
26702 ac_cv_type_std__ostream
=no
26705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26707 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26708 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26709 if test $ac_cv_type_std__ostream = yes; then
26711 cat >>confdefs.h
<<_ACEOF
26712 #define HAVE_STD__OSTREAM 1
26717 wxUSE_STD_IOSTREAM
=no
26721 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26722 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
26723 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
26724 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26725 { (exit 1); exit 1; }; }
26727 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26728 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26733 if test "$wxUSE_STL" = "yes"; then
26734 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26735 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26736 if test "${wx_cv_lib_stl+set}" = set; then
26737 echo $ECHO_N "(cached) $ECHO_C" >&6
26739 cat >conftest.
$ac_ext <<_ACEOF
26742 cat confdefs.h
>>conftest.
$ac_ext
26743 cat >>conftest.
$ac_ext <<_ACEOF
26744 /* end confdefs.h. */
26746 #include <functional>
26747 #include <algorithm>
26753 std::vector<int> moo;
26754 std::list<int> foo;
26755 std::vector<int>::iterator it =
26756 std::find_if(moo.begin(), moo.end(),
26757 std::bind2nd(std::less<int>(), 3));
26762 rm -f conftest.
$ac_objext
26763 if { (ac_try
="$ac_compile"
26764 case "(($ac_try" in
26765 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26766 *) ac_try_echo=$ac_try;;
26768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26769 (eval "$ac_compile") 2>conftest.er1
26771 grep -v '^ *+' conftest.er1 >conftest.err
26773 cat conftest.err >&5
26774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26775 (exit $ac_status); } &&
26776 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26777 { (case "(($ac_try" in
26778 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26779 *) ac_try_echo
=$ac_try;;
26781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26782 (eval "$ac_try") 2>&5
26784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26785 (exit $ac_status); }; } &&
26786 { ac_try
='test -s conftest.$ac_objext'
26787 { (case "(($ac_try" in
26788 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26789 *) ac_try_echo=$ac_try;;
26791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26792 (eval "$ac_try") 2>&5
26794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26795 (exit $ac_status); }; }; then
26798 echo "$as_me: failed program was:" >&5
26799 sed 's/^/| /' conftest.$ac_ext >&5
26805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26808 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26809 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26811 if test "$wx_cv_lib_stl" != yes; then
26812 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
26813 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
26814 { (exit 1); exit 1; }; }
26817 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26818 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26819 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26820 echo $ECHO_N "(cached) $ECHO_C" >&6
26822 cat >conftest.$ac_ext <<_ACEOF
26825 cat confdefs.h >>conftest.$ac_ext
26826 cat >>conftest.$ac_ext <<_ACEOF
26827 /* end confdefs.h. */
26832 std::string foo, bar;
26834 foo.compare(1, 1, bar);
26835 foo.compare(1, 1, bar, 1, 1);
26837 foo.compare(1, 1, "");
26838 foo.compare(1, 1, "", 2);
26843 rm -f conftest.$ac_objext
26844 if { (ac_try="$ac_compile"
26845 case "(($ac_try" in
26846 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26847 *) ac_try_echo
=$ac_try;;
26849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26850 (eval "$ac_compile") 2>conftest.er1
26852 grep -v '^ *+' conftest.er1
>conftest.err
26854 cat conftest.err
>&5
26855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26856 (exit $ac_status); } &&
26857 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26858 { (case "(($ac_try" in
26859 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26860 *) ac_try_echo=$ac_try;;
26862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26863 (eval "$ac_try") 2>&5
26865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26866 (exit $ac_status); }; } &&
26867 { ac_try='test -s conftest.$ac_objext'
26868 { (case "(($ac_try" in
26869 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26870 *) ac_try_echo
=$ac_try;;
26872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26873 (eval "$ac_try") 2>&5
26875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26876 (exit $ac_status); }; }; then
26877 wx_cv_func_stdstring_compare
=yes
26879 echo "$as_me: failed program was:" >&5
26880 sed 's/^/| /' conftest.
$ac_ext >&5
26882 wx_cv_func_stdstring_compare
=no
26886 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26889 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26890 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26892 if test "$wx_cv_func_stdstring_compare" = yes; then
26893 cat >>confdefs.h
<<\_ACEOF
26894 #define HAVE_STD_STRING_COMPARE 1
26899 if test "${ac_cv_header_hash_map+set}" = set; then
26900 { echo "$as_me:$LINENO: checking for hash_map" >&5
26901 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26902 if test "${ac_cv_header_hash_map+set}" = set; then
26903 echo $ECHO_N "(cached) $ECHO_C" >&6
26905 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26906 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26908 # Is the header compilable?
26909 { echo "$as_me:$LINENO: checking hash_map usability" >&5
26910 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6; }
26911 cat >conftest.
$ac_ext <<_ACEOF
26914 cat confdefs.h
>>conftest.
$ac_ext
26915 cat >>conftest.
$ac_ext <<_ACEOF
26916 /* end confdefs.h. */
26917 $ac_includes_default
26918 #include <hash_map>
26920 rm -f conftest.
$ac_objext
26921 if { (ac_try
="$ac_compile"
26922 case "(($ac_try" in
26923 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26924 *) ac_try_echo=$ac_try;;
26926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26927 (eval "$ac_compile") 2>conftest.er1
26929 grep -v '^ *+' conftest.er1 >conftest.err
26931 cat conftest.err >&5
26932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26933 (exit $ac_status); } &&
26934 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26935 { (case "(($ac_try" in
26936 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26937 *) ac_try_echo
=$ac_try;;
26939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26940 (eval "$ac_try") 2>&5
26942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26943 (exit $ac_status); }; } &&
26944 { ac_try
='test -s conftest.$ac_objext'
26945 { (case "(($ac_try" in
26946 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26947 *) ac_try_echo=$ac_try;;
26949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26950 (eval "$ac_try") 2>&5
26952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26953 (exit $ac_status); }; }; then
26954 ac_header_compiler=yes
26956 echo "$as_me: failed program was:" >&5
26957 sed 's/^/| /' conftest.$ac_ext >&5
26959 ac_header_compiler=no
26962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26963 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26964 echo "${ECHO_T}$ac_header_compiler" >&6; }
26966 # Is the header present?
26967 { echo "$as_me:$LINENO: checking hash_map presence" >&5
26968 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6; }
26969 cat >conftest.$ac_ext <<_ACEOF
26972 cat confdefs.h >>conftest.$ac_ext
26973 cat >>conftest.$ac_ext <<_ACEOF
26974 /* end confdefs.h. */
26975 #include <hash_map>
26977 if { (ac_try="$ac_cpp conftest.$ac_ext"
26978 case "(($ac_try" in
26979 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26980 *) ac_try_echo
=$ac_try;;
26982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26983 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26985 grep -v '^ *+' conftest.er1
>conftest.err
26987 cat conftest.err
>&5
26988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26989 (exit $ac_status); } >/dev
/null
; then
26990 if test -s conftest.err
; then
26991 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26992 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26999 if test -z "$ac_cpp_err"; then
27000 ac_header_preproc
=yes
27002 echo "$as_me: failed program was:" >&5
27003 sed 's/^/| /' conftest.
$ac_ext >&5
27005 ac_header_preproc
=no
27008 rm -f conftest.err conftest.
$ac_ext
27009 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27010 echo "${ECHO_T}$ac_header_preproc" >&6; }
27012 # So? What about this header?
27013 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27015 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
27016 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
27017 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
27018 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
27019 ac_header_preproc
=yes
27022 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
27023 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
27024 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
27025 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
27026 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
27027 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
27028 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
27029 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
27030 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
27031 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
27032 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
27033 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
27035 ## ----------------------------------------- ##
27036 ## Report this to wx-dev@lists.wxwidgets.org ##
27037 ## ----------------------------------------- ##
27039 ) | sed "s/^/$as_me: WARNING: /" >&2
27042 { echo "$as_me:$LINENO: checking for hash_map" >&5
27043 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27044 if test "${ac_cv_header_hash_map+set}" = set; then
27045 echo $ECHO_N "(cached) $ECHO_C" >&6
27047 ac_cv_header_hash_map
=$ac_header_preproc
27049 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27050 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27053 if test $ac_cv_header_hash_map = yes; then
27054 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27055 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27056 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27057 echo $ECHO_N "(cached) $ECHO_C" >&6
27059 cat >conftest.
$ac_ext <<_ACEOF
27062 cat confdefs.h
>>conftest.
$ac_ext
27063 cat >>conftest.
$ac_ext <<_ACEOF
27064 /* end confdefs.h. */
27065 #include <hash_map>
27066 #include <hash_set>
27070 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27071 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27076 rm -f conftest.
$ac_objext
27077 if { (ac_try
="$ac_compile"
27078 case "(($ac_try" in
27079 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27080 *) ac_try_echo=$ac_try;;
27082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27083 (eval "$ac_compile") 2>conftest.er1
27085 grep -v '^ *+' conftest.er1 >conftest.err
27087 cat conftest.err >&5
27088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27089 (exit $ac_status); } &&
27090 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27091 { (case "(($ac_try" in
27092 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27093 *) ac_try_echo
=$ac_try;;
27095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27096 (eval "$ac_try") 2>&5
27098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27099 (exit $ac_status); }; } &&
27100 { ac_try
='test -s conftest.$ac_objext'
27101 { (case "(($ac_try" in
27102 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27103 *) ac_try_echo=$ac_try;;
27105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27106 (eval "$ac_try") 2>&5
27108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27109 (exit $ac_status); }; }; then
27110 wx_cv_class_stdhashmapset=yes
27112 echo "$as_me: failed program was:" >&5
27113 sed 's/^/| /' conftest.$ac_ext >&5
27115 wx_cv_class_stdhashmapset=no
27118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27122 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27123 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27129 if test "$wx_cv_class_stdhashmapset" = yes; then
27130 cat >>confdefs.h <<\_ACEOF
27131 #define HAVE_HASH_MAP 1
27134 cat >>confdefs.h <<\_ACEOF
27135 #define HAVE_STD_HASH_MAP 1
27140 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27141 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27142 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27143 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27144 echo $ECHO_N "(cached) $ECHO_C" >&6
27146 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27147 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27149 # Is the header compilable?
27150 { echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
27151 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6; }
27152 cat >conftest.$ac_ext <<_ACEOF
27155 cat confdefs.h >>conftest.$ac_ext
27156 cat >>conftest.$ac_ext <<_ACEOF
27157 /* end confdefs.h. */
27158 $ac_includes_default
27159 #include <ext/hash_map>
27161 rm -f conftest.$ac_objext
27162 if { (ac_try="$ac_compile"
27163 case "(($ac_try" in
27164 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27165 *) ac_try_echo
=$ac_try;;
27167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27168 (eval "$ac_compile") 2>conftest.er1
27170 grep -v '^ *+' conftest.er1
>conftest.err
27172 cat conftest.err
>&5
27173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27174 (exit $ac_status); } &&
27175 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27176 { (case "(($ac_try" in
27177 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27178 *) ac_try_echo=$ac_try;;
27180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27181 (eval "$ac_try") 2>&5
27183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27184 (exit $ac_status); }; } &&
27185 { ac_try='test -s conftest.$ac_objext'
27186 { (case "(($ac_try" in
27187 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27188 *) ac_try_echo
=$ac_try;;
27190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27191 (eval "$ac_try") 2>&5
27193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27194 (exit $ac_status); }; }; then
27195 ac_header_compiler
=yes
27197 echo "$as_me: failed program was:" >&5
27198 sed 's/^/| /' conftest.
$ac_ext >&5
27200 ac_header_compiler
=no
27203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27204 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27205 echo "${ECHO_T}$ac_header_compiler" >&6; }
27207 # Is the header present?
27208 { echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
27209 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6; }
27210 cat >conftest.
$ac_ext <<_ACEOF
27213 cat confdefs.h
>>conftest.
$ac_ext
27214 cat >>conftest.
$ac_ext <<_ACEOF
27215 /* end confdefs.h. */
27216 #include <ext/hash_map>
27218 if { (ac_try
="$ac_cpp conftest.$ac_ext"
27219 case "(($ac_try" in
27220 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27221 *) ac_try_echo=$ac_try;;
27223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27224 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27226 grep -v '^ *+' conftest.er1 >conftest.err
27228 cat conftest.err >&5
27229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27230 (exit $ac_status); } >/dev/null; then
27231 if test -s conftest.err; then
27232 ac_cpp_err=$ac_cxx_preproc_warn_flag
27233 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27240 if test -z "$ac_cpp_err"; then
27241 ac_header_preproc=yes
27243 echo "$as_me: failed program was:" >&5
27244 sed 's/^/| /' conftest.$ac_ext >&5
27246 ac_header_preproc=no
27249 rm -f conftest.err conftest.$ac_ext
27250 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27251 echo "${ECHO_T}$ac_header_preproc" >&6; }
27253 # So? What about this header?
27254 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27256 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
27257 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
27258 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
27259 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
27260 ac_header_preproc=yes
27263 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
27264 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
27265 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
27266 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
27267 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
27268 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
27269 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
27270 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
27271 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
27272 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
27273 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
27274 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
27276 ## ----------------------------------------- ##
27277 ## Report this to wx-dev@lists.wxwidgets.org ##
27278 ## ----------------------------------------- ##
27280 ) | sed "s/^/$as_me: WARNING: /" >&2
27283 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27284 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27285 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27286 echo $ECHO_N "(cached) $ECHO_C" >&6
27288 ac_cv_header_ext_hash_map=$ac_header_preproc
27290 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27291 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27294 if test $ac_cv_header_ext_hash_map = yes; then
27295 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27296 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27297 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27298 echo $ECHO_N "(cached) $ECHO_C" >&6
27300 cat >conftest.$ac_ext <<_ACEOF
27303 cat confdefs.h >>conftest.$ac_ext
27304 cat >>conftest.$ac_ext <<_ACEOF
27305 /* end confdefs.h. */
27306 #include <ext/hash_map>
27307 #include <ext/hash_set>
27311 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27312 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27317 rm -f conftest.$ac_objext
27318 if { (ac_try="$ac_compile"
27319 case "(($ac_try" in
27320 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27321 *) ac_try_echo
=$ac_try;;
27323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27324 (eval "$ac_compile") 2>conftest.er1
27326 grep -v '^ *+' conftest.er1
>conftest.err
27328 cat conftest.err
>&5
27329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27330 (exit $ac_status); } &&
27331 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27332 { (case "(($ac_try" in
27333 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27334 *) ac_try_echo=$ac_try;;
27336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27337 (eval "$ac_try") 2>&5
27339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27340 (exit $ac_status); }; } &&
27341 { ac_try='test -s conftest.$ac_objext'
27342 { (case "(($ac_try" in
27343 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27344 *) ac_try_echo
=$ac_try;;
27346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27347 (eval "$ac_try") 2>&5
27349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27350 (exit $ac_status); }; }; then
27351 wx_cv_class_gnuhashmapset
=yes
27353 echo "$as_me: failed program was:" >&5
27354 sed 's/^/| /' conftest.
$ac_ext >&5
27356 wx_cv_class_gnuhashmapset
=no
27359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27363 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27364 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27370 if test "$wx_cv_class_gnuhashmapset" = yes; then
27371 cat >>confdefs.h
<<\_ACEOF
27372 #define HAVE_EXT_HASH_MAP 1
27375 cat >>confdefs.h
<<\_ACEOF
27376 #define HAVE_GNU_CXX_HASH_MAP 1
27383 ac_cpp
='$CPP $CPPFLAGS'
27384 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27385 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27386 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27391 /usr/local/include \
27393 /usr/Motif-2.1/include \
27394 /usr/Motif-1.2/include \
27395 /usr/include/Motif1.2 \
27398 /usr/openwin/include \
27402 /usr/X11R6/include \
27403 /usr/X11R6.4/include \
27404 /usr/X11R5/include \
27405 /usr/X11R4/include \
27407 /usr/include/X11R6 \
27408 /usr/include/X11R5 \
27409 /usr/include/X11R4 \
27411 /usr/local/X11R6/include \
27412 /usr/local/X11R5/include \
27413 /usr/local/X11R4/include \
27415 /usr/local/include/X11R6 \
27416 /usr/local/include/X11R5 \
27417 /usr/local/include/X11R4 \
27421 /usr/local/X11/include \
27422 /usr/local/include/X11 \
27424 /usr/XFree86/include/X11 \
27427 /usr/openwin/share/include"
27429 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27430 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27434 if test "${wx_cv_std_libpath+set}" = set; then
27435 echo $ECHO_N "(cached) $ECHO_C" >&6
27438 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
27439 for e
in a so sl dylib dll.a
; do
27441 if test -f $libc; then
27444 cat >conftest.
$ac_ext <<_ACEOF
27445 int main() { return 0; }
27447 rm -f conftest.
$ac_objext conftest
$ac_exeext
27448 if { (ac_try
="$ac_link"
27449 case "(($ac_try" in
27450 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27451 *) ac_try_echo=$ac_try;;
27453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27454 (eval "$ac_link") 2>conftest.er1
27456 grep -v '^ *+' conftest.er1 >conftest.err
27458 cat conftest.err >&5
27459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27460 (exit $ac_status); } &&
27461 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27462 { (case "(($ac_try" in
27463 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27464 *) ac_try_echo
=$ac_try;;
27466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27467 (eval "$ac_try") 2>&5
27469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27470 (exit $ac_status); }; } &&
27471 { ac_try
='test -s conftest$ac_exeext'
27472 { (case "(($ac_try" in
27473 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27474 *) ac_try_echo=$ac_try;;
27476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27477 (eval "$ac_try") 2>&5
27479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27480 (exit $ac_status); }; }; then
27481 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
27483 echo "$as_me: failed program was:" >&5
27484 sed 's/^/| /' conftest.$ac_ext >&5
27489 rm -f core conftest.err conftest.$ac_objext \
27490 conftest$ac_exeext conftest.$ac_ext
27492 if test "x$wx_cv_std_libpath" != "x"; then
27498 if test "x$wx_cv_std_libpath" = "x"; then
27499 wx_cv_std_libpath="lib"
27508 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27509 wx_cv_std_libpath="lib/64"
27511 wx_cv_std_libpath="lib"
27516 if test "$ac_cv_sizeof_void_p" = 8 -a \
27517 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27518 wx_cv_std_libpath="lib64"
27520 wx_cv_std_libpath="lib"
27525 wx_cv_std_libpath="lib";
27529 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27530 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27532 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
27534 if test "$build" != "$host" -a "$GCC" = yes; then
27535 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
27536 cross_root=`dirname $cross_root`
27537 cross_root=`dirname $cross_root`
27539 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27540 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27541 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27543 if test -z "$PKG_CONFIG_PATH"; then
27544 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27545 export PKG_CONFIG_PATH
27548 if test -z "$x_includes" -o "$x_includes" = NONE; then
27551 for ac_dir in $SEARCH_INCLUDE /usr/include;
27553 if test -f "$ac_dir/X11/Intrinsic.h"; then
27554 ac_find_includes=$ac_dir
27559 x_includes=$ac_find_includes
27561 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27564 for ac_dir in $SEARCH_LIB;
27566 for ac_extension in a so sl dylib dll.a; do
27567 if test -f "$ac_dir/libXt.$ac_extension"; then
27568 ac_find_libraries=$ac_dir
27574 x_libraries=$ac_find_libraries
27580 cat >confcache <<\_ACEOF
27581 # This file is a shell script that caches the results of configure
27582 # tests run on this system so they can be shared between configure
27583 # scripts and configure runs, see configure's option --config-cache.
27584 # It is not useful on other systems. If it contains results you don't
27585 # want to keep, you may remove or edit it.
27587 # config.status only pays attention to the cache file if you give it
27588 # the --recheck option to rerun configure.
27590 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
27591 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27592 # following values.
27596 # The following way of writing the cache mishandles newlines in values,
27597 # but we know of no workaround that is simple, portable, and efficient.
27598 # So, we kill variables containing newlines.
27599 # Ultrix sh set writes to stderr and can't be redirected directly,
27600 # and sets the high bit in the cache file unless we assign to the vars.
27602 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27603 eval ac_val
=\$
$ac_var
27607 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27608 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27611 _
| IFS
| as_nl
) ;; #(
27612 *) $as_unset $ac_var ;;
27618 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27619 *${as_nl}ac_space
=\
*)
27620 # `set' does not quote correctly, so add quotes (double-quote
27621 # substitution turns \\\\ into \\, and sed turns \\ into \).
27624 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27627 # `set' quotes correctly as required by POSIX, so do not add quotes.
27628 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27637 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27639 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27641 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27642 if test -w "$cache_file"; then
27643 test "x$cache_file" != "x/dev/null" &&
27644 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27645 echo "$as_me: updating cache $cache_file" >&6;}
27646 cat confcache
>$cache_file
27648 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27649 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27654 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27655 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27656 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27657 if test "${wx_cv_lib_glibc21+set}" = set; then
27658 echo $ECHO_N "(cached) $ECHO_C" >&6
27661 cat >conftest.
$ac_ext <<_ACEOF
27664 cat confdefs.h
>>conftest.
$ac_ext
27665 cat >>conftest.
$ac_ext <<_ACEOF
27666 /* end confdefs.h. */
27667 #include <features.h>
27672 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27680 rm -f conftest.
$ac_objext
27681 if { (ac_try
="$ac_compile"
27682 case "(($ac_try" in
27683 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27684 *) ac_try_echo=$ac_try;;
27686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27687 (eval "$ac_compile") 2>conftest.er1
27689 grep -v '^ *+' conftest.er1 >conftest.err
27691 cat conftest.err >&5
27692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27693 (exit $ac_status); } &&
27694 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27695 { (case "(($ac_try" in
27696 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27697 *) ac_try_echo
=$ac_try;;
27699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27700 (eval "$ac_try") 2>&5
27702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27703 (exit $ac_status); }; } &&
27704 { ac_try
='test -s conftest.$ac_objext'
27705 { (case "(($ac_try" in
27706 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27707 *) ac_try_echo=$ac_try;;
27709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27710 (eval "$ac_try") 2>&5
27712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27713 (exit $ac_status); }; }; then
27715 wx_cv_lib_glibc21=yes
27718 echo "$as_me: failed program was:" >&5
27719 sed 's/^/| /' conftest.$ac_ext >&5
27722 wx_cv_lib_glibc21=no
27727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27730 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27731 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27732 if test "$wx_cv_lib_glibc21" = "yes"; then
27733 cat >>confdefs.h <<\_ACEOF
27734 #define wxHAVE_GLIBC2 1
27740 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27741 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27742 cat >>confdefs.h <<\_ACEOF
27743 #define _GNU_SOURCE 1
27754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27755 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27757 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27758 echo $ECHO_N "(cached) $ECHO_C" >&6
27760 cat >conftest.$ac_ext <<_ACEOF
27763 cat confdefs.h >>conftest.$ac_ext
27764 cat >>conftest.$ac_ext <<_ACEOF
27765 /* end confdefs.h. */
27766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27768 #define $ac_func innocuous_$ac_func
27770 /* System header to define __stub macros and hopefully few prototypes,
27771 which can conflict with char $ac_func (); below.
27772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27773 <limits.h> exists even on freestanding compilers. */
27776 # include <limits.h>
27778 # include <assert.h>
27783 /* Override any GCC internal prototype to avoid an error.
27784 Use char because int might match the return type of a GCC
27785 builtin and then its argument prototype would still apply. */
27790 /* The GNU C library defines this for functions which it implements
27791 to always fail with ENOSYS. Some functions are actually named
27792 something starting with __ and the normal name is an alias. */
27793 #if defined __stub_$ac_func || defined __stub___$ac_func
27800 return $ac_func ();
27805 rm -f conftest.$ac_objext conftest$ac_exeext
27806 if { (ac_try="$ac_link"
27807 case "(($ac_try" in
27808 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27809 *) ac_try_echo
=$ac_try;;
27811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27812 (eval "$ac_link") 2>conftest.er1
27814 grep -v '^ *+' conftest.er1
>conftest.err
27816 cat conftest.err
>&5
27817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27818 (exit $ac_status); } &&
27819 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27820 { (case "(($ac_try" in
27821 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27822 *) ac_try_echo=$ac_try;;
27824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27825 (eval "$ac_try") 2>&5
27827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27828 (exit $ac_status); }; } &&
27829 { ac_try='test -s conftest$ac_exeext'
27830 { (case "(($ac_try" in
27831 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27832 *) ac_try_echo
=$ac_try;;
27834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27835 (eval "$ac_try") 2>&5
27837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27838 (exit $ac_status); }; }; then
27839 eval "$as_ac_var=yes"
27841 echo "$as_me: failed program was:" >&5
27842 sed 's/^/| /' conftest.
$ac_ext >&5
27844 eval "$as_ac_var=no"
27847 rm -f core conftest.err conftest.
$ac_objext \
27848 conftest
$ac_exeext conftest.
$ac_ext
27850 ac_res
=`eval echo '${'$as_ac_var'}'`
27851 { echo "$as_me:$LINENO: result: $ac_res" >&5
27852 echo "${ECHO_T}$ac_res" >&6; }
27853 if test `eval echo '${'$as_ac_var'}'` = yes; then
27854 cat >>confdefs.h
<<_ACEOF
27855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27862 for ac_func
in floor
27864 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27865 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27867 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27868 echo $ECHO_N "(cached) $ECHO_C" >&6
27870 cat >conftest.
$ac_ext <<_ACEOF
27873 cat confdefs.h
>>conftest.
$ac_ext
27874 cat >>conftest.
$ac_ext <<_ACEOF
27875 /* end confdefs.h. */
27876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27878 #define $ac_func innocuous_$ac_func
27880 /* System header to define __stub macros and hopefully few prototypes,
27881 which can conflict with char $ac_func (); below.
27882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27883 <limits.h> exists even on freestanding compilers. */
27886 # include <limits.h>
27888 # include <assert.h>
27893 /* Override any GCC internal prototype to avoid an error.
27894 Use char because int might match the return type of a GCC
27895 builtin and then its argument prototype would still apply. */
27900 /* The GNU C library defines this for functions which it implements
27901 to always fail with ENOSYS. Some functions are actually named
27902 something starting with __ and the normal name is an alias. */
27903 #if defined __stub_$ac_func || defined __stub___$ac_func
27910 return $ac_func ();
27915 rm -f conftest.
$ac_objext conftest
$ac_exeext
27916 if { (ac_try
="$ac_link"
27917 case "(($ac_try" in
27918 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27919 *) ac_try_echo=$ac_try;;
27921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27922 (eval "$ac_link") 2>conftest.er1
27924 grep -v '^ *+' conftest.er1 >conftest.err
27926 cat conftest.err >&5
27927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27928 (exit $ac_status); } &&
27929 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27930 { (case "(($ac_try" in
27931 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27932 *) ac_try_echo
=$ac_try;;
27934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27935 (eval "$ac_try") 2>&5
27937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27938 (exit $ac_status); }; } &&
27939 { ac_try
='test -s conftest$ac_exeext'
27940 { (case "(($ac_try" in
27941 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27942 *) ac_try_echo=$ac_try;;
27944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27945 (eval "$ac_try") 2>&5
27947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27948 (exit $ac_status); }; }; then
27949 eval "$as_ac_var=yes"
27951 echo "$as_me: failed program was:" >&5
27952 sed 's/^/| /' conftest.$ac_ext >&5
27954 eval "$as_ac_var=no"
27957 rm -f core conftest.err conftest.$ac_objext \
27958 conftest$ac_exeext conftest.$ac_ext
27960 ac_res=`eval echo '${'$as_ac_var'}'`
27961 { echo "$as_me:$LINENO: result: $ac_res" >&5
27962 echo "${ECHO_T}$ac_res" >&6; }
27963 if test `eval echo '${'$as_ac_var'}'` = yes; then
27964 cat >>confdefs.h <<_ACEOF
27965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27971 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27972 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27973 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27974 { echo "$as_me:$LINENO: result: yes" >&5
27975 echo "${ECHO_T}yes" >&6; }
27977 { echo "$as_me:$LINENO: result: no" >&5
27978 echo "${ECHO_T}no" >&6; }
27980 # use different functions to avoid configure caching
27986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27987 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27989 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27990 echo $ECHO_N "(cached) $ECHO_C" >&6
27992 cat >conftest.$ac_ext <<_ACEOF
27995 cat confdefs.h >>conftest.$ac_ext
27996 cat >>conftest.$ac_ext <<_ACEOF
27997 /* end confdefs.h. */
27998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28000 #define $ac_func innocuous_$ac_func
28002 /* System header to define __stub macros and hopefully few prototypes,
28003 which can conflict with char $ac_func (); below.
28004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28005 <limits.h> exists even on freestanding compilers. */
28008 # include <limits.h>
28010 # include <assert.h>
28015 /* Override any GCC internal prototype to avoid an error.
28016 Use char because int might match the return type of a GCC
28017 builtin and then its argument prototype would still apply. */
28022 /* The GNU C library defines this for functions which it implements
28023 to always fail with ENOSYS. Some functions are actually named
28024 something starting with __ and the normal name is an alias. */
28025 #if defined __stub_$ac_func || defined __stub___$ac_func
28032 return $ac_func ();
28037 rm -f conftest.$ac_objext conftest$ac_exeext
28038 if { (ac_try="$ac_link"
28039 case "(($ac_try" in
28040 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28041 *) ac_try_echo
=$ac_try;;
28043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28044 (eval "$ac_link") 2>conftest.er1
28046 grep -v '^ *+' conftest.er1
>conftest.err
28048 cat conftest.err
>&5
28049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28050 (exit $ac_status); } &&
28051 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28052 { (case "(($ac_try" in
28053 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28054 *) ac_try_echo=$ac_try;;
28056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28057 (eval "$ac_try") 2>&5
28059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28060 (exit $ac_status); }; } &&
28061 { ac_try='test -s conftest$ac_exeext'
28062 { (case "(($ac_try" in
28063 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28064 *) ac_try_echo
=$ac_try;;
28066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28067 (eval "$ac_try") 2>&5
28069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28070 (exit $ac_status); }; }; then
28071 eval "$as_ac_var=yes"
28073 echo "$as_me: failed program was:" >&5
28074 sed 's/^/| /' conftest.
$ac_ext >&5
28076 eval "$as_ac_var=no"
28079 rm -f core conftest.err conftest.
$ac_objext \
28080 conftest
$ac_exeext conftest.
$ac_ext
28082 ac_res
=`eval echo '${'$as_ac_var'}'`
28083 { echo "$as_me:$LINENO: result: $ac_res" >&5
28084 echo "${ECHO_T}$ac_res" >&6; }
28085 if test `eval echo '${'$as_ac_var'}'` = yes; then
28086 cat >>confdefs.h
<<_ACEOF
28087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28094 for ac_func
in ceil
28096 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28097 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28099 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28100 echo $ECHO_N "(cached) $ECHO_C" >&6
28102 cat >conftest.
$ac_ext <<_ACEOF
28105 cat confdefs.h
>>conftest.
$ac_ext
28106 cat >>conftest.
$ac_ext <<_ACEOF
28107 /* end confdefs.h. */
28108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28110 #define $ac_func innocuous_$ac_func
28112 /* System header to define __stub macros and hopefully few prototypes,
28113 which can conflict with char $ac_func (); below.
28114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28115 <limits.h> exists even on freestanding compilers. */
28118 # include <limits.h>
28120 # include <assert.h>
28125 /* Override any GCC internal prototype to avoid an error.
28126 Use char because int might match the return type of a GCC
28127 builtin and then its argument prototype would still apply. */
28132 /* The GNU C library defines this for functions which it implements
28133 to always fail with ENOSYS. Some functions are actually named
28134 something starting with __ and the normal name is an alias. */
28135 #if defined __stub_$ac_func || defined __stub___$ac_func
28142 return $ac_func ();
28147 rm -f conftest.
$ac_objext conftest
$ac_exeext
28148 if { (ac_try
="$ac_link"
28149 case "(($ac_try" in
28150 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28151 *) ac_try_echo=$ac_try;;
28153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28154 (eval "$ac_link") 2>conftest.er1
28156 grep -v '^ *+' conftest.er1 >conftest.err
28158 cat conftest.err >&5
28159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28160 (exit $ac_status); } &&
28161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28162 { (case "(($ac_try" in
28163 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28164 *) ac_try_echo
=$ac_try;;
28166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28167 (eval "$ac_try") 2>&5
28169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28170 (exit $ac_status); }; } &&
28171 { ac_try
='test -s conftest$ac_exeext'
28172 { (case "(($ac_try" in
28173 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28174 *) ac_try_echo=$ac_try;;
28176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28177 (eval "$ac_try") 2>&5
28179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28180 (exit $ac_status); }; }; then
28181 eval "$as_ac_var=yes"
28183 echo "$as_me: failed program was:" >&5
28184 sed 's/^/| /' conftest.$ac_ext >&5
28186 eval "$as_ac_var=no"
28189 rm -f core conftest.err conftest.$ac_objext \
28190 conftest$ac_exeext conftest.$ac_ext
28192 ac_res=`eval echo '${'$as_ac_var'}'`
28193 { echo "$as_me:$LINENO: result: $ac_res" >&5
28194 echo "${ECHO_T}$ac_res" >&6; }
28195 if test `eval echo '${'$as_ac_var'}'` = yes; then
28196 cat >>confdefs.h <<_ACEOF
28197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28203 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28204 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28205 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28206 { echo "$as_me:$LINENO: result: yes" >&5
28207 echo "${ECHO_T}yes" >&6; }
28209 { echo "$as_me:$LINENO: result: no" >&5
28210 echo "${ECHO_T}no" >&6; }
28211 # not sure we should warn the user, crash, etc.
28216 ac_cpp='$CXXCPP $CPPFLAGS'
28217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28221 if test "wxUSE_UNICODE" = "yes"; then
28223 for wx_func in wcstoull
28225 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28226 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28227 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28228 echo $ECHO_N "(cached) $ECHO_C" >&6
28231 cat >conftest.$ac_ext <<_ACEOF
28235 cat confdefs.h >>conftest.$ac_ext
28236 cat >>conftest.$ac_ext <<_ACEOF
28237 /* end confdefs.h. */
28240 $ac_includes_default
28256 rm -f conftest.$ac_objext conftest$ac_exeext
28257 if { (ac_try="$ac_link"
28258 case "(($ac_try" in
28259 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28260 *) ac_try_echo
=$ac_try;;
28262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28263 (eval "$ac_link") 2>conftest.er1
28265 grep -v '^ *+' conftest.er1
>conftest.err
28267 cat conftest.err
>&5
28268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28269 (exit $ac_status); } &&
28270 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28271 { (case "(($ac_try" in
28272 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28273 *) ac_try_echo=$ac_try;;
28275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28276 (eval "$ac_try") 2>&5
28278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28279 (exit $ac_status); }; } &&
28280 { ac_try='test -s conftest$ac_exeext'
28281 { (case "(($ac_try" in
28282 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28283 *) ac_try_echo
=$ac_try;;
28285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28286 (eval "$ac_try") 2>&5
28288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28289 (exit $ac_status); }; }; then
28290 eval wx_cv_func_
$wx_func=yes
28292 echo "$as_me: failed program was:" >&5
28293 sed 's/^/| /' conftest.
$ac_ext >&5
28295 eval wx_cv_func_
$wx_func=no
28298 rm -f core conftest.err conftest.
$ac_objext \
28299 conftest
$ac_exeext conftest.
$ac_ext
28302 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
28303 { echo "$as_me:$LINENO: result: $ac_res" >&5
28304 echo "${ECHO_T}$ac_res" >&6; }
28306 if eval test \
$wx_cv_func_$wx_func = yes
28308 cat >>confdefs.h
<<_ACEOF
28309 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28321 for wx_func
in strtoull
28323 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28324 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28325 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28326 echo $ECHO_N "(cached) $ECHO_C" >&6
28329 cat >conftest.
$ac_ext <<_ACEOF
28333 cat confdefs.h
>>conftest.
$ac_ext
28334 cat >>conftest.
$ac_ext <<_ACEOF
28335 /* end confdefs.h. */
28338 $ac_includes_default
28354 rm -f conftest.
$ac_objext conftest
$ac_exeext
28355 if { (ac_try
="$ac_link"
28356 case "(($ac_try" in
28357 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28358 *) ac_try_echo=$ac_try;;
28360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28361 (eval "$ac_link") 2>conftest.er1
28363 grep -v '^ *+' conftest.er1 >conftest.err
28365 cat conftest.err >&5
28366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28367 (exit $ac_status); } &&
28368 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28369 { (case "(($ac_try" in
28370 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28371 *) ac_try_echo
=$ac_try;;
28373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28374 (eval "$ac_try") 2>&5
28376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28377 (exit $ac_status); }; } &&
28378 { ac_try
='test -s conftest$ac_exeext'
28379 { (case "(($ac_try" in
28380 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28381 *) ac_try_echo=$ac_try;;
28383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28384 (eval "$ac_try") 2>&5
28386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28387 (exit $ac_status); }; }; then
28388 eval wx_cv_func_$wx_func=yes
28390 echo "$as_me: failed program was:" >&5
28391 sed 's/^/| /' conftest.$ac_ext >&5
28393 eval wx_cv_func_$wx_func=no
28396 rm -f core conftest.err conftest.$ac_objext \
28397 conftest$ac_exeext conftest.$ac_ext
28400 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28401 { echo "$as_me:$LINENO: result: $ac_res" >&5
28402 echo "${ECHO_T}$ac_res" >&6; }
28404 if eval test \$wx_cv_func_$wx_func = yes
28406 cat >>confdefs.h <<_ACEOF
28407 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28419 ac_cpp='$CPP $CPPFLAGS'
28420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28427 if test "$wxUSE_REGEX" != "no"; then
28428 cat >>confdefs.h <<\_ACEOF
28429 #define wxUSE_REGEX 1
28433 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28434 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28435 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28436 wxUSE_REGEX=builtin
28439 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28440 if test "${ac_cv_header_regex_h+set}" = set; then
28441 { echo "$as_me:$LINENO: checking for regex.h" >&5
28442 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28443 if test "${ac_cv_header_regex_h+set}" = set; then
28444 echo $ECHO_N "(cached) $ECHO_C" >&6
28446 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28447 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28449 # Is the header compilable?
28450 { echo "$as_me:$LINENO: checking regex.h usability" >&5
28451 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6; }
28452 cat >conftest.$ac_ext <<_ACEOF
28455 cat confdefs.h >>conftest.$ac_ext
28456 cat >>conftest.$ac_ext <<_ACEOF
28457 /* end confdefs.h. */
28458 $ac_includes_default
28461 rm -f conftest.$ac_objext
28462 if { (ac_try="$ac_compile"
28463 case "(($ac_try" in
28464 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28465 *) ac_try_echo
=$ac_try;;
28467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28468 (eval "$ac_compile") 2>conftest.er1
28470 grep -v '^ *+' conftest.er1
>conftest.err
28472 cat conftest.err
>&5
28473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28474 (exit $ac_status); } &&
28475 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28476 { (case "(($ac_try" in
28477 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28478 *) ac_try_echo=$ac_try;;
28480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28481 (eval "$ac_try") 2>&5
28483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28484 (exit $ac_status); }; } &&
28485 { ac_try='test -s conftest.$ac_objext'
28486 { (case "(($ac_try" in
28487 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28488 *) ac_try_echo
=$ac_try;;
28490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28491 (eval "$ac_try") 2>&5
28493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28494 (exit $ac_status); }; }; then
28495 ac_header_compiler
=yes
28497 echo "$as_me: failed program was:" >&5
28498 sed 's/^/| /' conftest.
$ac_ext >&5
28500 ac_header_compiler
=no
28503 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28504 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28505 echo "${ECHO_T}$ac_header_compiler" >&6; }
28507 # Is the header present?
28508 { echo "$as_me:$LINENO: checking regex.h presence" >&5
28509 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6; }
28510 cat >conftest.
$ac_ext <<_ACEOF
28513 cat confdefs.h
>>conftest.
$ac_ext
28514 cat >>conftest.
$ac_ext <<_ACEOF
28515 /* end confdefs.h. */
28518 if { (ac_try
="$ac_cpp conftest.$ac_ext"
28519 case "(($ac_try" in
28520 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28521 *) ac_try_echo=$ac_try;;
28523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28524 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28526 grep -v '^ *+' conftest.er1 >conftest.err
28528 cat conftest.err >&5
28529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28530 (exit $ac_status); } >/dev/null; then
28531 if test -s conftest.err; then
28532 ac_cpp_err=$ac_c_preproc_warn_flag
28533 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28540 if test -z "$ac_cpp_err"; then
28541 ac_header_preproc=yes
28543 echo "$as_me: failed program was:" >&5
28544 sed 's/^/| /' conftest.$ac_ext >&5
28546 ac_header_preproc=no
28549 rm -f conftest.err conftest.$ac_ext
28550 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28551 echo "${ECHO_T}$ac_header_preproc" >&6; }
28553 # So? What about this header?
28554 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28556 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
28557 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28558 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
28559 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
28560 ac_header_preproc=yes
28563 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
28564 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
28565 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
28566 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
28567 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
28568 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
28569 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
28570 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
28571 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
28572 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
28573 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
28574 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
28576 ## ----------------------------------------- ##
28577 ## Report this to wx-dev@lists.wxwidgets.org ##
28578 ## ----------------------------------------- ##
28580 ) | sed "s/^/$as_me: WARNING: /" >&2
28583 { echo "$as_me:$LINENO: checking for regex.h" >&5
28584 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28585 if test "${ac_cv_header_regex_h+set}" = set; then
28586 echo $ECHO_N "(cached) $ECHO_C" >&6
28588 ac_cv_header_regex_h=$ac_header_preproc
28590 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28591 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28594 if test $ac_cv_header_regex_h = yes; then
28597 for ac_func in regcomp re_search
28599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28600 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28602 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28603 echo $ECHO_N "(cached) $ECHO_C" >&6
28605 cat >conftest.$ac_ext <<_ACEOF
28608 cat confdefs.h >>conftest.$ac_ext
28609 cat >>conftest.$ac_ext <<_ACEOF
28610 /* end confdefs.h. */
28611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28613 #define $ac_func innocuous_$ac_func
28615 /* System header to define __stub macros and hopefully few prototypes,
28616 which can conflict with char $ac_func (); below.
28617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28618 <limits.h> exists even on freestanding compilers. */
28621 # include <limits.h>
28623 # include <assert.h>
28628 /* Override any GCC internal prototype to avoid an error.
28629 Use char because int might match the return type of a GCC
28630 builtin and then its argument prototype would still apply. */
28635 /* The GNU C library defines this for functions which it implements
28636 to always fail with ENOSYS. Some functions are actually named
28637 something starting with __ and the normal name is an alias. */
28638 #if defined __stub_$ac_func || defined __stub___$ac_func
28645 return $ac_func ();
28650 rm -f conftest.$ac_objext conftest$ac_exeext
28651 if { (ac_try="$ac_link"
28652 case "(($ac_try" in
28653 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28654 *) ac_try_echo
=$ac_try;;
28656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28657 (eval "$ac_link") 2>conftest.er1
28659 grep -v '^ *+' conftest.er1
>conftest.err
28661 cat conftest.err
>&5
28662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28663 (exit $ac_status); } &&
28664 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28665 { (case "(($ac_try" in
28666 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28667 *) ac_try_echo=$ac_try;;
28669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28670 (eval "$ac_try") 2>&5
28672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28673 (exit $ac_status); }; } &&
28674 { ac_try='test -s conftest$ac_exeext'
28675 { (case "(($ac_try" in
28676 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28677 *) ac_try_echo
=$ac_try;;
28679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28680 (eval "$ac_try") 2>&5
28682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28683 (exit $ac_status); }; }; then
28684 eval "$as_ac_var=yes"
28686 echo "$as_me: failed program was:" >&5
28687 sed 's/^/| /' conftest.
$ac_ext >&5
28689 eval "$as_ac_var=no"
28692 rm -f core conftest.err conftest.
$ac_objext \
28693 conftest
$ac_exeext conftest.
$ac_ext
28695 ac_res
=`eval echo '${'$as_ac_var'}'`
28696 { echo "$as_me:$LINENO: result: $ac_res" >&5
28697 echo "${ECHO_T}$ac_res" >&6; }
28698 if test `eval echo '${'$as_ac_var'}'` = yes; then
28699 cat >>confdefs.h
<<_ACEOF
28700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28710 if test "x$ac_cv_func_regcomp" != "xyes"; then
28711 if test "$wxUSE_REGEX" = "sys" ; then
28712 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28713 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28714 { (exit 1); exit 1; }; }
28716 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28717 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28718 wxUSE_REGEX
=builtin
28722 cat >>confdefs.h
<<\_ACEOF
28723 #define WX_NO_REGEX_ADVANCED 1
28732 if test "$wxUSE_ZLIB" != "no" ; then
28733 cat >>confdefs.h
<<\_ACEOF
28734 #define wxUSE_ZLIB 1
28738 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28739 if test "$USE_DARWIN" = 1; then
28740 system_zlib_h_ok
="yes"
28742 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28743 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28744 if test "${ac_cv_header_zlib_h+set}" = set; then
28745 echo $ECHO_N "(cached) $ECHO_C" >&6
28747 if test "$cross_compiling" = yes; then
28748 unset ac_cv_header_zlib_h
28751 cat >conftest.
$ac_ext <<_ACEOF
28754 cat confdefs.h
>>conftest.
$ac_ext
28755 cat >>conftest.
$ac_ext <<_ACEOF
28756 /* end confdefs.h. */
28763 FILE *f=fopen("conftestval", "w");
28766 ZLIB_VERSION[0] == '1' &&
28767 (ZLIB_VERSION[2] > '1' ||
28768 (ZLIB_VERSION[2] == '1' &&
28769 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28774 rm -f conftest
$ac_exeext
28775 if { (ac_try
="$ac_link"
28776 case "(($ac_try" in
28777 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28778 *) ac_try_echo=$ac_try;;
28780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28781 (eval "$ac_link") 2>&5
28783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28784 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28785 { (case "(($ac_try" in
28786 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28787 *) ac_try_echo
=$ac_try;;
28789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28790 (eval "$ac_try") 2>&5
28792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28793 (exit $ac_status); }; }; then
28794 ac_cv_header_zlib_h
=`cat conftestval`
28796 echo "$as_me: program exited with status $ac_status" >&5
28797 echo "$as_me: failed program was:" >&5
28798 sed 's/^/| /' conftest.
$ac_ext >&5
28800 ( exit $ac_status )
28801 ac_cv_header_zlib_h
=no
28803 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28809 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28810 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28811 if test "${ac_cv_header_zlib_h+set}" = set; then
28812 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28813 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28814 if test "${ac_cv_header_zlib_h+set}" = set; then
28815 echo $ECHO_N "(cached) $ECHO_C" >&6
28817 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28818 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28820 # Is the header compilable?
28821 { echo "$as_me:$LINENO: checking zlib.h usability" >&5
28822 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; }
28823 cat >conftest.
$ac_ext <<_ACEOF
28826 cat confdefs.h
>>conftest.
$ac_ext
28827 cat >>conftest.
$ac_ext <<_ACEOF
28828 /* end confdefs.h. */
28829 $ac_includes_default
28832 rm -f conftest.
$ac_objext
28833 if { (ac_try
="$ac_compile"
28834 case "(($ac_try" in
28835 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28836 *) ac_try_echo=$ac_try;;
28838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28839 (eval "$ac_compile") 2>conftest.er1
28841 grep -v '^ *+' conftest.er1 >conftest.err
28843 cat conftest.err >&5
28844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28845 (exit $ac_status); } &&
28846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28847 { (case "(($ac_try" in
28848 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28849 *) ac_try_echo
=$ac_try;;
28851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28852 (eval "$ac_try") 2>&5
28854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28855 (exit $ac_status); }; } &&
28856 { ac_try
='test -s conftest.$ac_objext'
28857 { (case "(($ac_try" in
28858 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28859 *) ac_try_echo=$ac_try;;
28861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28862 (eval "$ac_try") 2>&5
28864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28865 (exit $ac_status); }; }; then
28866 ac_header_compiler=yes
28868 echo "$as_me: failed program was:" >&5
28869 sed 's/^/| /' conftest.$ac_ext >&5
28871 ac_header_compiler=no
28874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28875 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28876 echo "${ECHO_T}$ac_header_compiler" >&6; }
28878 # Is the header present?
28879 { echo "$as_me:$LINENO: checking zlib.h presence" >&5
28880 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; }
28881 cat >conftest.$ac_ext <<_ACEOF
28884 cat confdefs.h >>conftest.$ac_ext
28885 cat >>conftest.$ac_ext <<_ACEOF
28886 /* end confdefs.h. */
28889 if { (ac_try="$ac_cpp conftest.$ac_ext"
28890 case "(($ac_try" in
28891 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28892 *) ac_try_echo
=$ac_try;;
28894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28895 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28897 grep -v '^ *+' conftest.er1
>conftest.err
28899 cat conftest.err
>&5
28900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28901 (exit $ac_status); } >/dev
/null
; then
28902 if test -s conftest.err
; then
28903 ac_cpp_err
=$ac_c_preproc_warn_flag
28904 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28911 if test -z "$ac_cpp_err"; then
28912 ac_header_preproc
=yes
28914 echo "$as_me: failed program was:" >&5
28915 sed 's/^/| /' conftest.
$ac_ext >&5
28917 ac_header_preproc
=no
28920 rm -f conftest.err conftest.
$ac_ext
28921 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28922 echo "${ECHO_T}$ac_header_preproc" >&6; }
28924 # So? What about this header?
28925 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28927 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
28928 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28929 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
28930 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
28931 ac_header_preproc
=yes
28934 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
28935 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
28936 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
28937 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
28938 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
28939 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
28940 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
28941 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
28942 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
28943 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
28944 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
28945 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
28947 ## ----------------------------------------- ##
28948 ## Report this to wx-dev@lists.wxwidgets.org ##
28949 ## ----------------------------------------- ##
28951 ) | sed "s/^/$as_me: WARNING: /" >&2
28954 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28955 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28956 if test "${ac_cv_header_zlib_h+set}" = set; then
28957 echo $ECHO_N "(cached) $ECHO_C" >&6
28959 ac_cv_header_zlib_h
=$ac_header_preproc
28961 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28962 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28968 system_zlib_h_ok
=$ac_cv_header_zlib_h
28971 if test "$system_zlib_h_ok" = "yes"; then
28972 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28973 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28974 if test "${ac_cv_lib_z_deflate+set}" = set; then
28975 echo $ECHO_N "(cached) $ECHO_C" >&6
28977 ac_check_lib_save_LIBS
=$LIBS
28979 cat >conftest.
$ac_ext <<_ACEOF
28982 cat confdefs.h
>>conftest.
$ac_ext
28983 cat >>conftest.
$ac_ext <<_ACEOF
28984 /* end confdefs.h. */
28986 /* Override any GCC internal prototype to avoid an error.
28987 Use char because int might match the return type of a GCC
28988 builtin and then its argument prototype would still apply. */
29001 rm -f conftest.
$ac_objext conftest
$ac_exeext
29002 if { (ac_try
="$ac_link"
29003 case "(($ac_try" in
29004 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29005 *) ac_try_echo=$ac_try;;
29007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29008 (eval "$ac_link") 2>conftest.er1
29010 grep -v '^ *+' conftest.er1 >conftest.err
29012 cat conftest.err >&5
29013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29014 (exit $ac_status); } &&
29015 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29016 { (case "(($ac_try" in
29017 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29018 *) ac_try_echo
=$ac_try;;
29020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29021 (eval "$ac_try") 2>&5
29023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29024 (exit $ac_status); }; } &&
29025 { ac_try
='test -s conftest$ac_exeext'
29026 { (case "(($ac_try" in
29027 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29028 *) ac_try_echo=$ac_try;;
29030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29031 (eval "$ac_try") 2>&5
29033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29034 (exit $ac_status); }; }; then
29035 ac_cv_lib_z_deflate=yes
29037 echo "$as_me: failed program was:" >&5
29038 sed 's/^/| /' conftest.$ac_ext >&5
29040 ac_cv_lib_z_deflate=no
29043 rm -f core conftest.err conftest.$ac_objext \
29044 conftest$ac_exeext conftest.$ac_ext
29045 LIBS=$ac_check_lib_save_LIBS
29047 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
29048 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
29049 if test $ac_cv_lib_z_deflate = yes; then
29055 if test "x$ZLIB_LINK" = "x" ; then
29056 if test "$wxUSE_ZLIB" = "sys" ; then
29057 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
29058 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
29059 { (exit 1); exit 1; }; }
29061 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
29062 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
29073 if test "$wxUSE_LIBPNG" != "no" ; then
29074 cat >>confdefs.h <<\_ACEOF
29075 #define wxUSE_LIBPNG 1
29079 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
29080 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
29081 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
29085 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
29086 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
29087 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
29088 wxUSE_LIBPNG=builtin
29091 if test "$wxUSE_MGL" != 1 ; then
29092 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
29093 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
29094 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
29095 if test "${ac_cv_header_png_h+set}" = set; then
29096 echo $ECHO_N "(cached) $ECHO_C" >&6
29098 if test "$cross_compiling" = yes; then
29099 unset ac_cv_header_png_h
29102 cat >conftest.$ac_ext <<_ACEOF
29105 cat confdefs.h >>conftest.$ac_ext
29106 cat >>conftest.$ac_ext <<_ACEOF
29107 /* end confdefs.h. */
29114 FILE *f=fopen("conftestval", "w");
29117 PNG_LIBPNG_VER > 90 ? "yes" : "no");
29122 rm -f conftest$ac_exeext
29123 if { (ac_try="$ac_link"
29124 case "(($ac_try" in
29125 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29126 *) ac_try_echo
=$ac_try;;
29128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29129 (eval "$ac_link") 2>&5
29131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29132 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29133 { (case "(($ac_try" in
29134 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29135 *) ac_try_echo=$ac_try;;
29137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29138 (eval "$ac_try") 2>&5
29140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29141 (exit $ac_status); }; }; then
29142 ac_cv_header_png_h=`cat conftestval
`
29144 echo "$as_me: program exited with status $ac_status" >&5
29145 echo "$as_me: failed program was:" >&5
29146 sed 's/^/| /' conftest.$ac_ext >&5
29148 ( exit $ac_status )
29149 ac_cv_header_png_h=no
29151 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29157 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29158 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29159 if test "${ac_cv_header_png_h+set}" = set; then
29160 { echo "$as_me:$LINENO: checking for png.h" >&5
29161 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29162 if test "${ac_cv_header_png_h+set}" = set; then
29163 echo $ECHO_N "(cached) $ECHO_C" >&6
29165 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29166 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29168 # Is the header compilable?
29169 { echo "$as_me:$LINENO: checking png.h usability" >&5
29170 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6; }
29171 cat >conftest.$ac_ext <<_ACEOF
29174 cat confdefs.h >>conftest.$ac_ext
29175 cat >>conftest.$ac_ext <<_ACEOF
29176 /* end confdefs.h. */
29177 $ac_includes_default
29180 rm -f conftest.$ac_objext
29181 if { (ac_try="$ac_compile"
29182 case "(($ac_try" in
29183 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29184 *) ac_try_echo
=$ac_try;;
29186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29187 (eval "$ac_compile") 2>conftest.er1
29189 grep -v '^ *+' conftest.er1
>conftest.err
29191 cat conftest.err
>&5
29192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29193 (exit $ac_status); } &&
29194 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
29202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29203 (exit $ac_status); }; } &&
29204 { ac_try='test -s conftest.$ac_objext'
29205 { (case "(($ac_try" in
29206 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29207 *) ac_try_echo
=$ac_try;;
29209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29210 (eval "$ac_try") 2>&5
29212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29213 (exit $ac_status); }; }; then
29214 ac_header_compiler
=yes
29216 echo "$as_me: failed program was:" >&5
29217 sed 's/^/| /' conftest.
$ac_ext >&5
29219 ac_header_compiler
=no
29222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29223 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29224 echo "${ECHO_T}$ac_header_compiler" >&6; }
29226 # Is the header present?
29227 { echo "$as_me:$LINENO: checking png.h presence" >&5
29228 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6; }
29229 cat >conftest.
$ac_ext <<_ACEOF
29232 cat confdefs.h
>>conftest.
$ac_ext
29233 cat >>conftest.
$ac_ext <<_ACEOF
29234 /* end confdefs.h. */
29237 if { (ac_try
="$ac_cpp conftest.$ac_ext"
29238 case "(($ac_try" in
29239 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29240 *) ac_try_echo=$ac_try;;
29242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29243 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29245 grep -v '^ *+' conftest.er1 >conftest.err
29247 cat conftest.err >&5
29248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29249 (exit $ac_status); } >/dev/null; then
29250 if test -s conftest.err; then
29251 ac_cpp_err=$ac_c_preproc_warn_flag
29252 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29259 if test -z "$ac_cpp_err"; then
29260 ac_header_preproc=yes
29262 echo "$as_me: failed program was:" >&5
29263 sed 's/^/| /' conftest.$ac_ext >&5
29265 ac_header_preproc=no
29268 rm -f conftest.err conftest.$ac_ext
29269 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29270 echo "${ECHO_T}$ac_header_preproc" >&6; }
29272 # So? What about this header?
29273 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29275 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
29276 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29277 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
29278 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
29279 ac_header_preproc=yes
29282 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
29283 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
29284 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
29285 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
29286 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
29287 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
29288 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
29289 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
29290 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
29291 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
29292 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
29293 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
29295 ## ----------------------------------------- ##
29296 ## Report this to wx-dev@lists.wxwidgets.org ##
29297 ## ----------------------------------------- ##
29299 ) | sed "s/^/$as_me: WARNING: /" >&2
29302 { echo "$as_me:$LINENO: checking for png.h" >&5
29303 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29304 if test "${ac_cv_header_png_h+set}" = set; then
29305 echo $ECHO_N "(cached) $ECHO_C" >&6
29307 ac_cv_header_png_h=$ac_header_preproc
29309 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29310 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29316 if test "$ac_cv_header_png_h" = "yes"; then
29317 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
29318 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
29319 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
29320 echo $ECHO_N "(cached) $ECHO_C" >&6
29322 ac_check_lib_save_LIBS=$LIBS
29323 LIBS="-lpng -lz -lm $LIBS"
29324 cat >conftest.$ac_ext <<_ACEOF
29327 cat confdefs.h >>conftest.$ac_ext
29328 cat >>conftest.$ac_ext <<_ACEOF
29329 /* end confdefs.h. */
29331 /* Override any GCC internal prototype to avoid an error.
29332 Use char because int might match the return type of a GCC
29333 builtin and then its argument prototype would still apply. */
29337 char png_check_sig ();
29341 return png_check_sig ();
29346 rm -f conftest.$ac_objext conftest$ac_exeext
29347 if { (ac_try="$ac_link"
29348 case "(($ac_try" in
29349 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29350 *) ac_try_echo
=$ac_try;;
29352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29353 (eval "$ac_link") 2>conftest.er1
29355 grep -v '^ *+' conftest.er1
>conftest.err
29357 cat conftest.err
>&5
29358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29359 (exit $ac_status); } &&
29360 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29361 { (case "(($ac_try" in
29362 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29363 *) ac_try_echo=$ac_try;;
29365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29366 (eval "$ac_try") 2>&5
29368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29369 (exit $ac_status); }; } &&
29370 { ac_try='test -s conftest$ac_exeext'
29371 { (case "(($ac_try" in
29372 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29373 *) ac_try_echo
=$ac_try;;
29375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29376 (eval "$ac_try") 2>&5
29378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29379 (exit $ac_status); }; }; then
29380 ac_cv_lib_png_png_check_sig
=yes
29382 echo "$as_me: failed program was:" >&5
29383 sed 's/^/| /' conftest.
$ac_ext >&5
29385 ac_cv_lib_png_png_check_sig
=no
29388 rm -f core conftest.err conftest.
$ac_objext \
29389 conftest
$ac_exeext conftest.
$ac_ext
29390 LIBS
=$ac_check_lib_save_LIBS
29392 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29393 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29394 if test $ac_cv_lib_png_png_check_sig = yes; then
29395 PNG_LINK
=" -lpng -lz"
29400 if test "x$PNG_LINK" = "x" ; then
29401 if test "$wxUSE_LIBPNG" = "sys" ; then
29402 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29403 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29404 { (exit 1); exit 1; }; }
29406 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29407 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29408 wxUSE_LIBPNG
=builtin
29416 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
29421 if test "$wxUSE_LIBJPEG" != "no" ; then
29422 cat >>confdefs.h
<<\_ACEOF
29423 #define wxUSE_LIBJPEG 1
29427 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29428 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29429 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29433 if test "$wxUSE_MGL" != 1 ; then
29434 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29435 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29436 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29437 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29438 echo $ECHO_N "(cached) $ECHO_C" >&6
29440 cat >conftest.
$ac_ext <<_ACEOF
29443 cat confdefs.h
>>conftest.
$ac_ext
29444 cat >>conftest.
$ac_ext <<_ACEOF
29445 /* end confdefs.h. */
29447 #undef HAVE_STDLIB_H
29449 #include <jpeglib.h>
29460 rm -f conftest.
$ac_objext
29461 if { (ac_try
="$ac_compile"
29462 case "(($ac_try" in
29463 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29464 *) ac_try_echo=$ac_try;;
29466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29467 (eval "$ac_compile") 2>conftest.er1
29469 grep -v '^ *+' conftest.er1 >conftest.err
29471 cat conftest.err >&5
29472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29473 (exit $ac_status); } &&
29474 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29475 { (case "(($ac_try" in
29476 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29477 *) ac_try_echo
=$ac_try;;
29479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29480 (eval "$ac_try") 2>&5
29482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29483 (exit $ac_status); }; } &&
29484 { ac_try
='test -s conftest.$ac_objext'
29485 { (case "(($ac_try" in
29486 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29487 *) ac_try_echo=$ac_try;;
29489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29490 (eval "$ac_try") 2>&5
29492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29493 (exit $ac_status); }; }; then
29494 ac_cv_header_jpeglib_h=yes
29496 echo "$as_me: failed program was:" >&5
29497 sed 's/^/| /' conftest.$ac_ext >&5
29499 ac_cv_header_jpeglib_h=no
29503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29507 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29508 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29510 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29511 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29512 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29513 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29514 echo $ECHO_N "(cached) $ECHO_C" >&6
29516 ac_check_lib_save_LIBS=$LIBS
29517 LIBS="-ljpeg $LIBS"
29518 cat >conftest.$ac_ext <<_ACEOF
29521 cat confdefs.h >>conftest.$ac_ext
29522 cat >>conftest.$ac_ext <<_ACEOF
29523 /* end confdefs.h. */
29525 /* Override any GCC internal prototype to avoid an error.
29526 Use char because int might match the return type of a GCC
29527 builtin and then its argument prototype would still apply. */
29531 char jpeg_read_header ();
29535 return jpeg_read_header ();
29540 rm -f conftest.$ac_objext conftest$ac_exeext
29541 if { (ac_try="$ac_link"
29542 case "(($ac_try" in
29543 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29544 *) ac_try_echo
=$ac_try;;
29546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29547 (eval "$ac_link") 2>conftest.er1
29549 grep -v '^ *+' conftest.er1
>conftest.err
29551 cat conftest.err
>&5
29552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29553 (exit $ac_status); } &&
29554 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29555 { (case "(($ac_try" in
29556 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29557 *) ac_try_echo=$ac_try;;
29559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29560 (eval "$ac_try") 2>&5
29562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29563 (exit $ac_status); }; } &&
29564 { ac_try='test -s conftest$ac_exeext'
29565 { (case "(($ac_try" in
29566 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29567 *) ac_try_echo
=$ac_try;;
29569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29570 (eval "$ac_try") 2>&5
29572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29573 (exit $ac_status); }; }; then
29574 ac_cv_lib_jpeg_jpeg_read_header
=yes
29576 echo "$as_me: failed program was:" >&5
29577 sed 's/^/| /' conftest.
$ac_ext >&5
29579 ac_cv_lib_jpeg_jpeg_read_header
=no
29582 rm -f core conftest.err conftest.
$ac_objext \
29583 conftest
$ac_exeext conftest.
$ac_ext
29584 LIBS
=$ac_check_lib_save_LIBS
29586 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29587 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29588 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29589 JPEG_LINK
=" -ljpeg"
29594 if test "x$JPEG_LINK" = "x" ; then
29595 if test "$wxUSE_LIBJPEG" = "sys" ; then
29596 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29597 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29598 { (exit 1); exit 1; }; }
29600 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29601 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29602 wxUSE_LIBJPEG
=builtin
29607 if test "$wxUSE_MSW" = 1; then
29608 { echo "$as_me:$LINENO: checking for boolean" >&5
29609 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29610 if test "${ac_cv_type_boolean+set}" = set; then
29611 echo $ECHO_N "(cached) $ECHO_C" >&6
29613 cat >conftest.
$ac_ext <<_ACEOF
29616 cat confdefs.h
>>conftest.
$ac_ext
29617 cat >>conftest.
$ac_ext <<_ACEOF
29618 /* end confdefs.h. */
29619 #include <windows.h>
29621 typedef boolean ac__type_new_;
29625 if ((ac__type_new_ *) 0)
29627 if (sizeof (ac__type_new_))
29633 rm -f conftest.
$ac_objext
29634 if { (ac_try
="$ac_compile"
29635 case "(($ac_try" in
29636 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29637 *) ac_try_echo=$ac_try;;
29639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29640 (eval "$ac_compile") 2>conftest.er1
29642 grep -v '^ *+' conftest.er1 >conftest.err
29644 cat conftest.err >&5
29645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29646 (exit $ac_status); } &&
29647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29648 { (case "(($ac_try" in
29649 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29650 *) ac_try_echo
=$ac_try;;
29652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29653 (eval "$ac_try") 2>&5
29655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29656 (exit $ac_status); }; } &&
29657 { ac_try
='test -s conftest.$ac_objext'
29658 { (case "(($ac_try" in
29659 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29660 *) ac_try_echo=$ac_try;;
29662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29663 (eval "$ac_try") 2>&5
29665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29666 (exit $ac_status); }; }; then
29667 ac_cv_type_boolean=yes
29669 echo "$as_me: failed program was:" >&5
29670 sed 's/^/| /' conftest.$ac_ext >&5
29672 ac_cv_type_boolean=no
29675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29677 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29678 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29679 if test $ac_cv_type_boolean = yes; then
29681 cat >>confdefs.h <<_ACEOF
29682 #define HAVE_BOOLEAN 1
29686 { echo "$as_me:$LINENO: checking for boolean" >&5
29687 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29688 if test "${ac_cv_type_boolean+set}" = set; then
29689 echo $ECHO_N "(cached) $ECHO_C" >&6
29691 cat >conftest.$ac_ext <<_ACEOF
29694 cat confdefs.h >>conftest.$ac_ext
29695 cat >>conftest.$ac_ext <<_ACEOF
29696 /* end confdefs.h. */
29698 #undef HAVE_BOOLEAN
29700 #include <jpeglib.h>
29703 typedef boolean ac__type_new_;
29707 if ((ac__type_new_ *) 0)
29709 if (sizeof (ac__type_new_))
29715 rm -f conftest.$ac_objext
29716 if { (ac_try="$ac_compile"
29717 case "(($ac_try" in
29718 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29719 *) ac_try_echo
=$ac_try;;
29721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29722 (eval "$ac_compile") 2>conftest.er1
29724 grep -v '^ *+' conftest.er1
>conftest.err
29726 cat conftest.err
>&5
29727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29728 (exit $ac_status); } &&
29729 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29730 { (case "(($ac_try" in
29731 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29732 *) ac_try_echo=$ac_try;;
29734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29735 (eval "$ac_try") 2>&5
29737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29738 (exit $ac_status); }; } &&
29739 { ac_try='test -s conftest.$ac_objext'
29740 { (case "(($ac_try" in
29741 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29742 *) ac_try_echo
=$ac_try;;
29744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29745 (eval "$ac_try") 2>&5
29747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29748 (exit $ac_status); }; }; then
29749 ac_cv_type_boolean
=yes
29751 echo "$as_me: failed program was:" >&5
29752 sed 's/^/| /' conftest.
$ac_ext >&5
29754 ac_cv_type_boolean
=no
29757 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29759 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29760 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29762 { echo "$as_me:$LINENO: checking size of boolean" >&5
29763 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29764 if test "${ac_cv_sizeof_boolean+set}" = set; then
29765 echo $ECHO_N "(cached) $ECHO_C" >&6
29767 if test "$ac_cv_type_boolean" = yes; then
29768 # The cast to long int works around a bug in the HP C Compiler
29769 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29770 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29771 # This bug is HP SR number 8606223364.
29772 if test "$cross_compiling" = yes; then
29773 # Depending upon the size, compute the lo and hi bounds.
29774 cat >conftest.
$ac_ext <<_ACEOF
29777 cat confdefs.h
>>conftest.
$ac_ext
29778 cat >>conftest.
$ac_ext <<_ACEOF
29779 /* end confdefs.h. */
29781 #undef HAVE_BOOLEAN
29783 #include <jpeglib.h>
29786 typedef boolean ac__type_sizeof_;
29790 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29797 rm -f conftest.
$ac_objext
29798 if { (ac_try
="$ac_compile"
29799 case "(($ac_try" in
29800 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29801 *) ac_try_echo=$ac_try;;
29803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29804 (eval "$ac_compile") 2>conftest.er1
29806 grep -v '^ *+' conftest.er1 >conftest.err
29808 cat conftest.err >&5
29809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29810 (exit $ac_status); } &&
29811 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29812 { (case "(($ac_try" in
29813 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29814 *) ac_try_echo
=$ac_try;;
29816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29817 (eval "$ac_try") 2>&5
29819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29820 (exit $ac_status); }; } &&
29821 { ac_try
='test -s conftest.$ac_objext'
29822 { (case "(($ac_try" in
29823 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29824 *) ac_try_echo=$ac_try;;
29826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29827 (eval "$ac_try") 2>&5
29829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29830 (exit $ac_status); }; }; then
29833 cat >conftest.$ac_ext <<_ACEOF
29836 cat confdefs.h >>conftest.$ac_ext
29837 cat >>conftest.$ac_ext <<_ACEOF
29838 /* end confdefs.h. */
29840 #undef HAVE_BOOLEAN
29842 #include <jpeglib.h>
29845 typedef boolean ac__type_sizeof_;
29849 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29856 rm -f conftest.$ac_objext
29857 if { (ac_try="$ac_compile"
29858 case "(($ac_try" in
29859 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29860 *) ac_try_echo
=$ac_try;;
29862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29863 (eval "$ac_compile") 2>conftest.er1
29865 grep -v '^ *+' conftest.er1
>conftest.err
29867 cat conftest.err
>&5
29868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29869 (exit $ac_status); } &&
29870 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29871 { (case "(($ac_try" in
29872 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29873 *) ac_try_echo=$ac_try;;
29875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29876 (eval "$ac_try") 2>&5
29878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29879 (exit $ac_status); }; } &&
29880 { ac_try='test -s conftest.$ac_objext'
29881 { (case "(($ac_try" in
29882 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29883 *) ac_try_echo
=$ac_try;;
29885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29886 (eval "$ac_try") 2>&5
29888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29889 (exit $ac_status); }; }; then
29890 ac_hi
=$ac_mid; break
29892 echo "$as_me: failed program was:" >&5
29893 sed 's/^/| /' conftest.
$ac_ext >&5
29895 ac_lo
=`expr $ac_mid + 1`
29896 if test $ac_lo -le $ac_mid; then
29900 ac_mid
=`expr 2 '*' $ac_mid + 1`
29903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29906 echo "$as_me: failed program was:" >&5
29907 sed 's/^/| /' conftest.
$ac_ext >&5
29909 cat >conftest.
$ac_ext <<_ACEOF
29912 cat confdefs.h
>>conftest.
$ac_ext
29913 cat >>conftest.
$ac_ext <<_ACEOF
29914 /* end confdefs.h. */
29916 #undef HAVE_BOOLEAN
29918 #include <jpeglib.h>
29921 typedef boolean ac__type_sizeof_;
29925 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29932 rm -f conftest.
$ac_objext
29933 if { (ac_try
="$ac_compile"
29934 case "(($ac_try" in
29935 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29936 *) ac_try_echo=$ac_try;;
29938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29939 (eval "$ac_compile") 2>conftest.er1
29941 grep -v '^ *+' conftest.er1 >conftest.err
29943 cat conftest.err >&5
29944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29945 (exit $ac_status); } &&
29946 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29947 { (case "(($ac_try" in
29948 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29949 *) ac_try_echo
=$ac_try;;
29951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29952 (eval "$ac_try") 2>&5
29954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29955 (exit $ac_status); }; } &&
29956 { ac_try
='test -s conftest.$ac_objext'
29957 { (case "(($ac_try" in
29958 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29959 *) ac_try_echo=$ac_try;;
29961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29962 (eval "$ac_try") 2>&5
29964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29965 (exit $ac_status); }; }; then
29968 cat >conftest.$ac_ext <<_ACEOF
29971 cat confdefs.h >>conftest.$ac_ext
29972 cat >>conftest.$ac_ext <<_ACEOF
29973 /* end confdefs.h. */
29975 #undef HAVE_BOOLEAN
29977 #include <jpeglib.h>
29980 typedef boolean ac__type_sizeof_;
29984 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29991 rm -f conftest.$ac_objext
29992 if { (ac_try="$ac_compile"
29993 case "(($ac_try" in
29994 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29995 *) ac_try_echo
=$ac_try;;
29997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29998 (eval "$ac_compile") 2>conftest.er1
30000 grep -v '^ *+' conftest.er1
>conftest.err
30002 cat conftest.err
>&5
30003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30004 (exit $ac_status); } &&
30005 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30006 { (case "(($ac_try" in
30007 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30008 *) ac_try_echo=$ac_try;;
30010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30011 (eval "$ac_try") 2>&5
30013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30014 (exit $ac_status); }; } &&
30015 { ac_try='test -s conftest.$ac_objext'
30016 { (case "(($ac_try" in
30017 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30018 *) ac_try_echo
=$ac_try;;
30020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30021 (eval "$ac_try") 2>&5
30023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30024 (exit $ac_status); }; }; then
30025 ac_lo
=$ac_mid; break
30027 echo "$as_me: failed program was:" >&5
30028 sed 's/^/| /' conftest.
$ac_ext >&5
30030 ac_hi
=`expr '(' $ac_mid ')' - 1`
30031 if test $ac_mid -le $ac_hi; then
30035 ac_mid
=`expr 2 '*' $ac_mid`
30038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30041 echo "$as_me: failed program was:" >&5
30042 sed 's/^/| /' conftest.
$ac_ext >&5
30047 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30050 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30051 # Binary search between lo and hi bounds.
30052 while test "x$ac_lo" != "x$ac_hi"; do
30053 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
30054 cat >conftest.
$ac_ext <<_ACEOF
30057 cat confdefs.h
>>conftest.
$ac_ext
30058 cat >>conftest.
$ac_ext <<_ACEOF
30059 /* end confdefs.h. */
30061 #undef HAVE_BOOLEAN
30063 #include <jpeglib.h>
30066 typedef boolean ac__type_sizeof_;
30070 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
30077 rm -f conftest.
$ac_objext
30078 if { (ac_try
="$ac_compile"
30079 case "(($ac_try" in
30080 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30081 *) ac_try_echo=$ac_try;;
30083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30084 (eval "$ac_compile") 2>conftest.er1
30086 grep -v '^ *+' conftest.er1 >conftest.err
30088 cat conftest.err >&5
30089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30090 (exit $ac_status); } &&
30091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30092 { (case "(($ac_try" in
30093 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30094 *) ac_try_echo
=$ac_try;;
30096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30097 (eval "$ac_try") 2>&5
30099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30100 (exit $ac_status); }; } &&
30101 { ac_try
='test -s conftest.$ac_objext'
30102 { (case "(($ac_try" in
30103 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30104 *) ac_try_echo=$ac_try;;
30106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30107 (eval "$ac_try") 2>&5
30109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30110 (exit $ac_status); }; }; then
30113 echo "$as_me: failed program was:" >&5
30114 sed 's/^/| /' conftest.$ac_ext >&5
30116 ac_lo=`expr '(' $ac_mid ')' + 1`
30119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30122 ?*) ac_cv_sizeof_boolean=$ac_lo;;
30123 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
30124 See \`config.log
' for more details." >&5
30125 echo "$as_me: error: cannot compute sizeof (boolean)
30126 See \`config.log' for more details.
" >&2;}
30127 { (exit 77); exit 77; }; } ;;
30130 cat >conftest.$ac_ext <<_ACEOF
30133 cat confdefs.h >>conftest.$ac_ext
30134 cat >>conftest.$ac_ext <<_ACEOF
30135 /* end confdefs.h. */
30137 #undef HAVE_BOOLEAN
30139 #include <jpeglib.h>
30142 typedef boolean ac__type_sizeof_;
30143 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
30144 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
30146 #include <stdlib.h>
30151 FILE *f = fopen ("conftest.val
", "w
");
30154 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
30156 long int i = longval ();
30157 if (i != ((long int) (sizeof (ac__type_sizeof_))))
30159 fprintf (f, "%ld
\n", i);
30163 unsigned long int i = ulongval ();
30164 if (i != ((long int) (sizeof (ac__type_sizeof_))))
30166 fprintf (f, "%lu
\n", i);
30168 return ferror (f) || fclose (f) != 0;
30174 rm -f conftest$ac_exeext
30175 if { (ac_try="$ac_link"
30176 case "(($ac_try" in
30177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30178 *) ac_try_echo=$ac_try;;
30180 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30181 (eval "$ac_link") 2>&5
30183 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30184 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30185 { (case "(($ac_try" in
30186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30187 *) ac_try_echo=$ac_try;;
30189 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30190 (eval "$ac_try") 2>&5
30192 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30193 (exit $ac_status); }; }; then
30194 ac_cv_sizeof_boolean=`cat conftest.val`
30196 echo "$as_me: program exited with status
$ac_status" >&5
30197 echo "$as_me: failed program was
:" >&5
30198 sed 's/^/| /' conftest.$ac_ext >&5
30200 ( exit $ac_status )
30201 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(boolean
)
30202 See \
`config.log' for more details." >&5
30203 echo "$as_me: error: cannot compute sizeof (boolean)
30204 See \`config.log
' for more details." >&2;}
30205 { (exit 77); exit 77; }; }
30207 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30211 ac_cv_sizeof_boolean=0
30214 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
30215 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
30216 cat >>confdefs.h <<_ACEOF
30217 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
30221 cat >>confdefs.h <<_ACEOF
30222 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
30236 TIFF_PREREQ_LINKS=-lm
30237 if test "$wxUSE_LIBTIFF" != "no" ; then
30238 cat >>confdefs.h <<\_ACEOF
30239 #define wxUSE_LIBTIFF 1
30243 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
30244 if test "$wxUSE_LIBJPEG" = "sys"; then
30245 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
30247 if test "$wxUSE_ZLIB" = "sys"; then
30248 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
30250 if test "${ac_cv_header_tiffio_h+set}" = set; then
30251 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
30252 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
30253 if test "${ac_cv_header_tiffio_h+set}" = set; then
30254 echo $ECHO_N "(cached) $ECHO_C" >&6
30256 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
30257 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
30259 # Is the header compilable?
30260 { echo "$as_me:$LINENO: checking tiffio.h usability" >&5
30261 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6; }
30262 cat >conftest.$ac_ext <<_ACEOF
30265 cat confdefs.h >>conftest.$ac_ext
30266 cat >>conftest.$ac_ext <<_ACEOF
30267 /* end confdefs.h. */
30268 $ac_includes_default
30269 #include <tiffio.h>
30271 rm -f conftest.$ac_objext
30272 if { (ac_try="$ac_compile"
30273 case "(($ac_try" in
30274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30275 *) ac_try_echo=$ac_try;;
30277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30278 (eval "$ac_compile") 2>conftest.er1
30280 grep -v '^
*+' conftest.er1 >conftest.err
30282 cat conftest.err >&5
30283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30284 (exit $ac_status); } &&
30285 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
30286 { (case "(($ac_try" in
30287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30288 *) ac_try_echo=$ac_try;;
30290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30291 (eval "$ac_try") 2>&5
30293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30294 (exit $ac_status); }; } &&
30295 { ac_try='test -s conftest.
$ac_objext'
30296 { (case "(($ac_try" in
30297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30298 *) ac_try_echo=$ac_try;;
30300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30301 (eval "$ac_try") 2>&5
30303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30304 (exit $ac_status); }; }; then
30305 ac_header_compiler=yes
30307 echo "$as_me: failed program was:" >&5
30308 sed 's
/^
/| /' conftest.$ac_ext >&5
30310 ac_header_compiler=no
30313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30314 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30315 echo "${ECHO_T}$ac_header_compiler" >&6; }
30317 # Is the header present?
30318 { echo "$as_me:$LINENO: checking tiffio.h presence" >&5
30319 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6; }
30320 cat >conftest.$ac_ext <<_ACEOF
30323 cat confdefs.h >>conftest.$ac_ext
30324 cat >>conftest.$ac_ext <<_ACEOF
30325 /* end confdefs.h. */
30326 #include <tiffio.h>
30328 if { (ac_try="$ac_cpp conftest.$ac_ext"
30329 case "(($ac_try" in
30330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30331 *) ac_try_echo=$ac_try;;
30333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30334 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30336 grep -v '^
*+' conftest.er1 >conftest.err
30338 cat conftest.err >&5
30339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30340 (exit $ac_status); } >/dev/null; then
30341 if test -s conftest.err; then
30342 ac_cpp_err=$ac_c_preproc_warn_flag
30343 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30350 if test -z "$ac_cpp_err"; then
30351 ac_header_preproc=yes
30353 echo "$as_me: failed program was:" >&5
30354 sed 's
/^
/| /' conftest.$ac_ext >&5
30356 ac_header_preproc=no
30359 rm -f conftest.err conftest.$ac_ext
30360 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30361 echo "${ECHO_T}$ac_header_preproc" >&6; }
30363 # So? What about this header?
30364 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30366 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
30367 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30368 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result
" >&5
30369 echo "$as_me: WARNING
: tiffio.h
: proceeding with the compiler
's result" >&2;}
30370 ac_header_preproc=yes
30373 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
30374 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
30375 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
30376 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
30377 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
30378 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
30379 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
30380 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
30381 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result
" >&5
30382 echo "$as_me: WARNING
: tiffio.h
: proceeding with the preprocessor
's result" >&2;}
30383 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
30384 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
30386 ## ----------------------------------------- ##
30387 ## Report this to wx-dev@lists.wxwidgets.org ##
30388 ## ----------------------------------------- ##
30390 ) | sed "s/^/$as_me: WARNING: /" >&2
30393 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
30394 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
30395 if test "${ac_cv_header_tiffio_h+set}" = set; then
30396 echo $ECHO_N "(cached) $ECHO_C" >&6
30398 ac_cv_header_tiffio_h=$ac_header_preproc
30400 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
30401 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
30404 if test $ac_cv_header_tiffio_h = yes; then
30406 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
30407 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
30408 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
30409 echo $ECHO_N "(cached) $ECHO_C" >&6
30411 ac_check_lib_save_LIBS=$LIBS
30412 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
30413 cat >conftest.$ac_ext <<_ACEOF
30416 cat confdefs.h >>conftest.$ac_ext
30417 cat >>conftest.$ac_ext <<_ACEOF
30418 /* end confdefs.h. */
30420 /* Override any GCC internal prototype to avoid an error.
30421 Use char because int might match the return type of a GCC
30422 builtin and then its argument prototype would still apply. */
30430 return TIFFError ();
30435 rm -f conftest.$ac_objext conftest$ac_exeext
30436 if { (ac_try="$ac_link"
30437 case "(($ac_try" in
30438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30439 *) ac_try_echo=$ac_try;;
30441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30442 (eval "$ac_link") 2>conftest.er1
30444 grep -v '^
*+' conftest.er1 >conftest.err
30446 cat conftest.err >&5
30447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30448 (exit $ac_status); } &&
30449 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
30450 { (case "(($ac_try" in
30451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30452 *) ac_try_echo=$ac_try;;
30454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30455 (eval "$ac_try") 2>&5
30457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30458 (exit $ac_status); }; } &&
30459 { ac_try='test -s conftest
$ac_exeext'
30460 { (case "(($ac_try" in
30461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30462 *) ac_try_echo=$ac_try;;
30464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30465 (eval "$ac_try") 2>&5
30467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30468 (exit $ac_status); }; }; then
30469 ac_cv_lib_tiff_TIFFError=yes
30471 echo "$as_me: failed program was:" >&5
30472 sed 's
/^
/| /' conftest.$ac_ext >&5
30474 ac_cv_lib_tiff_TIFFError=no
30477 rm -f core conftest.err conftest.$ac_objext \
30478 conftest$ac_exeext conftest.$ac_ext
30479 LIBS=$ac_check_lib_save_LIBS
30481 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
30482 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
30483 if test $ac_cv_lib_tiff_TIFFError = yes; then
30484 TIFF_LINK=" -ltiff"
30493 if test "x$TIFF_LINK" = "x" ; then
30494 if test "$wxUSE_LIBTIFF" = "sys" ; then
30495 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
30496 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
30497 { (exit 1); exit 1; }; }
30499 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
30500 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
30501 wxUSE_LIBTIFF=builtin
30510 if test "$wxUSE_WCHAR_T" != "yes"; then
30511 if test "$wxUSE_EXPAT" != "no"; then
30512 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
30513 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
30516 if test "$wxUSE_XML" != "no"; then
30517 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
30518 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
30523 if test "$wxUSE_EXPAT" != "no"; then
30525 cat >>confdefs.h <<\_ACEOF
30526 #define wxUSE_EXPAT 1
30529 cat >>confdefs.h <<\_ACEOF
30530 #define wxUSE_XML 1
30534 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
30535 if test "${ac_cv_header_expat_h+set}" = set; then
30536 { echo "$as_me:$LINENO: checking for expat.h" >&5
30537 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
30538 if test "${ac_cv_header_expat_h+set}" = set; then
30539 echo $ECHO_N "(cached) $ECHO_C" >&6
30541 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
30542 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30544 # Is the header compilable?
30545 { echo "$as_me:$LINENO: checking expat.h usability" >&5
30546 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6; }
30547 cat >conftest.$ac_ext <<_ACEOF
30550 cat confdefs.h >>conftest.$ac_ext
30551 cat >>conftest.$ac_ext <<_ACEOF
30552 /* end confdefs.h. */
30553 $ac_includes_default
30556 rm -f conftest.$ac_objext
30557 if { (ac_try="$ac_compile"
30558 case "(($ac_try" in
30559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30560 *) ac_try_echo=$ac_try;;
30562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30563 (eval "$ac_compile") 2>conftest.er1
30565 grep -v '^
*+' conftest.er1 >conftest.err
30567 cat conftest.err >&5
30568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30569 (exit $ac_status); } &&
30570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
30571 { (case "(($ac_try" in
30572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30573 *) ac_try_echo=$ac_try;;
30575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30576 (eval "$ac_try") 2>&5
30578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30579 (exit $ac_status); }; } &&
30580 { ac_try='test -s conftest.
$ac_objext'
30581 { (case "(($ac_try" in
30582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30583 *) ac_try_echo=$ac_try;;
30585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30586 (eval "$ac_try") 2>&5
30588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30589 (exit $ac_status); }; }; then
30590 ac_header_compiler=yes
30592 echo "$as_me: failed program was:" >&5
30593 sed 's
/^
/| /' conftest.$ac_ext >&5
30595 ac_header_compiler=no
30598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30599 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30600 echo "${ECHO_T}$ac_header_compiler" >&6; }
30602 # Is the header present?
30603 { echo "$as_me:$LINENO: checking expat.h presence" >&5
30604 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6; }
30605 cat >conftest.$ac_ext <<_ACEOF
30608 cat confdefs.h >>conftest.$ac_ext
30609 cat >>conftest.$ac_ext <<_ACEOF
30610 /* end confdefs.h. */
30613 if { (ac_try="$ac_cpp conftest.$ac_ext"
30614 case "(($ac_try" in
30615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30616 *) ac_try_echo=$ac_try;;
30618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30619 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30621 grep -v '^
*+' conftest.er1 >conftest.err
30623 cat conftest.err >&5
30624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30625 (exit $ac_status); } >/dev/null; then
30626 if test -s conftest.err; then
30627 ac_cpp_err=$ac_c_preproc_warn_flag
30628 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30635 if test -z "$ac_cpp_err"; then
30636 ac_header_preproc=yes
30638 echo "$as_me: failed program was:" >&5
30639 sed 's
/^
/| /' conftest.$ac_ext >&5
30641 ac_header_preproc=no
30644 rm -f conftest.err conftest.$ac_ext
30645 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30646 echo "${ECHO_T}$ac_header_preproc" >&6; }
30648 # So? What about this header?
30649 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30651 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
30652 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30653 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result
" >&5
30654 echo "$as_me: WARNING
: expat.h
: proceeding with the compiler
's result" >&2;}
30655 ac_header_preproc=yes
30658 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
30659 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
30660 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
30661 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
30662 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
30663 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
30664 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
30665 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
30666 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result
" >&5
30667 echo "$as_me: WARNING
: expat.h
: proceeding with the preprocessor
's result" >&2;}
30668 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
30669 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
30671 ## ----------------------------------------- ##
30672 ## Report this to wx-dev@lists.wxwidgets.org ##
30673 ## ----------------------------------------- ##
30675 ) | sed "s/^/$as_me: WARNING: /" >&2
30678 { echo "$as_me:$LINENO: checking for expat.h" >&5
30679 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
30680 if test "${ac_cv_header_expat_h+set}" = set; then
30681 echo $ECHO_N "(cached) $ECHO_C" >&6
30683 ac_cv_header_expat_h=$ac_header_preproc
30685 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
30686 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30689 if test $ac_cv_header_expat_h = yes; then
30694 if test "x$found_expat_h" = "x1"; then
30695 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
30696 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
30697 if test "${wx_cv_expat_is_not_broken+set}" = set; then
30698 echo $ECHO_N "(cached) $ECHO_C" >&6
30702 ac_cpp='$CXXCPP $CPPFLAGS'
30703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
30704 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
30705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30707 cat >conftest.$ac_ext <<_ACEOF
30710 cat confdefs.h >>conftest.$ac_ext
30711 cat >>conftest.$ac_ext <<_ACEOF
30712 /* end confdefs.h. */
30722 rm -f conftest.$ac_objext
30723 if { (ac_try="$ac_compile"
30724 case "(($ac_try" in
30725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30726 *) ac_try_echo=$ac_try;;
30728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30729 (eval "$ac_compile") 2>conftest.er1
30731 grep -v '^
*+' conftest.er1 >conftest.err
30733 cat conftest.err >&5
30734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30735 (exit $ac_status); } &&
30736 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
'
30737 { (case "(($ac_try" in
30738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30739 *) ac_try_echo=$ac_try;;
30741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30742 (eval "$ac_try") 2>&5
30744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30745 (exit $ac_status); }; } &&
30746 { ac_try='test -s conftest.
$ac_objext'
30747 { (case "(($ac_try" in
30748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30749 *) ac_try_echo=$ac_try;;
30751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30752 (eval "$ac_try") 2>&5
30754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30755 (exit $ac_status); }; }; then
30756 wx_cv_expat_is_not_broken=yes
30758 echo "$as_me: failed program was:" >&5
30759 sed 's
/^
/| /' conftest.$ac_ext >&5
30761 wx_cv_expat_is_not_broken=no
30765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30767 ac_cpp='$CPP $CPPFLAGS'
30768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
30769 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
30770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30775 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
30776 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30777 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30778 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
30779 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
30780 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30781 echo $ECHO_N "(cached) $ECHO_C" >&6
30783 ac_check_lib_save_LIBS=$LIBS
30784 LIBS="-lexpat $LIBS"
30785 cat >conftest.$ac_ext <<_ACEOF
30788 cat confdefs.h >>conftest.$ac_ext
30789 cat >>conftest.$ac_ext <<_ACEOF
30790 /* end confdefs.h. */
30792 /* Override any GCC internal prototype to avoid an error.
30793 Use char because int might match the return type of a GCC
30794 builtin and then its argument prototype would still apply. */
30798 char XML_ParserCreate ();
30802 return XML_ParserCreate ();
30807 rm -f conftest.$ac_objext conftest$ac_exeext
30808 if { (ac_try="$ac_link"
30809 case "(($ac_try" in
30810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30811 *) ac_try_echo=$ac_try;;
30813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30814 (eval "$ac_link") 2>conftest.er1
30816 grep -v '^
*+' conftest.er1 >conftest.err
30818 cat conftest.err >&5
30819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30820 (exit $ac_status); } &&
30821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
30822 { (case "(($ac_try" in
30823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30824 *) ac_try_echo=$ac_try;;
30826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30827 (eval "$ac_try") 2>&5
30829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30830 (exit $ac_status); }; } &&
30831 { ac_try='test -s conftest
$ac_exeext'
30832 { (case "(($ac_try" in
30833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30834 *) ac_try_echo=$ac_try;;
30836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30837 (eval "$ac_try") 2>&5
30839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30840 (exit $ac_status); }; }; then
30841 ac_cv_lib_expat_XML_ParserCreate=yes
30843 echo "$as_me: failed program was:" >&5
30844 sed 's
/^
/| /' conftest.$ac_ext >&5
30846 ac_cv_lib_expat_XML_ParserCreate=no
30849 rm -f core conftest.err conftest.$ac_objext \
30850 conftest$ac_exeext conftest.$ac_ext
30851 LIBS=$ac_check_lib_save_LIBS
30853 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
30854 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30855 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30856 EXPAT_LINK=" -lexpat"
30861 if test "x$EXPAT_LINK" = "x" ; then
30862 if test "$wxUSE_EXPAT" = "sys" ; then
30863 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
30864 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
30865 { (exit 1); exit 1; }; }
30867 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
30868 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
30869 wxUSE_EXPAT=builtin
30875 if test "$wxUSE_EXPAT" = "builtin" ; then
30876 subdirs="$subdirs src/expat"
30883 if test "$wxUSE_LIBMSPACK" != "no"; then
30884 if test "${ac_cv_header_mspack_h+set}" = set; then
30885 { echo "$as_me:$LINENO: checking for mspack.h" >&5
30886 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
30887 if test "${ac_cv_header_mspack_h+set}" = set; then
30888 echo $ECHO_N "(cached) $ECHO_C" >&6
30890 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
30891 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30893 # Is the header compilable?
30894 { echo "$as_me:$LINENO: checking mspack.h usability" >&5
30895 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6; }
30896 cat >conftest.$ac_ext <<_ACEOF
30899 cat confdefs.h >>conftest.$ac_ext
30900 cat >>conftest.$ac_ext <<_ACEOF
30901 /* end confdefs.h. */
30902 $ac_includes_default
30903 #include <mspack.h>
30905 rm -f conftest.$ac_objext
30906 if { (ac_try="$ac_compile"
30907 case "(($ac_try" in
30908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30909 *) ac_try_echo=$ac_try;;
30911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30912 (eval "$ac_compile") 2>conftest.er1
30914 grep -v '^
*+' conftest.er1 >conftest.err
30916 cat conftest.err >&5
30917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30918 (exit $ac_status); } &&
30919 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
30920 { (case "(($ac_try" in
30921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30922 *) ac_try_echo=$ac_try;;
30924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30925 (eval "$ac_try") 2>&5
30927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30928 (exit $ac_status); }; } &&
30929 { ac_try='test -s conftest.
$ac_objext'
30930 { (case "(($ac_try" in
30931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30932 *) ac_try_echo=$ac_try;;
30934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30935 (eval "$ac_try") 2>&5
30937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30938 (exit $ac_status); }; }; then
30939 ac_header_compiler=yes
30941 echo "$as_me: failed program was:" >&5
30942 sed 's
/^
/| /' conftest.$ac_ext >&5
30944 ac_header_compiler=no
30947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30948 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30949 echo "${ECHO_T}$ac_header_compiler" >&6; }
30951 # Is the header present?
30952 { echo "$as_me:$LINENO: checking mspack.h presence" >&5
30953 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6; }
30954 cat >conftest.$ac_ext <<_ACEOF
30957 cat confdefs.h >>conftest.$ac_ext
30958 cat >>conftest.$ac_ext <<_ACEOF
30959 /* end confdefs.h. */
30960 #include <mspack.h>
30962 if { (ac_try="$ac_cpp conftest.$ac_ext"
30963 case "(($ac_try" in
30964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30965 *) ac_try_echo=$ac_try;;
30967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30968 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30970 grep -v '^
*+' conftest.er1 >conftest.err
30972 cat conftest.err >&5
30973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30974 (exit $ac_status); } >/dev/null; then
30975 if test -s conftest.err; then
30976 ac_cpp_err=$ac_c_preproc_warn_flag
30977 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30984 if test -z "$ac_cpp_err"; then
30985 ac_header_preproc=yes
30987 echo "$as_me: failed program was:" >&5
30988 sed 's
/^
/| /' conftest.$ac_ext >&5
30990 ac_header_preproc=no
30993 rm -f conftest.err conftest.$ac_ext
30994 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30995 echo "${ECHO_T}$ac_header_preproc" >&6; }
30997 # So? What about this header?
30998 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31000 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
31001 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31002 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result
" >&5
31003 echo "$as_me: WARNING
: mspack.h
: proceeding with the compiler
's result" >&2;}
31004 ac_header_preproc=yes
31007 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
31008 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
31009 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
31010 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
31011 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
31012 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
31013 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
31014 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
31015 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result
" >&5
31016 echo "$as_me: WARNING
: mspack.h
: proceeding with the preprocessor
's result" >&2;}
31017 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
31018 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
31020 ## ----------------------------------------- ##
31021 ## Report this to wx-dev@lists.wxwidgets.org ##
31022 ## ----------------------------------------- ##
31024 ) | sed "s/^/$as_me: WARNING: /" >&2
31027 { echo "$as_me:$LINENO: checking for mspack.h" >&5
31028 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
31029 if test "${ac_cv_header_mspack_h+set}" = set; then
31030 echo $ECHO_N "(cached) $ECHO_C" >&6
31032 ac_cv_header_mspack_h=$ac_header_preproc
31034 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
31035 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
31038 if test $ac_cv_header_mspack_h = yes; then
31043 if test "x$found_mspack_h" = "x1"; then
31044 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
31045 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
31046 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
31047 echo $ECHO_N "(cached) $ECHO_C" >&6
31049 ac_check_lib_save_LIBS=$LIBS
31050 LIBS="-lmspack $LIBS"
31051 cat >conftest.$ac_ext <<_ACEOF
31054 cat confdefs.h >>conftest.$ac_ext
31055 cat >>conftest.$ac_ext <<_ACEOF
31056 /* end confdefs.h. */
31058 /* Override any GCC internal prototype to avoid an error.
31059 Use char because int might match the return type of a GCC
31060 builtin and then its argument prototype would still apply. */
31064 char mspack_create_chm_decompressor ();
31068 return mspack_create_chm_decompressor ();
31073 rm -f conftest.$ac_objext conftest$ac_exeext
31074 if { (ac_try="$ac_link"
31075 case "(($ac_try" in
31076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31077 *) ac_try_echo=$ac_try;;
31079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31080 (eval "$ac_link") 2>conftest.er1
31082 grep -v '^
*+' conftest.er1 >conftest.err
31084 cat conftest.err >&5
31085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31086 (exit $ac_status); } &&
31087 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
31088 { (case "(($ac_try" in
31089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31090 *) ac_try_echo=$ac_try;;
31092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31093 (eval "$ac_try") 2>&5
31095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31096 (exit $ac_status); }; } &&
31097 { ac_try='test -s conftest
$ac_exeext'
31098 { (case "(($ac_try" in
31099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31100 *) ac_try_echo=$ac_try;;
31102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31103 (eval "$ac_try") 2>&5
31105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31106 (exit $ac_status); }; }; then
31107 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
31109 echo "$as_me: failed program was:" >&5
31110 sed 's
/^
/| /' conftest.$ac_ext >&5
31112 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
31115 rm -f core conftest.err conftest.$ac_objext \
31116 conftest$ac_exeext conftest.$ac_ext
31117 LIBS=$ac_check_lib_save_LIBS
31119 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
31120 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
31121 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
31122 MSPACK_LINK=" -lmspack"
31126 if test "x$MSPACK_LINK" = "x" ; then
31131 if test "$wxUSE_LIBMSPACK" != "no"; then
31132 cat >>confdefs.h <<\_ACEOF
31133 #define wxUSE_LIBMSPACK 1
31147 if test "$USE_WIN32" = 1 ; then
31149 for ac_header in w32api.h
31151 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31152 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31153 { echo "$as_me:$LINENO: checking for $ac_header" >&5
31154 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31155 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31156 echo $ECHO_N "(cached) $ECHO_C" >&6
31158 ac_res=`eval echo '${'$as_ac_Header'}'`
31159 { echo "$as_me:$LINENO: result: $ac_res" >&5
31160 echo "${ECHO_T}$ac_res" >&6; }
31162 # Is the header compilable?
31163 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
31164 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
31165 cat >conftest.$ac_ext <<_ACEOF
31168 cat confdefs.h >>conftest.$ac_ext
31169 cat >>conftest.$ac_ext <<_ACEOF
31170 /* end confdefs.h. */
31171 $ac_includes_default
31172 #include <$ac_header>
31174 rm -f conftest.$ac_objext
31175 if { (ac_try="$ac_compile"
31176 case "(($ac_try" in
31177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31178 *) ac_try_echo=$ac_try;;
31180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31181 (eval "$ac_compile") 2>conftest.er1
31183 grep -v '^
*+' conftest.er1 >conftest.err
31185 cat conftest.err >&5
31186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31187 (exit $ac_status); } &&
31188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
31189 { (case "(($ac_try" in
31190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31191 *) ac_try_echo=$ac_try;;
31193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31194 (eval "$ac_try") 2>&5
31196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31197 (exit $ac_status); }; } &&
31198 { ac_try='test -s conftest.
$ac_objext'
31199 { (case "(($ac_try" in
31200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31201 *) ac_try_echo=$ac_try;;
31203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31204 (eval "$ac_try") 2>&5
31206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31207 (exit $ac_status); }; }; then
31208 ac_header_compiler=yes
31210 echo "$as_me: failed program was:" >&5
31211 sed 's
/^
/| /' conftest.$ac_ext >&5
31213 ac_header_compiler=no
31216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31217 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31218 echo "${ECHO_T}$ac_header_compiler" >&6; }
31220 # Is the header present?
31221 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
31222 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
31223 cat >conftest.$ac_ext <<_ACEOF
31226 cat confdefs.h >>conftest.$ac_ext
31227 cat >>conftest.$ac_ext <<_ACEOF
31228 /* end confdefs.h. */
31229 #include <$ac_header>
31231 if { (ac_try="$ac_cpp conftest.$ac_ext"
31232 case "(($ac_try" in
31233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31234 *) ac_try_echo=$ac_try;;
31236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31237 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31239 grep -v '^
*+' conftest.er1 >conftest.err
31241 cat conftest.err >&5
31242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31243 (exit $ac_status); } >/dev/null; then
31244 if test -s conftest.err; then
31245 ac_cpp_err=$ac_c_preproc_warn_flag
31246 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31253 if test -z "$ac_cpp_err"; then
31254 ac_header_preproc=yes
31256 echo "$as_me: failed program was:" >&5
31257 sed 's
/^
/| /' conftest.$ac_ext >&5
31259 ac_header_preproc=no
31262 rm -f conftest.err conftest.$ac_ext
31263 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31264 echo "${ECHO_T}$ac_header_preproc" >&6; }
31266 # So? What about this header?
31267 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31269 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31270 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31271 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
31272 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
31273 ac_header_preproc=yes
31276 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31277 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31278 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31279 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31280 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31281 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31282 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31283 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31284 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
31285 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
31286 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31287 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31289 ## ----------------------------------------- ##
31290 ## Report this to wx-dev@lists.wxwidgets.org ##
31291 ## ----------------------------------------- ##
31293 ) | sed "s/^/$as_me: WARNING: /" >&2
31296 { echo "$as_me:$LINENO: checking for $ac_header" >&5
31297 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31298 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31299 echo $ECHO_N "(cached) $ECHO_C" >&6
31301 eval "$as_ac_Header=\$ac_header_preproc"
31303 ac_res=`eval echo '${'$as_ac_Header'}'`
31304 { echo "$as_me:$LINENO: result: $ac_res" >&5
31305 echo "${ECHO_T}$ac_res" >&6; }
31308 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31309 cat >>confdefs.h <<_ACEOF
31310 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31317 if test "${ac_cv_header_windows_h+set}" = set; then
31318 { echo "$as_me:$LINENO: checking for windows.h" >&5
31319 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
31320 if test "${ac_cv_header_windows_h+set}" = set; then
31321 echo $ECHO_N "(cached) $ECHO_C" >&6
31323 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
31324 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
31326 # Is the header compilable?
31327 { echo "$as_me:$LINENO: checking windows.h usability" >&5
31328 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6; }
31329 cat >conftest.$ac_ext <<_ACEOF
31332 cat confdefs.h >>conftest.$ac_ext
31333 cat >>conftest.$ac_ext <<_ACEOF
31334 /* end confdefs.h. */
31335 $ac_includes_default
31336 #include <windows.h>
31338 rm -f conftest.$ac_objext
31339 if { (ac_try="$ac_compile"
31340 case "(($ac_try" in
31341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31342 *) ac_try_echo=$ac_try;;
31344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31345 (eval "$ac_compile") 2>conftest.er1
31347 grep -v '^
*+' conftest.er1 >conftest.err
31349 cat conftest.err >&5
31350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31351 (exit $ac_status); } &&
31352 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
31353 { (case "(($ac_try" in
31354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31355 *) ac_try_echo=$ac_try;;
31357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31358 (eval "$ac_try") 2>&5
31360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31361 (exit $ac_status); }; } &&
31362 { ac_try='test -s conftest.
$ac_objext'
31363 { (case "(($ac_try" in
31364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31365 *) ac_try_echo=$ac_try;;
31367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31368 (eval "$ac_try") 2>&5
31370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31371 (exit $ac_status); }; }; then
31372 ac_header_compiler=yes
31374 echo "$as_me: failed program was:" >&5
31375 sed 's
/^
/| /' conftest.$ac_ext >&5
31377 ac_header_compiler=no
31380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31381 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31382 echo "${ECHO_T}$ac_header_compiler" >&6; }
31384 # Is the header present?
31385 { echo "$as_me:$LINENO: checking windows.h presence" >&5
31386 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6; }
31387 cat >conftest.$ac_ext <<_ACEOF
31390 cat confdefs.h >>conftest.$ac_ext
31391 cat >>conftest.$ac_ext <<_ACEOF
31392 /* end confdefs.h. */
31393 #include <windows.h>
31395 if { (ac_try="$ac_cpp conftest.$ac_ext"
31396 case "(($ac_try" in
31397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31398 *) ac_try_echo=$ac_try;;
31400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31401 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31403 grep -v '^
*+' conftest.er1 >conftest.err
31405 cat conftest.err >&5
31406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31407 (exit $ac_status); } >/dev/null; then
31408 if test -s conftest.err; then
31409 ac_cpp_err=$ac_c_preproc_warn_flag
31410 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31417 if test -z "$ac_cpp_err"; then
31418 ac_header_preproc=yes
31420 echo "$as_me: failed program was:" >&5
31421 sed 's
/^
/| /' conftest.$ac_ext >&5
31423 ac_header_preproc=no
31426 rm -f conftest.err conftest.$ac_ext
31427 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31428 echo "${ECHO_T}$ac_header_preproc" >&6; }
31430 # So? What about this header?
31431 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31433 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
31434 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31435 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result
" >&5
31436 echo "$as_me: WARNING
: windows.h
: proceeding with the compiler
's result" >&2;}
31437 ac_header_preproc=yes
31440 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
31441 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
31442 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
31443 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
31444 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
31445 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
31446 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
31447 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
31448 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result
" >&5
31449 echo "$as_me: WARNING
: windows.h
: proceeding with the preprocessor
's result" >&2;}
31450 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
31451 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
31453 ## ----------------------------------------- ##
31454 ## Report this to wx-dev@lists.wxwidgets.org ##
31455 ## ----------------------------------------- ##
31457 ) | sed "s/^/$as_me: WARNING: /" >&2
31460 { echo "$as_me:$LINENO: checking for windows.h" >&5
31461 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
31462 if test "${ac_cv_header_windows_h+set}" = set; then
31463 echo $ECHO_N "(cached) $ECHO_C" >&6
31465 ac_cv_header_windows_h=$ac_header_preproc
31467 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
31468 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
31471 if test $ac_cv_header_windows_h = yes; then
31475 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
31476 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
31477 { (exit 1); exit 1; }; }
31483 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
31485 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
31486 LIBS="$LIBS -loleacc"
31491 LIBS="$LIBS -lkernel32 -luser32"
31494 if test "$wxUSE_ODBC" = "sys" ; then
31497 if test "$wxUSE_ODBC" = "yes" ; then
31498 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
31499 cat >>confdefs.h <<\_ACEOF
31500 #define wxUSE_ODBC 1
31505 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
31506 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
31508 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
31510 WIN32INSTALL=win32install
31513 for ac_header in pbt.h
31515 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31516 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31517 { echo "$as_me:$LINENO: checking for $ac_header" >&5
31518 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31519 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31520 echo $ECHO_N "(cached) $ECHO_C" >&6
31522 ac_res=`eval echo '${'$as_ac_Header'}'`
31523 { echo "$as_me:$LINENO: result: $ac_res" >&5
31524 echo "${ECHO_T}$ac_res" >&6; }
31526 # Is the header compilable?
31527 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
31528 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
31529 cat >conftest.$ac_ext <<_ACEOF
31532 cat confdefs.h >>conftest.$ac_ext
31533 cat >>conftest.$ac_ext <<_ACEOF
31534 /* end confdefs.h. */
31535 $ac_includes_default
31536 #include <$ac_header>
31538 rm -f conftest.$ac_objext
31539 if { (ac_try="$ac_compile"
31540 case "(($ac_try" in
31541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31542 *) ac_try_echo=$ac_try;;
31544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31545 (eval "$ac_compile") 2>conftest.er1
31547 grep -v '^
*+' conftest.er1 >conftest.err
31549 cat conftest.err >&5
31550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31551 (exit $ac_status); } &&
31552 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
31553 { (case "(($ac_try" in
31554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31555 *) ac_try_echo=$ac_try;;
31557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31558 (eval "$ac_try") 2>&5
31560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561 (exit $ac_status); }; } &&
31562 { ac_try='test -s conftest.
$ac_objext'
31563 { (case "(($ac_try" in
31564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31565 *) ac_try_echo=$ac_try;;
31567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31568 (eval "$ac_try") 2>&5
31570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31571 (exit $ac_status); }; }; then
31572 ac_header_compiler=yes
31574 echo "$as_me: failed program was:" >&5
31575 sed 's
/^
/| /' conftest.$ac_ext >&5
31577 ac_header_compiler=no
31580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31581 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31582 echo "${ECHO_T}$ac_header_compiler" >&6; }
31584 # Is the header present?
31585 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
31586 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
31587 cat >conftest.$ac_ext <<_ACEOF
31590 cat confdefs.h >>conftest.$ac_ext
31591 cat >>conftest.$ac_ext <<_ACEOF
31592 /* end confdefs.h. */
31593 #include <$ac_header>
31595 if { (ac_try="$ac_cpp conftest.$ac_ext"
31596 case "(($ac_try" in
31597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31598 *) ac_try_echo=$ac_try;;
31600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31601 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31603 grep -v '^
*+' conftest.er1 >conftest.err
31605 cat conftest.err >&5
31606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31607 (exit $ac_status); } >/dev/null; then
31608 if test -s conftest.err; then
31609 ac_cpp_err=$ac_c_preproc_warn_flag
31610 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31617 if test -z "$ac_cpp_err"; then
31618 ac_header_preproc=yes
31620 echo "$as_me: failed program was:" >&5
31621 sed 's
/^
/| /' conftest.$ac_ext >&5
31623 ac_header_preproc=no
31626 rm -f conftest.err conftest.$ac_ext
31627 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31628 echo "${ECHO_T}$ac_header_preproc" >&6; }
31630 # So? What about this header?
31631 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31633 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31634 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31635 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
31636 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
31637 ac_header_preproc=yes
31640 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31641 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31642 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31643 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31644 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31645 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31646 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31647 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31648 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
31649 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
31650 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31651 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31653 ## ----------------------------------------- ##
31654 ## Report this to wx-dev@lists.wxwidgets.org ##
31655 ## ----------------------------------------- ##
31657 ) | sed "s/^/$as_me: WARNING: /" >&2
31660 { echo "$as_me:$LINENO: checking for $ac_header" >&5
31661 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31662 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31663 echo $ECHO_N "(cached) $ECHO_C" >&6
31665 eval "$as_ac_Header=\$ac_header_preproc"
31667 ac_res=`eval echo '${'$as_ac_Header'}'`
31668 { echo "$as_me:$LINENO: result: $ac_res" >&5
31669 echo "${ECHO_T}$ac_res" >&6; }
31672 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31673 cat >>confdefs.h <<_ACEOF
31674 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31678 cat >>confdefs.h <<\_ACEOF
31679 #define NEED_PBT_H 1
31688 if test "$wxUSE_GUI" = "yes"; then
31698 if test "$wxUSE_COCOA" = 1 ; then
31699 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
31700 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
31701 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
31702 wxUSE_PRINTING_ARCHITECTURE=no
31704 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
31705 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
31706 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
31707 wxUSE_DRAG_AND_DROP=no
31709 if test "$wxUSE_DRAGIMAGE" = "yes"; then
31710 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
31711 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
31716 if test "$wxUSE_MSW" = 1 ; then
31722 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
31726 if test "$wxUSE_GTK" = 1; then
31727 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
31728 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
31730 gtk_version_cached=1
31731 if test "${wx_cv_lib_gtk+set}" = set; then
31732 echo $ECHO_N "(cached) $ECHO_C" >&6
31735 gtk_version_cached=0
31736 { echo "$as_me:$LINENO: result: " >&5
31737 echo "${ECHO_T}" >&6; }
31740 if test "$wxUSE_THREADS" = "yes"; then
31741 GTK_MODULES=gthread
31745 if test "x$wxGTK_VERSION" != "x1"
31749 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
31754 # Check whether --enable-gtktest was given.
31755 if test "${enable_gtktest+set}" = set; then
31756 enableval=$enable_gtktest;
31762 pkg_config_args=gtk+-2.0
31763 for module in . $GTK_MODULES
31767 pkg_config_args="$pkg_config_args gthread-2.0"
31774 # Extract the first word of "pkg-config", so it can be a program name with args.
31775 set dummy pkg-config; ac_word=$2
31776 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31778 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31779 echo $ECHO_N "(cached) $ECHO_C" >&6
31781 case $PKG_CONFIG in
31783 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31787 for as_dir in $PATH
31790 test -z "$as_dir" && as_dir=.
31791 for ac_exec_ext in '' $ac_executable_extensions; do
31792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
31793 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31801 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
31805 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31806 if test -n "$PKG_CONFIG"; then
31807 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31808 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31810 { echo "$as_me:$LINENO: result: no" >&5
31811 echo "${ECHO_T}no" >&6; }
31816 if test x$PKG_CONFIG != xno ; then
31817 if pkg-config --atleast-pkgconfig-version 0.7 ; then
31820 echo "*** pkg-config too old; version 0.7 or better required."
31828 min_gtk_version=2.0.0
31829 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
31830 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
31832 if test x$PKG_CONFIG != xno ; then
31833 ## don't try to run the
test against uninstalled libtool libs
31834 if $PKG_CONFIG --uninstalled $pkg_config_args; then
31835 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
31839 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
31846 if test x
"$no_gtk" = x
; then
31847 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
31848 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
31849 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
31850 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31851 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
31852 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31853 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
31854 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31855 if test "x$enable_gtktest" = "xyes" ; then
31856 ac_save_CFLAGS
="$CFLAGS"
31857 ac_save_LIBS
="$LIBS"
31858 CFLAGS
="$CFLAGS $GTK_CFLAGS"
31859 LIBS
="$GTK_LIBS $LIBS"
31861 if test "$cross_compiling" = yes; then
31862 echo $ac_n "cross compiling; assumed OK... $ac_c"
31864 cat >conftest.
$ac_ext <<_ACEOF
31867 cat confdefs.h
>>conftest.
$ac_ext
31868 cat >>conftest.
$ac_ext <<_ACEOF
31869 /* end confdefs.h. */
31871 #include <gtk/gtk.h>
31873 #include <stdlib.h>
31878 int major, minor, micro;
31881 system ("touch conf.gtktest");
31883 /* HP/UX 9 (%@#!) writes to sscanf strings */
31884 tmp_version = g_strdup("$min_gtk_version");
31885 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
31886 printf("%s, bad version string\n", "$min_gtk_version");
31890 if ((gtk_major_version != $gtk_config_major_version) ||
31891 (gtk_minor_version != $gtk_config_minor_version) ||
31892 (gtk_micro_version != $gtk_config_micro_version))
31894 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31895 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31896 gtk_major_version, gtk_minor_version, gtk_micro_version);
31897 printf ("*** was found! If pkg-config was correct, then it is best\n");
31898 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31899 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31900 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31901 printf("*** required on your system.\n");
31902 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
31903 printf("*** to point to the correct configuration files\n");
31905 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31906 (gtk_minor_version != GTK_MINOR_VERSION) ||
31907 (gtk_micro_version != GTK_MICRO_VERSION))
31909 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31910 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31911 printf("*** library (version %d.%d.%d)\n",
31912 gtk_major_version, gtk_minor_version, gtk_micro_version);
31916 if ((gtk_major_version > major) ||
31917 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31918 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31924 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31925 gtk_major_version, gtk_minor_version, gtk_micro_version);
31926 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31927 major, minor, micro);
31928 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31930 printf("*** If you have already installed a sufficiently new version, this error\n");
31931 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
31932 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31933 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
31934 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
31935 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31936 printf("*** so that the correct libraries are found at run-time))\n");
31943 rm -f conftest
$ac_exeext
31944 if { (ac_try
="$ac_link"
31945 case "(($ac_try" in
31946 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31947 *) ac_try_echo=$ac_try;;
31949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31950 (eval "$ac_link") 2>&5
31952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31953 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31954 { (case "(($ac_try" in
31955 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31956 *) ac_try_echo
=$ac_try;;
31958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31959 (eval "$ac_try") 2>&5
31961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31962 (exit $ac_status); }; }; then
31965 echo "$as_me: program exited with status $ac_status" >&5
31966 echo "$as_me: failed program was:" >&5
31967 sed 's/^/| /' conftest.
$ac_ext >&5
31969 ( exit $ac_status )
31972 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
31976 CFLAGS
="$ac_save_CFLAGS"
31977 LIBS
="$ac_save_LIBS"
31980 if test "x$no_gtk" = x
; then
31981 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
31982 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
31985 { echo "$as_me:$LINENO: result: no" >&5
31986 echo "${ECHO_T}no" >&6; }
31987 if test "$PKG_CONFIG" = "no" ; then
31988 echo "*** A new enough version of pkg-config was not found."
31989 echo "*** See http://pkgconfig.sourceforge.net"
31991 if test -f conf.gtktest
; then
31994 echo "*** Could not run GTK+ test program, checking why..."
31995 ac_save_CFLAGS
="$CFLAGS"
31996 ac_save_LIBS
="$LIBS"
31997 CFLAGS
="$CFLAGS $GTK_CFLAGS"
31998 LIBS
="$LIBS $GTK_LIBS"
31999 cat >conftest.
$ac_ext <<_ACEOF
32002 cat confdefs.h
>>conftest.
$ac_ext
32003 cat >>conftest.
$ac_ext <<_ACEOF
32004 /* end confdefs.h. */
32006 #include <gtk/gtk.h>
32012 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
32017 rm -f conftest.
$ac_objext conftest
$ac_exeext
32018 if { (ac_try
="$ac_link"
32019 case "(($ac_try" in
32020 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32021 *) ac_try_echo=$ac_try;;
32023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32024 (eval "$ac_link") 2>conftest.er1
32026 grep -v '^ *+' conftest.er1 >conftest.err
32028 cat conftest.err >&5
32029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32030 (exit $ac_status); } &&
32031 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32032 { (case "(($ac_try" in
32033 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32034 *) ac_try_echo
=$ac_try;;
32036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32037 (eval "$ac_try") 2>&5
32039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32040 (exit $ac_status); }; } &&
32041 { ac_try
='test -s conftest$ac_exeext'
32042 { (case "(($ac_try" in
32043 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32044 *) ac_try_echo=$ac_try;;
32046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32047 (eval "$ac_try") 2>&5
32049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32050 (exit $ac_status); }; }; then
32051 echo "*** The test program compiled, but did not run. This usually means"
32052 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
32053 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
32054 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
32055 echo "*** to the installed location Also, make sure you have run ldconfig if that"
32056 echo "*** is required on your system"
32058 echo "*** If you have an old version installed, it is best to remove it, although"
32059 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
32061 echo "$as_me: failed program was:" >&5
32062 sed 's/^/| /' conftest.$ac_ext >&5
32064 echo "*** The test program failed to compile or link. See the file config.log for the"
32065 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
32068 rm -f core conftest.err conftest.$ac_objext \
32069 conftest$ac_exeext conftest.$ac_ext
32070 CFLAGS="$ac_save_CFLAGS"
32071 LIBS="$ac_save_LIBS"
32085 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
32086 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
32087 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
32089 if test "$wxUSE_SHARED" != "yes"; then
32090 GTK_LIBS="$GTK_LIBS -lX11"
32095 if test -z "$wx_cv_lib_gtk"; then
32096 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
32098 # Check whether --with-gtk-prefix was given.
32099 if test "${with_gtk_prefix+set}" = set; then
32100 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
32102 gtk_config_prefix=""
32106 # Check whether --with-gtk-exec-prefix was given.
32107 if test "${with_gtk_exec_prefix+set}" = set; then
32108 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
32110 gtk_config_exec_prefix=""
32113 # Check whether --enable-gtktest was given.
32114 if test "${enable_gtktest+set}" = set; then
32115 enableval=$enable_gtktest;
32121 for module in . $GTK_MODULES
32125 gtk_config_args="$gtk_config_args gthread"
32130 if test x$gtk_config_exec_prefix != x ; then
32131 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
32132 if test x${GTK_CONFIG+set} != xset ; then
32133 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
32136 if test x$gtk_config_prefix != x ; then
32137 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
32138 if test x${GTK_CONFIG+set} != xset ; then
32139 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
32143 # Extract the first word of "gtk-config", so it can be a program name with args.
32144 set dummy gtk-config; ac_word=$2
32145 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32147 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
32148 echo $ECHO_N "(cached) $ECHO_C" >&6
32150 case $GTK_CONFIG in
32152 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
32155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32156 for as_dir in $PATH
32159 test -z "$as_dir" && as_dir=.
32160 for ac_exec_ext in '' $ac_executable_extensions; do
32161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
32162 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32170 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
32174 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
32175 if test -n "$GTK_CONFIG"; then
32176 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
32177 echo "${ECHO_T}$GTK_CONFIG" >&6; }
32179 { echo "$as_me:$LINENO: result: no" >&5
32180 echo "${ECHO_T}no" >&6; }
32184 min_gtk_version=1.2.7
32185 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
32186 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
32188 if test "$GTK_CONFIG" = "no" ; then
32191 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
32192 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
32193 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
32194 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
32195 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
32196 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
32197 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
32198 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
32199 if test "x$enable_gtktest" = "xyes" ; then
32200 ac_save_CFLAGS="$CFLAGS"
32201 ac_save_LIBS="$LIBS"
32202 CFLAGS="$CFLAGS $GTK_CFLAGS"
32203 LIBS="$GTK_LIBS $LIBS"
32205 if test "$cross_compiling" = yes; then
32206 echo $ac_n "cross compiling; assumed OK... $ac_c"
32208 cat >conftest.$ac_ext <<_ACEOF
32211 cat confdefs.h >>conftest.$ac_ext
32212 cat >>conftest.$ac_ext <<_ACEOF
32213 /* end confdefs.h. */
32215 #include <gtk/gtk.h>
32217 #include <stdlib.h>
32222 int major, minor, micro;
32225 system ("touch conf.gtktest");
32227 /* HP/UX 9 (%@#!) writes to sscanf strings */
32228 tmp_version = g_strdup("$min_gtk_version");
32229 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
32230 printf("%s, bad version string\n", "$min_gtk_version");
32234 if ((gtk_major_version != $gtk_config_major_version) ||
32235 (gtk_minor_version != $gtk_config_minor_version) ||
32236 (gtk_micro_version != $gtk_config_micro_version))
32238 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
32239 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
32240 gtk_major_version, gtk_minor_version, gtk_micro_version);
32241 printf ("*** was found! If gtk-config was correct, then it is best\n");
32242 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
32243 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
32244 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
32245 printf("*** required on your system.\n");
32246 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
32247 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
32248 printf("*** before re-running configure\n");
32250 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
32251 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
32252 (gtk_minor_version != GTK_MINOR_VERSION) ||
32253 (gtk_micro_version != GTK_MICRO_VERSION))
32255 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
32256 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
32257 printf("*** library (version %d.%d.%d)\n",
32258 gtk_major_version, gtk_minor_version, gtk_micro_version);
32260 #endif /* defined (GTK_MAJOR_VERSION) ... */
32263 if ((gtk_major_version > major) ||
32264 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
32265 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
32271 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
32272 gtk_major_version, gtk_minor_version, gtk_micro_version);
32273 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
32274 major, minor, micro);
32275 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
32277 printf("*** If you have already installed a sufficiently new version, this error\n");
32278 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
32279 printf("*** being found. The easiest way to fix this is to remove the old version\n");
32280 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
32281 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
32282 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
32283 printf("*** so that the correct libraries are found at run-time))\n");
32290 rm -f conftest$ac_exeext
32291 if { (ac_try="$ac_link"
32292 case "(($ac_try" in
32293 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32294 *) ac_try_echo
=$ac_try;;
32296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32297 (eval "$ac_link") 2>&5
32299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32300 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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_try") 2>&5
32308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32309 (exit $ac_status); }; }; then
32312 echo "$as_me: program exited with status $ac_status" >&5
32313 echo "$as_me: failed program was:" >&5
32314 sed 's/^/| /' conftest.$ac_ext >&5
32316 ( exit $ac_status )
32319 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32323 CFLAGS="$ac_save_CFLAGS"
32324 LIBS="$ac_save_LIBS"
32327 if test "x$no_gtk" = x ; then
32328 { echo "$as_me:$LINENO: result: yes" >&5
32329 echo "${ECHO_T}yes" >&6; }
32330 wx_cv_lib_gtk=1.2.7
32332 { echo "$as_me:$LINENO: result: no" >&5
32333 echo "${ECHO_T}no" >&6; }
32334 if test "$GTK_CONFIG" = "no" ; then
32335 echo "*** The gtk-config script installed by GTK could not be found"
32336 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
32337 echo "*** your path, or set the GTK_CONFIG environment variable to the"
32338 echo "*** full path to gtk-config."
32340 if test -f conf.gtktest ; then
32343 echo "*** Could not run GTK test program, checking why..."
32344 CFLAGS="$CFLAGS $GTK_CFLAGS"
32345 LIBS="$LIBS $GTK_LIBS"
32346 cat >conftest.$ac_ext <<_ACEOF
32349 cat confdefs.h >>conftest.$ac_ext
32350 cat >>conftest.$ac_ext <<_ACEOF
32351 /* end confdefs.h. */
32353 #include <gtk/gtk.h>
32359 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
32364 rm -f conftest.$ac_objext conftest$ac_exeext
32365 if { (ac_try="$ac_link"
32366 case "(($ac_try" in
32367 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32368 *) ac_try_echo
=$ac_try;;
32370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32371 (eval "$ac_link") 2>conftest.er1
32373 grep -v '^ *+' conftest.er1
>conftest.err
32375 cat conftest.err
>&5
32376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32377 (exit $ac_status); } &&
32378 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32379 { (case "(($ac_try" in
32380 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32381 *) ac_try_echo=$ac_try;;
32383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32384 (eval "$ac_try") 2>&5
32386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32387 (exit $ac_status); }; } &&
32388 { ac_try='test -s conftest$ac_exeext'
32389 { (case "(($ac_try" in
32390 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32391 *) ac_try_echo
=$ac_try;;
32393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32394 (eval "$ac_try") 2>&5
32396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32397 (exit $ac_status); }; }; then
32398 echo "*** The test program compiled, but did not run. This usually means"
32399 echo "*** that the run-time linker is not finding GTK or finding the wrong"
32400 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
32401 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
32402 echo "*** to the installed location Also, make sure you have run ldconfig if that"
32403 echo "*** is required on your system"
32405 echo "*** If you have an old version installed, it is best to remove it, although"
32406 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
32408 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
32409 echo "*** came with the system with the command"
32411 echo "*** rpm --erase --nodeps gtk gtk-devel"
32413 echo "$as_me: failed program was:" >&5
32414 sed 's/^/| /' conftest.
$ac_ext >&5
32416 echo "*** The test program failed to compile or link. See the file config.log for the"
32417 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
32418 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
32419 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
32422 rm -f core conftest.err conftest.
$ac_objext \
32423 conftest
$ac_exeext conftest.
$ac_ext
32424 CFLAGS
="$ac_save_CFLAGS"
32425 LIBS
="$ac_save_LIBS"
32437 if test -z "$wx_cv_lib_gtk"; then
32439 # Check whether --with-gtk-prefix was given.
32440 if test "${with_gtk_prefix+set}" = set; then
32441 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
32443 gtk_config_prefix
=""
32447 # Check whether --with-gtk-exec-prefix was given.
32448 if test "${with_gtk_exec_prefix+set}" = set; then
32449 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
32451 gtk_config_exec_prefix
=""
32454 # Check whether --enable-gtktest was given.
32455 if test "${enable_gtktest+set}" = set; then
32456 enableval
=$enable_gtktest;
32462 for module
in .
$GTK_MODULES
32466 gtk_config_args
="$gtk_config_args gthread"
32471 if test x
$gtk_config_exec_prefix != x
; then
32472 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
32473 if test x
${GTK_CONFIG+set} != xset
; then
32474 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
32477 if test x
$gtk_config_prefix != x
; then
32478 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
32479 if test x
${GTK_CONFIG+set} != xset
; then
32480 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
32484 # Extract the first word of "gtk-config", so it can be a program name with args.
32485 set dummy gtk
-config; ac_word
=$2
32486 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32488 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
32489 echo $ECHO_N "(cached) $ECHO_C" >&6
32491 case $GTK_CONFIG in
32493 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
32496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32497 for as_dir
in $PATH
32500 test -z "$as_dir" && as_dir
=.
32501 for ac_exec_ext
in '' $ac_executable_extensions; do
32502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
32503 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32511 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
32515 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
32516 if test -n "$GTK_CONFIG"; then
32517 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
32518 echo "${ECHO_T}$GTK_CONFIG" >&6; }
32520 { echo "$as_me:$LINENO: result: no" >&5
32521 echo "${ECHO_T}no" >&6; }
32525 min_gtk_version
=1.2.3
32526 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
32527 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
32529 if test "$GTK_CONFIG" = "no" ; then
32532 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
32533 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
32534 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
32535 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
32536 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
32537 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
32538 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
32539 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
32540 if test "x$enable_gtktest" = "xyes" ; then
32541 ac_save_CFLAGS
="$CFLAGS"
32542 ac_save_LIBS
="$LIBS"
32543 CFLAGS
="$CFLAGS $GTK_CFLAGS"
32544 LIBS
="$GTK_LIBS $LIBS"
32546 if test "$cross_compiling" = yes; then
32547 echo $ac_n "cross compiling; assumed OK... $ac_c"
32549 cat >conftest.
$ac_ext <<_ACEOF
32552 cat confdefs.h
>>conftest.
$ac_ext
32553 cat >>conftest.
$ac_ext <<_ACEOF
32554 /* end confdefs.h. */
32556 #include <gtk/gtk.h>
32558 #include <stdlib.h>
32563 int major, minor, micro;
32566 system ("touch conf.gtktest");
32568 /* HP/UX 9 (%@#!) writes to sscanf strings */
32569 tmp_version = g_strdup("$min_gtk_version");
32570 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
32571 printf("%s, bad version string\n", "$min_gtk_version");
32575 if ((gtk_major_version != $gtk_config_major_version) ||
32576 (gtk_minor_version != $gtk_config_minor_version) ||
32577 (gtk_micro_version != $gtk_config_micro_version))
32579 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
32580 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
32581 gtk_major_version, gtk_minor_version, gtk_micro_version);
32582 printf ("*** was found! If gtk-config was correct, then it is best\n");
32583 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
32584 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
32585 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
32586 printf("*** required on your system.\n");
32587 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
32588 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
32589 printf("*** before re-running configure\n");
32591 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
32592 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
32593 (gtk_minor_version != GTK_MINOR_VERSION) ||
32594 (gtk_micro_version != GTK_MICRO_VERSION))
32596 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
32597 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
32598 printf("*** library (version %d.%d.%d)\n",
32599 gtk_major_version, gtk_minor_version, gtk_micro_version);
32601 #endif /* defined (GTK_MAJOR_VERSION) ... */
32604 if ((gtk_major_version > major) ||
32605 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
32606 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
32612 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
32613 gtk_major_version, gtk_minor_version, gtk_micro_version);
32614 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
32615 major, minor, micro);
32616 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
32618 printf("*** If you have already installed a sufficiently new version, this error\n");
32619 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
32620 printf("*** being found. The easiest way to fix this is to remove the old version\n");
32621 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
32622 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
32623 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
32624 printf("*** so that the correct libraries are found at run-time))\n");
32631 rm -f conftest
$ac_exeext
32632 if { (ac_try
="$ac_link"
32633 case "(($ac_try" in
32634 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32635 *) ac_try_echo=$ac_try;;
32637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32638 (eval "$ac_link") 2>&5
32640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32641 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32642 { (case "(($ac_try" in
32643 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32644 *) ac_try_echo
=$ac_try;;
32646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32647 (eval "$ac_try") 2>&5
32649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32650 (exit $ac_status); }; }; then
32653 echo "$as_me: program exited with status $ac_status" >&5
32654 echo "$as_me: failed program was:" >&5
32655 sed 's/^/| /' conftest.
$ac_ext >&5
32657 ( exit $ac_status )
32660 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
32664 CFLAGS
="$ac_save_CFLAGS"
32665 LIBS
="$ac_save_LIBS"
32668 if test "x$no_gtk" = x
; then
32669 { echo "$as_me:$LINENO: result: yes" >&5
32670 echo "${ECHO_T}yes" >&6; }
32671 wx_cv_lib_gtk
=1.2.3
32673 { echo "$as_me:$LINENO: result: no" >&5
32674 echo "${ECHO_T}no" >&6; }
32675 if test "$GTK_CONFIG" = "no" ; then
32676 echo "*** The gtk-config script installed by GTK could not be found"
32677 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
32678 echo "*** your path, or set the GTK_CONFIG environment variable to the"
32679 echo "*** full path to gtk-config."
32681 if test -f conf.gtktest
; then
32684 echo "*** Could not run GTK test program, checking why..."
32685 CFLAGS
="$CFLAGS $GTK_CFLAGS"
32686 LIBS
="$LIBS $GTK_LIBS"
32687 cat >conftest.
$ac_ext <<_ACEOF
32690 cat confdefs.h
>>conftest.
$ac_ext
32691 cat >>conftest.
$ac_ext <<_ACEOF
32692 /* end confdefs.h. */
32694 #include <gtk/gtk.h>
32700 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
32705 rm -f conftest.
$ac_objext conftest
$ac_exeext
32706 if { (ac_try
="$ac_link"
32707 case "(($ac_try" in
32708 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32709 *) ac_try_echo=$ac_try;;
32711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32712 (eval "$ac_link") 2>conftest.er1
32714 grep -v '^ *+' conftest.er1 >conftest.err
32716 cat conftest.err >&5
32717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32718 (exit $ac_status); } &&
32719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32720 { (case "(($ac_try" in
32721 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32722 *) ac_try_echo
=$ac_try;;
32724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32725 (eval "$ac_try") 2>&5
32727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32728 (exit $ac_status); }; } &&
32729 { ac_try
='test -s conftest$ac_exeext'
32730 { (case "(($ac_try" in
32731 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32732 *) ac_try_echo=$ac_try;;
32734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32735 (eval "$ac_try") 2>&5
32737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32738 (exit $ac_status); }; }; then
32739 echo "*** The test program compiled, but did not run. This usually means"
32740 echo "*** that the run-time linker is not finding GTK or finding the wrong"
32741 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
32742 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
32743 echo "*** to the installed location Also, make sure you have run ldconfig if that"
32744 echo "*** is required on your system"
32746 echo "*** If you have an old version installed, it is best to remove it, although"
32747 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
32749 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
32750 echo "*** came with the system with the command"
32752 echo "*** rpm --erase --nodeps gtk gtk-devel"
32754 echo "$as_me: failed program was:" >&5
32755 sed 's/^/| /' conftest.$ac_ext >&5
32757 echo "*** The test program failed to compile or link. See the file config.log for the"
32758 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
32759 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
32760 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
32763 rm -f core conftest.err conftest.$ac_objext \
32764 conftest$ac_exeext conftest.$ac_ext
32765 CFLAGS="$ac_save_CFLAGS"
32766 LIBS="$ac_save_LIBS"
32781 if test -z "$wx_cv_lib_gtk"; then
32784 wx_cv_cflags_gtk=$GTK_CFLAGS
32785 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
32792 if test "$gtk_version_cached" = 1; then
32793 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
32794 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
32797 case "$wx_cv_lib_gtk" in
32806 *) { { echo "$as_me:$LINENO: error:
32807 The development files for GTK+ were not found. For GTK+ 2, please
32808 ensure that pkg-config is in the path and that gtk+-2.0.pc is
32809 installed. For GTK+ 1.2 please check that gtk-config is in the path,
32810 and that the version is 1.2.3 or above. Also check that the
32811 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
32812 --libs' are in the LD_LIBRARY_PATH or equivalent.
32814 echo "$as_me: error:
32815 The development files for GTK+ were not found. For GTK+ 2, please
32816 ensure that pkg-config is in the path and that gtk+-2.0.pc is
32817 installed. For GTK+ 1.2 please check that gtk-config is in the path,
32818 and that the version is 1.2.3 or above. Also check that the
32819 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
32820 --libs' are in the LD_LIBRARY_PATH or equivalent.
32822 { (exit 1); exit 1; }; }
32826 if test "$WXGTK20" = 1; then
32827 save_CFLAGS="$CFLAGS"
32829 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
32830 LIBS="$LIBS $wx_cv_libs_gtk"
32832 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
32833 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
32834 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
32835 echo $ECHO_N "(cached) $ECHO_C" >&6
32837 cat >conftest.$ac_ext <<_ACEOF
32840 cat confdefs.h >>conftest.$ac_ext
32841 cat >>conftest.$ac_ext <<_ACEOF
32842 /* end confdefs.h. */
32843 #include <gtk/gtk.h>
32848 #ifndef gtk_icon_size_lookup
32849 char *p = (char *) gtk_icon_size_lookup;
32857 rm -f conftest.$ac_objext
32858 if { (ac_try="$ac_compile"
32859 case "(($ac_try" in
32860 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32861 *) ac_try_echo
=$ac_try;;
32863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32864 (eval "$ac_compile") 2>conftest.er1
32866 grep -v '^ *+' conftest.er1
>conftest.err
32868 cat conftest.err
>&5
32869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32870 (exit $ac_status); } &&
32871 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32872 { (case "(($ac_try" in
32873 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32874 *) ac_try_echo=$ac_try;;
32876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32877 (eval "$ac_try") 2>&5
32879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32880 (exit $ac_status); }; } &&
32881 { ac_try='test -s conftest.$ac_objext'
32882 { (case "(($ac_try" in
32883 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32884 *) ac_try_echo
=$ac_try;;
32886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32887 (eval "$ac_try") 2>&5
32889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32890 (exit $ac_status); }; }; then
32891 ac_cv_have_decl_gtk_icon_size_lookup
=yes
32893 echo "$as_me: failed program was:" >&5
32894 sed 's/^/| /' conftest.
$ac_ext >&5
32896 ac_cv_have_decl_gtk_icon_size_lookup
=no
32899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32901 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
32902 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
32903 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
32905 cat >>confdefs.h
<<_ACEOF
32906 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
32911 cat >>confdefs.h
<<_ACEOF
32912 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
32915 cat >>confdefs.h
<<\_ACEOF
32916 #define NEED_GTK_ICON_SIZE_LOOKUP 1
32923 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
32924 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
32925 cat >conftest.
$ac_ext <<_ACEOF
32928 cat confdefs.h
>>conftest.
$ac_ext
32929 cat >>conftest.
$ac_ext <<_ACEOF
32930 /* end confdefs.h. */
32932 #include <gtk/gtk.h>
32938 #if !GTK_CHECK_VERSION(2,6,0)
32946 rm -f conftest.
$ac_objext
32947 if { (ac_try
="$ac_compile"
32948 case "(($ac_try" in
32949 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32950 *) ac_try_echo=$ac_try;;
32952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32953 (eval "$ac_compile") 2>conftest.er1
32955 grep -v '^ *+' conftest.er1 >conftest.err
32957 cat conftest.err >&5
32958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32959 (exit $ac_status); } &&
32960 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32961 { (case "(($ac_try" in
32962 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32963 *) ac_try_echo
=$ac_try;;
32965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32966 (eval "$ac_try") 2>&5
32968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32969 (exit $ac_status); }; } &&
32970 { ac_try
='test -s conftest.$ac_objext'
32971 { (case "(($ac_try" in
32972 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32973 *) ac_try_echo=$ac_try;;
32975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32976 (eval "$ac_try") 2>&5
32978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32979 (exit $ac_status); }; }; then
32981 cat >>confdefs.h <<\_ACEOF
32982 #define __WXGTK26__ 1
32985 cat >>confdefs.h <<\_ACEOF
32986 #define __WXGTK24__ 1
32989 { echo "$as_me:$LINENO: result: yes" >&5
32990 echo "${ECHO_T}yes" >&6; }
32994 echo "$as_me: failed program was:" >&5
32995 sed 's/^/| /' conftest.$ac_ext >&5
32998 { echo "$as_me:$LINENO: result: no" >&5
32999 echo "${ECHO_T}no" >&6; }
33004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33006 if test "$ac_wxgtk26" = 0; then
33007 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
33008 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
33009 cat >conftest.$ac_ext <<_ACEOF
33012 cat confdefs.h >>conftest.$ac_ext
33013 cat >>conftest.$ac_ext <<_ACEOF
33014 /* end confdefs.h. */
33016 #include <gtk/gtk.h>
33022 #if !GTK_CHECK_VERSION(2,4,0)
33030 rm -f conftest.$ac_objext
33031 if { (ac_try="$ac_compile"
33032 case "(($ac_try" in
33033 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33034 *) ac_try_echo
=$ac_try;;
33036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33037 (eval "$ac_compile") 2>conftest.er1
33039 grep -v '^ *+' conftest.er1
>conftest.err
33041 cat conftest.err
>&5
33042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33043 (exit $ac_status); } &&
33044 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33045 { (case "(($ac_try" in
33046 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33047 *) ac_try_echo=$ac_try;;
33049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33050 (eval "$ac_try") 2>&5
33052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33053 (exit $ac_status); }; } &&
33054 { ac_try='test -s conftest.$ac_objext'
33055 { (case "(($ac_try" in
33056 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33057 *) ac_try_echo
=$ac_try;;
33059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33060 (eval "$ac_try") 2>&5
33062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33063 (exit $ac_status); }; }; then
33065 cat >>confdefs.h
<<\_ACEOF
33066 #define __WXGTK24__ 1
33069 { echo "$as_me:$LINENO: result: yes" >&5
33070 echo "${ECHO_T}yes" >&6; }
33073 echo "$as_me: failed program was:" >&5
33074 sed 's/^/| /' conftest.
$ac_ext >&5
33077 { echo "$as_me:$LINENO: result: no" >&5
33078 echo "${ECHO_T}no" >&6; }
33082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33085 CFLAGS
="$save_CFLAGS"
33088 if test "$wxUSE_UNICODE" = "yes"; then
33089 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
33090 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
33094 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
33095 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
33096 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
33097 echo $ECHO_N "(cached) $ECHO_C" >&6
33099 ac_check_lib_save_LIBS
=$LIBS
33101 cat >conftest.
$ac_ext <<_ACEOF
33104 cat confdefs.h
>>conftest.
$ac_ext
33105 cat >>conftest.
$ac_ext <<_ACEOF
33106 /* end confdefs.h. */
33108 /* Override any GCC internal prototype to avoid an error.
33109 Use char because int might match the return type of a GCC
33110 builtin and then its argument prototype would still apply. */
33114 char gdk_im_open ();
33118 return gdk_im_open ();
33123 rm -f conftest.
$ac_objext conftest
$ac_exeext
33124 if { (ac_try
="$ac_link"
33125 case "(($ac_try" in
33126 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33127 *) ac_try_echo=$ac_try;;
33129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33130 (eval "$ac_link") 2>conftest.er1
33132 grep -v '^ *+' conftest.er1 >conftest.err
33134 cat conftest.err >&5
33135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33136 (exit $ac_status); } &&
33137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33138 { (case "(($ac_try" in
33139 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33140 *) ac_try_echo
=$ac_try;;
33142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33143 (eval "$ac_try") 2>&5
33145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33146 (exit $ac_status); }; } &&
33147 { ac_try
='test -s conftest$ac_exeext'
33148 { (case "(($ac_try" in
33149 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33150 *) ac_try_echo=$ac_try;;
33152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33153 (eval "$ac_try") 2>&5
33155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33156 (exit $ac_status); }; }; then
33157 ac_cv_lib_gdk_gdk_im_open=yes
33159 echo "$as_me: failed program was:" >&5
33160 sed 's/^/| /' conftest.$ac_ext >&5
33162 ac_cv_lib_gdk_gdk_im_open=no
33165 rm -f core conftest.err conftest.$ac_objext \
33166 conftest$ac_exeext conftest.$ac_ext
33167 LIBS=$ac_check_lib_save_LIBS
33169 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
33170 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
33171 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
33172 cat >>confdefs.h <<\_ACEOF
33179 if test "$USE_DARWIN" != 1; then
33181 for ac_func in poll
33183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33184 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33186 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33187 echo $ECHO_N "(cached) $ECHO_C" >&6
33189 cat >conftest.$ac_ext <<_ACEOF
33192 cat confdefs.h >>conftest.$ac_ext
33193 cat >>conftest.$ac_ext <<_ACEOF
33194 /* end confdefs.h. */
33195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33197 #define $ac_func innocuous_$ac_func
33199 /* System header to define __stub macros and hopefully few prototypes,
33200 which can conflict with char $ac_func (); below.
33201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33202 <limits.h> exists even on freestanding compilers. */
33205 # include <limits.h>
33207 # include <assert.h>
33212 /* Override any GCC internal prototype to avoid an error.
33213 Use char because int might match the return type of a GCC
33214 builtin and then its argument prototype would still apply. */
33219 /* The GNU C library defines this for functions which it implements
33220 to always fail with ENOSYS. Some functions are actually named
33221 something starting with __ and the normal name is an alias. */
33222 #if defined __stub_$ac_func || defined __stub___$ac_func
33229 return $ac_func ();
33234 rm -f conftest.$ac_objext conftest$ac_exeext
33235 if { (ac_try="$ac_link"
33236 case "(($ac_try" in
33237 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33238 *) ac_try_echo
=$ac_try;;
33240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33241 (eval "$ac_link") 2>conftest.er1
33243 grep -v '^ *+' conftest.er1
>conftest.err
33245 cat conftest.err
>&5
33246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33247 (exit $ac_status); } &&
33248 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33249 { (case "(($ac_try" in
33250 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33251 *) ac_try_echo=$ac_try;;
33253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33254 (eval "$ac_try") 2>&5
33256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33257 (exit $ac_status); }; } &&
33258 { ac_try='test -s conftest$ac_exeext'
33259 { (case "(($ac_try" in
33260 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33261 *) ac_try_echo
=$ac_try;;
33263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33264 (eval "$ac_try") 2>&5
33266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33267 (exit $ac_status); }; }; then
33268 eval "$as_ac_var=yes"
33270 echo "$as_me: failed program was:" >&5
33271 sed 's/^/| /' conftest.
$ac_ext >&5
33273 eval "$as_ac_var=no"
33276 rm -f core conftest.err conftest.
$ac_objext \
33277 conftest
$ac_exeext conftest.
$ac_ext
33279 ac_res
=`eval echo '${'$as_ac_var'}'`
33280 { echo "$as_me:$LINENO: result: $ac_res" >&5
33281 echo "${ECHO_T}$ac_res" >&6; }
33282 if test `eval echo '${'$as_ac_var'}'` = yes; then
33283 cat >>confdefs.h
<<_ACEOF
33284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33293 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
33294 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
33296 AFMINSTALL
=afminstall
33300 if test "$wxUSE_GPE" = "yes"; then
33301 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
33302 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
33305 for ac_dir
in $SEARCH_LIB;
33307 for ac_extension
in a so sl dylib dll.a
; do
33308 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
33309 ac_find_libraries
=$ac_dir
33315 if test "$ac_find_libraries" != "" ; then
33317 if test "$ac_find_libraries" = "default location"; then
33320 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
33322 if test $result = 0; then
33325 ac_path_to_link
=" -L$ac_find_libraries"
33329 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
33331 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33332 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33334 { echo "$as_me:$LINENO: result: not found" >&5
33335 echo "${ECHO_T}not found" >&6; }
33341 if test "$wxUSE_MGL" = 1; then
33342 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
33343 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
33344 if test "x$MGL_ROOT" = x
; then
33345 { echo "$as_me:$LINENO: result: not found" >&5
33346 echo "${ECHO_T}not found" >&6; }
33347 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
33348 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
33349 { (exit 1); exit 1; }; }
33351 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
33352 echo "${ECHO_T}$MGL_ROOT" >&6; }
33355 { echo "$as_me:$LINENO: checking for libmgl location" >&5
33356 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
33359 if test "x$wxUSE_SHARED" = xyes
; then
33360 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
33362 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
33366 mgl_os_candidates
="dos32/dj2"
33369 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
33370 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
33371 { (exit 1); exit 1; }; }
33377 for mgl_os_i
in $mgl_os_candidates ; do
33378 if test "x$mgl_os" = x
; then
33379 if test "$wxUSE_DEBUG_FLAG" = yes ; then
33380 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
33381 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
33386 if test "x$mgl_lib_type" = x
; then
33387 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
33388 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
33389 mgl_lib_type
=release
33396 if test "x$mgl_os" = x
; then
33397 { echo "$as_me:$LINENO: result: not found" >&5
33398 echo "${ECHO_T}not found" >&6; }
33399 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
33400 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
33401 { (exit 1); exit 1; }; }
33403 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
33404 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
33406 wxUSE_UNIVERSAL
="yes"
33408 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
33409 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
33411 AFMINSTALL
=afminstall
33416 if test "$wxUSE_DFB" = 1; then
33419 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33420 if test -n "$ac_tool_prefix"; then
33421 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33422 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33425 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33426 echo $ECHO_N "(cached) $ECHO_C" >&6
33428 case $PKG_CONFIG in
33430 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33434 for as_dir
in $PATH
33437 test -z "$as_dir" && as_dir
=.
33438 for ac_exec_ext
in '' $ac_executable_extensions; do
33439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
33440 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33451 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33452 if test -n "$PKG_CONFIG"; then
33453 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33454 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33456 { echo "$as_me:$LINENO: result: no" >&5
33457 echo "${ECHO_T}no" >&6; }
33462 if test -z "$ac_cv_path_PKG_CONFIG"; then
33463 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33464 # Extract the first word of "pkg-config", so it can be a program name with args.
33465 set dummy pkg
-config; ac_word
=$2
33466 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33468 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33469 echo $ECHO_N "(cached) $ECHO_C" >&6
33471 case $ac_pt_PKG_CONFIG in
33473 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33477 for as_dir
in $PATH
33480 test -z "$as_dir" && as_dir
=.
33481 for ac_exec_ext
in '' $ac_executable_extensions; do
33482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
33483 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33494 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33495 if test -n "$ac_pt_PKG_CONFIG"; then
33496 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33497 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33499 { echo "$as_me:$LINENO: result: no" >&5
33500 echo "${ECHO_T}no" >&6; }
33503 if test "x$ac_pt_PKG_CONFIG" = x
; then
33506 case $cross_compiling:$ac_tool_warned in
33508 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33509 whose name does not start with the host triplet. If you think this
33510 configuration is useful to you, please write to autoconf@gnu.org." >&5
33511 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33512 whose name does not start with the host triplet. If you think this
33513 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33514 ac_tool_warned
=yes ;;
33516 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33519 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33523 if test -n "$PKG_CONFIG"; then
33524 _pkg_min_version
=0.9.0
33525 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33526 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33527 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33528 { echo "$as_me:$LINENO: result: yes" >&5
33529 echo "${ECHO_T}yes" >&6; }
33531 { echo "$as_me:$LINENO: result: no" >&5
33532 echo "${ECHO_T}no" >&6; }
33540 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
33541 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
33543 if test -n "$PKG_CONFIG"; then
33544 if test -n "$DIRECTFB_CFLAGS"; then
33545 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
33547 if test -n "$PKG_CONFIG" && \
33548 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
33549 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
33551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33552 (exit $ac_status); }; then
33553 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
33561 if test -n "$PKG_CONFIG"; then
33562 if test -n "$DIRECTFB_LIBS"; then
33563 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
33565 if test -n "$PKG_CONFIG" && \
33566 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
33567 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
33569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33570 (exit $ac_status); }; then
33571 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
33582 if test $pkg_failed = yes; then
33584 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33585 _pkg_short_errors_supported
=yes
33587 _pkg_short_errors_supported
=no
33589 if test $_pkg_short_errors_supported = yes; then
33590 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
33592 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
33594 # Put the nasty error message in config.log where it belongs
33595 echo "$DIRECTFB_PKG_ERRORS" >&5
33598 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
33599 echo "$as_me: error: DirectFB not found." >&2;}
33600 { (exit 1); exit 1; }; }
33603 elif test $pkg_failed = untried
; then
33605 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
33606 echo "$as_me: error: DirectFB not found." >&2;}
33607 { (exit 1); exit 1; }; }
33611 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
33612 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
33613 { echo "$as_me:$LINENO: result: yes" >&5
33614 echo "${ECHO_T}yes" >&6; }
33616 wxUSE_UNIVERSAL
="yes"
33617 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
33618 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
33625 if test "$wxUSE_MICROWIN" = 1; then
33626 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
33627 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
33628 if test "x$MICROWINDOWS" = x
; then
33629 { echo "$as_me:$LINENO: result: not found" >&5
33630 echo "${ECHO_T}not found" >&6; }
33631 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
33632 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
33633 { (exit 1); exit 1; }; }
33635 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
33636 echo "${ECHO_T}$MICROWINDOWS" >&6; }
33639 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
33640 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
33641 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
33643 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
33644 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
33645 { (exit 1); exit 1; }; }
33648 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
33649 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
33651 wxUSE_UNIVERSAL
="yes"
33653 AFMINSTALL
=afminstall
33655 GUIDIST
=MICROWIN_DIST
33657 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
33660 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33661 { echo "$as_me:$LINENO: checking for X" >&5
33662 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
33665 # Check whether --with-x was given.
33666 if test "${with_x+set}" = set; then
33670 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
33671 if test "x$with_x" = xno
; then
33672 # The user explicitly disabled X.
33675 case $x_includes,$x_libraries in #(
33676 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
33677 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
33678 { (exit 1); exit 1; }; };; #(
33679 *,NONE
| NONE
,*) if test "${ac_cv_have_x+set}" = set; then
33680 echo $ECHO_N "(cached) $ECHO_C" >&6
33682 # One or both of the vars are not set, and there is no cached value.
33683 ac_x_includes
=no ac_x_libraries
=no
33684 rm -f -r conftest.dir
33685 if mkdir conftest.dir
; then
33687 cat >Imakefile
<<'_ACEOF'
33689 @echo incroot='${INCROOT}'
33691 @echo usrlibdir='${USRLIBDIR}'
33693 @echo libdir='${LIBDIR}'
33695 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
33696 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33697 for ac_var
in incroot usrlibdir libdir
; do
33698 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
33700 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
33701 for ac_extension
in a so sl
; do
33702 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
33703 test -f "$ac_im_libdir/libX11.$ac_extension"; then
33704 ac_im_usrlibdir
=$ac_im_libdir; break
33707 # Screen out bogus values from the imake configuration. They are
33708 # bogus both because they are the default anyway, and because
33709 # using them would break gcc on systems where it needs fixed includes.
33710 case $ac_im_incroot in
33711 /usr
/include
) ac_x_includes
= ;;
33712 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
33714 case $ac_im_usrlibdir in
33715 /usr
/lib
| /lib
) ;;
33716 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
33720 rm -f -r conftest.dir
33723 # Standard set of common directories for X headers.
33724 # Check X11 before X11Rn because it is often a symlink to the current release.
33736 /usr/local/X11/include
33737 /usr/local/X11R6/include
33738 /usr/local/X11R5/include
33739 /usr/local/X11R4/include
33741 /usr/local/include/X11
33742 /usr/local/include/X11R6
33743 /usr/local/include/X11R5
33744 /usr/local/include/X11R4
33748 /usr/XFree86/include/X11
33752 /usr/unsupported/include
33753 /usr/athena/include
33754 /usr/local/x11r5/include
33755 /usr/lpp/Xamples/include
33757 /usr/openwin/include
33758 /usr/openwin/share/include'
33760 if test "$ac_x_includes" = no
; then
33761 # Guess where to find include files, by looking for Xlib.h.
33762 # First, try using that file with no special directory specified.
33763 cat >conftest.
$ac_ext <<_ACEOF
33766 cat confdefs.h
>>conftest.
$ac_ext
33767 cat >>conftest.
$ac_ext <<_ACEOF
33768 /* end confdefs.h. */
33769 #include <X11/Xlib.h>
33771 if { (ac_try
="$ac_cpp conftest.$ac_ext"
33772 case "(($ac_try" in
33773 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33774 *) ac_try_echo=$ac_try;;
33776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33777 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33779 grep -v '^ *+' conftest.er1 >conftest.err
33781 cat conftest.err >&5
33782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33783 (exit $ac_status); } >/dev/null; then
33784 if test -s conftest.err; then
33785 ac_cpp_err=$ac_c_preproc_warn_flag
33786 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33793 if test -z "$ac_cpp_err"; then
33794 # We can compile using X headers with no special include directory.
33797 echo "$as_me: failed program was:" >&5
33798 sed 's/^/| /' conftest.$ac_ext >&5
33800 for ac_dir in $ac_x_header_dirs; do
33801 if test -r "$ac_dir/X11/Xlib.h"; then
33802 ac_x_includes=$ac_dir
33808 rm -f conftest.err conftest.$ac_ext
33809 fi # $ac_x_includes = no
33811 if test "$ac_x_libraries" = no; then
33812 # Check for the libraries.
33813 # See if we find them without any special options.
33814 # Don't add to $LIBS permanently.
33817 cat >conftest.$ac_ext <<_ACEOF
33820 cat confdefs.h >>conftest.$ac_ext
33821 cat >>conftest.$ac_ext <<_ACEOF
33822 /* end confdefs.h. */
33823 #include <X11/Xlib.h>
33832 rm -f conftest.$ac_objext conftest$ac_exeext
33833 if { (ac_try="$ac_link"
33834 case "(($ac_try" in
33835 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33836 *) ac_try_echo
=$ac_try;;
33838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33839 (eval "$ac_link") 2>conftest.er1
33841 grep -v '^ *+' conftest.er1
>conftest.err
33843 cat conftest.err
>&5
33844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33845 (exit $ac_status); } &&
33846 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33847 { (case "(($ac_try" in
33848 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33849 *) ac_try_echo=$ac_try;;
33851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33852 (eval "$ac_try") 2>&5
33854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33855 (exit $ac_status); }; } &&
33856 { ac_try='test -s conftest$ac_exeext'
33857 { (case "(($ac_try" in
33858 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33859 *) ac_try_echo
=$ac_try;;
33861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33862 (eval "$ac_try") 2>&5
33864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33865 (exit $ac_status); }; }; then
33867 # We can link X programs with no special library path.
33870 echo "$as_me: failed program was:" >&5
33871 sed 's/^/| /' conftest.
$ac_ext >&5
33874 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
33876 # Don't even attempt the hair of trying to link an X program!
33877 for ac_extension
in a so sl
; do
33878 if test -r "$ac_dir/libXt.$ac_extension"; then
33879 ac_x_libraries
=$ac_dir
33886 rm -f core conftest.err conftest.
$ac_objext \
33887 conftest
$ac_exeext conftest.
$ac_ext
33888 fi # $ac_x_libraries = no
33890 case $ac_x_includes,$ac_x_libraries in #(
33891 no
,* | *,no
| *\'*)
33892 # Didn't find X, or a directory has "'" in its name.
33893 ac_cv_have_x
="have_x=no";; #(
33895 # Record where we found X for the cache.
33896 ac_cv_have_x
="have_x=yes\
33897 ac_x_includes='$ac_x_includes'\
33898 ac_x_libraries='$ac_x_libraries'"
33904 eval "$ac_cv_have_x"
33907 if test "$have_x" != yes; then
33908 { echo "$as_me:$LINENO: result: $have_x" >&5
33909 echo "${ECHO_T}$have_x" >&6; }
33912 # If each of the values was on the command line, it overrides each guess.
33913 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
33914 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
33915 # Update the cache value to reflect the command line values.
33916 ac_cv_have_x
="have_x=yes\
33917 ac_x_includes='$x_includes'\
33918 ac_x_libraries='$x_libraries'"
33919 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
33920 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
33923 if test "$no_x" = yes; then
33924 # Not all programs may use this symbol, but it does not hurt to define it.
33926 cat >>confdefs.h
<<\_ACEOF
33927 #define X_DISPLAY_MISSING 1
33930 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
33932 if test -n "$x_includes"; then
33933 X_CFLAGS
="$X_CFLAGS -I$x_includes"
33936 # It would also be nice to do this for all -L options, not just this one.
33937 if test -n "$x_libraries"; then
33938 X_LIBS
="$X_LIBS -L$x_libraries"
33939 # For Solaris; some versions of Sun CC require a space after -R and
33940 # others require no space. Words are not sufficient . . . .
33941 case `(uname -sr) 2>/dev/null` in
33943 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
33944 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
33945 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
33946 cat >conftest.
$ac_ext <<_ACEOF
33949 cat confdefs.h
>>conftest.
$ac_ext
33950 cat >>conftest.
$ac_ext <<_ACEOF
33951 /* end confdefs.h. */
33961 rm -f conftest.
$ac_objext conftest
$ac_exeext
33962 if { (ac_try
="$ac_link"
33963 case "(($ac_try" in
33964 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33965 *) ac_try_echo=$ac_try;;
33967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33968 (eval "$ac_link") 2>conftest.er1
33970 grep -v '^ *+' conftest.er1 >conftest.err
33972 cat conftest.err >&5
33973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33974 (exit $ac_status); } &&
33975 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33976 { (case "(($ac_try" in
33977 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33978 *) ac_try_echo
=$ac_try;;
33980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33981 (eval "$ac_try") 2>&5
33983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33984 (exit $ac_status); }; } &&
33985 { ac_try
='test -s conftest$ac_exeext'
33986 { (case "(($ac_try" in
33987 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33988 *) ac_try_echo=$ac_try;;
33990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33991 (eval "$ac_try") 2>&5
33993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33994 (exit $ac_status); }; }; then
33997 echo "$as_me: failed program was:" >&5
33998 sed 's/^/| /' conftest.$ac_ext >&5
34003 rm -f core conftest.err conftest.$ac_objext \
34004 conftest$ac_exeext conftest.$ac_ext
34005 if test $ac_R_nospace = yes; then
34006 { echo "$as_me:$LINENO: result: no" >&5
34007 echo "${ECHO_T}no" >&6; }
34008 X_LIBS="$X_LIBS -R$x_libraries"
34010 LIBS="$ac_xsave_LIBS -R $x_libraries"
34011 cat >conftest.$ac_ext <<_ACEOF
34014 cat confdefs.h >>conftest.$ac_ext
34015 cat >>conftest.$ac_ext <<_ACEOF
34016 /* end confdefs.h. */
34026 rm -f conftest.$ac_objext conftest$ac_exeext
34027 if { (ac_try="$ac_link"
34028 case "(($ac_try" in
34029 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34030 *) ac_try_echo
=$ac_try;;
34032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34033 (eval "$ac_link") 2>conftest.er1
34035 grep -v '^ *+' conftest.er1
>conftest.err
34037 cat conftest.err
>&5
34038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34039 (exit $ac_status); } &&
34040 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34041 { (case "(($ac_try" in
34042 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34043 *) ac_try_echo=$ac_try;;
34045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34046 (eval "$ac_try") 2>&5
34048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34049 (exit $ac_status); }; } &&
34050 { ac_try='test -s conftest$ac_exeext'
34051 { (case "(($ac_try" in
34052 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34053 *) ac_try_echo
=$ac_try;;
34055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34056 (eval "$ac_try") 2>&5
34058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34059 (exit $ac_status); }; }; then
34062 echo "$as_me: failed program was:" >&5
34063 sed 's/^/| /' conftest.
$ac_ext >&5
34068 rm -f core conftest.err conftest.
$ac_objext \
34069 conftest
$ac_exeext conftest.
$ac_ext
34070 if test $ac_R_space = yes; then
34071 { echo "$as_me:$LINENO: result: yes" >&5
34072 echo "${ECHO_T}yes" >&6; }
34073 X_LIBS
="$X_LIBS -R $x_libraries"
34075 { echo "$as_me:$LINENO: result: neither works" >&5
34076 echo "${ECHO_T}neither works" >&6; }
34079 LIBS
=$ac_xsave_LIBS
34083 # Check for system-dependent libraries X programs must link with.
34084 # Do this before checking for the system-independent R6 libraries
34085 # (-lICE), since we may need -lsocket or whatever for X linking.
34087 if test "$ISC" = yes; then
34088 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
34090 # Martyn Johnson says this is needed for Ultrix, if the X
34091 # libraries were built with DECnet support. And Karl Berry says
34092 # the Alpha needs dnet_stub (dnet does not exist).
34093 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
34094 cat >conftest.
$ac_ext <<_ACEOF
34097 cat confdefs.h
>>conftest.
$ac_ext
34098 cat >>conftest.
$ac_ext <<_ACEOF
34099 /* end confdefs.h. */
34101 /* Override any GCC internal prototype to avoid an error.
34102 Use char because int might match the return type of a GCC
34103 builtin and then its argument prototype would still apply. */
34107 char XOpenDisplay ();
34111 return XOpenDisplay ();
34116 rm -f conftest.
$ac_objext conftest
$ac_exeext
34117 if { (ac_try
="$ac_link"
34118 case "(($ac_try" in
34119 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34120 *) ac_try_echo=$ac_try;;
34122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34123 (eval "$ac_link") 2>conftest.er1
34125 grep -v '^ *+' conftest.er1 >conftest.err
34127 cat conftest.err >&5
34128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34129 (exit $ac_status); } &&
34130 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34131 { (case "(($ac_try" in
34132 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34133 *) ac_try_echo
=$ac_try;;
34135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34136 (eval "$ac_try") 2>&5
34138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34139 (exit $ac_status); }; } &&
34140 { ac_try
='test -s conftest$ac_exeext'
34141 { (case "(($ac_try" in
34142 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34143 *) ac_try_echo=$ac_try;;
34145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34146 (eval "$ac_try") 2>&5
34148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34149 (exit $ac_status); }; }; then
34152 echo "$as_me: failed program was:" >&5
34153 sed 's/^/| /' conftest.$ac_ext >&5
34155 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
34156 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
34157 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
34158 echo $ECHO_N "(cached) $ECHO_C" >&6
34160 ac_check_lib_save_LIBS=$LIBS
34161 LIBS="-ldnet $LIBS"
34162 cat >conftest.$ac_ext <<_ACEOF
34165 cat confdefs.h >>conftest.$ac_ext
34166 cat >>conftest.$ac_ext <<_ACEOF
34167 /* end confdefs.h. */
34169 /* Override any GCC internal prototype to avoid an error.
34170 Use char because int might match the return type of a GCC
34171 builtin and then its argument prototype would still apply. */
34179 return dnet_ntoa ();
34184 rm -f conftest.$ac_objext conftest$ac_exeext
34185 if { (ac_try="$ac_link"
34186 case "(($ac_try" in
34187 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34188 *) ac_try_echo
=$ac_try;;
34190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34191 (eval "$ac_link") 2>conftest.er1
34193 grep -v '^ *+' conftest.er1
>conftest.err
34195 cat conftest.err
>&5
34196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34197 (exit $ac_status); } &&
34198 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34199 { (case "(($ac_try" in
34200 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34201 *) ac_try_echo=$ac_try;;
34203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34204 (eval "$ac_try") 2>&5
34206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34207 (exit $ac_status); }; } &&
34208 { ac_try='test -s conftest$ac_exeext'
34209 { (case "(($ac_try" in
34210 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34211 *) ac_try_echo
=$ac_try;;
34213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34214 (eval "$ac_try") 2>&5
34216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34217 (exit $ac_status); }; }; then
34218 ac_cv_lib_dnet_dnet_ntoa
=yes
34220 echo "$as_me: failed program was:" >&5
34221 sed 's/^/| /' conftest.
$ac_ext >&5
34223 ac_cv_lib_dnet_dnet_ntoa
=no
34226 rm -f core conftest.err conftest.
$ac_objext \
34227 conftest
$ac_exeext conftest.
$ac_ext
34228 LIBS
=$ac_check_lib_save_LIBS
34230 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
34231 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
34232 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
34233 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
34236 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
34237 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
34238 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
34239 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
34240 echo $ECHO_N "(cached) $ECHO_C" >&6
34242 ac_check_lib_save_LIBS
=$LIBS
34243 LIBS
="-ldnet_stub $LIBS"
34244 cat >conftest.
$ac_ext <<_ACEOF
34247 cat confdefs.h
>>conftest.
$ac_ext
34248 cat >>conftest.
$ac_ext <<_ACEOF
34249 /* end confdefs.h. */
34251 /* Override any GCC internal prototype to avoid an error.
34252 Use char because int might match the return type of a GCC
34253 builtin and then its argument prototype would still apply. */
34261 return dnet_ntoa ();
34266 rm -f conftest.
$ac_objext conftest
$ac_exeext
34267 if { (ac_try
="$ac_link"
34268 case "(($ac_try" in
34269 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34270 *) ac_try_echo=$ac_try;;
34272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34273 (eval "$ac_link") 2>conftest.er1
34275 grep -v '^ *+' conftest.er1 >conftest.err
34277 cat conftest.err >&5
34278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34279 (exit $ac_status); } &&
34280 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34281 { (case "(($ac_try" in
34282 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34283 *) ac_try_echo
=$ac_try;;
34285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34286 (eval "$ac_try") 2>&5
34288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34289 (exit $ac_status); }; } &&
34290 { ac_try
='test -s conftest$ac_exeext'
34291 { (case "(($ac_try" in
34292 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34293 *) ac_try_echo=$ac_try;;
34295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34296 (eval "$ac_try") 2>&5
34298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34299 (exit $ac_status); }; }; then
34300 ac_cv_lib_dnet_stub_dnet_ntoa=yes
34302 echo "$as_me: failed program was:" >&5
34303 sed 's/^/| /' conftest.$ac_ext >&5
34305 ac_cv_lib_dnet_stub_dnet_ntoa=no
34308 rm -f core conftest.err conftest.$ac_objext \
34309 conftest$ac_exeext conftest.$ac_ext
34310 LIBS=$ac_check_lib_save_LIBS
34312 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
34313 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
34314 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
34315 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
34321 rm -f core conftest.err conftest.$ac_objext \
34322 conftest$ac_exeext conftest.$ac_ext
34323 LIBS="$ac_xsave_LIBS"
34325 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
34326 # to get the SysV transport functions.
34327 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
34329 # The nsl library prevents programs from opening the X display
34330 # on Irix 5.2, according to T.E. Dickey.
34331 # The functions gethostbyname, getservbyname, and inet_addr are
34332 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
34333 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
34334 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
34335 if test "${ac_cv_func_gethostbyname+set}" = set; then
34336 echo $ECHO_N "(cached) $ECHO_C" >&6
34338 cat >conftest.$ac_ext <<_ACEOF
34341 cat confdefs.h >>conftest.$ac_ext
34342 cat >>conftest.$ac_ext <<_ACEOF
34343 /* end confdefs.h. */
34344 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
34345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34346 #define gethostbyname innocuous_gethostbyname
34348 /* System header to define __stub macros and hopefully few prototypes,
34349 which can conflict with char gethostbyname (); below.
34350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34351 <limits.h> exists even on freestanding compilers. */
34354 # include <limits.h>
34356 # include <assert.h>
34359 #undef gethostbyname
34361 /* Override any GCC internal prototype to avoid an error.
34362 Use char because int might match the return type of a GCC
34363 builtin and then its argument prototype would still apply. */
34367 char gethostbyname ();
34368 /* The GNU C library defines this for functions which it implements
34369 to always fail with ENOSYS. Some functions are actually named
34370 something starting with __ and the normal name is an alias. */
34371 #if defined __stub_gethostbyname || defined __stub___gethostbyname
34378 return gethostbyname ();
34383 rm -f conftest.$ac_objext conftest$ac_exeext
34384 if { (ac_try="$ac_link"
34385 case "(($ac_try" in
34386 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34387 *) ac_try_echo
=$ac_try;;
34389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34390 (eval "$ac_link") 2>conftest.er1
34392 grep -v '^ *+' conftest.er1
>conftest.err
34394 cat conftest.err
>&5
34395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34396 (exit $ac_status); } &&
34397 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34398 { (case "(($ac_try" in
34399 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34400 *) ac_try_echo=$ac_try;;
34402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34403 (eval "$ac_try") 2>&5
34405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34406 (exit $ac_status); }; } &&
34407 { ac_try='test -s conftest$ac_exeext'
34408 { (case "(($ac_try" in
34409 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34410 *) ac_try_echo
=$ac_try;;
34412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34413 (eval "$ac_try") 2>&5
34415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34416 (exit $ac_status); }; }; then
34417 ac_cv_func_gethostbyname
=yes
34419 echo "$as_me: failed program was:" >&5
34420 sed 's/^/| /' conftest.
$ac_ext >&5
34422 ac_cv_func_gethostbyname
=no
34425 rm -f core conftest.err conftest.
$ac_objext \
34426 conftest
$ac_exeext conftest.
$ac_ext
34428 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
34429 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
34431 if test $ac_cv_func_gethostbyname = no
; then
34432 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
34433 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
34434 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
34435 echo $ECHO_N "(cached) $ECHO_C" >&6
34437 ac_check_lib_save_LIBS
=$LIBS
34439 cat >conftest.
$ac_ext <<_ACEOF
34442 cat confdefs.h
>>conftest.
$ac_ext
34443 cat >>conftest.
$ac_ext <<_ACEOF
34444 /* end confdefs.h. */
34446 /* Override any GCC internal prototype to avoid an error.
34447 Use char because int might match the return type of a GCC
34448 builtin and then its argument prototype would still apply. */
34452 char gethostbyname ();
34456 return gethostbyname ();
34461 rm -f conftest.
$ac_objext conftest
$ac_exeext
34462 if { (ac_try
="$ac_link"
34463 case "(($ac_try" in
34464 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34465 *) ac_try_echo=$ac_try;;
34467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34468 (eval "$ac_link") 2>conftest.er1
34470 grep -v '^ *+' conftest.er1 >conftest.err
34472 cat conftest.err >&5
34473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34474 (exit $ac_status); } &&
34475 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34476 { (case "(($ac_try" in
34477 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34478 *) ac_try_echo
=$ac_try;;
34480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34481 (eval "$ac_try") 2>&5
34483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34484 (exit $ac_status); }; } &&
34485 { ac_try
='test -s conftest$ac_exeext'
34486 { (case "(($ac_try" in
34487 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34488 *) ac_try_echo=$ac_try;;
34490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34491 (eval "$ac_try") 2>&5
34493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34494 (exit $ac_status); }; }; then
34495 ac_cv_lib_nsl_gethostbyname=yes
34497 echo "$as_me: failed program was:" >&5
34498 sed 's/^/| /' conftest.$ac_ext >&5
34500 ac_cv_lib_nsl_gethostbyname=no
34503 rm -f core conftest.err conftest.$ac_objext \
34504 conftest$ac_exeext conftest.$ac_ext
34505 LIBS=$ac_check_lib_save_LIBS
34507 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
34508 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
34509 if test $ac_cv_lib_nsl_gethostbyname = yes; then
34510 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
34513 if test $ac_cv_lib_nsl_gethostbyname = no; then
34514 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
34515 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
34516 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
34517 echo $ECHO_N "(cached) $ECHO_C" >&6
34519 ac_check_lib_save_LIBS=$LIBS
34521 cat >conftest.$ac_ext <<_ACEOF
34524 cat confdefs.h >>conftest.$ac_ext
34525 cat >>conftest.$ac_ext <<_ACEOF
34526 /* end confdefs.h. */
34528 /* Override any GCC internal prototype to avoid an error.
34529 Use char because int might match the return type of a GCC
34530 builtin and then its argument prototype would still apply. */
34534 char gethostbyname ();
34538 return gethostbyname ();
34543 rm -f conftest.$ac_objext conftest$ac_exeext
34544 if { (ac_try="$ac_link"
34545 case "(($ac_try" in
34546 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34547 *) ac_try_echo
=$ac_try;;
34549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34550 (eval "$ac_link") 2>conftest.er1
34552 grep -v '^ *+' conftest.er1
>conftest.err
34554 cat conftest.err
>&5
34555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34556 (exit $ac_status); } &&
34557 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34558 { (case "(($ac_try" in
34559 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34560 *) ac_try_echo=$ac_try;;
34562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34563 (eval "$ac_try") 2>&5
34565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34566 (exit $ac_status); }; } &&
34567 { ac_try='test -s conftest$ac_exeext'
34568 { (case "(($ac_try" in
34569 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34570 *) ac_try_echo
=$ac_try;;
34572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34573 (eval "$ac_try") 2>&5
34575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34576 (exit $ac_status); }; }; then
34577 ac_cv_lib_bsd_gethostbyname
=yes
34579 echo "$as_me: failed program was:" >&5
34580 sed 's/^/| /' conftest.
$ac_ext >&5
34582 ac_cv_lib_bsd_gethostbyname
=no
34585 rm -f core conftest.err conftest.
$ac_objext \
34586 conftest
$ac_exeext conftest.
$ac_ext
34587 LIBS
=$ac_check_lib_save_LIBS
34589 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
34590 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
34591 if test $ac_cv_lib_bsd_gethostbyname = yes; then
34592 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
34598 # lieder@skyler.mavd.honeywell.com says without -lsocket,
34599 # socket/setsockopt and other routines are undefined under SCO ODT
34600 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
34601 # on later versions), says Simon Leinen: it contains gethostby*
34602 # variants that don't use the name server (or something). -lsocket
34603 # must be given before -lnsl if both are needed. We assume that
34604 # if connect needs -lnsl, so does gethostbyname.
34605 { echo "$as_me:$LINENO: checking for connect" >&5
34606 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
34607 if test "${ac_cv_func_connect+set}" = set; then
34608 echo $ECHO_N "(cached) $ECHO_C" >&6
34610 cat >conftest.
$ac_ext <<_ACEOF
34613 cat confdefs.h
>>conftest.
$ac_ext
34614 cat >>conftest.
$ac_ext <<_ACEOF
34615 /* end confdefs.h. */
34616 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
34617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34618 #define connect innocuous_connect
34620 /* System header to define __stub macros and hopefully few prototypes,
34621 which can conflict with char connect (); below.
34622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34623 <limits.h> exists even on freestanding compilers. */
34626 # include <limits.h>
34628 # include <assert.h>
34633 /* Override any GCC internal prototype to avoid an error.
34634 Use char because int might match the return type of a GCC
34635 builtin and then its argument prototype would still apply. */
34640 /* The GNU C library defines this for functions which it implements
34641 to always fail with ENOSYS. Some functions are actually named
34642 something starting with __ and the normal name is an alias. */
34643 #if defined __stub_connect || defined __stub___connect
34655 rm -f conftest.
$ac_objext conftest
$ac_exeext
34656 if { (ac_try
="$ac_link"
34657 case "(($ac_try" in
34658 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34659 *) ac_try_echo=$ac_try;;
34661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34662 (eval "$ac_link") 2>conftest.er1
34664 grep -v '^ *+' conftest.er1 >conftest.err
34666 cat conftest.err >&5
34667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34668 (exit $ac_status); } &&
34669 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34670 { (case "(($ac_try" in
34671 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34672 *) ac_try_echo
=$ac_try;;
34674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34675 (eval "$ac_try") 2>&5
34677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34678 (exit $ac_status); }; } &&
34679 { ac_try
='test -s conftest$ac_exeext'
34680 { (case "(($ac_try" in
34681 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34682 *) ac_try_echo=$ac_try;;
34684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34685 (eval "$ac_try") 2>&5
34687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34688 (exit $ac_status); }; }; then
34689 ac_cv_func_connect=yes
34691 echo "$as_me: failed program was:" >&5
34692 sed 's/^/| /' conftest.$ac_ext >&5
34694 ac_cv_func_connect=no
34697 rm -f core conftest.err conftest.$ac_objext \
34698 conftest$ac_exeext conftest.$ac_ext
34700 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
34701 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
34703 if test $ac_cv_func_connect = no; then
34704 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
34705 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
34706 if test "${ac_cv_lib_socket_connect+set}" = set; then
34707 echo $ECHO_N "(cached) $ECHO_C" >&6
34709 ac_check_lib_save_LIBS=$LIBS
34710 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
34711 cat >conftest.$ac_ext <<_ACEOF
34714 cat confdefs.h >>conftest.$ac_ext
34715 cat >>conftest.$ac_ext <<_ACEOF
34716 /* end confdefs.h. */
34718 /* Override any GCC internal prototype to avoid an error.
34719 Use char because int might match the return type of a GCC
34720 builtin and then its argument prototype would still apply. */
34733 rm -f conftest.$ac_objext conftest$ac_exeext
34734 if { (ac_try="$ac_link"
34735 case "(($ac_try" in
34736 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34737 *) ac_try_echo
=$ac_try;;
34739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34740 (eval "$ac_link") 2>conftest.er1
34742 grep -v '^ *+' conftest.er1
>conftest.err
34744 cat conftest.err
>&5
34745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34746 (exit $ac_status); } &&
34747 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34748 { (case "(($ac_try" in
34749 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34750 *) ac_try_echo=$ac_try;;
34752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34753 (eval "$ac_try") 2>&5
34755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34756 (exit $ac_status); }; } &&
34757 { ac_try='test -s conftest$ac_exeext'
34758 { (case "(($ac_try" in
34759 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34760 *) ac_try_echo
=$ac_try;;
34762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34763 (eval "$ac_try") 2>&5
34765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34766 (exit $ac_status); }; }; then
34767 ac_cv_lib_socket_connect
=yes
34769 echo "$as_me: failed program was:" >&5
34770 sed 's/^/| /' conftest.
$ac_ext >&5
34772 ac_cv_lib_socket_connect
=no
34775 rm -f core conftest.err conftest.
$ac_objext \
34776 conftest
$ac_exeext conftest.
$ac_ext
34777 LIBS
=$ac_check_lib_save_LIBS
34779 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
34780 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
34781 if test $ac_cv_lib_socket_connect = yes; then
34782 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
34787 # Guillermo Gomez says -lposix is necessary on A/UX.
34788 { echo "$as_me:$LINENO: checking for remove" >&5
34789 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
34790 if test "${ac_cv_func_remove+set}" = set; then
34791 echo $ECHO_N "(cached) $ECHO_C" >&6
34793 cat >conftest.
$ac_ext <<_ACEOF
34796 cat confdefs.h
>>conftest.
$ac_ext
34797 cat >>conftest.
$ac_ext <<_ACEOF
34798 /* end confdefs.h. */
34799 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
34800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34801 #define remove innocuous_remove
34803 /* System header to define __stub macros and hopefully few prototypes,
34804 which can conflict with char remove (); below.
34805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34806 <limits.h> exists even on freestanding compilers. */
34809 # include <limits.h>
34811 # include <assert.h>
34816 /* Override any GCC internal prototype to avoid an error.
34817 Use char because int might match the return type of a GCC
34818 builtin and then its argument prototype would still apply. */
34823 /* The GNU C library defines this for functions which it implements
34824 to always fail with ENOSYS. Some functions are actually named
34825 something starting with __ and the normal name is an alias. */
34826 #if defined __stub_remove || defined __stub___remove
34838 rm -f conftest.
$ac_objext conftest
$ac_exeext
34839 if { (ac_try
="$ac_link"
34840 case "(($ac_try" in
34841 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34842 *) ac_try_echo=$ac_try;;
34844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34845 (eval "$ac_link") 2>conftest.er1
34847 grep -v '^ *+' conftest.er1 >conftest.err
34849 cat conftest.err >&5
34850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34851 (exit $ac_status); } &&
34852 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34853 { (case "(($ac_try" in
34854 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34855 *) ac_try_echo
=$ac_try;;
34857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34858 (eval "$ac_try") 2>&5
34860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34861 (exit $ac_status); }; } &&
34862 { ac_try
='test -s conftest$ac_exeext'
34863 { (case "(($ac_try" in
34864 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34865 *) ac_try_echo=$ac_try;;
34867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34868 (eval "$ac_try") 2>&5
34870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34871 (exit $ac_status); }; }; then
34872 ac_cv_func_remove=yes
34874 echo "$as_me: failed program was:" >&5
34875 sed 's/^/| /' conftest.$ac_ext >&5
34877 ac_cv_func_remove=no
34880 rm -f core conftest.err conftest.$ac_objext \
34881 conftest$ac_exeext conftest.$ac_ext
34883 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
34884 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
34886 if test $ac_cv_func_remove = no; then
34887 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
34888 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
34889 if test "${ac_cv_lib_posix_remove+set}" = set; then
34890 echo $ECHO_N "(cached) $ECHO_C" >&6
34892 ac_check_lib_save_LIBS=$LIBS
34893 LIBS="-lposix $LIBS"
34894 cat >conftest.$ac_ext <<_ACEOF
34897 cat confdefs.h >>conftest.$ac_ext
34898 cat >>conftest.$ac_ext <<_ACEOF
34899 /* end confdefs.h. */
34901 /* Override any GCC internal prototype to avoid an error.
34902 Use char because int might match the return type of a GCC
34903 builtin and then its argument prototype would still apply. */
34916 rm -f conftest.$ac_objext conftest$ac_exeext
34917 if { (ac_try="$ac_link"
34918 case "(($ac_try" in
34919 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34920 *) ac_try_echo
=$ac_try;;
34922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34923 (eval "$ac_link") 2>conftest.er1
34925 grep -v '^ *+' conftest.er1
>conftest.err
34927 cat conftest.err
>&5
34928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34929 (exit $ac_status); } &&
34930 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34931 { (case "(($ac_try" in
34932 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34933 *) ac_try_echo=$ac_try;;
34935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34936 (eval "$ac_try") 2>&5
34938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34939 (exit $ac_status); }; } &&
34940 { ac_try='test -s conftest$ac_exeext'
34941 { (case "(($ac_try" in
34942 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34943 *) ac_try_echo
=$ac_try;;
34945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34946 (eval "$ac_try") 2>&5
34948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34949 (exit $ac_status); }; }; then
34950 ac_cv_lib_posix_remove
=yes
34952 echo "$as_me: failed program was:" >&5
34953 sed 's/^/| /' conftest.
$ac_ext >&5
34955 ac_cv_lib_posix_remove
=no
34958 rm -f core conftest.err conftest.
$ac_objext \
34959 conftest
$ac_exeext conftest.
$ac_ext
34960 LIBS
=$ac_check_lib_save_LIBS
34962 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
34963 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
34964 if test $ac_cv_lib_posix_remove = yes; then
34965 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
34970 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
34971 { echo "$as_me:$LINENO: checking for shmat" >&5
34972 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
34973 if test "${ac_cv_func_shmat+set}" = set; then
34974 echo $ECHO_N "(cached) $ECHO_C" >&6
34976 cat >conftest.
$ac_ext <<_ACEOF
34979 cat confdefs.h
>>conftest.
$ac_ext
34980 cat >>conftest.
$ac_ext <<_ACEOF
34981 /* end confdefs.h. */
34982 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
34983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34984 #define shmat innocuous_shmat
34986 /* System header to define __stub macros and hopefully few prototypes,
34987 which can conflict with char shmat (); below.
34988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34989 <limits.h> exists even on freestanding compilers. */
34992 # include <limits.h>
34994 # include <assert.h>
34999 /* Override any GCC internal prototype to avoid an error.
35000 Use char because int might match the return type of a GCC
35001 builtin and then its argument prototype would still apply. */
35006 /* The GNU C library defines this for functions which it implements
35007 to always fail with ENOSYS. Some functions are actually named
35008 something starting with __ and the normal name is an alias. */
35009 #if defined __stub_shmat || defined __stub___shmat
35021 rm -f conftest.
$ac_objext conftest
$ac_exeext
35022 if { (ac_try
="$ac_link"
35023 case "(($ac_try" in
35024 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35025 *) ac_try_echo=$ac_try;;
35027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35028 (eval "$ac_link") 2>conftest.er1
35030 grep -v '^ *+' conftest.er1 >conftest.err
35032 cat conftest.err >&5
35033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35034 (exit $ac_status); } &&
35035 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35036 { (case "(($ac_try" in
35037 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35038 *) ac_try_echo
=$ac_try;;
35040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35041 (eval "$ac_try") 2>&5
35043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35044 (exit $ac_status); }; } &&
35045 { ac_try
='test -s conftest$ac_exeext'
35046 { (case "(($ac_try" in
35047 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35048 *) ac_try_echo=$ac_try;;
35050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35051 (eval "$ac_try") 2>&5
35053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35054 (exit $ac_status); }; }; then
35055 ac_cv_func_shmat=yes
35057 echo "$as_me: failed program was:" >&5
35058 sed 's/^/| /' conftest.$ac_ext >&5
35060 ac_cv_func_shmat=no
35063 rm -f core conftest.err conftest.$ac_objext \
35064 conftest$ac_exeext conftest.$ac_ext
35066 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
35067 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
35069 if test $ac_cv_func_shmat = no; then
35070 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
35071 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
35072 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
35073 echo $ECHO_N "(cached) $ECHO_C" >&6
35075 ac_check_lib_save_LIBS=$LIBS
35077 cat >conftest.$ac_ext <<_ACEOF
35080 cat confdefs.h >>conftest.$ac_ext
35081 cat >>conftest.$ac_ext <<_ACEOF
35082 /* end confdefs.h. */
35084 /* Override any GCC internal prototype to avoid an error.
35085 Use char because int might match the return type of a GCC
35086 builtin and then its argument prototype would still apply. */
35099 rm -f conftest.$ac_objext conftest$ac_exeext
35100 if { (ac_try="$ac_link"
35101 case "(($ac_try" in
35102 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35103 *) ac_try_echo
=$ac_try;;
35105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35106 (eval "$ac_link") 2>conftest.er1
35108 grep -v '^ *+' conftest.er1
>conftest.err
35110 cat conftest.err
>&5
35111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35112 (exit $ac_status); } &&
35113 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35114 { (case "(($ac_try" in
35115 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35116 *) ac_try_echo=$ac_try;;
35118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35119 (eval "$ac_try") 2>&5
35121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35122 (exit $ac_status); }; } &&
35123 { ac_try='test -s conftest$ac_exeext'
35124 { (case "(($ac_try" in
35125 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35126 *) ac_try_echo
=$ac_try;;
35128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35129 (eval "$ac_try") 2>&5
35131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35132 (exit $ac_status); }; }; then
35133 ac_cv_lib_ipc_shmat
=yes
35135 echo "$as_me: failed program was:" >&5
35136 sed 's/^/| /' conftest.
$ac_ext >&5
35138 ac_cv_lib_ipc_shmat
=no
35141 rm -f core conftest.err conftest.
$ac_objext \
35142 conftest
$ac_exeext conftest.
$ac_ext
35143 LIBS
=$ac_check_lib_save_LIBS
35145 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
35146 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
35147 if test $ac_cv_lib_ipc_shmat = yes; then
35148 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
35154 # Check for libraries that X11R6 Xt/Xaw programs need.
35155 ac_save_LDFLAGS
=$LDFLAGS
35156 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
35157 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
35158 # check for ICE first), but we must link in the order -lSM -lICE or
35159 # we get undefined symbols. So assume we have SM if we have ICE.
35160 # These have to be linked with before -lX11, unlike the other
35161 # libraries we check for below, so use a different variable.
35162 # John Interrante, Karl Berry
35163 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
35164 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
35165 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
35166 echo $ECHO_N "(cached) $ECHO_C" >&6
35168 ac_check_lib_save_LIBS
=$LIBS
35169 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
35170 cat >conftest.
$ac_ext <<_ACEOF
35173 cat confdefs.h
>>conftest.
$ac_ext
35174 cat >>conftest.
$ac_ext <<_ACEOF
35175 /* end confdefs.h. */
35177 /* Override any GCC internal prototype to avoid an error.
35178 Use char because int might match the return type of a GCC
35179 builtin and then its argument prototype would still apply. */
35183 char IceConnectionNumber ();
35187 return IceConnectionNumber ();
35192 rm -f conftest.
$ac_objext conftest
$ac_exeext
35193 if { (ac_try
="$ac_link"
35194 case "(($ac_try" in
35195 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35196 *) ac_try_echo=$ac_try;;
35198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35199 (eval "$ac_link") 2>conftest.er1
35201 grep -v '^ *+' conftest.er1 >conftest.err
35203 cat conftest.err >&5
35204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35205 (exit $ac_status); } &&
35206 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35207 { (case "(($ac_try" in
35208 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35209 *) ac_try_echo
=$ac_try;;
35211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35212 (eval "$ac_try") 2>&5
35214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35215 (exit $ac_status); }; } &&
35216 { ac_try
='test -s conftest$ac_exeext'
35217 { (case "(($ac_try" in
35218 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35219 *) ac_try_echo=$ac_try;;
35221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35222 (eval "$ac_try") 2>&5
35224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35225 (exit $ac_status); }; }; then
35226 ac_cv_lib_ICE_IceConnectionNumber=yes
35228 echo "$as_me: failed program was:" >&5
35229 sed 's/^/| /' conftest.$ac_ext >&5
35231 ac_cv_lib_ICE_IceConnectionNumber=no
35234 rm -f core conftest.err conftest.$ac_objext \
35235 conftest$ac_exeext conftest.$ac_ext
35236 LIBS=$ac_check_lib_save_LIBS
35238 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
35239 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
35240 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
35241 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
35244 LDFLAGS=$ac_save_LDFLAGS
35249 if test "$no_x" = "yes"; then
35250 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
35251 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
35252 { (exit 1); exit 1; }; }
35255 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
35256 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
35257 AFMINSTALL=afminstall
35258 COMPILED_X_PROGRAM=0
35262 if test "$wxUSE_X11" = 1; then
35263 if test "$wxUSE_NANOX" = "yes"; then
35264 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
35265 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
35266 if test "x$MICROWIN" = x ; then
35267 { echo "$as_me:$LINENO: result: not found" >&5
35268 echo "${ECHO_T}not found" >&6; }
35269 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
35270 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
35271 { (exit 1); exit 1; }; }
35273 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
35274 echo "${ECHO_T}$MICROWIN" >&6; }
35275 cat >>confdefs.h <<\_ACEOF
35276 #define wxUSE_NANOX 1
35282 if test "$wxUSE_UNICODE" = "yes"; then
35285 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
35286 if test -n "$ac_tool_prefix"; then
35287 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
35288 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
35289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35291 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35292 echo $ECHO_N "(cached) $ECHO_C" >&6
35294 case $PKG_CONFIG in
35296 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
35299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35300 for as_dir in $PATH
35303 test -z "$as_dir" && as_dir=.
35304 for ac_exec_ext in '' $ac_executable_extensions; do
35305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
35306 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35317 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
35318 if test -n "$PKG_CONFIG"; then
35319 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35320 echo "${ECHO_T}$PKG_CONFIG" >&6; }
35322 { echo "$as_me:$LINENO: result: no" >&5
35323 echo "${ECHO_T}no" >&6; }
35328 if test -z "$ac_cv_path_PKG_CONFIG"; then
35329 ac_pt_PKG_CONFIG=$PKG_CONFIG
35330 # Extract the first word of "pkg-config", so it can be a program name with args.
35331 set dummy pkg-config; ac_word=$2
35332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35334 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35335 echo $ECHO_N "(cached) $ECHO_C" >&6
35337 case $ac_pt_PKG_CONFIG in
35339 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35343 for as_dir in $PATH
35346 test -z "$as_dir" && as_dir=.
35347 for ac_exec_ext in '' $ac_executable_extensions; do
35348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
35349 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35360 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
35361 if test -n "$ac_pt_PKG_CONFIG"; then
35362 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35363 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
35365 { echo "$as_me:$LINENO: result: no" >&5
35366 echo "${ECHO_T}no" >&6; }
35369 if test "x$ac_pt_PKG_CONFIG" = x; then
35372 case $cross_compiling:$ac_tool_warned in
35374 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
35375 whose name does not start with the host triplet. If you think this
35376 configuration is useful to you, please write to autoconf@gnu.org." >&5
35377 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
35378 whose name does not start with the host triplet. If you think this
35379 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
35380 ac_tool_warned=yes ;;
35382 PKG_CONFIG=$ac_pt_PKG_CONFIG
35385 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
35389 if test -n "$PKG_CONFIG"; then
35390 _pkg_min_version=0.9.0
35391 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35392 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
35393 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35394 { echo "$as_me:$LINENO: result: yes" >&5
35395 echo "${ECHO_T}yes" >&6; }
35397 { echo "$as_me:$LINENO: result: no" >&5
35398 echo "${ECHO_T}no" >&6; }
35406 { echo "$as_me:$LINENO: checking for PANGOX" >&5
35407 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
35409 if test -n "$PKG_CONFIG"; then
35410 if test -n "$PANGOX_CFLAGS"; then
35411 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
35413 if test -n "$PKG_CONFIG" && \
35414 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
35415 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
35417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35418 (exit $ac_status); }; then
35419 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev
/null
`
35427 if test -n "$PKG_CONFIG"; then
35428 if test -n "$PANGOX_LIBS"; then
35429 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
35431 if test -n "$PKG_CONFIG" && \
35432 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
35433 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
35435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35436 (exit $ac_status); }; then
35437 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev
/null
`
35448 if test $pkg_failed = yes; then
35450 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35451 _pkg_short_errors_supported=yes
35453 _pkg_short_errors_supported=no
35455 if test $_pkg_short_errors_supported = yes; then
35456 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
35458 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
35460 # Put the nasty error message in config.log where it belongs
35461 echo "$PANGOX_PKG_ERRORS" >&5
35464 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
35465 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
35466 { (exit 1); exit 1; }; }
35469 elif test $pkg_failed = untried; then
35471 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
35472 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
35473 { (exit 1); exit 1; }; }
35477 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
35478 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
35479 { echo "$as_me:$LINENO: result: yes" >&5
35480 echo "${ECHO_T}yes" >&6; }
35482 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
35483 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
35484 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
35489 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
35490 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
35492 if test -n "$PKG_CONFIG"; then
35493 if test -n "$PANGOFT2_CFLAGS"; then
35494 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
35496 if test -n "$PKG_CONFIG" && \
35497 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
35498 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
35500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35501 (exit $ac_status); }; then
35502 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev
/null
`
35510 if test -n "$PKG_CONFIG"; then
35511 if test -n "$PANGOFT2_LIBS"; then
35512 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
35514 if test -n "$PKG_CONFIG" && \
35515 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
35516 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
35518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35519 (exit $ac_status); }; then
35520 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev
/null
`
35531 if test $pkg_failed = yes; then
35533 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35534 _pkg_short_errors_supported=yes
35536 _pkg_short_errors_supported=no
35538 if test $_pkg_short_errors_supported = yes; then
35539 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
35541 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
35543 # Put the nasty error message in config.log where it belongs
35544 echo "$PANGOFT2_PKG_ERRORS" >&5
35547 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
35548 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
35549 wxUSE_PRINTING_ARCHITECTURE="no"
35552 elif test $pkg_failed = untried; then
35554 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
35555 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
35556 wxUSE_PRINTING_ARCHITECTURE="no"
35560 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
35561 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
35562 { echo "$as_me:$LINENO: result: yes" >&5
35563 echo "${ECHO_T}yes" >&6; }
35565 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
35566 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
35567 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
35572 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
35573 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
35575 if test -n "$PKG_CONFIG"; then
35576 if test -n "$PANGOXFT_CFLAGS"; then
35577 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
35579 if test -n "$PKG_CONFIG" && \
35580 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
35581 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
35583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35584 (exit $ac_status); }; then
35585 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev
/null
`
35593 if test -n "$PKG_CONFIG"; then
35594 if test -n "$PANGOXFT_LIBS"; then
35595 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
35597 if test -n "$PKG_CONFIG" && \
35598 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
35599 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
35601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35602 (exit $ac_status); }; then
35603 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev
/null
`
35614 if test $pkg_failed = yes; then
35616 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35617 _pkg_short_errors_supported=yes
35619 _pkg_short_errors_supported=no
35621 if test $_pkg_short_errors_supported = yes; then
35622 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
35624 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
35626 # Put the nasty error message in config.log where it belongs
35627 echo "$PANGOXFT_PKG_ERRORS" >&5
35630 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
35631 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
35634 elif test $pkg_failed = untried; then
35636 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
35637 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
35641 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
35642 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
35643 { echo "$as_me:$LINENO: result: yes" >&5
35644 echo "${ECHO_T}yes" >&6; }
35646 cat >>confdefs.h <<\_ACEOF
35647 #define HAVE_PANGO_XFT 1
35650 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
35651 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
35652 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
35656 LIBS="$LIBS $PANGOX_LIBS"
35658 for ac_func in pango_font_family_is_monospace
35660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35661 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35663 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35664 echo $ECHO_N "(cached) $ECHO_C" >&6
35666 cat >conftest.$ac_ext <<_ACEOF
35669 cat confdefs.h >>conftest.$ac_ext
35670 cat >>conftest.$ac_ext <<_ACEOF
35671 /* end confdefs.h. */
35672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35674 #define $ac_func innocuous_$ac_func
35676 /* System header to define __stub macros and hopefully few prototypes,
35677 which can conflict with char $ac_func (); below.
35678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35679 <limits.h> exists even on freestanding compilers. */
35682 # include <limits.h>
35684 # include <assert.h>
35689 /* Override any GCC internal prototype to avoid an error.
35690 Use char because int might match the return type of a GCC
35691 builtin and then its argument prototype would still apply. */
35696 /* The GNU C library defines this for functions which it implements
35697 to always fail with ENOSYS. Some functions are actually named
35698 something starting with __ and the normal name is an alias. */
35699 #if defined __stub_$ac_func || defined __stub___$ac_func
35706 return $ac_func ();
35711 rm -f conftest.$ac_objext conftest$ac_exeext
35712 if { (ac_try="$ac_link"
35713 case "(($ac_try" in
35714 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35715 *) ac_try_echo
=$ac_try;;
35717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35718 (eval "$ac_link") 2>conftest.er1
35720 grep -v '^ *+' conftest.er1
>conftest.err
35722 cat conftest.err
>&5
35723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35724 (exit $ac_status); } &&
35725 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35726 { (case "(($ac_try" in
35727 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35728 *) ac_try_echo=$ac_try;;
35730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35731 (eval "$ac_try") 2>&5
35733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35734 (exit $ac_status); }; } &&
35735 { ac_try='test -s conftest$ac_exeext'
35736 { (case "(($ac_try" in
35737 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35738 *) ac_try_echo
=$ac_try;;
35740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35741 (eval "$ac_try") 2>&5
35743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35744 (exit $ac_status); }; }; then
35745 eval "$as_ac_var=yes"
35747 echo "$as_me: failed program was:" >&5
35748 sed 's/^/| /' conftest.
$ac_ext >&5
35750 eval "$as_ac_var=no"
35753 rm -f core conftest.err conftest.
$ac_objext \
35754 conftest
$ac_exeext conftest.
$ac_ext
35756 ac_res
=`eval echo '${'$as_ac_var'}'`
35757 { echo "$as_me:$LINENO: result: $ac_res" >&5
35758 echo "${ECHO_T}$ac_res" >&6; }
35759 if test `eval echo '${'$as_ac_var'}'` = yes; then
35760 cat >>confdefs.h
<<_ACEOF
35761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35770 wxUSE_UNIVERSAL
="yes"
35772 if test "$wxUSE_NANOX" = "yes"; then
35773 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
35774 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"
35775 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
35777 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
35784 if test "$wxUSE_MOTIF" = 1; then
35785 if test "$wxUSE_UNICODE" = "yes"; then
35786 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
35787 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
35788 { (exit 1); exit 1; }; }
35791 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
35792 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
35795 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
35797 if test -f "$ac_dir/Xm/Xm.h"; then
35798 ac_find_includes
=$ac_dir
35803 if test "$ac_find_includes" != "" ; then
35804 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35805 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35807 if test "x$ac_find_includes" = "x/usr/include"; then
35808 ac_path_to_include
=""
35810 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
35812 if test $result = 0; then
35813 ac_path_to_include
=""
35815 ac_path_to_include
=" -I$ac_find_includes"
35819 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
35821 save_CFLAGS
=$CFLAGS
35822 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
35824 cat >conftest.
$ac_ext <<_ACEOF
35827 cat confdefs.h
>>conftest.
$ac_ext
35828 cat >>conftest.
$ac_ext <<_ACEOF
35829 /* end confdefs.h. */
35838 version = xmUseVersion;
35844 rm -f conftest.
$ac_objext
35845 if { (ac_try
="$ac_compile"
35846 case "(($ac_try" in
35847 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35848 *) ac_try_echo=$ac_try;;
35850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35851 (eval "$ac_compile") 2>conftest.er1
35853 grep -v '^ *+' conftest.er1 >conftest.err
35855 cat conftest.err >&5
35856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35857 (exit $ac_status); } &&
35858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35859 { (case "(($ac_try" in
35860 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35861 *) ac_try_echo
=$ac_try;;
35863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35864 (eval "$ac_try") 2>&5
35866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35867 (exit $ac_status); }; } &&
35868 { ac_try
='test -s conftest.$ac_objext'
35869 { (case "(($ac_try" in
35870 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35871 *) ac_try_echo=$ac_try;;
35873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35874 (eval "$ac_try") 2>&5
35876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35877 (exit $ac_status); }; }; then
35879 { echo "$as_me:$LINENO: result: found in default search path" >&5
35880 echo "${ECHO_T}found in default search path" >&6; }
35881 COMPILED_X_PROGRAM=1
35884 echo "$as_me: failed program was:" >&5
35885 sed 's/^/| /' conftest.$ac_ext >&5
35888 { echo "$as_me:$LINENO: result: no" >&5
35889 echo "${ECHO_T}no" >&6; }
35890 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
35891 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
35892 { (exit 1); exit 1; }; }
35897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35899 CFLAGS=$save_CFLAGS
35903 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
35904 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
35907 for ac_dir in $SEARCH_LIB;
35909 for ac_extension in a so sl dylib dll.a; do
35910 if test -f "$ac_dir/libXm.$ac_extension"; then
35911 ac_find_libraries=$ac_dir
35918 if test "x$ac_find_libraries" != "x" ; then
35919 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35920 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35923 if test "$ac_find_libraries" = "default location"; then
35926 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
35928 if test $result = 0; then
35931 ac_path_to_link=" -L$ac_find_libraries"
35935 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
35937 save_CFLAGS=$CFLAGS
35938 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
35940 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
35942 cat >conftest.$ac_ext <<_ACEOF
35945 cat confdefs.h >>conftest.$ac_ext
35946 cat >>conftest.$ac_ext <<_ACEOF
35947 /* end confdefs.h. */
35956 version = xmUseVersion;
35962 rm -f conftest.$ac_objext conftest$ac_exeext
35963 if { (ac_try="$ac_link"
35964 case "(($ac_try" in
35965 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35966 *) ac_try_echo
=$ac_try;;
35968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35969 (eval "$ac_link") 2>conftest.er1
35971 grep -v '^ *+' conftest.er1
>conftest.err
35973 cat conftest.err
>&5
35974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35975 (exit $ac_status); } &&
35976 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35977 { (case "(($ac_try" in
35978 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35979 *) ac_try_echo=$ac_try;;
35981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35982 (eval "$ac_try") 2>&5
35984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35985 (exit $ac_status); }; } &&
35986 { ac_try='test -s conftest$ac_exeext'
35987 { (case "(($ac_try" in
35988 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35989 *) ac_try_echo
=$ac_try;;
35991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35992 (eval "$ac_try") 2>&5
35994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35995 (exit $ac_status); }; }; then
35997 { echo "$as_me:$LINENO: result: found in default search path" >&5
35998 echo "${ECHO_T}found in default search path" >&6; }
35999 COMPILED_X_PROGRAM
=1
36002 echo "$as_me: failed program was:" >&5
36003 sed 's/^/| /' conftest.
$ac_ext >&5
36006 { echo "$as_me:$LINENO: result: no" >&5
36007 echo "${ECHO_T}no" >&6; }
36008 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
36009 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
36010 { (exit 1); exit 1; }; }
36015 rm -f core conftest.err conftest.
$ac_objext \
36016 conftest
$ac_exeext conftest.
$ac_ext
36018 CFLAGS
=$save_CFLAGS
36022 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
36023 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
36027 for libp
in "" " -lXp"; do
36028 if test "$libs_found" = "0"; then
36029 for libsm_ice
in "" " -lSM -lICE"; do
36030 if test "$libs_found" = "0"; then
36032 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
36033 save_CFLAGS
=$CFLAGS
36034 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
36036 cat >conftest.
$ac_ext <<_ACEOF
36039 cat confdefs.h
>>conftest.
$ac_ext
36040 cat >>conftest.
$ac_ext <<_ACEOF
36041 /* end confdefs.h. */
36044 #include <Xm/List.h>
36050 XmString string = NULL;
36053 XmListAddItem(w, string, position);
36059 rm -f conftest.
$ac_objext conftest
$ac_exeext
36060 if { (ac_try
="$ac_link"
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_link") 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 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36074 { (case "(($ac_try" in
36075 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36076 *) ac_try_echo
=$ac_try;;
36078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36079 (eval "$ac_try") 2>&5
36081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36082 (exit $ac_status); }; } &&
36083 { ac_try
='test -s conftest$ac_exeext'
36084 { (case "(($ac_try" in
36085 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36086 *) ac_try_echo=$ac_try;;
36088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36089 (eval "$ac_try") 2>&5
36091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36092 (exit $ac_status); }; }; then
36095 libsm_ice_link="$libsm_ice"
36096 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
36097 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
36101 echo "$as_me: failed program was:" >&5
36102 sed 's/^/| /' conftest.$ac_ext >&5
36108 rm -f core conftest.err conftest.$ac_objext \
36109 conftest$ac_exeext conftest.$ac_ext
36112 CFLAGS=$save_CFLAGS
36118 if test "$libs_found" = "0"; then
36119 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
36120 echo "${ECHO_T}can't find the right libraries" >&6; }
36121 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
36122 echo "$as_me: error: can't link a simple motif program" >&2;}
36123 { (exit 1); exit 1; }; }
36126 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
36127 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
36128 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
36129 echo $ECHO_N "(cached) $ECHO_C" >&6
36131 ac_check_lib_save_LIBS=$LIBS
36133 cat >conftest.$ac_ext <<_ACEOF
36136 cat confdefs.h >>conftest.$ac_ext
36137 cat >>conftest.$ac_ext <<_ACEOF
36138 /* end confdefs.h. */
36140 /* Override any GCC internal prototype to avoid an error.
36141 Use char because int might match the return type of a GCC
36142 builtin and then its argument prototype would still apply. */
36146 char SgCreateList ();
36150 return SgCreateList ();
36155 rm -f conftest.$ac_objext conftest$ac_exeext
36156 if { (ac_try="$ac_link"
36157 case "(($ac_try" in
36158 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36159 *) ac_try_echo
=$ac_try;;
36161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36162 (eval "$ac_link") 2>conftest.er1
36164 grep -v '^ *+' conftest.er1
>conftest.err
36166 cat conftest.err
>&5
36167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36168 (exit $ac_status); } &&
36169 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36170 { (case "(($ac_try" in
36171 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36172 *) ac_try_echo=$ac_try;;
36174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36175 (eval "$ac_try") 2>&5
36177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36178 (exit $ac_status); }; } &&
36179 { ac_try='test -s conftest$ac_exeext'
36180 { (case "(($ac_try" in
36181 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36182 *) ac_try_echo
=$ac_try;;
36184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36185 (eval "$ac_try") 2>&5
36187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36188 (exit $ac_status); }; }; then
36189 ac_cv_lib_Sgm_SgCreateList
=yes
36191 echo "$as_me: failed program was:" >&5
36192 sed 's/^/| /' conftest.
$ac_ext >&5
36194 ac_cv_lib_Sgm_SgCreateList
=no
36197 rm -f core conftest.err conftest.
$ac_objext \
36198 conftest
$ac_exeext conftest.
$ac_ext
36199 LIBS
=$ac_check_lib_save_LIBS
36201 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
36202 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
36203 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
36204 libsgm_link
=" -lSgm"
36208 save_CFLAGS
=$CFLAGS
36209 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
36211 { echo "$as_me:$LINENO: checking for Motif 2" >&5
36212 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
36213 if test "${wx_cv_lib_motif2+set}" = set; then
36214 echo $ECHO_N "(cached) $ECHO_C" >&6
36216 cat >conftest.
$ac_ext <<_ACEOF
36219 cat confdefs.h
>>conftest.
$ac_ext
36220 cat >>conftest.
$ac_ext <<_ACEOF
36221 /* end confdefs.h. */
36229 #if XmVersion < 2000
36237 rm -f conftest.
$ac_objext
36238 if { (ac_try
="$ac_compile"
36239 case "(($ac_try" in
36240 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36241 *) ac_try_echo=$ac_try;;
36243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36244 (eval "$ac_compile") 2>conftest.er1
36246 grep -v '^ *+' conftest.er1 >conftest.err
36248 cat conftest.err >&5
36249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36250 (exit $ac_status); } &&
36251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36252 { (case "(($ac_try" in
36253 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36254 *) ac_try_echo
=$ac_try;;
36256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36257 (eval "$ac_try") 2>&5
36259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36260 (exit $ac_status); }; } &&
36261 { ac_try
='test -s conftest.$ac_objext'
36262 { (case "(($ac_try" in
36263 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36264 *) ac_try_echo=$ac_try;;
36266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36267 (eval "$ac_try") 2>&5
36269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36270 (exit $ac_status); }; }; then
36271 wx_cv_lib_motif2="yes"
36273 echo "$as_me: failed program was:" >&5
36274 sed 's/^/| /' conftest.$ac_ext >&5
36276 wx_cv_lib_motif2="no"
36279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36281 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
36282 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
36283 if test "$wx_cv_lib_motif2" = "yes"; then
36284 cat >>confdefs.h <<\_ACEOF
36285 #define __WXMOTIF20__ 1
36289 cat >>confdefs.h <<\_ACEOF
36290 #define __WXMOTIF20__ 0
36295 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
36296 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
36297 if test "${wx_cv_lib_lesstif+set}" = set; then
36298 echo $ECHO_N "(cached) $ECHO_C" >&6
36300 cat >conftest.$ac_ext <<_ACEOF
36303 cat confdefs.h >>conftest.$ac_ext
36304 cat >>conftest.$ac_ext <<_ACEOF
36305 /* end confdefs.h. */
36313 #if !defined(LesstifVersion) || LesstifVersion <= 0
36321 rm -f conftest.$ac_objext
36322 if { (ac_try="$ac_compile"
36323 case "(($ac_try" in
36324 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36325 *) ac_try_echo
=$ac_try;;
36327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36328 (eval "$ac_compile") 2>conftest.er1
36330 grep -v '^ *+' conftest.er1
>conftest.err
36332 cat conftest.err
>&5
36333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36334 (exit $ac_status); } &&
36335 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36336 { (case "(($ac_try" in
36337 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36338 *) ac_try_echo=$ac_try;;
36340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36341 (eval "$ac_try") 2>&5
36343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36344 (exit $ac_status); }; } &&
36345 { ac_try='test -s conftest.$ac_objext'
36346 { (case "(($ac_try" in
36347 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36348 *) ac_try_echo
=$ac_try;;
36350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36351 (eval "$ac_try") 2>&5
36353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36354 (exit $ac_status); }; }; then
36355 wx_cv_lib_lesstif
="yes"
36357 echo "$as_me: failed program was:" >&5
36358 sed 's/^/| /' conftest.
$ac_ext >&5
36360 wx_cv_lib_lesstif
="no"
36363 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36366 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
36367 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
36368 if test "$wx_cv_lib_lesstif" = "yes"; then
36369 cat >>confdefs.h
<<\_ACEOF
36370 #define __WXLESSTIF__ 1
36374 cat >>confdefs.h
<<\_ACEOF
36375 #define __WXLESSTIF__ 0
36380 CFLAGS
=$save_CFLAGS
36382 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
36387 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
36388 if test "$wxUSE_LIBXPM" = "sys"; then
36389 { echo "$as_me:$LINENO: checking for Xpm library" >&5
36390 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
36393 for ac_dir
in $SEARCH_LIB;
36395 for ac_extension
in a so sl dylib dll.a
; do
36396 if test -f "$ac_dir/libXpm.$ac_extension"; then
36397 ac_find_libraries
=$ac_dir
36403 if test "$ac_find_libraries" != "" ; then
36405 if test "$ac_find_libraries" = "default location"; then
36408 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
36410 if test $result = 0; then
36413 ac_path_to_link
=" -L$ac_find_libraries"
36417 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
36418 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
36419 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
36421 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
36422 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
36423 if test "${wx_cv_x11_xpm_h+set}" = set; then
36424 echo $ECHO_N "(cached) $ECHO_C" >&6
36427 save_CFLAGS
=$CFLAGS
36428 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
36430 cat >conftest.
$ac_ext <<_ACEOF
36433 cat confdefs.h
>>conftest.
$ac_ext
36434 cat >>conftest.
$ac_ext <<_ACEOF
36435 /* end confdefs.h. */
36437 #include <X11/xpm.h>
36444 version = XpmLibraryVersion();
36450 rm -f conftest.
$ac_objext
36451 if { (ac_try
="$ac_compile"
36452 case "(($ac_try" in
36453 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36454 *) ac_try_echo=$ac_try;;
36456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36457 (eval "$ac_compile") 2>conftest.er1
36459 grep -v '^ *+' conftest.er1 >conftest.err
36461 cat conftest.err >&5
36462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36463 (exit $ac_status); } &&
36464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36465 { (case "(($ac_try" in
36466 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36467 *) ac_try_echo
=$ac_try;;
36469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36470 (eval "$ac_try") 2>&5
36472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36473 (exit $ac_status); }; } &&
36474 { ac_try
='test -s conftest.$ac_objext'
36475 { (case "(($ac_try" in
36476 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36477 *) ac_try_echo=$ac_try;;
36479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36480 (eval "$ac_try") 2>&5
36482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36483 (exit $ac_status); }; }; then
36484 wx_cv_x11_xpm_h=yes
36486 echo "$as_me: failed program was:" >&5
36487 sed 's/^/| /' conftest.$ac_ext >&5
36493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36495 CFLAGS=$save_CFLAGS
36499 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
36500 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
36502 if test $wx_cv_x11_xpm_h = "yes"; then
36503 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
36504 cat >>confdefs.h <<\_ACEOF
36505 #define wxHAVE_LIB_XPM 1
36509 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
36510 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
36516 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
36517 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
36518 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
36519 echo $ECHO_N "(cached) $ECHO_C" >&6
36521 ac_check_lib_save_LIBS=$LIBS
36522 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
36523 cat >conftest.$ac_ext <<_ACEOF
36526 cat confdefs.h >>conftest.$ac_ext
36527 cat >>conftest.$ac_ext <<_ACEOF
36528 /* end confdefs.h. */
36530 /* Override any GCC internal prototype to avoid an error.
36531 Use char because int might match the return type of a GCC
36532 builtin and then its argument prototype would still apply. */
36536 char XShapeQueryExtension ();
36540 return XShapeQueryExtension ();
36545 rm -f conftest.$ac_objext conftest$ac_exeext
36546 if { (ac_try="$ac_link"
36547 case "(($ac_try" in
36548 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36549 *) ac_try_echo
=$ac_try;;
36551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36552 (eval "$ac_link") 2>conftest.er1
36554 grep -v '^ *+' conftest.er1
>conftest.err
36556 cat conftest.err
>&5
36557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36558 (exit $ac_status); } &&
36559 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36560 { (case "(($ac_try" in
36561 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36562 *) ac_try_echo=$ac_try;;
36564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36565 (eval "$ac_try") 2>&5
36567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36568 (exit $ac_status); }; } &&
36569 { ac_try='test -s conftest$ac_exeext'
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_try") 2>&5
36577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36578 (exit $ac_status); }; }; then
36579 ac_cv_lib_Xext_XShapeQueryExtension
=yes
36581 echo "$as_me: failed program was:" >&5
36582 sed 's/^/| /' conftest.
$ac_ext >&5
36584 ac_cv_lib_Xext_XShapeQueryExtension
=no
36587 rm -f core conftest.err conftest.
$ac_objext \
36588 conftest
$ac_exeext conftest.
$ac_ext
36589 LIBS
=$ac_check_lib_save_LIBS
36591 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
36592 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
36593 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
36595 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
36601 if test "$wxHAVE_XEXT_LIB" = 1; then
36602 save_CFLAGS
="$CFLAGS"
36603 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
36605 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
36606 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
36607 cat >conftest.
$ac_ext <<_ACEOF
36610 cat confdefs.h
>>conftest.
$ac_ext
36611 cat >>conftest.
$ac_ext <<_ACEOF
36612 /* end confdefs.h. */
36614 #include <X11/Xlib.h>
36615 #include <X11/extensions/shape.h>
36621 int dummy1, dummy2;
36622 XShapeQueryExtension((Display*)NULL,
36623 (int*)NULL, (int*)NULL);
36629 rm -f conftest.
$ac_objext
36630 if { (ac_try
="$ac_compile"
36631 case "(($ac_try" in
36632 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36633 *) ac_try_echo=$ac_try;;
36635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36636 (eval "$ac_compile") 2>conftest.er1
36638 grep -v '^ *+' conftest.er1 >conftest.err
36640 cat conftest.err >&5
36641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36642 (exit $ac_status); } &&
36643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36644 { (case "(($ac_try" in
36645 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36646 *) ac_try_echo
=$ac_try;;
36648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36649 (eval "$ac_try") 2>&5
36651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36652 (exit $ac_status); }; } &&
36653 { ac_try
='test -s conftest.$ac_objext'
36654 { (case "(($ac_try" in
36655 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36656 *) ac_try_echo=$ac_try;;
36658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36659 (eval "$ac_try") 2>&5
36661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36662 (exit $ac_status); }; }; then
36664 cat >>confdefs.h <<\_ACEOF
36665 #define HAVE_XSHAPE 1
36668 { echo "$as_me:$LINENO: result: found" >&5
36669 echo "${ECHO_T}found" >&6; }
36672 echo "$as_me: failed program was:" >&5
36673 sed 's/^/| /' conftest.$ac_ext >&5
36676 { echo "$as_me:$LINENO: result: not found" >&5
36677 echo "${ECHO_T}not found" >&6; }
36681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36682 CFLAGS="$save_CFLAGS"
36687 if test "$wxUSE_MAC" = 1; then
36688 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
36689 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
36690 if test "$GCC" = yes; then
36691 { echo "$as_me:$LINENO: result: gcc" >&5
36692 echo "${ECHO_T}gcc" >&6; }
36693 CPPFLAGS_PASCAL="-fpascal-strings"
36694 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
36695 { echo "$as_me:$LINENO: result: xlc" >&5
36696 echo "${ECHO_T}xlc" >&6; }
36697 CPPFLAGS_PASCAL="-qmacpstr"
36699 { echo "$as_me:$LINENO: result: none" >&5
36700 echo "${ECHO_T}none" >&6; }
36703 if test "x$wxUSE_UNIX" = "xyes"; then
36704 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
36706 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
36711 WXBASEPORT="_carbon"
36714 if test "$wxUSE_COCOA" = 1; then
36719 if test "$wxUSE_PM" = 1; then
36722 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
36723 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
36724 if test "${wx_cv_spbcdata+set}" = set; then
36725 echo $ECHO_N "(cached) $ECHO_C" >&6
36728 cat >conftest.$ac_ext <<_ACEOF
36731 cat confdefs.h >>conftest.$ac_ext
36732 cat >>conftest.$ac_ext <<_ACEOF
36733 /* end confdefs.h. */
36748 rm -f conftest.$ac_objext
36749 if { (ac_try="$ac_compile"
36750 case "(($ac_try" in
36751 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36752 *) ac_try_echo
=$ac_try;;
36754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36755 (eval "$ac_compile") 2>conftest.er1
36757 grep -v '^ *+' conftest.er1
>conftest.err
36759 cat conftest.err
>&5
36760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36761 (exit $ac_status); } &&
36762 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36763 { (case "(($ac_try" in
36764 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36765 *) ac_try_echo=$ac_try;;
36767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36768 (eval "$ac_try") 2>&5
36770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36771 (exit $ac_status); }; } &&
36772 { ac_try='test -s conftest.$ac_objext'
36773 { (case "(($ac_try" in
36774 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36775 *) ac_try_echo
=$ac_try;;
36777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36778 (eval "$ac_try") 2>&5
36780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36781 (exit $ac_status); }; }; then
36784 echo "$as_me: failed program was:" >&5
36785 sed 's/^/| /' conftest.
$ac_ext >&5
36791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36795 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
36796 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
36798 if test $wx_cv_spbcdata = "yes"; then
36799 cat >>confdefs.h
<<\_ACEOF
36800 #define HAVE_SPBCDATA 1
36806 if test "$TOOLKIT" = "PM" ; then
36809 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
36812 if test "$wxUSE_UNIVERSAL" = "yes"; then
36813 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
36817 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
36818 DISTDIR
="wx\$(TOOLKIT)"
36824 if test "$USE_WIN32" = 1 ; then
36828 GUIDIST
="BASE_DIST"
36833 if test "$wxUSE_GUI" = "yes"; then
36834 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
36836 for ac_header
in X
11/Xlib.h
36838 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36839 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36840 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36842 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36843 echo $ECHO_N "(cached) $ECHO_C" >&6
36845 ac_res
=`eval echo '${'$as_ac_Header'}'`
36846 { echo "$as_me:$LINENO: result: $ac_res" >&5
36847 echo "${ECHO_T}$ac_res" >&6; }
36849 # Is the header compilable?
36850 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
36851 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
36852 cat >conftest.
$ac_ext <<_ACEOF
36855 cat confdefs.h
>>conftest.
$ac_ext
36856 cat >>conftest.
$ac_ext <<_ACEOF
36857 /* end confdefs.h. */
36858 $ac_includes_default
36859 #include <$ac_header>
36861 rm -f conftest.
$ac_objext
36862 if { (ac_try
="$ac_compile"
36863 case "(($ac_try" in
36864 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36865 *) ac_try_echo=$ac_try;;
36867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36868 (eval "$ac_compile") 2>conftest.er1
36870 grep -v '^ *+' conftest.er1 >conftest.err
36872 cat conftest.err >&5
36873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36874 (exit $ac_status); } &&
36875 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36876 { (case "(($ac_try" in
36877 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36878 *) ac_try_echo
=$ac_try;;
36880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36881 (eval "$ac_try") 2>&5
36883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36884 (exit $ac_status); }; } &&
36885 { ac_try
='test -s conftest.$ac_objext'
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_try") 2>&5
36893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36894 (exit $ac_status); }; }; then
36895 ac_header_compiler=yes
36897 echo "$as_me: failed program was:" >&5
36898 sed 's/^/| /' conftest.$ac_ext >&5
36900 ac_header_compiler=no
36903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36904 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36905 echo "${ECHO_T}$ac_header_compiler" >&6; }
36907 # Is the header present?
36908 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
36909 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
36910 cat >conftest.$ac_ext <<_ACEOF
36913 cat confdefs.h >>conftest.$ac_ext
36914 cat >>conftest.$ac_ext <<_ACEOF
36915 /* end confdefs.h. */
36916 #include <$ac_header>
36918 if { (ac_try="$ac_cpp conftest.$ac_ext"
36919 case "(($ac_try" in
36920 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36921 *) ac_try_echo
=$ac_try;;
36923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36924 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
36926 grep -v '^ *+' conftest.er1
>conftest.err
36928 cat conftest.err
>&5
36929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36930 (exit $ac_status); } >/dev
/null
; then
36931 if test -s conftest.err
; then
36932 ac_cpp_err
=$ac_c_preproc_warn_flag
36933 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36940 if test -z "$ac_cpp_err"; then
36941 ac_header_preproc
=yes
36943 echo "$as_me: failed program was:" >&5
36944 sed 's/^/| /' conftest.
$ac_ext >&5
36946 ac_header_preproc
=no
36949 rm -f conftest.err conftest.
$ac_ext
36950 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36951 echo "${ECHO_T}$ac_header_preproc" >&6; }
36953 # So? What about this header?
36954 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36956 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36957 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36958 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36959 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36960 ac_header_preproc
=yes
36963 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36964 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36965 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36966 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36967 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36968 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36969 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36970 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36971 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36972 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36973 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36974 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36976 ## ----------------------------------------- ##
36977 ## Report this to wx-dev@lists.wxwidgets.org ##
36978 ## ----------------------------------------- ##
36980 ) | sed "s/^/$as_me: WARNING: /" >&2
36983 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36984 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36985 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36986 echo $ECHO_N "(cached) $ECHO_C" >&6
36988 eval "$as_ac_Header=\$ac_header_preproc"
36990 ac_res
=`eval echo '${'$as_ac_Header'}'`
36991 { echo "$as_me:$LINENO: result: $ac_res" >&5
36992 echo "${ECHO_T}$ac_res" >&6; }
36995 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36996 cat >>confdefs.h
<<_ACEOF
36997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37005 for ac_header
in X
11/XKBlib.h
37007 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37008 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37010 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37011 echo $ECHO_N "(cached) $ECHO_C" >&6
37013 cat >conftest.
$ac_ext <<_ACEOF
37016 cat confdefs.h
>>conftest.
$ac_ext
37017 cat >>conftest.
$ac_ext <<_ACEOF
37018 /* end confdefs.h. */
37020 #if HAVE_X11_XLIB_H
37021 #include <X11/Xlib.h>
37025 #include <$ac_header>
37027 rm -f conftest.
$ac_objext
37028 if { (ac_try
="$ac_compile"
37029 case "(($ac_try" in
37030 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37031 *) ac_try_echo=$ac_try;;
37033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37034 (eval "$ac_compile") 2>conftest.er1
37036 grep -v '^ *+' conftest.er1 >conftest.err
37038 cat conftest.err >&5
37039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37040 (exit $ac_status); } &&
37041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37042 { (case "(($ac_try" in
37043 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37044 *) ac_try_echo
=$ac_try;;
37046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37047 (eval "$ac_try") 2>&5
37049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37050 (exit $ac_status); }; } &&
37051 { ac_try
='test -s conftest.$ac_objext'
37052 { (case "(($ac_try" in
37053 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37054 *) ac_try_echo=$ac_try;;
37056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37057 (eval "$ac_try") 2>&5
37059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37060 (exit $ac_status); }; }; then
37061 eval "$as_ac_Header=yes"
37063 echo "$as_me: failed program was:" >&5
37064 sed 's/^/| /' conftest.$ac_ext >&5
37066 eval "$as_ac_Header=no"
37069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37071 ac_res=`eval echo '${'$as_ac_Header'}'`
37072 { echo "$as_me:$LINENO: result: $ac_res" >&5
37073 echo "${ECHO_T}$ac_res" >&6; }
37074 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37075 cat >>confdefs.h <<_ACEOF
37076 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37091 if test "$TOOLKIT" != "MSW" ; then
37093 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
37095 if test "${ac_cv_header_sql_h+set}" = set; then
37096 { echo "$as_me:$LINENO: checking for sql.h" >&5
37097 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
37098 if test "${ac_cv_header_sql_h+set}" = set; then
37099 echo $ECHO_N "(cached) $ECHO_C" >&6
37101 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
37102 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
37104 # Is the header compilable?
37105 { echo "$as_me:$LINENO: checking sql.h usability" >&5
37106 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6; }
37107 cat >conftest.$ac_ext <<_ACEOF
37110 cat confdefs.h >>conftest.$ac_ext
37111 cat >>conftest.$ac_ext <<_ACEOF
37112 /* end confdefs.h. */
37113 $ac_includes_default
37116 rm -f conftest.$ac_objext
37117 if { (ac_try="$ac_compile"
37118 case "(($ac_try" in
37119 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37120 *) ac_try_echo
=$ac_try;;
37122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37123 (eval "$ac_compile") 2>conftest.er1
37125 grep -v '^ *+' conftest.er1
>conftest.err
37127 cat conftest.err
>&5
37128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37129 (exit $ac_status); } &&
37130 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37131 { (case "(($ac_try" in
37132 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37133 *) ac_try_echo=$ac_try;;
37135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37136 (eval "$ac_try") 2>&5
37138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37139 (exit $ac_status); }; } &&
37140 { ac_try='test -s conftest.$ac_objext'
37141 { (case "(($ac_try" in
37142 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37143 *) ac_try_echo
=$ac_try;;
37145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37146 (eval "$ac_try") 2>&5
37148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37149 (exit $ac_status); }; }; then
37150 ac_header_compiler
=yes
37152 echo "$as_me: failed program was:" >&5
37153 sed 's/^/| /' conftest.
$ac_ext >&5
37155 ac_header_compiler
=no
37158 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37159 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37160 echo "${ECHO_T}$ac_header_compiler" >&6; }
37162 # Is the header present?
37163 { echo "$as_me:$LINENO: checking sql.h presence" >&5
37164 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6; }
37165 cat >conftest.
$ac_ext <<_ACEOF
37168 cat confdefs.h
>>conftest.
$ac_ext
37169 cat >>conftest.
$ac_ext <<_ACEOF
37170 /* end confdefs.h. */
37173 if { (ac_try
="$ac_cpp conftest.$ac_ext"
37174 case "(($ac_try" in
37175 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37176 *) ac_try_echo=$ac_try;;
37178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37179 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
37181 grep -v '^ *+' conftest.er1 >conftest.err
37183 cat conftest.err >&5
37184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37185 (exit $ac_status); } >/dev/null; then
37186 if test -s conftest.err; then
37187 ac_cpp_err=$ac_c_preproc_warn_flag
37188 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37195 if test -z "$ac_cpp_err"; then
37196 ac_header_preproc=yes
37198 echo "$as_me: failed program was:" >&5
37199 sed 's/^/| /' conftest.$ac_ext >&5
37201 ac_header_preproc=no
37204 rm -f conftest.err conftest.$ac_ext
37205 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37206 echo "${ECHO_T}$ac_header_preproc" >&6; }
37208 # So? What about this header?
37209 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37211 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
37212 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
37213 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
37214 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
37215 ac_header_preproc=yes
37218 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
37219 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
37220 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
37221 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
37222 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
37223 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
37224 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
37225 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
37226 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
37227 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
37228 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
37229 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
37231 ## ----------------------------------------- ##
37232 ## Report this to wx-dev@lists.wxwidgets.org ##
37233 ## ----------------------------------------- ##
37235 ) | sed "s/^/$as_me: WARNING: /" >&2
37238 { echo "$as_me:$LINENO: checking for sql.h" >&5
37239 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
37240 if test "${ac_cv_header_sql_h+set}" = set; then
37241 echo $ECHO_N "(cached) $ECHO_C" >&6
37243 ac_cv_header_sql_h=$ac_header_preproc
37245 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
37246 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
37249 if test $ac_cv_header_sql_h = yes; then
37254 if test "x$found_sql_h" = "x1" ; then
37255 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
37256 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
37257 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
37258 echo $ECHO_N "(cached) $ECHO_C" >&6
37260 ac_check_lib_save_LIBS=$LIBS
37261 LIBS="-liodbc $LIBS"
37262 cat >conftest.$ac_ext <<_ACEOF
37265 cat confdefs.h >>conftest.$ac_ext
37266 cat >>conftest.$ac_ext <<_ACEOF
37267 /* end confdefs.h. */
37269 /* Override any GCC internal prototype to avoid an error.
37270 Use char because int might match the return type of a GCC
37271 builtin and then its argument prototype would still apply. */
37275 char SQLAllocEnv ();
37279 return SQLAllocEnv ();
37284 rm -f conftest.$ac_objext conftest$ac_exeext
37285 if { (ac_try="$ac_link"
37286 case "(($ac_try" in
37287 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37288 *) ac_try_echo
=$ac_try;;
37290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37291 (eval "$ac_link") 2>conftest.er1
37293 grep -v '^ *+' conftest.er1
>conftest.err
37295 cat conftest.err
>&5
37296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37297 (exit $ac_status); } &&
37298 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37299 { (case "(($ac_try" in
37300 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37301 *) ac_try_echo=$ac_try;;
37303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37304 (eval "$ac_try") 2>&5
37306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37307 (exit $ac_status); }; } &&
37308 { ac_try='test -s conftest$ac_exeext'
37309 { (case "(($ac_try" in
37310 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37311 *) ac_try_echo
=$ac_try;;
37313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37314 (eval "$ac_try") 2>&5
37316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37317 (exit $ac_status); }; }; then
37318 ac_cv_lib_iodbc_SQLAllocEnv
=yes
37320 echo "$as_me: failed program was:" >&5
37321 sed 's/^/| /' conftest.
$ac_ext >&5
37323 ac_cv_lib_iodbc_SQLAllocEnv
=no
37326 rm -f core conftest.err conftest.
$ac_objext \
37327 conftest
$ac_exeext conftest.
$ac_ext
37328 LIBS
=$ac_check_lib_save_LIBS
37330 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
37331 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
37332 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
37333 ODBC_LINK
=" -liodbc"
37336 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
37337 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
37338 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
37339 echo $ECHO_N "(cached) $ECHO_C" >&6
37341 ac_check_lib_save_LIBS
=$LIBS
37342 LIBS
="-lunixodbc $LIBS"
37343 cat >conftest.
$ac_ext <<_ACEOF
37346 cat confdefs.h
>>conftest.
$ac_ext
37347 cat >>conftest.
$ac_ext <<_ACEOF
37348 /* end confdefs.h. */
37350 /* Override any GCC internal prototype to avoid an error.
37351 Use char because int might match the return type of a GCC
37352 builtin and then its argument prototype would still apply. */
37356 char SQLAllocEnv ();
37360 return SQLAllocEnv ();
37365 rm -f conftest.
$ac_objext conftest
$ac_exeext
37366 if { (ac_try
="$ac_link"
37367 case "(($ac_try" in
37368 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37369 *) ac_try_echo=$ac_try;;
37371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37372 (eval "$ac_link") 2>conftest.er1
37374 grep -v '^ *+' conftest.er1 >conftest.err
37376 cat conftest.err >&5
37377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37378 (exit $ac_status); } &&
37379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37380 { (case "(($ac_try" in
37381 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37382 *) ac_try_echo
=$ac_try;;
37384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37385 (eval "$ac_try") 2>&5
37387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37388 (exit $ac_status); }; } &&
37389 { ac_try
='test -s conftest$ac_exeext'
37390 { (case "(($ac_try" in
37391 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37392 *) ac_try_echo=$ac_try;;
37394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37395 (eval "$ac_try") 2>&5
37397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37398 (exit $ac_status); }; }; then
37399 ac_cv_lib_unixodbc_SQLAllocEnv=yes
37401 echo "$as_me: failed program was:" >&5
37402 sed 's/^/| /' conftest.$ac_ext >&5
37404 ac_cv_lib_unixodbc_SQLAllocEnv=no
37407 rm -f core conftest.err conftest.$ac_objext \
37408 conftest$ac_exeext conftest.$ac_ext
37409 LIBS=$ac_check_lib_save_LIBS
37411 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
37412 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
37413 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
37414 ODBC_LINK=" -lunixodbc"
37417 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
37418 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
37419 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
37420 echo $ECHO_N "(cached) $ECHO_C" >&6
37422 ac_check_lib_save_LIBS=$LIBS
37423 LIBS="-lodbc $LIBS"
37424 cat >conftest.$ac_ext <<_ACEOF
37427 cat confdefs.h >>conftest.$ac_ext
37428 cat >>conftest.$ac_ext <<_ACEOF
37429 /* end confdefs.h. */
37431 /* Override any GCC internal prototype to avoid an error.
37432 Use char because int might match the return type of a GCC
37433 builtin and then its argument prototype would still apply. */
37437 char SQLAllocEnv ();
37441 return SQLAllocEnv ();
37446 rm -f conftest.$ac_objext conftest$ac_exeext
37447 if { (ac_try="$ac_link"
37448 case "(($ac_try" in
37449 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37450 *) ac_try_echo
=$ac_try;;
37452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37453 (eval "$ac_link") 2>conftest.er1
37455 grep -v '^ *+' conftest.er1
>conftest.err
37457 cat conftest.err
>&5
37458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37459 (exit $ac_status); } &&
37460 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37461 { (case "(($ac_try" in
37462 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37463 *) ac_try_echo=$ac_try;;
37465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37466 (eval "$ac_try") 2>&5
37468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37469 (exit $ac_status); }; } &&
37470 { ac_try='test -s conftest$ac_exeext'
37471 { (case "(($ac_try" in
37472 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37473 *) ac_try_echo
=$ac_try;;
37475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37476 (eval "$ac_try") 2>&5
37478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37479 (exit $ac_status); }; }; then
37480 ac_cv_lib_odbc_SQLAllocEnv
=yes
37482 echo "$as_me: failed program was:" >&5
37483 sed 's/^/| /' conftest.
$ac_ext >&5
37485 ac_cv_lib_odbc_SQLAllocEnv
=no
37488 rm -f core conftest.err conftest.
$ac_objext \
37489 conftest
$ac_exeext conftest.
$ac_ext
37490 LIBS
=$ac_check_lib_save_LIBS
37492 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
37493 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
37494 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
37495 ODBC_LINK
=" -lodbc"
37505 if test "x$ODBC_LINK" = "x" ; then
37506 if test "$wxUSE_ODBC" = "sys" ; then
37507 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
37508 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
37509 { (exit 1); exit 1; }; }
37511 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
37512 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
37520 if test "$wxUSE_ODBC" = "builtin" ; then
37521 cat >>confdefs.h
<<\_ACEOF
37522 #define wxUSE_BUILTIN_IODBC 1
37528 if test "$wxUSE_ODBC" != "no" ; then
37529 cat >>confdefs.h
<<\_ACEOF
37530 #define wxUSE_ODBC 1
37533 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
37535 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
37539 if test "$wxUSE_DISPLAY" = "yes"; then
37540 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
37541 { echo "$as_me:$LINENO: checking for Xinerama" >&5
37542 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
37545 for ac_dir
in $SEARCH_LIB;
37547 for ac_extension
in a so sl dylib dll.a
; do
37548 if test -f "$ac_dir/libXinerama.$ac_extension"; then
37549 ac_find_libraries
=$ac_dir
37555 if test "$ac_find_libraries" != "" ; then
37557 if test "$ac_find_libraries" = "default location"; then
37560 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
37562 if test $result = 0; then
37565 ac_path_to_link
=" -L$ac_find_libraries"
37569 if test "$ac_path_to_link" != " -L/usr/lib" ; then
37570 LDFLAGS
="$LDFLAGS $ac_path_to_link"
37572 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
37573 { echo "$as_me:$LINENO: result: yes" >&5
37574 echo "${ECHO_T}yes" >&6; }
37576 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
37577 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
37580 for ac_dir
in $SEARCH_LIB;
37582 for ac_extension
in a so sl dylib dll.a
; do
37583 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
37584 ac_find_libraries
=$ac_dir
37590 if test "$ac_find_libraries" != "" ; then
37591 { echo "$as_me:$LINENO: result: yes" >&5
37592 echo "${ECHO_T}yes" >&6; }
37594 for ac_header
in X
11/extensions
/xf86vmode.h
37596 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37597 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37599 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37600 echo $ECHO_N "(cached) $ECHO_C" >&6
37602 cat >conftest.
$ac_ext <<_ACEOF
37605 cat confdefs.h
>>conftest.
$ac_ext
37606 cat >>conftest.
$ac_ext <<_ACEOF
37607 /* end confdefs.h. */
37609 #if HAVE_X11_XLIB_H
37610 #include <X11/Xlib.h>
37614 #include <$ac_header>
37616 rm -f conftest.
$ac_objext
37617 if { (ac_try
="$ac_compile"
37618 case "(($ac_try" in
37619 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37620 *) ac_try_echo=$ac_try;;
37622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37623 (eval "$ac_compile") 2>conftest.er1
37625 grep -v '^ *+' conftest.er1 >conftest.err
37627 cat conftest.err >&5
37628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37629 (exit $ac_status); } &&
37630 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37631 { (case "(($ac_try" in
37632 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37633 *) ac_try_echo
=$ac_try;;
37635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37636 (eval "$ac_try") 2>&5
37638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37639 (exit $ac_status); }; } &&
37640 { ac_try
='test -s conftest.$ac_objext'
37641 { (case "(($ac_try" in
37642 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37643 *) ac_try_echo=$ac_try;;
37645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37646 (eval "$ac_try") 2>&5
37648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37649 (exit $ac_status); }; }; then
37650 eval "$as_ac_Header=yes"
37652 echo "$as_me: failed program was:" >&5
37653 sed 's/^/| /' conftest.$ac_ext >&5
37655 eval "$as_ac_Header=no"
37658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37660 ac_res=`eval echo '${'$as_ac_Header'}'`
37661 { echo "$as_me:$LINENO: result: $ac_res" >&5
37662 echo "${ECHO_T}$ac_res" >&6; }
37663 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37664 cat >>confdefs.h <<_ACEOF
37665 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37668 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
37675 { echo "$as_me:$LINENO: result: no" >&5
37676 echo "${ECHO_T}no" >&6; }
37680 { echo "$as_me:$LINENO: result: no" >&5
37681 echo "${ECHO_T}no" >&6; }
37682 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
37683 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
37686 elif test "$wxUSE_MSW" = 1; then
37688 for ac_header in ddraw.h
37690 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37691 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37692 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37693 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37694 echo $ECHO_N "(cached) $ECHO_C" >&6
37696 cat >conftest.$ac_ext <<_ACEOF
37699 cat confdefs.h >>conftest.$ac_ext
37700 cat >>conftest.$ac_ext <<_ACEOF
37701 /* end confdefs.h. */
37702 #include <windows.h>
37704 #include <$ac_header>
37706 rm -f conftest.$ac_objext
37707 if { (ac_try="$ac_compile"
37708 case "(($ac_try" in
37709 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37710 *) ac_try_echo
=$ac_try;;
37712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37713 (eval "$ac_compile") 2>conftest.er1
37715 grep -v '^ *+' conftest.er1
>conftest.err
37717 cat conftest.err
>&5
37718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37719 (exit $ac_status); } &&
37720 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37721 { (case "(($ac_try" in
37722 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37723 *) ac_try_echo=$ac_try;;
37725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37726 (eval "$ac_try") 2>&5
37728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37729 (exit $ac_status); }; } &&
37730 { ac_try='test -s conftest.$ac_objext'
37731 { (case "(($ac_try" in
37732 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37733 *) ac_try_echo
=$ac_try;;
37735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37736 (eval "$ac_try") 2>&5
37738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37739 (exit $ac_status); }; }; then
37740 eval "$as_ac_Header=yes"
37742 echo "$as_me: failed program was:" >&5
37743 sed 's/^/| /' conftest.
$ac_ext >&5
37745 eval "$as_ac_Header=no"
37748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37750 ac_res
=`eval echo '${'$as_ac_Header'}'`
37751 { echo "$as_me:$LINENO: result: $ac_res" >&5
37752 echo "${ECHO_T}$ac_res" >&6; }
37753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37754 cat >>confdefs.h
<<_ACEOF
37755 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37765 if test "$wxUSE_DETECT_SM" = "yes"; then
37766 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
37767 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
37768 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
37771 for ac_dir
in $SEARCH_LIB;
37773 for ac_extension
in a so sl dylib dll.a
; do
37774 if test -f "$ac_dir/libSM.$ac_extension"; then
37775 ac_find_libraries
=$ac_dir
37781 if test "$ac_find_libraries" != "" ; then
37783 if test "$ac_find_libraries" = "default location"; then
37786 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
37788 if test $result = 0; then
37791 ac_path_to_link
=" -L$ac_find_libraries"
37795 if test "$ac_path_to_link" != " -L/usr/lib" ; then
37796 LDFLAGS
="$LDFLAGS $ac_path_to_link"
37798 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
37799 { echo "$as_me:$LINENO: result: yes" >&5
37800 echo "${ECHO_T}yes" >&6; }
37802 { echo "$as_me:$LINENO: result: no" >&5
37803 echo "${ECHO_T}no" >&6; }
37804 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
37805 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
37806 wxUSE_DETECT_SM
="no"
37809 wxUSE_DETECT_SM
="no"
37816 if test "$wxUSE_OPENGL" = "yes"; then
37817 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
37818 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
37819 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
37821 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
37822 OPENGL_LIBS
="-framework OpenGL -framework AGL"
37823 elif test "$wxUSE_MSW" = 1; then
37824 OPENGL_LIBS
="-lopengl32 -lglu32"
37826 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
37827 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
37830 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
;
37832 if test -f "$ac_dir/GL/gl.h"; then
37833 ac_find_includes
=$ac_dir
37838 if test "$ac_find_includes" != "" ; then
37839 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
37840 echo "${ECHO_T}found in $ac_find_includes" >&6; }
37842 if test "x$ac_find_includes" = "x/usr/include"; then
37843 ac_path_to_include
=""
37845 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
37847 if test $result = 0; then
37848 ac_path_to_include
=""
37850 ac_path_to_include
=" -I$ac_find_includes"
37854 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
37856 { echo "$as_me:$LINENO: result: not found" >&5
37857 echo "${ECHO_T}not found" >&6; }
37860 if test "${ac_cv_header_GL_gl_h+set}" = set; then
37861 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
37862 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
37863 if test "${ac_cv_header_GL_gl_h+set}" = set; then
37864 echo $ECHO_N "(cached) $ECHO_C" >&6
37866 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
37867 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
37869 # Is the header compilable?
37870 { echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
37871 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6; }
37872 cat >conftest.
$ac_ext <<_ACEOF
37875 cat confdefs.h
>>conftest.
$ac_ext
37876 cat >>conftest.
$ac_ext <<_ACEOF
37877 /* end confdefs.h. */
37878 $ac_includes_default
37881 rm -f conftest.
$ac_objext
37882 if { (ac_try
="$ac_compile"
37883 case "(($ac_try" in
37884 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37885 *) ac_try_echo=$ac_try;;
37887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37888 (eval "$ac_compile") 2>conftest.er1
37890 grep -v '^ *+' conftest.er1 >conftest.err
37892 cat conftest.err >&5
37893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37894 (exit $ac_status); } &&
37895 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37896 { (case "(($ac_try" in
37897 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37898 *) ac_try_echo
=$ac_try;;
37900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37901 (eval "$ac_try") 2>&5
37903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37904 (exit $ac_status); }; } &&
37905 { ac_try
='test -s conftest.$ac_objext'
37906 { (case "(($ac_try" in
37907 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37908 *) ac_try_echo=$ac_try;;
37910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37911 (eval "$ac_try") 2>&5
37913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37914 (exit $ac_status); }; }; then
37915 ac_header_compiler=yes
37917 echo "$as_me: failed program was:" >&5
37918 sed 's/^/| /' conftest.$ac_ext >&5
37920 ac_header_compiler=no
37923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37924 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37925 echo "${ECHO_T}$ac_header_compiler" >&6; }
37927 # Is the header present?
37928 { echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
37929 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6; }
37930 cat >conftest.$ac_ext <<_ACEOF
37933 cat confdefs.h >>conftest.$ac_ext
37934 cat >>conftest.$ac_ext <<_ACEOF
37935 /* end confdefs.h. */
37938 if { (ac_try="$ac_cpp conftest.$ac_ext"
37939 case "(($ac_try" in
37940 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37941 *) ac_try_echo
=$ac_try;;
37943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37944 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
37946 grep -v '^ *+' conftest.er1
>conftest.err
37948 cat conftest.err
>&5
37949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37950 (exit $ac_status); } >/dev
/null
; then
37951 if test -s conftest.err
; then
37952 ac_cpp_err
=$ac_c_preproc_warn_flag
37953 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
37960 if test -z "$ac_cpp_err"; then
37961 ac_header_preproc
=yes
37963 echo "$as_me: failed program was:" >&5
37964 sed 's/^/| /' conftest.
$ac_ext >&5
37966 ac_header_preproc
=no
37969 rm -f conftest.err conftest.
$ac_ext
37970 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37971 echo "${ECHO_T}$ac_header_preproc" >&6; }
37973 # So? What about this header?
37974 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37976 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
37977 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
37978 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
37979 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
37980 ac_header_preproc
=yes
37983 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
37984 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
37985 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
37986 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
37987 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
37988 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
37989 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
37990 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
37991 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
37992 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
37993 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
37994 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
37996 ## ----------------------------------------- ##
37997 ## Report this to wx-dev@lists.wxwidgets.org ##
37998 ## ----------------------------------------- ##
38000 ) | sed "s/^/$as_me: WARNING: /" >&2
38003 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
38004 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
38005 if test "${ac_cv_header_GL_gl_h+set}" = set; then
38006 echo $ECHO_N "(cached) $ECHO_C" >&6
38008 ac_cv_header_GL_gl_h
=$ac_header_preproc
38010 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
38011 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
38014 if test $ac_cv_header_GL_gl_h = yes; then
38016 if test "${ac_cv_header_GL_glu_h+set}" = set; then
38017 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
38018 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
38019 if test "${ac_cv_header_GL_glu_h+set}" = set; then
38020 echo $ECHO_N "(cached) $ECHO_C" >&6
38022 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
38023 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
38025 # Is the header compilable?
38026 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
38027 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
38028 cat >conftest.
$ac_ext <<_ACEOF
38031 cat confdefs.h
>>conftest.
$ac_ext
38032 cat >>conftest.
$ac_ext <<_ACEOF
38033 /* end confdefs.h. */
38034 $ac_includes_default
38035 #include <GL/glu.h>
38037 rm -f conftest.
$ac_objext
38038 if { (ac_try
="$ac_compile"
38039 case "(($ac_try" in
38040 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38041 *) ac_try_echo=$ac_try;;
38043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38044 (eval "$ac_compile") 2>conftest.er1
38046 grep -v '^ *+' conftest.er1 >conftest.err
38048 cat conftest.err >&5
38049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38050 (exit $ac_status); } &&
38051 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38052 { (case "(($ac_try" in
38053 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38054 *) ac_try_echo
=$ac_try;;
38056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38057 (eval "$ac_try") 2>&5
38059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38060 (exit $ac_status); }; } &&
38061 { ac_try
='test -s conftest.$ac_objext'
38062 { (case "(($ac_try" in
38063 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38064 *) ac_try_echo=$ac_try;;
38066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38067 (eval "$ac_try") 2>&5
38069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38070 (exit $ac_status); }; }; then
38071 ac_header_compiler=yes
38073 echo "$as_me: failed program was:" >&5
38074 sed 's/^/| /' conftest.$ac_ext >&5
38076 ac_header_compiler=no
38079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38080 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38081 echo "${ECHO_T}$ac_header_compiler" >&6; }
38083 # Is the header present?
38084 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
38085 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
38086 cat >conftest.$ac_ext <<_ACEOF
38089 cat confdefs.h >>conftest.$ac_ext
38090 cat >>conftest.$ac_ext <<_ACEOF
38091 /* end confdefs.h. */
38092 #include <GL/glu.h>
38094 if { (ac_try="$ac_cpp conftest.$ac_ext"
38095 case "(($ac_try" in
38096 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38097 *) ac_try_echo
=$ac_try;;
38099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38100 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
38102 grep -v '^ *+' conftest.er1
>conftest.err
38104 cat conftest.err
>&5
38105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38106 (exit $ac_status); } >/dev
/null
; then
38107 if test -s conftest.err
; then
38108 ac_cpp_err
=$ac_c_preproc_warn_flag
38109 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
38116 if test -z "$ac_cpp_err"; then
38117 ac_header_preproc
=yes
38119 echo "$as_me: failed program was:" >&5
38120 sed 's/^/| /' conftest.
$ac_ext >&5
38122 ac_header_preproc
=no
38125 rm -f conftest.err conftest.
$ac_ext
38126 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38127 echo "${ECHO_T}$ac_header_preproc" >&6; }
38129 # So? What about this header?
38130 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38132 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
38133 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
38134 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
38135 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
38136 ac_header_preproc
=yes
38139 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
38140 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
38141 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
38142 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
38143 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
38144 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
38145 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
38146 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
38147 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
38148 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
38149 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
38150 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
38152 ## ----------------------------------------- ##
38153 ## Report this to wx-dev@lists.wxwidgets.org ##
38154 ## ----------------------------------------- ##
38156 ) | sed "s/^/$as_me: WARNING: /" >&2
38159 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
38160 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
38161 if test "${ac_cv_header_GL_glu_h+set}" = set; then
38162 echo $ECHO_N "(cached) $ECHO_C" >&6
38164 ac_cv_header_GL_glu_h
=$ac_header_preproc
38166 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
38167 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
38170 if test $ac_cv_header_GL_glu_h = yes; then
38174 { echo "$as_me:$LINENO: checking for -lGL" >&5
38175 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
38178 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
38180 for ac_extension
in a so sl dylib dll.a
; do
38181 if test -f "$ac_dir/libGL.$ac_extension"; then
38182 ac_find_libraries
=$ac_dir
38188 if test "$ac_find_libraries" != "" ; then
38189 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
38190 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
38193 if test "$ac_find_libraries" = "default location"; then
38196 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
38198 if test $result = 0; then
38201 ac_path_to_link
=" -L$ac_find_libraries"
38205 if test "$ac_path_to_link" != " -L/usr/lib" ; then
38206 LDFLAGS_GL
="$ac_path_to_link"
38209 { echo "$as_me:$LINENO: checking for -lGLU" >&5
38210 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
38213 for ac_dir
in $SEARCH_LIB;
38215 for ac_extension
in a so sl dylib dll.a
; do
38216 if test -f "$ac_dir/libGLU.$ac_extension"; then
38217 ac_find_libraries
=$ac_dir
38223 if test "$ac_find_libraries" != "" ; then
38225 if test "$ac_find_libraries" = "default location"; then
38228 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
38230 if test $result = 0; then
38233 ac_path_to_link
=" -L$ac_find_libraries"
38237 if test "$ac_path_to_link" != " -L/usr/lib" -a \
38238 "$ac_path_to_link" != "$LDFLAGS_GL"; then
38239 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
38243 OPENGL_LIBS
="-lGL -lGLU"
38244 { echo "$as_me:$LINENO: result: yes" >&5
38245 echo "${ECHO_T}yes" >&6; }
38247 { echo "$as_me:$LINENO: result: no" >&5
38248 echo "${ECHO_T}no" >&6; }
38251 { echo "$as_me:$LINENO: result: no" >&5
38252 echo "${ECHO_T}no" >&6; }
38255 if test "$found_gl" != 1; then
38256 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
38257 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
38260 for ac_dir
in $SEARCH_LIB;
38262 for ac_extension
in a so sl dylib dll.a
; do
38263 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
38264 ac_find_libraries
=$ac_dir
38270 if test "$ac_find_libraries" != "" ; then
38272 if test "$ac_find_libraries" = "default location"; then
38275 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
38277 if test $result = 0; then
38280 ac_path_to_link
=" -L$ac_find_libraries"
38284 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
38285 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
38286 { echo "$as_me:$LINENO: result: yes" >&5
38287 echo "${ECHO_T}yes" >&6; }
38289 { echo "$as_me:$LINENO: result: no" >&5
38290 echo "${ECHO_T}no" >&6; }
38302 if test "x$OPENGL_LIBS" = "x"; then
38303 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
38304 echo "$as_me: error: OpenGL libraries not available" >&2;}
38305 { (exit 1); exit 1; }; }
38309 if test "$wxUSE_OPENGL" = "yes"; then
38311 cat >>confdefs.h
<<\_ACEOF
38312 #define wxUSE_OPENGL 1
38315 cat >>confdefs.h
<<\_ACEOF
38316 #define wxUSE_GLCANVAS 1
38319 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
38324 if test -n "$TOOLKIT" ; then
38325 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
38330 if test "$wxUSE_SHARED" = "yes"; then
38334 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
38335 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
38340 if test "$wxUSE_SHARED" = "yes"; then
38344 *-*-cygwin* | *-*-mingw* )
38345 wx_cv_version_script
=no
38349 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
38350 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
38351 if test "${wx_cv_version_script+set}" = set; then
38352 echo $ECHO_N "(cached) $ECHO_C" >&6
38355 echo "VER_1 { *; };" >conftest.sym
38356 echo "int main() { return 0; }" >conftest.cpp
38359 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
38360 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
38361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38362 (eval $ac_try) 2>&5
38364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38365 (exit $ac_status); }; } ; then
38366 if test -s conftest.stderr
; then
38367 wx_cv_version_script
=no
38369 wx_cv_version_script
=yes
38372 wx_cv_version_script
=no
38375 if test $wx_cv_version_script = yes
38377 echo "struct B { virtual ~B() { } }; \
38378 struct D : public B { }; \
38379 void F() { D d; }" > conftest.cpp
38382 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
38383 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
38384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38385 (eval $ac_try) 2>&5
38387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38388 (exit $ac_status); }; } &&
38390 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
38391 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
38392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38393 (eval $ac_try) 2>&5
38395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38396 (exit $ac_status); }; }
38399 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
38400 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
38401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38402 (eval $ac_try) 2>&5
38404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38405 (exit $ac_status); }; }
38407 wx_cv_version_script
=yes
38409 wx_cv_version_script
=no
38414 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
38415 rm -f conftest1.output conftest2.output conftest3.output
38418 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
38419 echo "${ECHO_T}$wx_cv_version_script" >&6; }
38421 if test $wx_cv_version_script = yes ; then
38422 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
38429 *-*-linux* | *-*-gnu* )
38430 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
38431 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
38435 if test "$GCC" = yes ; then
38436 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
38438 saveLdflags
="$LDFLAGS"
38439 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
38440 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
38441 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
38442 cat >conftest.
$ac_ext <<_ACEOF
38445 cat confdefs.h
>>conftest.
$ac_ext
38446 cat >>conftest.
$ac_ext <<_ACEOF
38447 /* end confdefs.h. */
38457 rm -f conftest.
$ac_objext conftest
$ac_exeext
38458 if { (ac_try
="$ac_link"
38459 case "(($ac_try" in
38460 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38461 *) ac_try_echo=$ac_try;;
38463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38464 (eval "$ac_link") 2>conftest.er1
38466 grep -v '^ *+' conftest.er1 >conftest.err
38468 cat conftest.err >&5
38469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38470 (exit $ac_status); } &&
38471 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38472 { (case "(($ac_try" in
38473 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38474 *) ac_try_echo
=$ac_try;;
38476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38477 (eval "$ac_try") 2>&5
38479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38480 (exit $ac_status); }; } &&
38481 { ac_try
='test -s conftest$ac_exeext'
38482 { (case "(($ac_try" in
38483 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38484 *) ac_try_echo=$ac_try;;
38486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38487 (eval "$ac_try") 2>&5
38489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38490 (exit $ac_status); }; }; then
38492 { echo "$as_me:$LINENO: result: yes" >&5
38493 echo "${ECHO_T}yes" >&6; }
38494 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
38495 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
38498 echo "$as_me: failed program was:" >&5
38499 sed 's/^/| /' conftest.$ac_ext >&5
38502 { echo "$as_me:$LINENO: result: no" >&5
38503 echo "${ECHO_T}no" >&6; }
38504 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
38505 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
38506 LDFLAGS="$saveLdflags -Wl,-R,/"
38507 cat >conftest.$ac_ext <<_ACEOF
38510 cat confdefs.h >>conftest.$ac_ext
38511 cat >>conftest.$ac_ext <<_ACEOF
38512 /* end confdefs.h. */
38522 rm -f conftest.$ac_objext conftest$ac_exeext
38523 if { (ac_try="$ac_link"
38524 case "(($ac_try" in
38525 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38526 *) ac_try_echo
=$ac_try;;
38528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38529 (eval "$ac_link") 2>conftest.er1
38531 grep -v '^ *+' conftest.er1
>conftest.err
38533 cat conftest.err
>&5
38534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38535 (exit $ac_status); } &&
38536 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38537 { (case "(($ac_try" in
38538 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38539 *) ac_try_echo=$ac_try;;
38541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38542 (eval "$ac_try") 2>&5
38544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38545 (exit $ac_status); }; } &&
38546 { ac_try='test -s conftest$ac_exeext'
38547 { (case "(($ac_try" in
38548 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38549 *) ac_try_echo
=$ac_try;;
38551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38552 (eval "$ac_try") 2>&5
38554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38555 (exit $ac_status); }; }; then
38557 { echo "$as_me:$LINENO: result: yes" >&5
38558 echo "${ECHO_T}yes" >&6; }
38559 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
38560 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
38563 echo "$as_me: failed program was:" >&5
38564 sed 's/^/| /' conftest.
$ac_ext >&5
38567 { echo "$as_me:$LINENO: result: no" >&5
38568 echo "${ECHO_T}no" >&6; }
38572 rm -f core conftest.err conftest.
$ac_objext \
38573 conftest
$ac_exeext conftest.
$ac_ext
38577 rm -f core conftest.err conftest.
$ac_objext \
38578 conftest
$ac_exeext conftest.
$ac_ext
38579 LDFLAGS
="$saveLdflags"
38581 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
38582 WXCONFIG_RPATH
="-R\$libdir"
38587 install_name_tool
=`which install_name_tool`
38588 if test "$install_name_tool" -a -x "$install_name_tool"; then
38589 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
38590 cat <<EOF >change-install-names
38592 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
38593 inst_cmd="install_name_tool "
38594 for i in \${libnames} ; do
38595 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
38599 chmod +x change
-install-names
38603 *-*-cygwin* | *-*-mingw32* )
38604 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
38608 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
38609 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
38614 if test $wxUSE_RPATH = "no"; then
38615 SAMPLES_RPATH_FLAG
=''
38616 SAMPLES_RPATH_POSTLINK
=''
38624 config_linkage_component
="-static"
38631 lib_unicode_suffix
=
38633 if test "$wxUSE_UNICODE" = "yes"; then
38634 lib_unicode_suffix
=u
38635 WX_CHARTYPE
="unicode"
38640 WX_DEBUGTYPE
="release"
38642 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
38644 WX_DEBUGTYPE
="debug"
38648 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
38649 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
38652 if test "$wxUSE_DEBUG_INFO" = "yes"; then
38656 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
38658 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
38660 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
38662 if test "$cross_compiling" = "yes"; then
38663 HOST_SUFFIX
="-$host_alias"
38664 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
38665 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
38668 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
38669 if test "${TOOLKIT_DIR}" = "os2"; then
38670 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
38672 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
38677 if test "$wxUSE_COCOA" = 1; then
38680 ac_cpp
='$CPP $CPPFLAGS'
38681 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38682 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38683 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38687 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
38688 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
38689 cat >conftest.
$ac_ext <<_ACEOF
38692 cat confdefs.h
>>conftest.
$ac_ext
38693 cat >>conftest.
$ac_ext <<_ACEOF
38694 /* end confdefs.h. */
38695 #include <AppKit/NSEvent.h>
38696 #include <CoreFoundation/CoreFoundation.h>
38706 rm -f conftest.
$ac_objext
38707 if { (ac_try
="$ac_compile"
38708 case "(($ac_try" in
38709 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38710 *) ac_try_echo=$ac_try;;
38712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38713 (eval "$ac_compile") 2>conftest.er1
38715 grep -v '^ *+' conftest.er1 >conftest.err
38717 cat conftest.err >&5
38718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38719 (exit $ac_status); } &&
38720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38721 { (case "(($ac_try" in
38722 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38723 *) ac_try_echo
=$ac_try;;
38725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38726 (eval "$ac_try") 2>&5
38728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38729 (exit $ac_status); }; } &&
38730 { ac_try
='test -s conftest.$ac_objext'
38731 { (case "(($ac_try" in
38732 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38733 *) ac_try_echo=$ac_try;;
38735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38736 (eval "$ac_try") 2>&5
38738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38739 (exit $ac_status); }; }; then
38740 { echo "$as_me:$LINENO: result: no" >&5
38741 echo "${ECHO_T}no" >&6; }
38743 echo "$as_me: failed program was:" >&5
38744 sed 's/^/| /' conftest.$ac_ext >&5
38746 { echo "$as_me:$LINENO: result: yes" >&5
38747 echo "${ECHO_T}yes" >&6; }
38748 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
38749 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
38750 cat >conftest.$ac_ext <<_ACEOF
38753 cat confdefs.h >>conftest.$ac_ext
38754 cat >>conftest.$ac_ext <<_ACEOF
38755 /* end confdefs.h. */
38756 #define __Point__ 1
38757 #include <AppKit/NSEvent.h>
38758 #include <CoreFoundation/CoreFoundation.h>
38768 rm -f conftest.$ac_objext
38769 if { (ac_try="$ac_compile"
38770 case "(($ac_try" in
38771 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38772 *) ac_try_echo
=$ac_try;;
38774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38775 (eval "$ac_compile") 2>conftest.er1
38777 grep -v '^ *+' conftest.er1
>conftest.err
38779 cat conftest.err
>&5
38780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38781 (exit $ac_status); } &&
38782 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38783 { (case "(($ac_try" in
38784 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38785 *) ac_try_echo=$ac_try;;
38787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38788 (eval "$ac_try") 2>&5
38790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38791 (exit $ac_status); }; } &&
38792 { ac_try='test -s conftest.$ac_objext'
38793 { (case "(($ac_try" in
38794 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38795 *) ac_try_echo
=$ac_try;;
38797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38798 (eval "$ac_try") 2>&5
38800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38801 (exit $ac_status); }; }; then
38802 { echo "$as_me:$LINENO: result: yes" >&5
38803 echo "${ECHO_T}yes" >&6; }
38804 cat >>confdefs.h
<<\_ACEOF
38805 #define __Point__ 1
38810 echo "$as_me: failed program was:" >&5
38811 sed 's/^/| /' conftest.
$ac_ext >&5
38813 { { echo "$as_me:$LINENO: error: no
38814 See \`config.log' for more details." >&5
38815 echo "$as_me: error: no
38816 See \`config.log' for more details." >&2;}
38817 { (exit 1); exit 1; }; }
38821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38825 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38827 ac_cpp
='$CPP $CPPFLAGS'
38828 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38829 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38830 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38834 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
38835 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
38836 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
38838 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
38840 # Extract the first word of "Rez", so it can be a program name with args.
38841 set dummy Rez
; ac_word
=$2
38842 { echo "$as_me:$LINENO: checking for $ac_word" >&5
38843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
38844 if test "${ac_cv_prog_REZ+set}" = set; then
38845 echo $ECHO_N "(cached) $ECHO_C" >&6
38847 if test -n "$REZ"; then
38848 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
38850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38851 for as_dir
in $PATH
38854 test -z "$as_dir" && as_dir
=.
38855 for ac_exec_ext
in '' $ac_executable_extensions; do
38856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
38857 ac_cv_prog_REZ
="Rez"
38858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38865 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
38868 REZ
=$ac_cv_prog_REZ
38869 if test -n "$REZ"; then
38870 { echo "$as_me:$LINENO: result: $REZ" >&5
38871 echo "${ECHO_T}$REZ" >&6; }
38873 { echo "$as_me:$LINENO: result: no" >&5
38874 echo "${ECHO_T}no" >&6; }
38878 # Extract the first word of "DeRez", so it can be a program name with args.
38879 set dummy DeRez
; ac_word
=$2
38880 { echo "$as_me:$LINENO: checking for $ac_word" >&5
38881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
38882 if test "${ac_cv_prog_DEREZ+set}" = set; then
38883 echo $ECHO_N "(cached) $ECHO_C" >&6
38885 if test -n "$DEREZ"; then
38886 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
38888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38889 for as_dir
in $PATH
38892 test -z "$as_dir" && as_dir
=.
38893 for ac_exec_ext
in '' $ac_executable_extensions; do
38894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
38895 ac_cv_prog_DEREZ
="DeRez"
38896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38903 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
38906 DEREZ
=$ac_cv_prog_DEREZ
38907 if test -n "$DEREZ"; then
38908 { echo "$as_me:$LINENO: result: $DEREZ" >&5
38909 echo "${ECHO_T}$DEREZ" >&6; }
38911 { echo "$as_me:$LINENO: result: no" >&5
38912 echo "${ECHO_T}no" >&6; }
38916 # Extract the first word of "SetFile", so it can be a program name with args.
38917 set dummy SetFile
; ac_word
=$2
38918 { echo "$as_me:$LINENO: checking for $ac_word" >&5
38919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
38920 if test "${ac_cv_prog_SETFILE+set}" = set; then
38921 echo $ECHO_N "(cached) $ECHO_C" >&6
38923 if test -n "$SETFILE"; then
38924 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
38926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38927 for as_dir
in $PATH
38930 test -z "$as_dir" && as_dir
=.
38931 for ac_exec_ext
in '' $ac_executable_extensions; do
38932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
38933 ac_cv_prog_SETFILE
="SetFile"
38934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38941 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
38944 SETFILE
=$ac_cv_prog_SETFILE
38945 if test -n "$SETFILE"; then
38946 { echo "$as_me:$LINENO: result: $SETFILE" >&5
38947 echo "${ECHO_T}$SETFILE" >&6; }
38949 { echo "$as_me:$LINENO: result: no" >&5
38950 echo "${ECHO_T}no" >&6; }
38955 MACSETFILE
="\$(SETFILE)"
38957 if test "$wxUSE_MAC" = 1; then
38958 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
38960 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
38962 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
38963 RESCOMP
="echo -n \| $REZ"
38964 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
38970 if test "$wxUSE_PM" = 1; then
38972 WXCONFIG_RESFLAGS
="-ep"
38974 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
38976 POSTLINK_COMMAND
="@true"
38983 { echo "$as_me:$LINENO: checking for mode_t" >&5
38984 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
38985 if test "${ac_cv_type_mode_t+set}" = set; then
38986 echo $ECHO_N "(cached) $ECHO_C" >&6
38988 cat >conftest.
$ac_ext <<_ACEOF
38991 cat confdefs.h
>>conftest.
$ac_ext
38992 cat >>conftest.
$ac_ext <<_ACEOF
38993 /* end confdefs.h. */
38994 $ac_includes_default
38995 typedef mode_t ac__type_new_;
38999 if ((ac__type_new_ *) 0)
39001 if (sizeof (ac__type_new_))
39007 rm -f conftest.
$ac_objext
39008 if { (ac_try
="$ac_compile"
39009 case "(($ac_try" in
39010 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39011 *) ac_try_echo=$ac_try;;
39013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39014 (eval "$ac_compile") 2>conftest.er1
39016 grep -v '^ *+' conftest.er1 >conftest.err
39018 cat conftest.err >&5
39019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39020 (exit $ac_status); } &&
39021 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39022 { (case "(($ac_try" in
39023 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39024 *) ac_try_echo
=$ac_try;;
39026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39027 (eval "$ac_try") 2>&5
39029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39030 (exit $ac_status); }; } &&
39031 { ac_try
='test -s conftest.$ac_objext'
39032 { (case "(($ac_try" in
39033 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39034 *) ac_try_echo=$ac_try;;
39036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39037 (eval "$ac_try") 2>&5
39039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39040 (exit $ac_status); }; }; then
39041 ac_cv_type_mode_t=yes
39043 echo "$as_me: failed program was:" >&5
39044 sed 's/^/| /' conftest.$ac_ext >&5
39046 ac_cv_type_mode_t=no
39049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39051 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
39052 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
39053 if test $ac_cv_type_mode_t = yes; then
39057 cat >>confdefs.h <<_ACEOF
39063 { echo "$as_me:$LINENO: checking for off_t" >&5
39064 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
39065 if test "${ac_cv_type_off_t+set}" = set; then
39066 echo $ECHO_N "(cached) $ECHO_C" >&6
39068 cat >conftest.$ac_ext <<_ACEOF
39071 cat confdefs.h >>conftest.$ac_ext
39072 cat >>conftest.$ac_ext <<_ACEOF
39073 /* end confdefs.h. */
39074 $ac_includes_default
39075 typedef off_t ac__type_new_;
39079 if ((ac__type_new_ *) 0)
39081 if (sizeof (ac__type_new_))
39087 rm -f conftest.$ac_objext
39088 if { (ac_try="$ac_compile"
39089 case "(($ac_try" in
39090 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39091 *) ac_try_echo
=$ac_try;;
39093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39094 (eval "$ac_compile") 2>conftest.er1
39096 grep -v '^ *+' conftest.er1
>conftest.err
39098 cat conftest.err
>&5
39099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39100 (exit $ac_status); } &&
39101 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39102 { (case "(($ac_try" in
39103 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39104 *) ac_try_echo=$ac_try;;
39106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39107 (eval "$ac_try") 2>&5
39109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39110 (exit $ac_status); }; } &&
39111 { ac_try='test -s conftest.$ac_objext'
39112 { (case "(($ac_try" in
39113 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39114 *) ac_try_echo
=$ac_try;;
39116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39117 (eval "$ac_try") 2>&5
39119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39120 (exit $ac_status); }; }; then
39121 ac_cv_type_off_t
=yes
39123 echo "$as_me: failed program was:" >&5
39124 sed 's/^/| /' conftest.
$ac_ext >&5
39126 ac_cv_type_off_t
=no
39129 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39131 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
39132 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
39133 if test $ac_cv_type_off_t = yes; then
39137 cat >>confdefs.h
<<_ACEOF
39138 #define off_t long int
39143 { echo "$as_me:$LINENO: checking for pid_t" >&5
39144 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
39145 if test "${ac_cv_type_pid_t+set}" = set; then
39146 echo $ECHO_N "(cached) $ECHO_C" >&6
39148 cat >conftest.
$ac_ext <<_ACEOF
39151 cat confdefs.h
>>conftest.
$ac_ext
39152 cat >>conftest.
$ac_ext <<_ACEOF
39153 /* end confdefs.h. */
39154 $ac_includes_default
39155 typedef pid_t ac__type_new_;
39159 if ((ac__type_new_ *) 0)
39161 if (sizeof (ac__type_new_))
39167 rm -f conftest.
$ac_objext
39168 if { (ac_try
="$ac_compile"
39169 case "(($ac_try" in
39170 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39171 *) ac_try_echo=$ac_try;;
39173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39174 (eval "$ac_compile") 2>conftest.er1
39176 grep -v '^ *+' conftest.er1 >conftest.err
39178 cat conftest.err >&5
39179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39180 (exit $ac_status); } &&
39181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39182 { (case "(($ac_try" in
39183 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39184 *) ac_try_echo
=$ac_try;;
39186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39187 (eval "$ac_try") 2>&5
39189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39190 (exit $ac_status); }; } &&
39191 { ac_try
='test -s conftest.$ac_objext'
39192 { (case "(($ac_try" in
39193 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39194 *) ac_try_echo=$ac_try;;
39196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39197 (eval "$ac_try") 2>&5
39199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39200 (exit $ac_status); }; }; then
39201 ac_cv_type_pid_t=yes
39203 echo "$as_me: failed program was:" >&5
39204 sed 's/^/| /' conftest.$ac_ext >&5
39206 ac_cv_type_pid_t=no
39209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39211 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
39212 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
39213 if test $ac_cv_type_pid_t = yes; then
39217 cat >>confdefs.h <<_ACEOF
39223 { echo "$as_me:$LINENO: checking for size_t" >&5
39224 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
39225 if test "${ac_cv_type_size_t+set}" = set; then
39226 echo $ECHO_N "(cached) $ECHO_C" >&6
39228 cat >conftest.$ac_ext <<_ACEOF
39231 cat confdefs.h >>conftest.$ac_ext
39232 cat >>conftest.$ac_ext <<_ACEOF
39233 /* end confdefs.h. */
39234 $ac_includes_default
39235 typedef size_t ac__type_new_;
39239 if ((ac__type_new_ *) 0)
39241 if (sizeof (ac__type_new_))
39247 rm -f conftest.$ac_objext
39248 if { (ac_try="$ac_compile"
39249 case "(($ac_try" in
39250 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39251 *) ac_try_echo
=$ac_try;;
39253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39254 (eval "$ac_compile") 2>conftest.er1
39256 grep -v '^ *+' conftest.er1
>conftest.err
39258 cat conftest.err
>&5
39259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39260 (exit $ac_status); } &&
39261 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39262 { (case "(($ac_try" in
39263 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39264 *) ac_try_echo=$ac_try;;
39266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39267 (eval "$ac_try") 2>&5
39269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39270 (exit $ac_status); }; } &&
39271 { ac_try='test -s conftest.$ac_objext'
39272 { (case "(($ac_try" in
39273 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39274 *) ac_try_echo
=$ac_try;;
39276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39277 (eval "$ac_try") 2>&5
39279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39280 (exit $ac_status); }; }; then
39281 ac_cv_type_size_t
=yes
39283 echo "$as_me: failed program was:" >&5
39284 sed 's/^/| /' conftest.
$ac_ext >&5
39286 ac_cv_type_size_t
=no
39289 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39291 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
39292 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
39293 if test $ac_cv_type_size_t = yes; then
39297 cat >>confdefs.h
<<_ACEOF
39298 #define size_t unsigned int
39303 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
39304 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
39305 if test "${ac_cv_type_uid_t+set}" = set; then
39306 echo $ECHO_N "(cached) $ECHO_C" >&6
39308 cat >conftest.
$ac_ext <<_ACEOF
39311 cat confdefs.h
>>conftest.
$ac_ext
39312 cat >>conftest.
$ac_ext <<_ACEOF
39313 /* end confdefs.h. */
39314 #include <sys/types.h>
39317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
39318 $EGREP "uid_t" >/dev
/null
2>&1; then
39319 ac_cv_type_uid_t
=yes
39321 ac_cv_type_uid_t
=no
39326 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
39327 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
39328 if test $ac_cv_type_uid_t = no
; then
39330 cat >>confdefs.h
<<\_ACEOF
39335 cat >>confdefs.h
<<\_ACEOF
39342 { echo "$as_me:$LINENO: checking for ssize_t" >&5
39343 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
39344 if test "${ac_cv_type_ssize_t+set}" = set; then
39345 echo $ECHO_N "(cached) $ECHO_C" >&6
39347 cat >conftest.
$ac_ext <<_ACEOF
39350 cat confdefs.h
>>conftest.
$ac_ext
39351 cat >>conftest.
$ac_ext <<_ACEOF
39352 /* end confdefs.h. */
39353 $ac_includes_default
39354 typedef ssize_t ac__type_new_;
39358 if ((ac__type_new_ *) 0)
39360 if (sizeof (ac__type_new_))
39366 rm -f conftest.
$ac_objext
39367 if { (ac_try
="$ac_compile"
39368 case "(($ac_try" in
39369 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39370 *) ac_try_echo=$ac_try;;
39372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39373 (eval "$ac_compile") 2>conftest.er1
39375 grep -v '^ *+' conftest.er1 >conftest.err
39377 cat conftest.err >&5
39378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39379 (exit $ac_status); } &&
39380 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39381 { (case "(($ac_try" in
39382 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39383 *) ac_try_echo
=$ac_try;;
39385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39386 (eval "$ac_try") 2>&5
39388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39389 (exit $ac_status); }; } &&
39390 { ac_try
='test -s conftest.$ac_objext'
39391 { (case "(($ac_try" in
39392 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39393 *) ac_try_echo=$ac_try;;
39395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39396 (eval "$ac_try") 2>&5
39398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39399 (exit $ac_status); }; }; then
39400 ac_cv_type_ssize_t=yes
39402 echo "$as_me: failed program was:" >&5
39403 sed 's/^/| /' conftest.$ac_ext >&5
39405 ac_cv_type_ssize_t=no
39408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39410 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
39411 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
39412 if test $ac_cv_type_ssize_t = yes; then
39414 cat >>confdefs.h <<_ACEOF
39415 #define HAVE_SSIZE_T 1
39423 ac_cpp='$CXXCPP $CPPFLAGS'
39424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39427 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
39428 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
39429 if test "${wx_cv_size_t_is_uint+set}" = set; then
39430 echo $ECHO_N "(cached) $ECHO_C" >&6
39433 cat >conftest.$ac_ext <<_ACEOF
39436 cat confdefs.h >>conftest.$ac_ext
39437 cat >>conftest.$ac_ext <<_ACEOF
39438 /* end confdefs.h. */
39439 #include <stddef.h>
39446 struct Foo { void foo(size_t); void foo(unsigned int); };
39454 rm -f conftest.$ac_objext
39455 if { (ac_try="$ac_compile"
39456 case "(($ac_try" in
39457 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39458 *) ac_try_echo
=$ac_try;;
39460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39461 (eval "$ac_compile") 2>conftest.er1
39463 grep -v '^ *+' conftest.er1
>conftest.err
39465 cat conftest.err
>&5
39466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39467 (exit $ac_status); } &&
39468 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39469 { (case "(($ac_try" in
39470 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39471 *) ac_try_echo=$ac_try;;
39473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39474 (eval "$ac_try") 2>&5
39476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39477 (exit $ac_status); }; } &&
39478 { ac_try='test -s conftest.$ac_objext'
39479 { (case "(($ac_try" in
39480 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39481 *) ac_try_echo
=$ac_try;;
39483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39484 (eval "$ac_try") 2>&5
39486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39487 (exit $ac_status); }; }; then
39488 wx_cv_size_t_is_uint
=no
39490 echo "$as_me: failed program was:" >&5
39491 sed 's/^/| /' conftest.
$ac_ext >&5
39493 wx_cv_size_t_is_uint
=yes
39497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39501 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
39502 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
39504 if test "$wx_cv_size_t_is_uint" = "yes"; then
39505 cat >>confdefs.h
<<\_ACEOF
39506 #define wxSIZE_T_IS_UINT 1
39510 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
39511 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
39512 if test "${wx_cv_size_t_is_ulong+set}" = set; then
39513 echo $ECHO_N "(cached) $ECHO_C" >&6
39515 cat >conftest.
$ac_ext <<_ACEOF
39518 cat confdefs.h
>>conftest.
$ac_ext
39519 cat >>conftest.
$ac_ext <<_ACEOF
39520 /* end confdefs.h. */
39521 #include <stddef.h>
39528 struct Foo { void foo(size_t); void foo(unsigned long); };
39536 rm -f conftest.
$ac_objext
39537 if { (ac_try
="$ac_compile"
39538 case "(($ac_try" in
39539 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39540 *) ac_try_echo=$ac_try;;
39542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39543 (eval "$ac_compile") 2>conftest.er1
39545 grep -v '^ *+' conftest.er1 >conftest.err
39547 cat conftest.err >&5
39548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39549 (exit $ac_status); } &&
39550 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39551 { (case "(($ac_try" in
39552 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39553 *) ac_try_echo
=$ac_try;;
39555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39556 (eval "$ac_try") 2>&5
39558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39559 (exit $ac_status); }; } &&
39560 { ac_try
='test -s conftest.$ac_objext'
39561 { (case "(($ac_try" in
39562 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39563 *) ac_try_echo=$ac_try;;
39565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39566 (eval "$ac_try") 2>&5
39568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39569 (exit $ac_status); }; }; then
39570 wx_cv_size_t_is_ulong=no
39572 echo "$as_me: failed program was:" >&5
39573 sed 's/^/| /' conftest.$ac_ext >&5
39575 wx_cv_size_t_is_ulong=yes
39579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39582 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
39583 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
39585 if test "$wx_cv_size_t_is_ulong" = "yes"; then
39586 cat >>confdefs.h <<\_ACEOF
39587 #define wxSIZE_T_IS_ULONG 1
39594 ac_cpp='$CPP $CPPFLAGS'
39595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39600 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
39601 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
39602 if test "${wx_cv_struct_pw_gecos+set}" = set; then
39603 echo $ECHO_N "(cached) $ECHO_C" >&6
39606 cat >conftest.$ac_ext <<_ACEOF
39609 cat confdefs.h >>conftest.$ac_ext
39610 cat >>conftest.$ac_ext <<_ACEOF
39611 /* end confdefs.h. */
39625 rm -f conftest.$ac_objext
39626 if { (ac_try="$ac_compile"
39627 case "(($ac_try" in
39628 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39629 *) ac_try_echo
=$ac_try;;
39631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39632 (eval "$ac_compile") 2>conftest.er1
39634 grep -v '^ *+' conftest.er1
>conftest.err
39636 cat conftest.err
>&5
39637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39638 (exit $ac_status); } &&
39639 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39640 { (case "(($ac_try" in
39641 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39642 *) ac_try_echo=$ac_try;;
39644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39645 (eval "$ac_try") 2>&5
39647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39648 (exit $ac_status); }; } &&
39649 { ac_try='test -s conftest.$ac_objext'
39650 { (case "(($ac_try" in
39651 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39652 *) ac_try_echo
=$ac_try;;
39654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39655 (eval "$ac_try") 2>&5
39657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39658 (exit $ac_status); }; }; then
39660 wx_cv_struct_pw_gecos
=yes
39663 echo "$as_me: failed program was:" >&5
39664 sed 's/^/| /' conftest.
$ac_ext >&5
39667 wx_cv_struct_pw_gecos
=no
39672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39676 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
39677 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
39679 if test "$wx_cv_struct_pw_gecos" = "yes"; then
39680 cat >>confdefs.h
<<\_ACEOF
39681 #define HAVE_PW_GECOS 1
39687 if test "$wxUSE_WCHAR_T" = "yes"; then
39688 cat >>confdefs.h
<<\_ACEOF
39689 #define wxUSE_WCHAR_T 1
39696 for ac_func
in wcslen
39698 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39699 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39701 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39702 echo $ECHO_N "(cached) $ECHO_C" >&6
39704 cat >conftest.
$ac_ext <<_ACEOF
39707 cat confdefs.h
>>conftest.
$ac_ext
39708 cat >>conftest.
$ac_ext <<_ACEOF
39709 /* end confdefs.h. */
39710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39712 #define $ac_func innocuous_$ac_func
39714 /* System header to define __stub macros and hopefully few prototypes,
39715 which can conflict with char $ac_func (); below.
39716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39717 <limits.h> exists even on freestanding compilers. */
39720 # include <limits.h>
39722 # include <assert.h>
39727 /* Override any GCC internal prototype to avoid an error.
39728 Use char because int might match the return type of a GCC
39729 builtin and then its argument prototype would still apply. */
39734 /* The GNU C library defines this for functions which it implements
39735 to always fail with ENOSYS. Some functions are actually named
39736 something starting with __ and the normal name is an alias. */
39737 #if defined __stub_$ac_func || defined __stub___$ac_func
39744 return $ac_func ();
39749 rm -f conftest.
$ac_objext conftest
$ac_exeext
39750 if { (ac_try
="$ac_link"
39751 case "(($ac_try" in
39752 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39753 *) ac_try_echo=$ac_try;;
39755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39756 (eval "$ac_link") 2>conftest.er1
39758 grep -v '^ *+' conftest.er1 >conftest.err
39760 cat conftest.err >&5
39761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39762 (exit $ac_status); } &&
39763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39764 { (case "(($ac_try" in
39765 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39766 *) ac_try_echo
=$ac_try;;
39768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39769 (eval "$ac_try") 2>&5
39771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39772 (exit $ac_status); }; } &&
39773 { ac_try
='test -s conftest$ac_exeext'
39774 { (case "(($ac_try" in
39775 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39776 *) ac_try_echo=$ac_try;;
39778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39779 (eval "$ac_try") 2>&5
39781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39782 (exit $ac_status); }; }; then
39783 eval "$as_ac_var=yes"
39785 echo "$as_me: failed program was:" >&5
39786 sed 's/^/| /' conftest.$ac_ext >&5
39788 eval "$as_ac_var=no"
39791 rm -f core conftest.err conftest.$ac_objext \
39792 conftest$ac_exeext conftest.$ac_ext
39794 ac_res=`eval echo '${'$as_ac_var'}'`
39795 { echo "$as_me:$LINENO: result: $ac_res" >&5
39796 echo "${ECHO_T}$ac_res" >&6; }
39797 if test `eval echo '${'$as_ac_var'}'` = yes; then
39798 cat >>confdefs.h <<_ACEOF
39799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39806 if test "$WCSLEN_FOUND" = 0; then
39807 if test "$TOOLKIT" = "MSW"; then
39808 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
39809 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
39810 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
39811 echo $ECHO_N "(cached) $ECHO_C" >&6
39813 ac_check_lib_save_LIBS=$LIBS
39814 LIBS="-lmsvcrt $LIBS"
39815 cat >conftest.$ac_ext <<_ACEOF
39818 cat confdefs.h >>conftest.$ac_ext
39819 cat >>conftest.$ac_ext <<_ACEOF
39820 /* end confdefs.h. */
39822 /* Override any GCC internal prototype to avoid an error.
39823 Use char because int might match the return type of a GCC
39824 builtin and then its argument prototype would still apply. */
39837 rm -f conftest.$ac_objext conftest$ac_exeext
39838 if { (ac_try="$ac_link"
39839 case "(($ac_try" in
39840 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39841 *) ac_try_echo
=$ac_try;;
39843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39844 (eval "$ac_link") 2>conftest.er1
39846 grep -v '^ *+' conftest.er1
>conftest.err
39848 cat conftest.err
>&5
39849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39850 (exit $ac_status); } &&
39851 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39852 { (case "(($ac_try" in
39853 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39854 *) ac_try_echo=$ac_try;;
39856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39857 (eval "$ac_try") 2>&5
39859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39860 (exit $ac_status); }; } &&
39861 { ac_try='test -s conftest$ac_exeext'
39862 { (case "(($ac_try" in
39863 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39864 *) ac_try_echo
=$ac_try;;
39866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39867 (eval "$ac_try") 2>&5
39869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39870 (exit $ac_status); }; }; then
39871 ac_cv_lib_msvcrt_wcslen
=yes
39873 echo "$as_me: failed program was:" >&5
39874 sed 's/^/| /' conftest.
$ac_ext >&5
39876 ac_cv_lib_msvcrt_wcslen
=no
39879 rm -f core conftest.err conftest.
$ac_objext \
39880 conftest
$ac_exeext conftest.
$ac_ext
39881 LIBS
=$ac_check_lib_save_LIBS
39883 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
39884 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
39885 if test $ac_cv_lib_msvcrt_wcslen = yes; then
39890 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
39891 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
39892 if test "${ac_cv_lib_w_wcslen+set}" = set; then
39893 echo $ECHO_N "(cached) $ECHO_C" >&6
39895 ac_check_lib_save_LIBS
=$LIBS
39897 cat >conftest.
$ac_ext <<_ACEOF
39900 cat confdefs.h
>>conftest.
$ac_ext
39901 cat >>conftest.
$ac_ext <<_ACEOF
39902 /* end confdefs.h. */
39904 /* Override any GCC internal prototype to avoid an error.
39905 Use char because int might match the return type of a GCC
39906 builtin and then its argument prototype would still apply. */
39919 rm -f conftest.
$ac_objext conftest
$ac_exeext
39920 if { (ac_try
="$ac_link"
39921 case "(($ac_try" in
39922 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39923 *) ac_try_echo=$ac_try;;
39925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39926 (eval "$ac_link") 2>conftest.er1
39928 grep -v '^ *+' conftest.er1 >conftest.err
39930 cat conftest.err >&5
39931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39932 (exit $ac_status); } &&
39933 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39934 { (case "(($ac_try" in
39935 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39936 *) ac_try_echo
=$ac_try;;
39938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39939 (eval "$ac_try") 2>&5
39941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39942 (exit $ac_status); }; } &&
39943 { ac_try
='test -s conftest$ac_exeext'
39944 { (case "(($ac_try" in
39945 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39946 *) ac_try_echo=$ac_try;;
39948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39949 (eval "$ac_try") 2>&5
39951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39952 (exit $ac_status); }; }; then
39953 ac_cv_lib_w_wcslen=yes
39955 echo "$as_me: failed program was:" >&5
39956 sed 's/^/| /' conftest.$ac_ext >&5
39958 ac_cv_lib_w_wcslen=no
39961 rm -f core conftest.err conftest.$ac_objext \
39962 conftest$ac_exeext conftest.$ac_ext
39963 LIBS=$ac_check_lib_save_LIBS
39965 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
39966 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
39967 if test $ac_cv_lib_w_wcslen = yes; then
39977 if test "$WCSLEN_FOUND" = 1; then
39978 cat >>confdefs.h <<\_ACEOF
39979 #define HAVE_WCSLEN 1
39984 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
39985 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
39988 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
39989 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
39990 if test "${ac_cv_type_mbstate_t+set}" = set; then
39991 echo $ECHO_N "(cached) $ECHO_C" >&6
39993 cat >conftest.$ac_ext <<_ACEOF
39996 cat confdefs.h >>conftest.$ac_ext
39997 cat >>conftest.$ac_ext <<_ACEOF
39998 /* end confdefs.h. */
40001 typedef mbstate_t ac__type_new_;
40005 if ((ac__type_new_ *) 0)
40007 if (sizeof (ac__type_new_))
40013 rm -f conftest.$ac_objext
40014 if { (ac_try="$ac_compile"
40015 case "(($ac_try" in
40016 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40017 *) ac_try_echo
=$ac_try;;
40019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40020 (eval "$ac_compile") 2>conftest.er1
40022 grep -v '^ *+' conftest.er1
>conftest.err
40024 cat conftest.err
>&5
40025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40026 (exit $ac_status); } &&
40027 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40028 { (case "(($ac_try" in
40029 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40030 *) ac_try_echo=$ac_try;;
40032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40033 (eval "$ac_try") 2>&5
40035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40036 (exit $ac_status); }; } &&
40037 { ac_try='test -s conftest.$ac_objext'
40038 { (case "(($ac_try" in
40039 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40040 *) ac_try_echo
=$ac_try;;
40042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40043 (eval "$ac_try") 2>&5
40045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40046 (exit $ac_status); }; }; then
40047 ac_cv_type_mbstate_t
=yes
40049 echo "$as_me: failed program was:" >&5
40050 sed 's/^/| /' conftest.
$ac_ext >&5
40052 ac_cv_type_mbstate_t
=no
40055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40057 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
40058 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
40059 if test $ac_cv_type_mbstate_t = yes; then
40061 cat >>confdefs.h
<<_ACEOF
40062 #define HAVE_MBSTATE_T 1
40066 for ac_func
in wcsrtombs
40068 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40069 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40071 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40072 echo $ECHO_N "(cached) $ECHO_C" >&6
40074 cat >conftest.
$ac_ext <<_ACEOF
40077 cat confdefs.h
>>conftest.
$ac_ext
40078 cat >>conftest.
$ac_ext <<_ACEOF
40079 /* end confdefs.h. */
40080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40082 #define $ac_func innocuous_$ac_func
40084 /* System header to define __stub macros and hopefully few prototypes,
40085 which can conflict with char $ac_func (); below.
40086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40087 <limits.h> exists even on freestanding compilers. */
40090 # include <limits.h>
40092 # include <assert.h>
40097 /* Override any GCC internal prototype to avoid an error.
40098 Use char because int might match the return type of a GCC
40099 builtin and then its argument prototype would still apply. */
40104 /* The GNU C library defines this for functions which it implements
40105 to always fail with ENOSYS. Some functions are actually named
40106 something starting with __ and the normal name is an alias. */
40107 #if defined __stub_$ac_func || defined __stub___$ac_func
40114 return $ac_func ();
40119 rm -f conftest.
$ac_objext conftest
$ac_exeext
40120 if { (ac_try
="$ac_link"
40121 case "(($ac_try" in
40122 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40123 *) ac_try_echo=$ac_try;;
40125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40126 (eval "$ac_link") 2>conftest.er1
40128 grep -v '^ *+' conftest.er1 >conftest.err
40130 cat conftest.err >&5
40131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40132 (exit $ac_status); } &&
40133 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40134 { (case "(($ac_try" in
40135 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40136 *) ac_try_echo
=$ac_try;;
40138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40139 (eval "$ac_try") 2>&5
40141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40142 (exit $ac_status); }; } &&
40143 { ac_try
='test -s conftest$ac_exeext'
40144 { (case "(($ac_try" in
40145 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40146 *) ac_try_echo=$ac_try;;
40148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40149 (eval "$ac_try") 2>&5
40151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40152 (exit $ac_status); }; }; then
40153 eval "$as_ac_var=yes"
40155 echo "$as_me: failed program was:" >&5
40156 sed 's/^/| /' conftest.$ac_ext >&5
40158 eval "$as_ac_var=no"
40161 rm -f core conftest.err conftest.$ac_objext \
40162 conftest$ac_exeext conftest.$ac_ext
40164 ac_res=`eval echo '${'$as_ac_var'}'`
40165 { echo "$as_me:$LINENO: result: $ac_res" >&5
40166 echo "${ECHO_T}$ac_res" >&6; }
40167 if test `eval echo '${'$as_ac_var'}'` = yes; then
40168 cat >>confdefs.h <<_ACEOF
40169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40178 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
40179 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
40184 for ac_func in snprintf vsnprintf
40186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40187 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40189 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40190 echo $ECHO_N "(cached) $ECHO_C" >&6
40192 cat >conftest.$ac_ext <<_ACEOF
40195 cat confdefs.h >>conftest.$ac_ext
40196 cat >>conftest.$ac_ext <<_ACEOF
40197 /* end confdefs.h. */
40198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40200 #define $ac_func innocuous_$ac_func
40202 /* System header to define __stub macros and hopefully few prototypes,
40203 which can conflict with char $ac_func (); below.
40204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40205 <limits.h> exists even on freestanding compilers. */
40208 # include <limits.h>
40210 # include <assert.h>
40215 /* Override any GCC internal prototype to avoid an error.
40216 Use char because int might match the return type of a GCC
40217 builtin and then its argument prototype would still apply. */
40222 /* The GNU C library defines this for functions which it implements
40223 to always fail with ENOSYS. Some functions are actually named
40224 something starting with __ and the normal name is an alias. */
40225 #if defined __stub_$ac_func || defined __stub___$ac_func
40232 return $ac_func ();
40237 rm -f conftest.$ac_objext conftest$ac_exeext
40238 if { (ac_try="$ac_link"
40239 case "(($ac_try" in
40240 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40241 *) ac_try_echo
=$ac_try;;
40243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40244 (eval "$ac_link") 2>conftest.er1
40246 grep -v '^ *+' conftest.er1
>conftest.err
40248 cat conftest.err
>&5
40249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40250 (exit $ac_status); } &&
40251 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40252 { (case "(($ac_try" in
40253 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40254 *) ac_try_echo=$ac_try;;
40256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40257 (eval "$ac_try") 2>&5
40259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40260 (exit $ac_status); }; } &&
40261 { ac_try='test -s conftest$ac_exeext'
40262 { (case "(($ac_try" in
40263 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40264 *) ac_try_echo
=$ac_try;;
40266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40267 (eval "$ac_try") 2>&5
40269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40270 (exit $ac_status); }; }; then
40271 eval "$as_ac_var=yes"
40273 echo "$as_me: failed program was:" >&5
40274 sed 's/^/| /' conftest.
$ac_ext >&5
40276 eval "$as_ac_var=no"
40279 rm -f core conftest.err conftest.
$ac_objext \
40280 conftest
$ac_exeext conftest.
$ac_ext
40282 ac_res
=`eval echo '${'$as_ac_var'}'`
40283 { echo "$as_me:$LINENO: result: $ac_res" >&5
40284 echo "${ECHO_T}$ac_res" >&6; }
40285 if test `eval echo '${'$as_ac_var'}'` = yes; then
40286 cat >>confdefs.h
<<_ACEOF
40287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40294 if test "$ac_cv_func_vsnprintf" = "yes"; then
40295 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
40296 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
40297 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
40298 echo $ECHO_N "(cached) $ECHO_C" >&6
40301 cat >conftest.
$ac_ext <<_ACEOF
40304 cat confdefs.h
>>conftest.
$ac_ext
40305 cat >>conftest.
$ac_ext <<_ACEOF
40306 /* end confdefs.h. */
40309 #include <stdarg.h>
40311 #if __MSL__ >= 0x6000
40313 using namespace std;
40323 vsnprintf(buf, 10u, "%s", ap);
40329 rm -f conftest.
$ac_objext
40330 if { (ac_try
="$ac_compile"
40331 case "(($ac_try" in
40332 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40333 *) ac_try_echo=$ac_try;;
40335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40336 (eval "$ac_compile") 2>conftest.er1
40338 grep -v '^ *+' conftest.er1 >conftest.err
40340 cat conftest.err >&5
40341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40342 (exit $ac_status); } &&
40343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40344 { (case "(($ac_try" in
40345 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40346 *) ac_try_echo
=$ac_try;;
40348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40349 (eval "$ac_try") 2>&5
40351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40352 (exit $ac_status); }; } &&
40353 { ac_try
='test -s conftest.$ac_objext'
40354 { (case "(($ac_try" in
40355 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40356 *) ac_try_echo=$ac_try;;
40358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40359 (eval "$ac_try") 2>&5
40361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40362 (exit $ac_status); }; }; then
40363 wx_cv_func_vsnprintf_decl=yes
40365 echo "$as_me: failed program was:" >&5
40366 sed 's/^/| /' conftest.$ac_ext >&5
40368 wx_cv_func_vsnprintf_decl=no
40372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40376 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
40377 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
40379 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
40380 cat >>confdefs.h <<\_ACEOF
40381 #define HAVE_VSNPRINTF_DECL 1
40385 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
40386 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
40387 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
40388 echo $ECHO_N "(cached) $ECHO_C" >&6
40391 cat >conftest.$ac_ext <<_ACEOF
40394 cat confdefs.h >>conftest.$ac_ext
40395 cat >>conftest.$ac_ext <<_ACEOF
40396 /* end confdefs.h. */
40399 #include <stdarg.h>
40401 #if __MSL__ >= 0x6000
40403 using namespace std;
40413 const char *fmt = "%s";
40414 vsnprintf(buf, 10u, fmt, ap);
40420 rm -f conftest.$ac_objext
40421 if { (ac_try="$ac_compile"
40422 case "(($ac_try" in
40423 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40424 *) ac_try_echo
=$ac_try;;
40426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40427 (eval "$ac_compile") 2>conftest.er1
40429 grep -v '^ *+' conftest.er1
>conftest.err
40431 cat conftest.err
>&5
40432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40433 (exit $ac_status); } &&
40434 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40435 { (case "(($ac_try" in
40436 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40437 *) ac_try_echo=$ac_try;;
40439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40440 (eval "$ac_try") 2>&5
40442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40443 (exit $ac_status); }; } &&
40444 { ac_try='test -s conftest.$ac_objext'
40445 { (case "(($ac_try" in
40446 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40447 *) ac_try_echo
=$ac_try;;
40449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40450 (eval "$ac_try") 2>&5
40452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40453 (exit $ac_status); }; }; then
40454 wx_cv_func_broken_vsnprintf_decl
=no
40456 echo "$as_me: failed program was:" >&5
40457 sed 's/^/| /' conftest.
$ac_ext >&5
40459 wx_cv_func_broken_vsnprintf_decl
=yes
40463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40467 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
40468 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
40470 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
40471 cat >>confdefs.h
<<\_ACEOF
40472 #define HAVE_BROKEN_VSNPRINTF_DECL 1
40479 if test "$ac_cv_func_snprintf" = "yes"; then
40480 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
40481 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
40482 if test "${wx_cv_func_snprintf_decl+set}" = set; then
40483 echo $ECHO_N "(cached) $ECHO_C" >&6
40486 cat >conftest.
$ac_ext <<_ACEOF
40489 cat confdefs.h
>>conftest.
$ac_ext
40490 cat >>conftest.
$ac_ext <<_ACEOF
40491 /* end confdefs.h. */
40494 #include <stdarg.h>
40496 #if __MSL__ >= 0x6000
40498 using namespace std;
40507 snprintf(buf, 10u, "%s", "wx");
40513 rm -f conftest.
$ac_objext
40514 if { (ac_try
="$ac_compile"
40515 case "(($ac_try" in
40516 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40517 *) ac_try_echo=$ac_try;;
40519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40520 (eval "$ac_compile") 2>conftest.er1
40522 grep -v '^ *+' conftest.er1 >conftest.err
40524 cat conftest.err >&5
40525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40526 (exit $ac_status); } &&
40527 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40528 { (case "(($ac_try" in
40529 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40530 *) ac_try_echo
=$ac_try;;
40532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40533 (eval "$ac_try") 2>&5
40535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40536 (exit $ac_status); }; } &&
40537 { ac_try
='test -s conftest.$ac_objext'
40538 { (case "(($ac_try" in
40539 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40540 *) ac_try_echo=$ac_try;;
40542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40543 (eval "$ac_try") 2>&5
40545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40546 (exit $ac_status); }; }; then
40547 wx_cv_func_snprintf_decl=yes
40549 echo "$as_me: failed program was:" >&5
40550 sed 's/^/| /' conftest.$ac_ext >&5
40552 wx_cv_func_snprintf_decl=no
40556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40560 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
40561 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
40563 if test "$wx_cv_func_snprintf_decl" = "yes"; then
40564 cat >>confdefs.h <<\_ACEOF
40565 #define HAVE_SNPRINTF_DECL 1
40569 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
40570 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
40571 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
40572 echo $ECHO_N "(cached) $ECHO_C" >&6
40575 cat >conftest.$ac_ext <<_ACEOF
40578 cat confdefs.h >>conftest.$ac_ext
40579 cat >>conftest.$ac_ext <<_ACEOF
40580 /* end confdefs.h. */
40583 #include <stdarg.h>
40585 #if __MSL__ >= 0x6000
40587 using namespace std;
40596 const char *fmt = "%s";
40597 snprintf(buf, 10u, fmt, "wx");
40603 rm -f conftest.$ac_objext
40604 if { (ac_try="$ac_compile"
40605 case "(($ac_try" in
40606 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40607 *) ac_try_echo
=$ac_try;;
40609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40610 (eval "$ac_compile") 2>conftest.er1
40612 grep -v '^ *+' conftest.er1
>conftest.err
40614 cat conftest.err
>&5
40615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40616 (exit $ac_status); } &&
40617 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40618 { (case "(($ac_try" in
40619 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40620 *) ac_try_echo=$ac_try;;
40622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40623 (eval "$ac_try") 2>&5
40625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40626 (exit $ac_status); }; } &&
40627 { ac_try='test -s conftest.$ac_objext'
40628 { (case "(($ac_try" in
40629 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40630 *) ac_try_echo
=$ac_try;;
40632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40633 (eval "$ac_try") 2>&5
40635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40636 (exit $ac_status); }; }; then
40637 wx_cv_func_broken_snprintf_decl
=no
40639 echo "$as_me: failed program was:" >&5
40640 sed 's/^/| /' conftest.
$ac_ext >&5
40642 wx_cv_func_broken_snprintf_decl
=yes
40646 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40650 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
40651 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
40653 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
40654 cat >>confdefs.h
<<\_ACEOF
40655 #define HAVE_BROKEN_SNPRINTF_DECL 1
40661 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
40663 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
40664 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
40665 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
40666 echo $ECHO_N "(cached) $ECHO_C" >&6
40669 if test "$cross_compiling" = yes; then
40671 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
40672 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
40673 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
40674 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
40675 wx_cv_func_snprintf_pos_params
=no
40679 cat >conftest.
$ac_ext <<_ACEOF
40682 cat confdefs.h
>>conftest.
$ac_ext
40683 cat >>conftest.
$ac_ext <<_ACEOF
40684 /* end confdefs.h. */
40691 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
40692 if (strcmp ("2 3 1", buffer) == 0)
40698 rm -f conftest
$ac_exeext
40699 if { (ac_try
="$ac_link"
40700 case "(($ac_try" in
40701 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40702 *) ac_try_echo=$ac_try;;
40704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40705 (eval "$ac_link") 2>&5
40707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40708 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40709 { (case "(($ac_try" in
40710 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40711 *) ac_try_echo
=$ac_try;;
40713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40714 (eval "$ac_try") 2>&5
40716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40717 (exit $ac_status); }; }; then
40718 wx_cv_func_snprintf_pos_params
=no
40720 echo "$as_me: program exited with status $ac_status" >&5
40721 echo "$as_me: failed program was:" >&5
40722 sed 's/^/| /' conftest.
$ac_ext >&5
40724 ( exit $ac_status )
40725 wx_cv_func_snprintf_pos_params
=yes
40727 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
40734 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
40735 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
40737 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
40738 cat >>confdefs.h
<<\_ACEOF
40739 #define HAVE_UNIX98_PRINTF 1
40746 if test "$wxUSE_UNICODE" = yes; then
40749 for ac_func
in swprintf
40751 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40752 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40754 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40755 echo $ECHO_N "(cached) $ECHO_C" >&6
40757 cat >conftest.
$ac_ext <<_ACEOF
40760 cat confdefs.h
>>conftest.
$ac_ext
40761 cat >>conftest.
$ac_ext <<_ACEOF
40762 /* end confdefs.h. */
40763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40765 #define $ac_func innocuous_$ac_func
40767 /* System header to define __stub macros and hopefully few prototypes,
40768 which can conflict with char $ac_func (); below.
40769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40770 <limits.h> exists even on freestanding compilers. */
40773 # include <limits.h>
40775 # include <assert.h>
40780 /* Override any GCC internal prototype to avoid an error.
40781 Use char because int might match the return type of a GCC
40782 builtin and then its argument prototype would still apply. */
40787 /* The GNU C library defines this for functions which it implements
40788 to always fail with ENOSYS. Some functions are actually named
40789 something starting with __ and the normal name is an alias. */
40790 #if defined __stub_$ac_func || defined __stub___$ac_func
40797 return $ac_func ();
40802 rm -f conftest.
$ac_objext conftest
$ac_exeext
40803 if { (ac_try
="$ac_link"
40804 case "(($ac_try" in
40805 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40806 *) ac_try_echo=$ac_try;;
40808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40809 (eval "$ac_link") 2>conftest.er1
40811 grep -v '^ *+' conftest.er1 >conftest.err
40813 cat conftest.err >&5
40814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40815 (exit $ac_status); } &&
40816 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40817 { (case "(($ac_try" in
40818 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40819 *) ac_try_echo
=$ac_try;;
40821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40822 (eval "$ac_try") 2>&5
40824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40825 (exit $ac_status); }; } &&
40826 { ac_try
='test -s conftest$ac_exeext'
40827 { (case "(($ac_try" in
40828 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40829 *) ac_try_echo=$ac_try;;
40831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40832 (eval "$ac_try") 2>&5
40834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40835 (exit $ac_status); }; }; then
40836 eval "$as_ac_var=yes"
40838 echo "$as_me: failed program was:" >&5
40839 sed 's/^/| /' conftest.$ac_ext >&5
40841 eval "$as_ac_var=no"
40844 rm -f core conftest.err conftest.$ac_objext \
40845 conftest$ac_exeext conftest.$ac_ext
40847 ac_res=`eval echo '${'$as_ac_var'}'`
40848 { echo "$as_me:$LINENO: result: $ac_res" >&5
40849 echo "${ECHO_T}$ac_res" >&6; }
40850 if test `eval echo '${'$as_ac_var'}'` = yes; then
40851 cat >>confdefs.h <<_ACEOF
40852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40859 if test "$ac_cv_func_swprintf" = "yes"; then
40860 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
40861 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
40862 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
40863 echo $ECHO_N "(cached) $ECHO_C" >&6
40866 cat >conftest.$ac_ext <<_ACEOF
40869 cat confdefs.h >>conftest.$ac_ext
40870 cat >>conftest.$ac_ext <<_ACEOF
40871 /* end confdefs.h. */
40874 #include <stdarg.h>
40882 const wchar_t *fmt = L"test";
40883 swprintf(buf, 10u, fmt);
40889 rm -f conftest.$ac_objext
40890 if { (ac_try="$ac_compile"
40891 case "(($ac_try" in
40892 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40893 *) ac_try_echo
=$ac_try;;
40895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40896 (eval "$ac_compile") 2>conftest.er1
40898 grep -v '^ *+' conftest.er1
>conftest.err
40900 cat conftest.err
>&5
40901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40902 (exit $ac_status); } &&
40903 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40904 { (case "(($ac_try" in
40905 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40906 *) ac_try_echo=$ac_try;;
40908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40909 (eval "$ac_try") 2>&5
40911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40912 (exit $ac_status); }; } &&
40913 { ac_try='test -s conftest.$ac_objext'
40914 { (case "(($ac_try" in
40915 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40916 *) ac_try_echo
=$ac_try;;
40918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40919 (eval "$ac_try") 2>&5
40921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40922 (exit $ac_status); }; }; then
40923 wx_cv_func_broken_swprintf_decl
=no
40925 echo "$as_me: failed program was:" >&5
40926 sed 's/^/| /' conftest.
$ac_ext >&5
40928 wx_cv_func_broken_swprintf_decl
=yes
40932 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40936 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
40937 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
40939 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
40940 cat >>confdefs.h
<<\_ACEOF
40941 #define HAVE_BROKEN_SWPRINTF_DECL 1
40947 wchar_headers
="#include <stdio.h>
40948 #include <wchar.h>"
40952 for ac_header
in widec.h
40954 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40955 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40956 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40958 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40959 echo $ECHO_N "(cached) $ECHO_C" >&6
40961 ac_res
=`eval echo '${'$as_ac_Header'}'`
40962 { echo "$as_me:$LINENO: result: $ac_res" >&5
40963 echo "${ECHO_T}$ac_res" >&6; }
40965 # Is the header compilable?
40966 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
40967 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
40968 cat >conftest.
$ac_ext <<_ACEOF
40971 cat confdefs.h
>>conftest.
$ac_ext
40972 cat >>conftest.
$ac_ext <<_ACEOF
40973 /* end confdefs.h. */
40974 $ac_includes_default
40975 #include <$ac_header>
40977 rm -f conftest.
$ac_objext
40978 if { (ac_try
="$ac_compile"
40979 case "(($ac_try" in
40980 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40981 *) ac_try_echo=$ac_try;;
40983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40984 (eval "$ac_compile") 2>conftest.er1
40986 grep -v '^ *+' conftest.er1 >conftest.err
40988 cat conftest.err >&5
40989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40990 (exit $ac_status); } &&
40991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40992 { (case "(($ac_try" in
40993 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40994 *) ac_try_echo
=$ac_try;;
40996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40997 (eval "$ac_try") 2>&5
40999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41000 (exit $ac_status); }; } &&
41001 { ac_try
='test -s conftest.$ac_objext'
41002 { (case "(($ac_try" in
41003 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41004 *) ac_try_echo=$ac_try;;
41006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41007 (eval "$ac_try") 2>&5
41009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41010 (exit $ac_status); }; }; then
41011 ac_header_compiler=yes
41013 echo "$as_me: failed program was:" >&5
41014 sed 's/^/| /' conftest.$ac_ext >&5
41016 ac_header_compiler=no
41019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41020 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41021 echo "${ECHO_T}$ac_header_compiler" >&6; }
41023 # Is the header present?
41024 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
41025 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
41026 cat >conftest.$ac_ext <<_ACEOF
41029 cat confdefs.h >>conftest.$ac_ext
41030 cat >>conftest.$ac_ext <<_ACEOF
41031 /* end confdefs.h. */
41032 #include <$ac_header>
41034 if { (ac_try="$ac_cpp conftest.$ac_ext"
41035 case "(($ac_try" in
41036 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41037 *) ac_try_echo
=$ac_try;;
41039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41040 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
41042 grep -v '^ *+' conftest.er1
>conftest.err
41044 cat conftest.err
>&5
41045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41046 (exit $ac_status); } >/dev
/null
; then
41047 if test -s conftest.err
; then
41048 ac_cpp_err
=$ac_c_preproc_warn_flag
41049 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
41056 if test -z "$ac_cpp_err"; then
41057 ac_header_preproc
=yes
41059 echo "$as_me: failed program was:" >&5
41060 sed 's/^/| /' conftest.
$ac_ext >&5
41062 ac_header_preproc
=no
41065 rm -f conftest.err conftest.
$ac_ext
41066 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41067 echo "${ECHO_T}$ac_header_preproc" >&6; }
41069 # So? What about this header?
41070 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41072 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41073 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41074 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41075 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41076 ac_header_preproc
=yes
41079 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41080 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41081 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41082 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41083 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41084 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41085 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41086 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41088 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41089 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41090 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41092 ## ----------------------------------------- ##
41093 ## Report this to wx-dev@lists.wxwidgets.org ##
41094 ## ----------------------------------------- ##
41096 ) | sed "s/^/$as_me: WARNING: /" >&2
41099 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41101 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41102 echo $ECHO_N "(cached) $ECHO_C" >&6
41104 eval "$as_ac_Header=\$ac_header_preproc"
41106 ac_res
=`eval echo '${'$as_ac_Header'}'`
41107 { echo "$as_me:$LINENO: result: $ac_res" >&5
41108 echo "${ECHO_T}$ac_res" >&6; }
41111 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41112 cat >>confdefs.h
<<_ACEOF
41113 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41120 if test "$ac_cv_header_widec_h" = "yes"; then
41121 wchar_headers
="$wchar_headers
41122 #include <widec.h>"
41127 for wx_func
in wputc wputchar putws fputws wprintf vswprintf
41129 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41130 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41131 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41132 echo $ECHO_N "(cached) $ECHO_C" >&6
41135 cat >conftest.
$ac_ext <<_ACEOF
41139 cat confdefs.h
>>conftest.
$ac_ext
41140 cat >>conftest.
$ac_ext <<_ACEOF
41141 /* end confdefs.h. */
41144 $ac_includes_default
41160 rm -f conftest.
$ac_objext conftest
$ac_exeext
41161 if { (ac_try
="$ac_link"
41162 case "(($ac_try" in
41163 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41164 *) ac_try_echo=$ac_try;;
41166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41167 (eval "$ac_link") 2>conftest.er1
41169 grep -v '^ *+' conftest.er1 >conftest.err
41171 cat conftest.err >&5
41172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41173 (exit $ac_status); } &&
41174 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41175 { (case "(($ac_try" in
41176 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41177 *) ac_try_echo
=$ac_try;;
41179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41180 (eval "$ac_try") 2>&5
41182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41183 (exit $ac_status); }; } &&
41184 { ac_try
='test -s conftest$ac_exeext'
41185 { (case "(($ac_try" in
41186 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41187 *) ac_try_echo=$ac_try;;
41189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41190 (eval "$ac_try") 2>&5
41192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41193 (exit $ac_status); }; }; then
41194 eval wx_cv_func_$wx_func=yes
41196 echo "$as_me: failed program was:" >&5
41197 sed 's/^/| /' conftest.$ac_ext >&5
41199 eval wx_cv_func_$wx_func=no
41202 rm -f core conftest.err conftest.$ac_objext \
41203 conftest$ac_exeext conftest.$ac_ext
41206 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41207 { echo "$as_me:$LINENO: result: $ac_res" >&5
41208 echo "${ECHO_T}$ac_res" >&6; }
41210 if eval test \$wx_cv_func_$wx_func = yes
41212 cat >>confdefs.h <<_ACEOF
41213 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41224 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
41225 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
41226 cat >conftest.$ac_ext <<_ACEOF
41229 cat confdefs.h >>conftest.$ac_ext
41230 cat >>conftest.$ac_ext <<_ACEOF
41231 /* end confdefs.h. */
41241 rm -f conftest.$ac_objext
41242 if { (ac_try="$ac_compile"
41243 case "(($ac_try" in
41244 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41245 *) ac_try_echo
=$ac_try;;
41247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41248 (eval "$ac_compile") 2>conftest.er1
41250 grep -v '^ *+' conftest.er1
>conftest.err
41252 cat conftest.err
>&5
41253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41254 (exit $ac_status); } &&
41255 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41256 { (case "(($ac_try" in
41257 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41258 *) ac_try_echo=$ac_try;;
41260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41261 (eval "$ac_try") 2>&5
41263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41264 (exit $ac_status); }; } &&
41265 { ac_try='test -s conftest.$ac_objext'
41266 { (case "(($ac_try" in
41267 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41268 *) ac_try_echo
=$ac_try;;
41270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41271 (eval "$ac_try") 2>&5
41273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41274 (exit $ac_status); }; }; then
41275 { echo "$as_me:$LINENO: result: yes" >&5
41276 echo "${ECHO_T}yes" >&6; }
41277 cat >>confdefs.h
<<\_ACEOF
41278 #define HAVE__VSNWPRINTF 1
41282 echo "$as_me: failed program was:" >&5
41283 sed 's/^/| /' conftest.
$ac_ext >&5
41285 { echo "$as_me:$LINENO: result: no" >&5
41286 echo "${ECHO_T}no" >&6; }
41289 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
41292 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
41294 for wx_func
in fnmatch
41296 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41297 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41298 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41299 echo $ECHO_N "(cached) $ECHO_C" >&6
41302 cat >conftest.
$ac_ext <<_ACEOF
41306 cat confdefs.h
>>conftest.
$ac_ext
41307 cat >>conftest.
$ac_ext <<_ACEOF
41308 /* end confdefs.h. */
41310 #include <fnmatch.h>
41311 $ac_includes_default
41327 rm -f conftest.
$ac_objext conftest
$ac_exeext
41328 if { (ac_try
="$ac_link"
41329 case "(($ac_try" in
41330 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41331 *) ac_try_echo=$ac_try;;
41333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41334 (eval "$ac_link") 2>conftest.er1
41336 grep -v '^ *+' conftest.er1 >conftest.err
41338 cat conftest.err >&5
41339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41340 (exit $ac_status); } &&
41341 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41342 { (case "(($ac_try" in
41343 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41344 *) ac_try_echo
=$ac_try;;
41346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41347 (eval "$ac_try") 2>&5
41349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41350 (exit $ac_status); }; } &&
41351 { ac_try
='test -s conftest$ac_exeext'
41352 { (case "(($ac_try" in
41353 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41354 *) ac_try_echo=$ac_try;;
41356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41357 (eval "$ac_try") 2>&5
41359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41360 (exit $ac_status); }; }; then
41361 eval wx_cv_func_$wx_func=yes
41363 echo "$as_me: failed program was:" >&5
41364 sed 's/^/| /' conftest.$ac_ext >&5
41366 eval wx_cv_func_$wx_func=no
41369 rm -f core conftest.err conftest.$ac_objext \
41370 conftest$ac_exeext conftest.$ac_ext
41373 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41374 { echo "$as_me:$LINENO: result: $ac_res" >&5
41375 echo "${ECHO_T}$ac_res" >&6; }
41377 if eval test \$wx_cv_func_$wx_func = yes
41379 cat >>confdefs.h <<_ACEOF
41380 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41392 if test "$wxUSE_FILE" = "yes"; then
41394 for wx_func in fsync
41396 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41397 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41398 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41399 echo $ECHO_N "(cached) $ECHO_C" >&6
41402 cat >conftest.$ac_ext <<_ACEOF
41406 cat confdefs.h >>conftest.$ac_ext
41407 cat >>conftest.$ac_ext <<_ACEOF
41408 /* end confdefs.h. */
41411 $ac_includes_default
41427 rm -f conftest.$ac_objext conftest$ac_exeext
41428 if { (ac_try="$ac_link"
41429 case "(($ac_try" in
41430 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41431 *) ac_try_echo
=$ac_try;;
41433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41434 (eval "$ac_link") 2>conftest.er1
41436 grep -v '^ *+' conftest.er1
>conftest.err
41438 cat conftest.err
>&5
41439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41440 (exit $ac_status); } &&
41441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41442 { (case "(($ac_try" in
41443 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41444 *) ac_try_echo=$ac_try;;
41446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41447 (eval "$ac_try") 2>&5
41449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41450 (exit $ac_status); }; } &&
41451 { ac_try='test -s conftest$ac_exeext'
41452 { (case "(($ac_try" in
41453 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41454 *) ac_try_echo
=$ac_try;;
41456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41457 (eval "$ac_try") 2>&5
41459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41460 (exit $ac_status); }; }; then
41461 eval wx_cv_func_
$wx_func=yes
41463 echo "$as_me: failed program was:" >&5
41464 sed 's/^/| /' conftest.
$ac_ext >&5
41466 eval wx_cv_func_
$wx_func=no
41469 rm -f core conftest.err conftest.
$ac_objext \
41470 conftest
$ac_exeext conftest.
$ac_ext
41473 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
41474 { echo "$as_me:$LINENO: result: $ac_res" >&5
41475 echo "${ECHO_T}$ac_res" >&6; }
41477 if eval test \
$wx_cv_func_$wx_func = yes
41479 cat >>confdefs.h
<<_ACEOF
41480 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41493 for wx_func
in round
41495 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41496 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41497 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41498 echo $ECHO_N "(cached) $ECHO_C" >&6
41501 cat >conftest.
$ac_ext <<_ACEOF
41505 cat confdefs.h
>>conftest.
$ac_ext
41506 cat >>conftest.
$ac_ext <<_ACEOF
41507 /* end confdefs.h. */
41510 $ac_includes_default
41526 rm -f conftest.
$ac_objext conftest
$ac_exeext
41527 if { (ac_try
="$ac_link"
41528 case "(($ac_try" in
41529 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41530 *) ac_try_echo=$ac_try;;
41532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41533 (eval "$ac_link") 2>conftest.er1
41535 grep -v '^ *+' conftest.er1 >conftest.err
41537 cat conftest.err >&5
41538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41539 (exit $ac_status); } &&
41540 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41541 { (case "(($ac_try" in
41542 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41543 *) ac_try_echo
=$ac_try;;
41545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41546 (eval "$ac_try") 2>&5
41548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41549 (exit $ac_status); }; } &&
41550 { ac_try
='test -s conftest$ac_exeext'
41551 { (case "(($ac_try" in
41552 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41553 *) ac_try_echo=$ac_try;;
41555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41556 (eval "$ac_try") 2>&5
41558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41559 (exit $ac_status); }; }; then
41560 eval wx_cv_func_$wx_func=yes
41562 echo "$as_me: failed program was:" >&5
41563 sed 's/^/| /' conftest.$ac_ext >&5
41565 eval wx_cv_func_$wx_func=no
41568 rm -f core conftest.err conftest.$ac_objext \
41569 conftest$ac_exeext conftest.$ac_ext
41572 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41573 { echo "$as_me:$LINENO: result: $ac_res" >&5
41574 echo "${ECHO_T}$ac_res" >&6; }
41576 if eval test \$wx_cv_func_$wx_func = yes
41578 cat >>confdefs.h <<_ACEOF
41579 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41590 if test "$TOOLKIT" != "MSW"; then
41596 # Check whether --with-libiconv-prefix was given.
41597 if test "${with_libiconv_prefix+set}" = set; then
41598 withval=$with_libiconv_prefix;
41599 for dir in `echo "$withval" | tr : ' '`; do
41600 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
41601 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
41607 { echo "$as_me:$LINENO: checking for iconv" >&5
41608 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
41609 if test "${am_cv_func_iconv+set}" = set; then
41610 echo $ECHO_N "(cached) $ECHO_C" >&6
41613 am_cv_func_iconv="no, consider installing GNU libiconv"
41615 cat >conftest.$ac_ext <<_ACEOF
41618 cat confdefs.h >>conftest.$ac_ext
41619 cat >>conftest.$ac_ext <<_ACEOF
41620 /* end confdefs.h. */
41621 #include <stdlib.h>
41626 iconv_t cd = iconv_open("","");
41627 iconv(cd,NULL,NULL,NULL,NULL);
41633 rm -f conftest.$ac_objext conftest$ac_exeext
41634 if { (ac_try="$ac_link"
41635 case "(($ac_try" in
41636 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41637 *) ac_try_echo
=$ac_try;;
41639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41640 (eval "$ac_link") 2>conftest.er1
41642 grep -v '^ *+' conftest.er1
>conftest.err
41644 cat conftest.err
>&5
41645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41646 (exit $ac_status); } &&
41647 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41648 { (case "(($ac_try" in
41649 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41650 *) ac_try_echo=$ac_try;;
41652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41653 (eval "$ac_try") 2>&5
41655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41656 (exit $ac_status); }; } &&
41657 { ac_try='test -s conftest$ac_exeext'
41658 { (case "(($ac_try" in
41659 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41660 *) ac_try_echo
=$ac_try;;
41662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41663 (eval "$ac_try") 2>&5
41665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41666 (exit $ac_status); }; }; then
41667 am_cv_func_iconv
=yes
41669 echo "$as_me: failed program was:" >&5
41670 sed 's/^/| /' conftest.
$ac_ext >&5
41675 rm -f core conftest.err conftest.
$ac_objext \
41676 conftest
$ac_exeext conftest.
$ac_ext
41677 if test "$am_cv_func_iconv" != yes; then
41678 am_save_LIBS
="$LIBS"
41679 LIBS
="$LIBS -liconv"
41680 cat >conftest.
$ac_ext <<_ACEOF
41683 cat confdefs.h
>>conftest.
$ac_ext
41684 cat >>conftest.
$ac_ext <<_ACEOF
41685 /* end confdefs.h. */
41686 #include <stdlib.h>
41691 iconv_t cd = iconv_open("","");
41692 iconv(cd,NULL,NULL,NULL,NULL);
41698 rm -f conftest.
$ac_objext conftest
$ac_exeext
41699 if { (ac_try
="$ac_link"
41700 case "(($ac_try" in
41701 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41702 *) ac_try_echo=$ac_try;;
41704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41705 (eval "$ac_link") 2>conftest.er1
41707 grep -v '^ *+' conftest.er1 >conftest.err
41709 cat conftest.err >&5
41710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41711 (exit $ac_status); } &&
41712 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41713 { (case "(($ac_try" in
41714 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41715 *) ac_try_echo
=$ac_try;;
41717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41718 (eval "$ac_try") 2>&5
41720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41721 (exit $ac_status); }; } &&
41722 { ac_try
='test -s conftest$ac_exeext'
41723 { (case "(($ac_try" in
41724 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41725 *) ac_try_echo=$ac_try;;
41727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41728 (eval "$ac_try") 2>&5
41730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41731 (exit $ac_status); }; }; then
41732 am_cv_lib_iconv=yes
41733 am_cv_func_iconv=yes
41735 echo "$as_me: failed program was:" >&5
41736 sed 's/^/| /' conftest.$ac_ext >&5
41741 rm -f core conftest.err conftest.$ac_objext \
41742 conftest$ac_exeext conftest.$ac_ext
41743 LIBS="$am_save_LIBS"
41747 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
41748 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
41749 if test "$am_cv_func_iconv" = yes; then
41751 cat >>confdefs.h <<\_ACEOF
41752 #define HAVE_ICONV 1
41755 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
41756 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
41757 if test "${wx_cv_func_iconv_const+set}" = set; then
41758 echo $ECHO_N "(cached) $ECHO_C" >&6
41760 cat >conftest.$ac_ext <<_ACEOF
41763 cat confdefs.h >>conftest.$ac_ext
41764 cat >>conftest.$ac_ext <<_ACEOF
41765 /* end confdefs.h. */
41767 #include <stdlib.h>
41773 #if defined(__STDC__) || defined(__cplusplus)
41774 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41787 rm -f conftest.$ac_objext
41788 if { (ac_try="$ac_compile"
41789 case "(($ac_try" in
41790 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41791 *) ac_try_echo
=$ac_try;;
41793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41794 (eval "$ac_compile") 2>conftest.er1
41796 grep -v '^ *+' conftest.er1
>conftest.err
41798 cat conftest.err
>&5
41799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41800 (exit $ac_status); } &&
41801 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41802 { (case "(($ac_try" in
41803 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41804 *) ac_try_echo=$ac_try;;
41806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41807 (eval "$ac_try") 2>&5
41809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41810 (exit $ac_status); }; } &&
41811 { ac_try='test -s conftest.$ac_objext'
41812 { (case "(($ac_try" in
41813 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41814 *) ac_try_echo
=$ac_try;;
41816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41817 (eval "$ac_try") 2>&5
41819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41820 (exit $ac_status); }; }; then
41821 wx_cv_func_iconv_const
="no"
41823 echo "$as_me: failed program was:" >&5
41824 sed 's/^/| /' conftest.
$ac_ext >&5
41826 wx_cv_func_iconv_const
="yes"
41830 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41833 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
41834 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
41837 if test "x$wx_cv_func_iconv_const" = "xyes"; then
41838 iconv_const
="const"
41842 cat >>confdefs.h
<<_ACEOF
41843 #define ICONV_CONST $iconv_const
41848 if test "$am_cv_lib_iconv" = yes; then
41853 LIBS
="$LIBICONV $LIBS"
41855 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
41857 for ac_func
in sigaction
41859 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41860 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41862 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41863 echo $ECHO_N "(cached) $ECHO_C" >&6
41865 cat >conftest.
$ac_ext <<_ACEOF
41868 cat confdefs.h
>>conftest.
$ac_ext
41869 cat >>conftest.
$ac_ext <<_ACEOF
41870 /* end confdefs.h. */
41871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41873 #define $ac_func innocuous_$ac_func
41875 /* System header to define __stub macros and hopefully few prototypes,
41876 which can conflict with char $ac_func (); below.
41877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41878 <limits.h> exists even on freestanding compilers. */
41881 # include <limits.h>
41883 # include <assert.h>
41888 /* Override any GCC internal prototype to avoid an error.
41889 Use char because int might match the return type of a GCC
41890 builtin and then its argument prototype would still apply. */
41895 /* The GNU C library defines this for functions which it implements
41896 to always fail with ENOSYS. Some functions are actually named
41897 something starting with __ and the normal name is an alias. */
41898 #if defined __stub_$ac_func || defined __stub___$ac_func
41905 return $ac_func ();
41910 rm -f conftest.
$ac_objext conftest
$ac_exeext
41911 if { (ac_try
="$ac_link"
41912 case "(($ac_try" in
41913 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41914 *) ac_try_echo=$ac_try;;
41916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41917 (eval "$ac_link") 2>conftest.er1
41919 grep -v '^ *+' conftest.er1 >conftest.err
41921 cat conftest.err >&5
41922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41923 (exit $ac_status); } &&
41924 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41925 { (case "(($ac_try" in
41926 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41927 *) ac_try_echo
=$ac_try;;
41929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41930 (eval "$ac_try") 2>&5
41932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41933 (exit $ac_status); }; } &&
41934 { ac_try
='test -s conftest$ac_exeext'
41935 { (case "(($ac_try" in
41936 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41937 *) ac_try_echo=$ac_try;;
41939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41940 (eval "$ac_try") 2>&5
41942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41943 (exit $ac_status); }; }; then
41944 eval "$as_ac_var=yes"
41946 echo "$as_me: failed program was:" >&5
41947 sed 's/^/| /' conftest.$ac_ext >&5
41949 eval "$as_ac_var=no"
41952 rm -f core conftest.err conftest.$ac_objext \
41953 conftest$ac_exeext conftest.$ac_ext
41955 ac_res=`eval echo '${'$as_ac_var'}'`
41956 { echo "$as_me:$LINENO: result: $ac_res" >&5
41957 echo "${ECHO_T}$ac_res" >&6; }
41958 if test `eval echo '${'$as_ac_var'}'` = yes; then
41959 cat >>confdefs.h <<_ACEOF
41960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41967 if test "$ac_cv_func_sigaction" = "no"; then
41968 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
41969 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
41970 wxUSE_ON_FATAL_EXCEPTION=no
41973 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41974 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
41975 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
41976 if test "${wx_cv_type_sa_handler+set}" = set; then
41977 echo $ECHO_N "(cached) $ECHO_C" >&6
41981 ac_cpp='$CXXCPP $CPPFLAGS'
41982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41986 cat >conftest.$ac_ext <<_ACEOF
41989 cat confdefs.h >>conftest.$ac_ext
41990 cat >>conftest.$ac_ext <<_ACEOF
41991 /* end confdefs.h. */
41992 #include <signal.h>
41997 extern void testSigHandler(int);
41999 struct sigaction sa;
42000 sa.sa_handler = testSigHandler;
42006 rm -f conftest.$ac_objext
42007 if { (ac_try="$ac_compile"
42008 case "(($ac_try" in
42009 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42010 *) ac_try_echo
=$ac_try;;
42012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42013 (eval "$ac_compile") 2>conftest.er1
42015 grep -v '^ *+' conftest.er1
>conftest.err
42017 cat conftest.err
>&5
42018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42019 (exit $ac_status); } &&
42020 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42021 { (case "(($ac_try" in
42022 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42023 *) ac_try_echo=$ac_try;;
42025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42026 (eval "$ac_try") 2>&5
42028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42029 (exit $ac_status); }; } &&
42030 { ac_try='test -s conftest.$ac_objext'
42031 { (case "(($ac_try" in
42032 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42033 *) ac_try_echo
=$ac_try;;
42035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42036 (eval "$ac_try") 2>&5
42038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42039 (exit $ac_status); }; }; then
42041 wx_cv_type_sa_handler
=int
42044 echo "$as_me: failed program was:" >&5
42045 sed 's/^/| /' conftest.
$ac_ext >&5
42048 wx_cv_type_sa_handler
=void
42052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42054 ac_cpp
='$CPP $CPPFLAGS'
42055 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42056 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42057 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42061 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
42062 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
42064 cat >>confdefs.h
<<_ACEOF
42065 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
42071 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
42072 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
42073 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
42074 if test "${wx_cv_func_backtrace+set}" = set; then
42075 echo $ECHO_N "(cached) $ECHO_C" >&6
42079 ac_cpp
='$CXXCPP $CPPFLAGS'
42080 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42081 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42082 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42084 cat >conftest.
$ac_ext <<_ACEOF
42087 cat confdefs.h
>>conftest.
$ac_ext
42088 cat >>conftest.
$ac_ext <<_ACEOF
42089 /* end confdefs.h. */
42090 #include <execinfo.h>
42098 backtrace(trace, 1);
42099 messages = backtrace_symbols(trace, 1);
42105 rm -f conftest.
$ac_objext
42106 if { (ac_try
="$ac_compile"
42107 case "(($ac_try" in
42108 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42109 *) ac_try_echo=$ac_try;;
42111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42112 (eval "$ac_compile") 2>conftest.er1
42114 grep -v '^ *+' conftest.er1 >conftest.err
42116 cat conftest.err >&5
42117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42118 (exit $ac_status); } &&
42119 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42120 { (case "(($ac_try" in
42121 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42122 *) ac_try_echo
=$ac_try;;
42124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42125 (eval "$ac_try") 2>&5
42127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42128 (exit $ac_status); }; } &&
42129 { ac_try
='test -s conftest.$ac_objext'
42130 { (case "(($ac_try" in
42131 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42132 *) ac_try_echo=$ac_try;;
42134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42135 (eval "$ac_try") 2>&5
42137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42138 (exit $ac_status); }; }; then
42139 wx_cv_func_backtrace=yes
42141 echo "$as_me: failed program was:" >&5
42142 sed 's/^/| /' conftest.$ac_ext >&5
42144 wx_cv_func_backtrace=no
42148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42150 ac_cpp='$CPP $CPPFLAGS'
42151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42158 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
42159 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
42162 if test "$wx_cv_func_backtrace" = "no"; then
42163 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
42164 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
42165 wxUSE_STACKWALKER=no
42167 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
42168 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
42169 if test "${wx_cv_func_cxa_demangle+set}" = set; then
42170 echo $ECHO_N "(cached) $ECHO_C" >&6
42174 ac_cpp='$CXXCPP $CPPFLAGS'
42175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42179 cat >conftest.$ac_ext <<_ACEOF
42182 cat confdefs.h >>conftest.$ac_ext
42183 cat >>conftest.$ac_ext <<_ACEOF
42184 /* end confdefs.h. */
42185 #include <cxxabi.h>
42191 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
42197 rm -f conftest.$ac_objext conftest$ac_exeext
42198 if { (ac_try="$ac_link"
42199 case "(($ac_try" in
42200 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42201 *) ac_try_echo
=$ac_try;;
42203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42204 (eval "$ac_link") 2>conftest.er1
42206 grep -v '^ *+' conftest.er1
>conftest.err
42208 cat conftest.err
>&5
42209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42210 (exit $ac_status); } &&
42211 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42212 { (case "(($ac_try" in
42213 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42214 *) ac_try_echo=$ac_try;;
42216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42217 (eval "$ac_try") 2>&5
42219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42220 (exit $ac_status); }; } &&
42221 { ac_try='test -s conftest$ac_exeext'
42222 { (case "(($ac_try" in
42223 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42224 *) ac_try_echo
=$ac_try;;
42226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42227 (eval "$ac_try") 2>&5
42229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42230 (exit $ac_status); }; }; then
42231 wx_cv_func_cxa_demangle
=yes
42233 echo "$as_me: failed program was:" >&5
42234 sed 's/^/| /' conftest.
$ac_ext >&5
42236 wx_cv_func_cxa_demangle
=no
42240 rm -f core conftest.err conftest.
$ac_objext \
42241 conftest
$ac_exeext conftest.
$ac_ext
42243 ac_cpp
='$CPP $CPPFLAGS'
42244 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42245 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42246 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42251 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
42252 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
42254 if test "$wx_cv_func_cxa_demangle" = "yes"; then
42255 cat >>confdefs.h
<<\_ACEOF
42256 #define HAVE_CXA_DEMANGLE 1
42263 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
42264 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
42265 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
42266 wxUSE_STACKWALKER
=no
42272 for ac_func
in mkstemp mktemp
42274 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42275 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42277 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42278 echo $ECHO_N "(cached) $ECHO_C" >&6
42280 cat >conftest.
$ac_ext <<_ACEOF
42283 cat confdefs.h
>>conftest.
$ac_ext
42284 cat >>conftest.
$ac_ext <<_ACEOF
42285 /* end confdefs.h. */
42286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42288 #define $ac_func innocuous_$ac_func
42290 /* System header to define __stub macros and hopefully few prototypes,
42291 which can conflict with char $ac_func (); below.
42292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42293 <limits.h> exists even on freestanding compilers. */
42296 # include <limits.h>
42298 # include <assert.h>
42303 /* Override any GCC internal prototype to avoid an error.
42304 Use char because int might match the return type of a GCC
42305 builtin and then its argument prototype would still apply. */
42310 /* The GNU C library defines this for functions which it implements
42311 to always fail with ENOSYS. Some functions are actually named
42312 something starting with __ and the normal name is an alias. */
42313 #if defined __stub_$ac_func || defined __stub___$ac_func
42320 return $ac_func ();
42325 rm -f conftest.
$ac_objext conftest
$ac_exeext
42326 if { (ac_try
="$ac_link"
42327 case "(($ac_try" in
42328 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42329 *) ac_try_echo=$ac_try;;
42331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42332 (eval "$ac_link") 2>conftest.er1
42334 grep -v '^ *+' conftest.er1 >conftest.err
42336 cat conftest.err >&5
42337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42338 (exit $ac_status); } &&
42339 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42340 { (case "(($ac_try" in
42341 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42342 *) ac_try_echo
=$ac_try;;
42344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42345 (eval "$ac_try") 2>&5
42347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42348 (exit $ac_status); }; } &&
42349 { ac_try
='test -s conftest$ac_exeext'
42350 { (case "(($ac_try" in
42351 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42352 *) ac_try_echo=$ac_try;;
42354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42355 (eval "$ac_try") 2>&5
42357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42358 (exit $ac_status); }; }; then
42359 eval "$as_ac_var=yes"
42361 echo "$as_me: failed program was:" >&5
42362 sed 's/^/| /' conftest.$ac_ext >&5
42364 eval "$as_ac_var=no"
42367 rm -f core conftest.err conftest.$ac_objext \
42368 conftest$ac_exeext conftest.$ac_ext
42370 ac_res=`eval echo '${'$as_ac_var'}'`
42371 { echo "$as_me:$LINENO: result: $ac_res" >&5
42372 echo "${ECHO_T}$ac_res" >&6; }
42373 if test `eval echo '${'$as_ac_var'}'` = yes; then
42374 cat >>confdefs.h <<_ACEOF
42375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42382 { echo "$as_me:$LINENO: checking for statfs" >&5
42383 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
42384 if test "${wx_cv_func_statfs+set}" = set; then
42385 echo $ECHO_N "(cached) $ECHO_C" >&6
42387 cat >conftest.$ac_ext <<_ACEOF
42390 cat confdefs.h >>conftest.$ac_ext
42391 cat >>conftest.$ac_ext <<_ACEOF
42392 /* end confdefs.h. */
42394 #if defined(__BSD__)
42395 #include <sys/param.h>
42396 #include <sys/mount.h>
42398 #include <sys/vfs.h>
42416 rm -f conftest.$ac_objext
42417 if { (ac_try="$ac_compile"
42418 case "(($ac_try" in
42419 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42420 *) ac_try_echo
=$ac_try;;
42422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42423 (eval "$ac_compile") 2>conftest.er1
42425 grep -v '^ *+' conftest.er1
>conftest.err
42427 cat conftest.err
>&5
42428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42429 (exit $ac_status); } &&
42430 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42431 { (case "(($ac_try" in
42432 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42433 *) ac_try_echo=$ac_try;;
42435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42436 (eval "$ac_try") 2>&5
42438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42439 (exit $ac_status); }; } &&
42440 { ac_try='test -s conftest.$ac_objext'
42441 { (case "(($ac_try" in
42442 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42443 *) ac_try_echo
=$ac_try;;
42445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42446 (eval "$ac_try") 2>&5
42448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42449 (exit $ac_status); }; }; then
42450 wx_cv_func_statfs
=yes
42452 echo "$as_me: failed program was:" >&5
42453 sed 's/^/| /' conftest.
$ac_ext >&5
42455 wx_cv_func_statfs
=no
42459 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42462 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
42463 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
42465 if test "$wx_cv_func_statfs" = "yes"; then
42466 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
42467 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
42468 if test "${wx_cv_func_statfs_decl+set}" = set; then
42469 echo $ECHO_N "(cached) $ECHO_C" >&6
42472 ac_cpp
='$CXXCPP $CPPFLAGS'
42473 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42474 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42475 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42477 cat >conftest.
$ac_ext <<_ACEOF
42480 cat confdefs.h
>>conftest.
$ac_ext
42481 cat >>conftest.
$ac_ext <<_ACEOF
42482 /* end confdefs.h. */
42484 #if defined(__BSD__)
42485 #include <sys/param.h>
42486 #include <sys/mount.h>
42488 #include <sys/vfs.h>
42502 rm -f conftest.
$ac_objext
42503 if { (ac_try
="$ac_compile"
42504 case "(($ac_try" in
42505 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42506 *) ac_try_echo=$ac_try;;
42508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42509 (eval "$ac_compile") 2>conftest.er1
42511 grep -v '^ *+' conftest.er1 >conftest.err
42513 cat conftest.err >&5
42514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42515 (exit $ac_status); } &&
42516 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42517 { (case "(($ac_try" in
42518 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42519 *) ac_try_echo
=$ac_try;;
42521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42522 (eval "$ac_try") 2>&5
42524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42525 (exit $ac_status); }; } &&
42526 { ac_try
='test -s conftest.$ac_objext'
42527 { (case "(($ac_try" in
42528 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42529 *) ac_try_echo=$ac_try;;
42531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42532 (eval "$ac_try") 2>&5
42534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42535 (exit $ac_status); }; }; then
42536 wx_cv_func_statfs_decl=yes
42538 echo "$as_me: failed program was:" >&5
42539 sed 's/^/| /' conftest.$ac_ext >&5
42541 wx_cv_func_statfs_decl=no
42545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42547 ac_cpp='$CPP $CPPFLAGS'
42548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42554 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
42555 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
42557 if test "$wx_cv_func_statfs_decl" = "yes"; then
42558 cat >>confdefs.h <<\_ACEOF
42559 #define HAVE_STATFS_DECL 1
42564 wx_cv_type_statvfs_t="struct statfs"
42565 cat >>confdefs.h <<\_ACEOF
42566 #define HAVE_STATFS 1
42570 { echo "$as_me:$LINENO: checking for statvfs" >&5
42571 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
42572 if test "${wx_cv_func_statvfs+set}" = set; then
42573 echo $ECHO_N "(cached) $ECHO_C" >&6
42575 cat >conftest.$ac_ext <<_ACEOF
42578 cat confdefs.h >>conftest.$ac_ext
42579 cat >>conftest.$ac_ext <<_ACEOF
42580 /* end confdefs.h. */
42582 #include <stddef.h>
42583 #include <sys/statvfs.h>
42589 statvfs("/", NULL);
42595 rm -f conftest.$ac_objext
42596 if { (ac_try="$ac_compile"
42597 case "(($ac_try" in
42598 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42599 *) ac_try_echo
=$ac_try;;
42601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42602 (eval "$ac_compile") 2>conftest.er1
42604 grep -v '^ *+' conftest.er1
>conftest.err
42606 cat conftest.err
>&5
42607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42608 (exit $ac_status); } &&
42609 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42610 { (case "(($ac_try" in
42611 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42612 *) ac_try_echo=$ac_try;;
42614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42615 (eval "$ac_try") 2>&5
42617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42618 (exit $ac_status); }; } &&
42619 { ac_try='test -s conftest.$ac_objext'
42620 { (case "(($ac_try" in
42621 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42622 *) ac_try_echo
=$ac_try;;
42624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42625 (eval "$ac_try") 2>&5
42627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42628 (exit $ac_status); }; }; then
42629 wx_cv_func_statvfs
=yes
42631 echo "$as_me: failed program was:" >&5
42632 sed 's/^/| /' conftest.
$ac_ext >&5
42634 wx_cv_func_statvfs
=no
42638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42641 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
42642 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
42644 if test "$wx_cv_func_statvfs" = "yes"; then
42645 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
42646 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
42647 if test "${wx_cv_type_statvfs_t+set}" = set; then
42648 echo $ECHO_N "(cached) $ECHO_C" >&6
42651 ac_cpp
='$CXXCPP $CPPFLAGS'
42652 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42653 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42654 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42656 cat >conftest.
$ac_ext <<_ACEOF
42659 cat confdefs.h
>>conftest.
$ac_ext
42660 cat >>conftest.
$ac_ext <<_ACEOF
42661 /* end confdefs.h. */
42663 #include <sys/statvfs.h>
42680 rm -f conftest.
$ac_objext
42681 if { (ac_try
="$ac_compile"
42682 case "(($ac_try" in
42683 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42684 *) ac_try_echo=$ac_try;;
42686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42687 (eval "$ac_compile") 2>conftest.er1
42689 grep -v '^ *+' conftest.er1 >conftest.err
42691 cat conftest.err >&5
42692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42693 (exit $ac_status); } &&
42694 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42695 { (case "(($ac_try" in
42696 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42697 *) ac_try_echo
=$ac_try;;
42699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42700 (eval "$ac_try") 2>&5
42702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42703 (exit $ac_status); }; } &&
42704 { ac_try
='test -s conftest.$ac_objext'
42705 { (case "(($ac_try" in
42706 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42707 *) ac_try_echo=$ac_try;;
42709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42710 (eval "$ac_try") 2>&5
42712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42713 (exit $ac_status); }; }; then
42714 wx_cv_type_statvfs_t=statvfs_t
42716 echo "$as_me: failed program was:" >&5
42717 sed 's/^/| /' conftest.$ac_ext >&5
42720 cat >conftest.$ac_ext <<_ACEOF
42723 cat confdefs.h >>conftest.$ac_ext
42724 cat >>conftest.$ac_ext <<_ACEOF
42725 /* end confdefs.h. */
42727 #include <sys/statvfs.h>
42744 rm -f conftest.$ac_objext
42745 if { (ac_try="$ac_compile"
42746 case "(($ac_try" in
42747 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42748 *) ac_try_echo
=$ac_try;;
42750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42751 (eval "$ac_compile") 2>conftest.er1
42753 grep -v '^ *+' conftest.er1
>conftest.err
42755 cat conftest.err
>&5
42756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42757 (exit $ac_status); } &&
42758 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42759 { (case "(($ac_try" in
42760 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42761 *) ac_try_echo=$ac_try;;
42763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42764 (eval "$ac_try") 2>&5
42766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42767 (exit $ac_status); }; } &&
42768 { ac_try='test -s conftest.$ac_objext'
42769 { (case "(($ac_try" in
42770 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42771 *) ac_try_echo
=$ac_try;;
42773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42774 (eval "$ac_try") 2>&5
42776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42777 (exit $ac_status); }; }; then
42778 wx_cv_type_statvfs_t
="struct statvfs"
42780 echo "$as_me: failed program was:" >&5
42781 sed 's/^/| /' conftest.
$ac_ext >&5
42783 wx_cv_type_statvfs_t
="unknown"
42787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42792 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42794 ac_cpp
='$CPP $CPPFLAGS'
42795 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42796 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42797 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42801 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
42802 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
42804 if test "$wx_cv_type_statvfs_t" != "unknown"; then
42805 cat >>confdefs.h
<<\_ACEOF
42806 #define HAVE_STATVFS 1
42811 wx_cv_type_statvfs_t
="unknown"
42815 if test "$wx_cv_type_statvfs_t" != "unknown"; then
42816 cat >>confdefs.h
<<_ACEOF
42817 #define WX_STATFS_T $wx_cv_type_statvfs_t
42821 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
42822 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
42825 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42828 for ac_func
in fcntl flock
42830 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42831 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42833 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42834 echo $ECHO_N "(cached) $ECHO_C" >&6
42836 cat >conftest.
$ac_ext <<_ACEOF
42839 cat confdefs.h
>>conftest.
$ac_ext
42840 cat >>conftest.
$ac_ext <<_ACEOF
42841 /* end confdefs.h. */
42842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42844 #define $ac_func innocuous_$ac_func
42846 /* System header to define __stub macros and hopefully few prototypes,
42847 which can conflict with char $ac_func (); below.
42848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42849 <limits.h> exists even on freestanding compilers. */
42852 # include <limits.h>
42854 # include <assert.h>
42859 /* Override any GCC internal prototype to avoid an error.
42860 Use char because int might match the return type of a GCC
42861 builtin and then its argument prototype would still apply. */
42866 /* The GNU C library defines this for functions which it implements
42867 to always fail with ENOSYS. Some functions are actually named
42868 something starting with __ and the normal name is an alias. */
42869 #if defined __stub_$ac_func || defined __stub___$ac_func
42876 return $ac_func ();
42881 rm -f conftest.
$ac_objext conftest
$ac_exeext
42882 if { (ac_try
="$ac_link"
42883 case "(($ac_try" in
42884 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42885 *) ac_try_echo=$ac_try;;
42887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42888 (eval "$ac_link") 2>conftest.er1
42890 grep -v '^ *+' conftest.er1 >conftest.err
42892 cat conftest.err >&5
42893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42894 (exit $ac_status); } &&
42895 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42896 { (case "(($ac_try" in
42897 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42898 *) ac_try_echo
=$ac_try;;
42900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42901 (eval "$ac_try") 2>&5
42903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42904 (exit $ac_status); }; } &&
42905 { ac_try
='test -s conftest$ac_exeext'
42906 { (case "(($ac_try" in
42907 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42908 *) ac_try_echo=$ac_try;;
42910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42911 (eval "$ac_try") 2>&5
42913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42914 (exit $ac_status); }; }; then
42915 eval "$as_ac_var=yes"
42917 echo "$as_me: failed program was:" >&5
42918 sed 's/^/| /' conftest.$ac_ext >&5
42920 eval "$as_ac_var=no"
42923 rm -f core conftest.err conftest.$ac_objext \
42924 conftest$ac_exeext conftest.$ac_ext
42926 ac_res=`eval echo '${'$as_ac_var'}'`
42927 { echo "$as_me:$LINENO: result: $ac_res" >&5
42928 echo "${ECHO_T}$ac_res" >&6; }
42929 if test `eval echo '${'$as_ac_var'}'` = yes; then
42930 cat >>confdefs.h <<_ACEOF
42931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42938 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
42939 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
42940 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
42941 wxUSE_SNGLINST_CHECKER=no
42946 for ac_func in timegm
42948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42949 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42951 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42952 echo $ECHO_N "(cached) $ECHO_C" >&6
42954 cat >conftest.$ac_ext <<_ACEOF
42957 cat confdefs.h >>conftest.$ac_ext
42958 cat >>conftest.$ac_ext <<_ACEOF
42959 /* end confdefs.h. */
42960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42962 #define $ac_func innocuous_$ac_func
42964 /* System header to define __stub macros and hopefully few prototypes,
42965 which can conflict with char $ac_func (); below.
42966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42967 <limits.h> exists even on freestanding compilers. */
42970 # include <limits.h>
42972 # include <assert.h>
42977 /* Override any GCC internal prototype to avoid an error.
42978 Use char because int might match the return type of a GCC
42979 builtin and then its argument prototype would still apply. */
42984 /* The GNU C library defines this for functions which it implements
42985 to always fail with ENOSYS. Some functions are actually named
42986 something starting with __ and the normal name is an alias. */
42987 #if defined __stub_$ac_func || defined __stub___$ac_func
42994 return $ac_func ();
42999 rm -f conftest.$ac_objext conftest$ac_exeext
43000 if { (ac_try="$ac_link"
43001 case "(($ac_try" in
43002 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43003 *) ac_try_echo
=$ac_try;;
43005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43006 (eval "$ac_link") 2>conftest.er1
43008 grep -v '^ *+' conftest.er1
>conftest.err
43010 cat conftest.err
>&5
43011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43012 (exit $ac_status); } &&
43013 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43014 { (case "(($ac_try" in
43015 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43016 *) ac_try_echo=$ac_try;;
43018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43019 (eval "$ac_try") 2>&5
43021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43022 (exit $ac_status); }; } &&
43023 { ac_try='test -s conftest$ac_exeext'
43024 { (case "(($ac_try" in
43025 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43026 *) ac_try_echo
=$ac_try;;
43028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43029 (eval "$ac_try") 2>&5
43031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43032 (exit $ac_status); }; }; then
43033 eval "$as_ac_var=yes"
43035 echo "$as_me: failed program was:" >&5
43036 sed 's/^/| /' conftest.
$ac_ext >&5
43038 eval "$as_ac_var=no"
43041 rm -f core conftest.err conftest.
$ac_objext \
43042 conftest
$ac_exeext conftest.
$ac_ext
43044 ac_res
=`eval echo '${'$as_ac_var'}'`
43045 { echo "$as_me:$LINENO: result: $ac_res" >&5
43046 echo "${ECHO_T}$ac_res" >&6; }
43047 if test `eval echo '${'$as_ac_var'}'` = yes; then
43048 cat >>confdefs.h
<<_ACEOF
43049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43058 for ac_func
in putenv setenv
43060 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43061 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43063 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43064 echo $ECHO_N "(cached) $ECHO_C" >&6
43066 cat >conftest.
$ac_ext <<_ACEOF
43069 cat confdefs.h
>>conftest.
$ac_ext
43070 cat >>conftest.
$ac_ext <<_ACEOF
43071 /* end confdefs.h. */
43072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43074 #define $ac_func innocuous_$ac_func
43076 /* System header to define __stub macros and hopefully few prototypes,
43077 which can conflict with char $ac_func (); below.
43078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43079 <limits.h> exists even on freestanding compilers. */
43082 # include <limits.h>
43084 # include <assert.h>
43089 /* Override any GCC internal prototype to avoid an error.
43090 Use char because int might match the return type of a GCC
43091 builtin and then its argument prototype would still apply. */
43096 /* The GNU C library defines this for functions which it implements
43097 to always fail with ENOSYS. Some functions are actually named
43098 something starting with __ and the normal name is an alias. */
43099 #if defined __stub_$ac_func || defined __stub___$ac_func
43106 return $ac_func ();
43111 rm -f conftest.
$ac_objext conftest
$ac_exeext
43112 if { (ac_try
="$ac_link"
43113 case "(($ac_try" in
43114 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43115 *) ac_try_echo=$ac_try;;
43117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43118 (eval "$ac_link") 2>conftest.er1
43120 grep -v '^ *+' conftest.er1 >conftest.err
43122 cat conftest.err >&5
43123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43124 (exit $ac_status); } &&
43125 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43126 { (case "(($ac_try" in
43127 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43128 *) ac_try_echo
=$ac_try;;
43130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43131 (eval "$ac_try") 2>&5
43133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43134 (exit $ac_status); }; } &&
43135 { ac_try
='test -s conftest$ac_exeext'
43136 { (case "(($ac_try" in
43137 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43138 *) ac_try_echo=$ac_try;;
43140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43141 (eval "$ac_try") 2>&5
43143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43144 (exit $ac_status); }; }; then
43145 eval "$as_ac_var=yes"
43147 echo "$as_me: failed program was:" >&5
43148 sed 's/^/| /' conftest.$ac_ext >&5
43150 eval "$as_ac_var=no"
43153 rm -f core conftest.err conftest.$ac_objext \
43154 conftest$ac_exeext conftest.$ac_ext
43156 ac_res=`eval echo '${'$as_ac_var'}'`
43157 { echo "$as_me:$LINENO: result: $ac_res" >&5
43158 echo "${ECHO_T}$ac_res" >&6; }
43159 if test `eval echo '${'$as_ac_var'}'` = yes; then
43160 cat >>confdefs.h <<_ACEOF
43161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43168 HAVE_SOME_SLEEP_FUNC=0
43169 if test "$USE_BEOS" = 1; then
43170 cat >>confdefs.h <<\_ACEOF
43171 #define HAVE_SLEEP 1
43174 HAVE_SOME_SLEEP_FUNC=1
43177 if test "$USE_DARWIN" = 1; then
43178 cat >>confdefs.h <<\_ACEOF
43179 #define HAVE_USLEEP 1
43182 HAVE_SOME_SLEEP_FUNC=1
43185 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
43188 for ac_func in nanosleep
43190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43191 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43193 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43194 echo $ECHO_N "(cached) $ECHO_C" >&6
43196 cat >conftest.$ac_ext <<_ACEOF
43199 cat confdefs.h >>conftest.$ac_ext
43200 cat >>conftest.$ac_ext <<_ACEOF
43201 /* end confdefs.h. */
43202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43204 #define $ac_func innocuous_$ac_func
43206 /* System header to define __stub macros and hopefully few prototypes,
43207 which can conflict with char $ac_func (); below.
43208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43209 <limits.h> exists even on freestanding compilers. */
43212 # include <limits.h>
43214 # include <assert.h>
43219 /* Override any GCC internal prototype to avoid an error.
43220 Use char because int might match the return type of a GCC
43221 builtin and then its argument prototype would still apply. */
43226 /* The GNU C library defines this for functions which it implements
43227 to always fail with ENOSYS. Some functions are actually named
43228 something starting with __ and the normal name is an alias. */
43229 #if defined __stub_$ac_func || defined __stub___$ac_func
43236 return $ac_func ();
43241 rm -f conftest.$ac_objext conftest$ac_exeext
43242 if { (ac_try="$ac_link"
43243 case "(($ac_try" in
43244 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43245 *) ac_try_echo
=$ac_try;;
43247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43248 (eval "$ac_link") 2>conftest.er1
43250 grep -v '^ *+' conftest.er1
>conftest.err
43252 cat conftest.err
>&5
43253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43254 (exit $ac_status); } &&
43255 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43256 { (case "(($ac_try" in
43257 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43258 *) ac_try_echo=$ac_try;;
43260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43261 (eval "$ac_try") 2>&5
43263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43264 (exit $ac_status); }; } &&
43265 { ac_try='test -s conftest$ac_exeext'
43266 { (case "(($ac_try" in
43267 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43268 *) ac_try_echo
=$ac_try;;
43270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43271 (eval "$ac_try") 2>&5
43273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43274 (exit $ac_status); }; }; then
43275 eval "$as_ac_var=yes"
43277 echo "$as_me: failed program was:" >&5
43278 sed 's/^/| /' conftest.
$ac_ext >&5
43280 eval "$as_ac_var=no"
43283 rm -f core conftest.err conftest.
$ac_objext \
43284 conftest
$ac_exeext conftest.
$ac_ext
43286 ac_res
=`eval echo '${'$as_ac_var'}'`
43287 { echo "$as_me:$LINENO: result: $ac_res" >&5
43288 echo "${ECHO_T}$ac_res" >&6; }
43289 if test `eval echo '${'$as_ac_var'}'` = yes; then
43290 cat >>confdefs.h
<<_ACEOF
43291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43293 cat >>confdefs.h
<<\_ACEOF
43294 #define HAVE_NANOSLEEP 1
43299 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
43300 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
43301 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
43302 echo $ECHO_N "(cached) $ECHO_C" >&6
43304 ac_check_lib_save_LIBS
=$LIBS
43305 LIBS
="-lposix4 $LIBS"
43306 cat >conftest.
$ac_ext <<_ACEOF
43309 cat confdefs.h
>>conftest.
$ac_ext
43310 cat >>conftest.
$ac_ext <<_ACEOF
43311 /* end confdefs.h. */
43313 /* Override any GCC internal prototype to avoid an error.
43314 Use char because int might match the return type of a GCC
43315 builtin and then its argument prototype would still apply. */
43323 return nanosleep ();
43328 rm -f conftest.
$ac_objext conftest
$ac_exeext
43329 if { (ac_try
="$ac_link"
43330 case "(($ac_try" in
43331 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43332 *) ac_try_echo=$ac_try;;
43334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43335 (eval "$ac_link") 2>conftest.er1
43337 grep -v '^ *+' conftest.er1 >conftest.err
43339 cat conftest.err >&5
43340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43341 (exit $ac_status); } &&
43342 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43343 { (case "(($ac_try" in
43344 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43345 *) ac_try_echo
=$ac_try;;
43347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43348 (eval "$ac_try") 2>&5
43350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43351 (exit $ac_status); }; } &&
43352 { ac_try
='test -s conftest$ac_exeext'
43353 { (case "(($ac_try" in
43354 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43355 *) ac_try_echo=$ac_try;;
43357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43358 (eval "$ac_try") 2>&5
43360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43361 (exit $ac_status); }; }; then
43362 ac_cv_lib_posix4_nanosleep=yes
43364 echo "$as_me: failed program was:" >&5
43365 sed 's/^/| /' conftest.$ac_ext >&5
43367 ac_cv_lib_posix4_nanosleep=no
43370 rm -f core conftest.err conftest.$ac_objext \
43371 conftest$ac_exeext conftest.$ac_ext
43372 LIBS=$ac_check_lib_save_LIBS
43374 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
43375 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
43376 if test $ac_cv_lib_posix4_nanosleep = yes; then
43378 cat >>confdefs.h <<\_ACEOF
43379 #define HAVE_NANOSLEEP 1
43382 POSIX4_LINK=" -lposix4"
43387 for wx_func in usleep
43389 { echo "$as_me:$LINENO: checking for $wx_func" >&5
43390 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
43391 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
43392 echo $ECHO_N "(cached) $ECHO_C" >&6
43395 cat >conftest.$ac_ext <<_ACEOF
43399 cat confdefs.h >>conftest.$ac_ext
43400 cat >>conftest.$ac_ext <<_ACEOF
43401 /* end confdefs.h. */
43404 $ac_includes_default
43420 rm -f conftest.$ac_objext conftest$ac_exeext
43421 if { (ac_try="$ac_link"
43422 case "(($ac_try" in
43423 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43424 *) ac_try_echo
=$ac_try;;
43426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43427 (eval "$ac_link") 2>conftest.er1
43429 grep -v '^ *+' conftest.er1
>conftest.err
43431 cat conftest.err
>&5
43432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43433 (exit $ac_status); } &&
43434 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43435 { (case "(($ac_try" in
43436 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43437 *) ac_try_echo=$ac_try;;
43439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43440 (eval "$ac_try") 2>&5
43442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43443 (exit $ac_status); }; } &&
43444 { ac_try='test -s conftest$ac_exeext'
43445 { (case "(($ac_try" in
43446 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43447 *) ac_try_echo
=$ac_try;;
43449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43450 (eval "$ac_try") 2>&5
43452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43453 (exit $ac_status); }; }; then
43454 eval wx_cv_func_
$wx_func=yes
43456 echo "$as_me: failed program was:" >&5
43457 sed 's/^/| /' conftest.
$ac_ext >&5
43459 eval wx_cv_func_
$wx_func=no
43462 rm -f core conftest.err conftest.
$ac_objext \
43463 conftest
$ac_exeext conftest.
$ac_ext
43466 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
43467 { echo "$as_me:$LINENO: result: $ac_res" >&5
43468 echo "${ECHO_T}$ac_res" >&6; }
43470 if eval test \
$wx_cv_func_$wx_func = yes
43472 cat >>confdefs.h
<<_ACEOF
43473 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
43479 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
43480 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
43497 for wx_func
in uname
43499 { echo "$as_me:$LINENO: checking for $wx_func" >&5
43500 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
43501 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
43502 echo $ECHO_N "(cached) $ECHO_C" >&6
43505 cat >conftest.
$ac_ext <<_ACEOF
43509 cat confdefs.h
>>conftest.
$ac_ext
43510 cat >>conftest.
$ac_ext <<_ACEOF
43511 /* end confdefs.h. */
43513 #include <sys/utsname.h>
43514 $ac_includes_default
43530 rm -f conftest.
$ac_objext conftest
$ac_exeext
43531 if { (ac_try
="$ac_link"
43532 case "(($ac_try" in
43533 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43534 *) ac_try_echo=$ac_try;;
43536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43537 (eval "$ac_link") 2>conftest.er1
43539 grep -v '^ *+' conftest.er1 >conftest.err
43541 cat conftest.err >&5
43542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43543 (exit $ac_status); } &&
43544 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43545 { (case "(($ac_try" in
43546 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43547 *) ac_try_echo
=$ac_try;;
43549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43550 (eval "$ac_try") 2>&5
43552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43553 (exit $ac_status); }; } &&
43554 { ac_try
='test -s conftest$ac_exeext'
43555 { (case "(($ac_try" in
43556 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43557 *) ac_try_echo=$ac_try;;
43559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43560 (eval "$ac_try") 2>&5
43562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43563 (exit $ac_status); }; }; then
43564 eval wx_cv_func_$wx_func=yes
43566 echo "$as_me: failed program was:" >&5
43567 sed 's/^/| /' conftest.$ac_ext >&5
43569 eval wx_cv_func_$wx_func=no
43572 rm -f core conftest.err conftest.$ac_objext \
43573 conftest$ac_exeext conftest.$ac_ext
43576 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
43577 { echo "$as_me:$LINENO: result: $ac_res" >&5
43578 echo "${ECHO_T}$ac_res" >&6; }
43580 if eval test \$wx_cv_func_$wx_func = yes
43582 cat >>confdefs.h <<_ACEOF
43583 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
43593 if test "$wx_cv_func_uname" != yes; then
43595 for wx_func in gethostname
43597 { echo "$as_me:$LINENO: checking for $wx_func" >&5
43598 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
43599 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
43600 echo $ECHO_N "(cached) $ECHO_C" >&6
43603 cat >conftest.$ac_ext <<_ACEOF
43607 cat confdefs.h >>conftest.$ac_ext
43608 cat >>conftest.$ac_ext <<_ACEOF
43609 /* end confdefs.h. */
43612 $ac_includes_default
43628 rm -f conftest.$ac_objext conftest$ac_exeext
43629 if { (ac_try="$ac_link"
43630 case "(($ac_try" in
43631 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43632 *) ac_try_echo
=$ac_try;;
43634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43635 (eval "$ac_link") 2>conftest.er1
43637 grep -v '^ *+' conftest.er1
>conftest.err
43639 cat conftest.err
>&5
43640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43641 (exit $ac_status); } &&
43642 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43643 { (case "(($ac_try" in
43644 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43645 *) ac_try_echo=$ac_try;;
43647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43648 (eval "$ac_try") 2>&5
43650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43651 (exit $ac_status); }; } &&
43652 { ac_try='test -s conftest$ac_exeext'
43653 { (case "(($ac_try" in
43654 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43655 *) ac_try_echo
=$ac_try;;
43657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43658 (eval "$ac_try") 2>&5
43660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43661 (exit $ac_status); }; }; then
43662 eval wx_cv_func_
$wx_func=yes
43664 echo "$as_me: failed program was:" >&5
43665 sed 's/^/| /' conftest.
$ac_ext >&5
43667 eval wx_cv_func_
$wx_func=no
43670 rm -f core conftest.err conftest.
$ac_objext \
43671 conftest
$ac_exeext conftest.
$ac_ext
43674 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
43675 { echo "$as_me:$LINENO: result: $ac_res" >&5
43676 echo "${ECHO_T}$ac_res" >&6; }
43678 if eval test \
$wx_cv_func_$wx_func = yes
43680 cat >>confdefs.h
<<_ACEOF
43681 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
43694 for wx_func
in strtok_r
43696 { echo "$as_me:$LINENO: checking for $wx_func" >&5
43697 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
43698 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
43699 echo $ECHO_N "(cached) $ECHO_C" >&6
43702 cat >conftest.
$ac_ext <<_ACEOF
43706 cat confdefs.h
>>conftest.
$ac_ext
43707 cat >>conftest.
$ac_ext <<_ACEOF
43708 /* end confdefs.h. */
43711 $ac_includes_default
43727 rm -f conftest.
$ac_objext conftest
$ac_exeext
43728 if { (ac_try
="$ac_link"
43729 case "(($ac_try" in
43730 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43731 *) ac_try_echo=$ac_try;;
43733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43734 (eval "$ac_link") 2>conftest.er1
43736 grep -v '^ *+' conftest.er1 >conftest.err
43738 cat conftest.err >&5
43739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43740 (exit $ac_status); } &&
43741 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43742 { (case "(($ac_try" in
43743 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43744 *) ac_try_echo
=$ac_try;;
43746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43747 (eval "$ac_try") 2>&5
43749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43750 (exit $ac_status); }; } &&
43751 { ac_try
='test -s conftest$ac_exeext'
43752 { (case "(($ac_try" in
43753 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43754 *) ac_try_echo=$ac_try;;
43756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43757 (eval "$ac_try") 2>&5
43759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43760 (exit $ac_status); }; }; then
43761 eval wx_cv_func_$wx_func=yes
43763 echo "$as_me: failed program was:" >&5
43764 sed 's/^/| /' conftest.$ac_ext >&5
43766 eval wx_cv_func_$wx_func=no
43769 rm -f core conftest.err conftest.$ac_objext \
43770 conftest$ac_exeext conftest.$ac_ext
43773 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
43774 { echo "$as_me:$LINENO: result: $ac_res" >&5
43775 echo "${ECHO_T}$ac_res" >&6; }
43777 if eval test \$wx_cv_func_$wx_func = yes
43779 cat >>confdefs.h <<_ACEOF
43780 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
43793 for ac_func in inet_addr
43795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43796 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43798 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43799 echo $ECHO_N "(cached) $ECHO_C" >&6
43801 cat >conftest.$ac_ext <<_ACEOF
43804 cat confdefs.h >>conftest.$ac_ext
43805 cat >>conftest.$ac_ext <<_ACEOF
43806 /* end confdefs.h. */
43807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43809 #define $ac_func innocuous_$ac_func
43811 /* System header to define __stub macros and hopefully few prototypes,
43812 which can conflict with char $ac_func (); below.
43813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43814 <limits.h> exists even on freestanding compilers. */
43817 # include <limits.h>
43819 # include <assert.h>
43824 /* Override any GCC internal prototype to avoid an error.
43825 Use char because int might match the return type of a GCC
43826 builtin and then its argument prototype would still apply. */
43831 /* The GNU C library defines this for functions which it implements
43832 to always fail with ENOSYS. Some functions are actually named
43833 something starting with __ and the normal name is an alias. */
43834 #if defined __stub_$ac_func || defined __stub___$ac_func
43841 return $ac_func ();
43846 rm -f conftest.$ac_objext conftest$ac_exeext
43847 if { (ac_try="$ac_link"
43848 case "(($ac_try" in
43849 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43850 *) ac_try_echo
=$ac_try;;
43852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43853 (eval "$ac_link") 2>conftest.er1
43855 grep -v '^ *+' conftest.er1
>conftest.err
43857 cat conftest.err
>&5
43858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43859 (exit $ac_status); } &&
43860 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43861 { (case "(($ac_try" in
43862 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43863 *) ac_try_echo=$ac_try;;
43865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43866 (eval "$ac_try") 2>&5
43868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43869 (exit $ac_status); }; } &&
43870 { ac_try='test -s conftest$ac_exeext'
43871 { (case "(($ac_try" in
43872 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43873 *) ac_try_echo
=$ac_try;;
43875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43876 (eval "$ac_try") 2>&5
43878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43879 (exit $ac_status); }; }; then
43880 eval "$as_ac_var=yes"
43882 echo "$as_me: failed program was:" >&5
43883 sed 's/^/| /' conftest.
$ac_ext >&5
43885 eval "$as_ac_var=no"
43888 rm -f core conftest.err conftest.
$ac_objext \
43889 conftest
$ac_exeext conftest.
$ac_ext
43891 ac_res
=`eval echo '${'$as_ac_var'}'`
43892 { echo "$as_me:$LINENO: result: $ac_res" >&5
43893 echo "${ECHO_T}$ac_res" >&6; }
43894 if test `eval echo '${'$as_ac_var'}'` = yes; then
43895 cat >>confdefs.h
<<_ACEOF
43896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43898 cat >>confdefs.h
<<\_ACEOF
43899 #define HAVE_INET_ADDR 1
43904 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
43905 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
43906 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
43907 echo $ECHO_N "(cached) $ECHO_C" >&6
43909 ac_check_lib_save_LIBS
=$LIBS
43911 cat >conftest.
$ac_ext <<_ACEOF
43914 cat confdefs.h
>>conftest.
$ac_ext
43915 cat >>conftest.
$ac_ext <<_ACEOF
43916 /* end confdefs.h. */
43918 /* Override any GCC internal prototype to avoid an error.
43919 Use char because int might match the return type of a GCC
43920 builtin and then its argument prototype would still apply. */
43928 return inet_addr ();
43933 rm -f conftest.
$ac_objext conftest
$ac_exeext
43934 if { (ac_try
="$ac_link"
43935 case "(($ac_try" in
43936 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43937 *) ac_try_echo=$ac_try;;
43939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43940 (eval "$ac_link") 2>conftest.er1
43942 grep -v '^ *+' conftest.er1 >conftest.err
43944 cat conftest.err >&5
43945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43946 (exit $ac_status); } &&
43947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43948 { (case "(($ac_try" in
43949 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43950 *) ac_try_echo
=$ac_try;;
43952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43953 (eval "$ac_try") 2>&5
43955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43956 (exit $ac_status); }; } &&
43957 { ac_try
='test -s conftest$ac_exeext'
43958 { (case "(($ac_try" in
43959 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43960 *) ac_try_echo=$ac_try;;
43962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43963 (eval "$ac_try") 2>&5
43965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43966 (exit $ac_status); }; }; then
43967 ac_cv_lib_nsl_inet_addr=yes
43969 echo "$as_me: failed program was:" >&5
43970 sed 's/^/| /' conftest.$ac_ext >&5
43972 ac_cv_lib_nsl_inet_addr=no
43975 rm -f core conftest.err conftest.$ac_objext \
43976 conftest$ac_exeext conftest.$ac_ext
43977 LIBS=$ac_check_lib_save_LIBS
43979 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
43980 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
43981 if test $ac_cv_lib_nsl_inet_addr = yes; then
43985 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
43986 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
43987 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
43988 echo $ECHO_N "(cached) $ECHO_C" >&6
43990 ac_check_lib_save_LIBS=$LIBS
43991 LIBS="-lresolv $LIBS"
43992 cat >conftest.$ac_ext <<_ACEOF
43995 cat confdefs.h >>conftest.$ac_ext
43996 cat >>conftest.$ac_ext <<_ACEOF
43997 /* end confdefs.h. */
43999 /* Override any GCC internal prototype to avoid an error.
44000 Use char because int might match the return type of a GCC
44001 builtin and then its argument prototype would still apply. */
44009 return inet_addr ();
44014 rm -f conftest.$ac_objext conftest$ac_exeext
44015 if { (ac_try="$ac_link"
44016 case "(($ac_try" in
44017 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44018 *) ac_try_echo
=$ac_try;;
44020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44021 (eval "$ac_link") 2>conftest.er1
44023 grep -v '^ *+' conftest.er1
>conftest.err
44025 cat conftest.err
>&5
44026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44027 (exit $ac_status); } &&
44028 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44029 { (case "(($ac_try" in
44030 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44031 *) ac_try_echo=$ac_try;;
44033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44034 (eval "$ac_try") 2>&5
44036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44037 (exit $ac_status); }; } &&
44038 { ac_try='test -s conftest$ac_exeext'
44039 { (case "(($ac_try" in
44040 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44041 *) ac_try_echo
=$ac_try;;
44043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44044 (eval "$ac_try") 2>&5
44046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44047 (exit $ac_status); }; }; then
44048 ac_cv_lib_resolv_inet_addr
=yes
44050 echo "$as_me: failed program was:" >&5
44051 sed 's/^/| /' conftest.
$ac_ext >&5
44053 ac_cv_lib_resolv_inet_addr
=no
44056 rm -f core conftest.err conftest.
$ac_objext \
44057 conftest
$ac_exeext conftest.
$ac_ext
44058 LIBS
=$ac_check_lib_save_LIBS
44060 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
44061 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
44062 if test $ac_cv_lib_resolv_inet_addr = yes; then
44066 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
44067 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
44068 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
44069 echo $ECHO_N "(cached) $ECHO_C" >&6
44071 ac_check_lib_save_LIBS
=$LIBS
44072 LIBS
="-lsocket $LIBS"
44073 cat >conftest.
$ac_ext <<_ACEOF
44076 cat confdefs.h
>>conftest.
$ac_ext
44077 cat >>conftest.
$ac_ext <<_ACEOF
44078 /* end confdefs.h. */
44080 /* Override any GCC internal prototype to avoid an error.
44081 Use char because int might match the return type of a GCC
44082 builtin and then its argument prototype would still apply. */
44090 return inet_addr ();
44095 rm -f conftest.
$ac_objext conftest
$ac_exeext
44096 if { (ac_try
="$ac_link"
44097 case "(($ac_try" in
44098 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44099 *) ac_try_echo=$ac_try;;
44101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44102 (eval "$ac_link") 2>conftest.er1
44104 grep -v '^ *+' conftest.er1 >conftest.err
44106 cat conftest.err >&5
44107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44108 (exit $ac_status); } &&
44109 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44110 { (case "(($ac_try" in
44111 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44112 *) ac_try_echo
=$ac_try;;
44114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44115 (eval "$ac_try") 2>&5
44117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44118 (exit $ac_status); }; } &&
44119 { ac_try
='test -s conftest$ac_exeext'
44120 { (case "(($ac_try" in
44121 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44122 *) ac_try_echo=$ac_try;;
44124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44125 (eval "$ac_try") 2>&5
44127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44128 (exit $ac_status); }; }; then
44129 ac_cv_lib_socket_inet_addr=yes
44131 echo "$as_me: failed program was:" >&5
44132 sed 's/^/| /' conftest.$ac_ext >&5
44134 ac_cv_lib_socket_inet_addr=no
44137 rm -f core conftest.err conftest.$ac_objext \
44138 conftest$ac_exeext conftest.$ac_ext
44139 LIBS=$ac_check_lib_save_LIBS
44141 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
44142 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
44143 if test $ac_cv_lib_socket_inet_addr = yes; then
44163 for ac_func in inet_aton
44165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44166 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44168 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44169 echo $ECHO_N "(cached) $ECHO_C" >&6
44171 cat >conftest.$ac_ext <<_ACEOF
44174 cat confdefs.h >>conftest.$ac_ext
44175 cat >>conftest.$ac_ext <<_ACEOF
44176 /* end confdefs.h. */
44177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44179 #define $ac_func innocuous_$ac_func
44181 /* System header to define __stub macros and hopefully few prototypes,
44182 which can conflict with char $ac_func (); below.
44183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44184 <limits.h> exists even on freestanding compilers. */
44187 # include <limits.h>
44189 # include <assert.h>
44194 /* Override any GCC internal prototype to avoid an error.
44195 Use char because int might match the return type of a GCC
44196 builtin and then its argument prototype would still apply. */
44201 /* The GNU C library defines this for functions which it implements
44202 to always fail with ENOSYS. Some functions are actually named
44203 something starting with __ and the normal name is an alias. */
44204 #if defined __stub_$ac_func || defined __stub___$ac_func
44211 return $ac_func ();
44216 rm -f conftest.$ac_objext conftest$ac_exeext
44217 if { (ac_try="$ac_link"
44218 case "(($ac_try" in
44219 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44220 *) ac_try_echo
=$ac_try;;
44222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44223 (eval "$ac_link") 2>conftest.er1
44225 grep -v '^ *+' conftest.er1
>conftest.err
44227 cat conftest.err
>&5
44228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44229 (exit $ac_status); } &&
44230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44231 { (case "(($ac_try" in
44232 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44233 *) ac_try_echo=$ac_try;;
44235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44236 (eval "$ac_try") 2>&5
44238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44239 (exit $ac_status); }; } &&
44240 { ac_try='test -s conftest$ac_exeext'
44241 { (case "(($ac_try" in
44242 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44243 *) ac_try_echo
=$ac_try;;
44245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44246 (eval "$ac_try") 2>&5
44248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44249 (exit $ac_status); }; }; then
44250 eval "$as_ac_var=yes"
44252 echo "$as_me: failed program was:" >&5
44253 sed 's/^/| /' conftest.
$ac_ext >&5
44255 eval "$as_ac_var=no"
44258 rm -f core conftest.err conftest.
$ac_objext \
44259 conftest
$ac_exeext conftest.
$ac_ext
44261 ac_res
=`eval echo '${'$as_ac_var'}'`
44262 { echo "$as_me:$LINENO: result: $ac_res" >&5
44263 echo "${ECHO_T}$ac_res" >&6; }
44264 if test `eval echo '${'$as_ac_var'}'` = yes; then
44265 cat >>confdefs.h
<<_ACEOF
44266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44268 cat >>confdefs.h
<<\_ACEOF
44269 #define HAVE_INET_ATON 1
44274 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
44275 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
44276 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
44277 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
44278 echo $ECHO_N "(cached) $ECHO_C" >&6
44280 ac_check_lib_save_LIBS
=$LIBS
44281 LIBS
="-l$INET_LINK $LIBS"
44282 cat >conftest.
$ac_ext <<_ACEOF
44285 cat confdefs.h
>>conftest.
$ac_ext
44286 cat >>conftest.
$ac_ext <<_ACEOF
44287 /* end confdefs.h. */
44289 /* Override any GCC internal prototype to avoid an error.
44290 Use char because int might match the return type of a GCC
44291 builtin and then its argument prototype would still apply. */
44299 return inet_aton ();
44304 rm -f conftest.
$ac_objext conftest
$ac_exeext
44305 if { (ac_try
="$ac_link"
44306 case "(($ac_try" in
44307 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44308 *) ac_try_echo=$ac_try;;
44310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44311 (eval "$ac_link") 2>conftest.er1
44313 grep -v '^ *+' conftest.er1 >conftest.err
44315 cat conftest.err >&5
44316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44317 (exit $ac_status); } &&
44318 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44319 { (case "(($ac_try" in
44320 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44321 *) ac_try_echo
=$ac_try;;
44323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44324 (eval "$ac_try") 2>&5
44326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44327 (exit $ac_status); }; } &&
44328 { ac_try
='test -s conftest$ac_exeext'
44329 { (case "(($ac_try" in
44330 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44331 *) ac_try_echo=$ac_try;;
44333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44334 (eval "$ac_try") 2>&5
44336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44337 (exit $ac_status); }; }; then
44338 eval "$as_ac_Lib=yes"
44340 echo "$as_me: failed program was:" >&5
44341 sed 's/^/| /' conftest.$ac_ext >&5
44343 eval "$as_ac_Lib=no"
44346 rm -f core conftest.err conftest.$ac_objext \
44347 conftest$ac_exeext conftest.$ac_ext
44348 LIBS=$ac_check_lib_save_LIBS
44350 ac_res=`eval echo '${'$as_ac_Lib'}'`
44351 { echo "$as_me:$LINENO: result: $ac_res" >&5
44352 echo "${ECHO_T}$ac_res" >&6; }
44353 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
44354 cat >>confdefs.h <<\_ACEOF
44355 #define HAVE_INET_ATON 1
44365 if test "x$INET_LINK" != "x"; then
44366 cat >>confdefs.h <<\_ACEOF
44367 #define HAVE_INET_ADDR 1
44370 INET_LINK=" -l$INET_LINK"
44374 for wx_func in fdopen
44376 { echo "$as_me:$LINENO: checking for $wx_func" >&5
44377 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
44378 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
44379 echo $ECHO_N "(cached) $ECHO_C" >&6
44382 cat >conftest.$ac_ext <<_ACEOF
44386 cat confdefs.h >>conftest.$ac_ext
44387 cat >>conftest.$ac_ext <<_ACEOF
44388 /* end confdefs.h. */
44391 $ac_includes_default
44407 rm -f conftest.$ac_objext conftest$ac_exeext
44408 if { (ac_try="$ac_link"
44409 case "(($ac_try" in
44410 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44411 *) ac_try_echo
=$ac_try;;
44413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44414 (eval "$ac_link") 2>conftest.er1
44416 grep -v '^ *+' conftest.er1
>conftest.err
44418 cat conftest.err
>&5
44419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44420 (exit $ac_status); } &&
44421 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44422 { (case "(($ac_try" in
44423 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44424 *) ac_try_echo=$ac_try;;
44426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44427 (eval "$ac_try") 2>&5
44429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44430 (exit $ac_status); }; } &&
44431 { ac_try='test -s conftest$ac_exeext'
44432 { (case "(($ac_try" in
44433 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44434 *) ac_try_echo
=$ac_try;;
44436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44437 (eval "$ac_try") 2>&5
44439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44440 (exit $ac_status); }; }; then
44441 eval wx_cv_func_
$wx_func=yes
44443 echo "$as_me: failed program was:" >&5
44444 sed 's/^/| /' conftest.
$ac_ext >&5
44446 eval wx_cv_func_
$wx_func=no
44449 rm -f core conftest.err conftest.
$ac_objext \
44450 conftest
$ac_exeext conftest.
$ac_ext
44453 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
44454 { echo "$as_me:$LINENO: result: $ac_res" >&5
44455 echo "${ECHO_T}$ac_res" >&6; }
44457 if eval test \
$wx_cv_func_$wx_func = yes
44459 cat >>confdefs.h
<<_ACEOF
44460 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
44477 { echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
44478 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6; }
44479 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
44480 echo $ECHO_N "(cached) $ECHO_C" >&6
44482 ac_check_lib_save_LIBS
=$LIBS
44484 cat >conftest.
$ac_ext <<_ACEOF
44487 cat confdefs.h
>>conftest.
$ac_ext
44488 cat >>conftest.
$ac_ext <<_ACEOF
44489 /* end confdefs.h. */
44491 /* Override any GCC internal prototype to avoid an error.
44492 Use char because int might match the return type of a GCC
44493 builtin and then its argument prototype would still apply. */
44501 return esd_close ();
44506 rm -f conftest.
$ac_objext conftest
$ac_exeext
44507 if { (ac_try
="$ac_link"
44508 case "(($ac_try" in
44509 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44510 *) ac_try_echo=$ac_try;;
44512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44513 (eval "$ac_link") 2>conftest.er1
44515 grep -v '^ *+' conftest.er1 >conftest.err
44517 cat conftest.err >&5
44518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44519 (exit $ac_status); } &&
44520 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44521 { (case "(($ac_try" in
44522 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44523 *) ac_try_echo
=$ac_try;;
44525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44526 (eval "$ac_try") 2>&5
44528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44529 (exit $ac_status); }; } &&
44530 { ac_try
='test -s conftest$ac_exeext'
44531 { (case "(($ac_try" in
44532 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44533 *) ac_try_echo=$ac_try;;
44535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44536 (eval "$ac_try") 2>&5
44538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44539 (exit $ac_status); }; }; then
44540 ac_cv_lib_esd_esd_close=yes
44542 echo "$as_me: failed program was:" >&5
44543 sed 's/^/| /' conftest.$ac_ext >&5
44545 ac_cv_lib_esd_esd_close=no
44548 rm -f core conftest.err conftest.$ac_objext \
44549 conftest$ac_exeext conftest.$ac_ext
44550 LIBS=$ac_check_lib_save_LIBS
44552 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
44553 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6; }
44554 if test $ac_cv_lib_esd_esd_close = yes; then
44557 for ac_header in esd.h
44559 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44560 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44561 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44563 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44564 echo $ECHO_N "(cached) $ECHO_C" >&6
44566 ac_res=`eval echo '${'$as_ac_Header'}'`
44567 { echo "$as_me:$LINENO: result: $ac_res" >&5
44568 echo "${ECHO_T}$ac_res" >&6; }
44570 # Is the header compilable?
44571 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
44572 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
44573 cat >conftest.$ac_ext <<_ACEOF
44576 cat confdefs.h >>conftest.$ac_ext
44577 cat >>conftest.$ac_ext <<_ACEOF
44578 /* end confdefs.h. */
44579 $ac_includes_default
44580 #include <$ac_header>
44582 rm -f conftest.$ac_objext
44583 if { (ac_try="$ac_compile"
44584 case "(($ac_try" in
44585 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44586 *) ac_try_echo
=$ac_try;;
44588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44589 (eval "$ac_compile") 2>conftest.er1
44591 grep -v '^ *+' conftest.er1
>conftest.err
44593 cat conftest.err
>&5
44594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44595 (exit $ac_status); } &&
44596 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44597 { (case "(($ac_try" in
44598 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44599 *) ac_try_echo=$ac_try;;
44601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44602 (eval "$ac_try") 2>&5
44604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44605 (exit $ac_status); }; } &&
44606 { ac_try='test -s conftest.$ac_objext'
44607 { (case "(($ac_try" in
44608 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44609 *) ac_try_echo
=$ac_try;;
44611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44612 (eval "$ac_try") 2>&5
44614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44615 (exit $ac_status); }; }; then
44616 ac_header_compiler
=yes
44618 echo "$as_me: failed program was:" >&5
44619 sed 's/^/| /' conftest.
$ac_ext >&5
44621 ac_header_compiler
=no
44624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44625 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44626 echo "${ECHO_T}$ac_header_compiler" >&6; }
44628 # Is the header present?
44629 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
44630 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
44631 cat >conftest.
$ac_ext <<_ACEOF
44634 cat confdefs.h
>>conftest.
$ac_ext
44635 cat >>conftest.
$ac_ext <<_ACEOF
44636 /* end confdefs.h. */
44637 #include <$ac_header>
44639 if { (ac_try
="$ac_cpp conftest.$ac_ext"
44640 case "(($ac_try" in
44641 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44642 *) ac_try_echo=$ac_try;;
44644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44645 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
44647 grep -v '^ *+' conftest.er1 >conftest.err
44649 cat conftest.err >&5
44650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44651 (exit $ac_status); } >/dev/null; then
44652 if test -s conftest.err; then
44653 ac_cpp_err=$ac_c_preproc_warn_flag
44654 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
44661 if test -z "$ac_cpp_err"; then
44662 ac_header_preproc=yes
44664 echo "$as_me: failed program was:" >&5
44665 sed 's/^/| /' conftest.$ac_ext >&5
44667 ac_header_preproc=no
44670 rm -f conftest.err conftest.$ac_ext
44671 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44672 echo "${ECHO_T}$ac_header_preproc" >&6; }
44674 # So? What about this header?
44675 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
44677 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44678 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44679 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44680 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44681 ac_header_preproc=yes
44684 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44685 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44686 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44687 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44688 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44689 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44690 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44691 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44692 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44693 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44694 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44695 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44697 ## ----------------------------------------- ##
44698 ## Report this to wx-dev@lists.wxwidgets.org ##
44699 ## ----------------------------------------- ##
44701 ) | sed "s/^/$as_me: WARNING: /" >&2
44704 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44705 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44706 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44707 echo $ECHO_N "(cached) $ECHO_C" >&6
44709 eval "$as_ac_Header=\$ac_header_preproc"
44711 ac_res=`eval echo '${'$as_ac_Header'}'`
44712 { echo "$as_me:$LINENO: result: $ac_res" >&5
44713 echo "${ECHO_T}$ac_res" >&6; }
44716 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44717 cat >>confdefs.h <<_ACEOF
44718 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44721 EXTRALIBS_ESD="-lesd"
44732 { echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
44733 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6; }
44734 cat >conftest.$ac_ext <<_ACEOF
44737 cat confdefs.h >>conftest.$ac_ext
44738 cat >>conftest.$ac_ext <<_ACEOF
44739 /* end confdefs.h. */
44741 #include <linux/cdrom.h>
44744 #include <sys/cdio.h>
44750 struct cdrom_tocentry entry, old_entry;
44755 rm -f conftest.$ac_objext
44756 if { (ac_try="$ac_compile"
44757 case "(($ac_try" in
44758 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44759 *) ac_try_echo
=$ac_try;;
44761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44762 (eval "$ac_compile") 2>conftest.er1
44764 grep -v '^ *+' conftest.er1
>conftest.err
44766 cat conftest.err
>&5
44767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44768 (exit $ac_status); } &&
44769 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44770 { (case "(($ac_try" in
44771 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44772 *) ac_try_echo=$ac_try;;
44774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44775 (eval "$ac_try") 2>&5
44777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44778 (exit $ac_status); }; } &&
44779 { ac_try='test -s conftest.$ac_objext'
44780 { (case "(($ac_try" in
44781 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44782 *) ac_try_echo
=$ac_try;;
44784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44785 (eval "$ac_try") 2>&5
44787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44788 (exit $ac_status); }; }; then
44789 { echo "$as_me:$LINENO: result: yes" >&5
44790 echo "${ECHO_T}yes" >&6; }
44791 cat >>confdefs.h
<<\_ACEOF
44792 #define HAVE_KNOWN_CDROM_INTERFACE 1
44796 echo "$as_me: failed program was:" >&5
44797 sed 's/^/| /' conftest.
$ac_ext >&5
44799 { echo "$as_me:$LINENO: result: no" >&5
44800 echo "${ECHO_T}no" >&6; }
44803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44806 cat >confcache
<<\_ACEOF
44807 # This file is a shell script that caches the results of configure
44808 # tests run on this system so they can be shared between configure
44809 # scripts and configure runs, see configure's option --config-cache.
44810 # It is not useful on other systems. If it contains results you don't
44811 # want to keep, you may remove or edit it.
44813 # config.status only pays attention to the cache file if you give it
44814 # the --recheck option to rerun configure.
44816 # `ac_cv_env_foo' variables (set or unset) will be overridden when
44817 # loading this file, other *unset* `ac_cv_foo' will be assigned the
44818 # following values.
44822 # The following way of writing the cache mishandles newlines in values,
44823 # but we know of no workaround that is simple, portable, and efficient.
44824 # So, we kill variables containing newlines.
44825 # Ultrix sh set writes to stderr and can't be redirected directly,
44826 # and sets the high bit in the cache file unless we assign to the vars.
44828 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
44829 eval ac_val
=\$
$ac_var
44833 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
44834 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
44837 _
| IFS
| as_nl
) ;; #(
44838 *) $as_unset $ac_var ;;
44844 case $as_nl`(ac_space=' '; set) 2>&1` in #(
44845 *${as_nl}ac_space
=\
*)
44846 # `set' does not quote correctly, so add quotes (double-quote
44847 # substitution turns \\\\ into \\, and sed turns \\ into \).
44850 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
44853 # `set' quotes correctly as required by POSIX, so do not add quotes.
44854 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
44863 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
44865 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
44867 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
44868 if test -w "$cache_file"; then
44869 test "x$cache_file" != "x/dev/null" &&
44870 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
44871 echo "$as_me: updating cache $cache_file" >&6;}
44872 cat confcache
>$cache_file
44874 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
44875 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
44881 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
44887 if test "$wxUSE_THREADS" = "yes" ; then
44888 if test "$USE_BEOS" = 1; then
44889 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
44890 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
44895 if test "$wxUSE_THREADS" = "yes" ; then
44898 THREAD_OPTS
="-pthread"
44900 *-*-solaris2* | *-*-sunos4* )
44901 if test "x$GCC" = "xyes"; then
44902 THREAD_OPTS
="-pthreads $THREAD_OPTS"
44904 THREAD_OPTS
="-mt $THREAD_OPTS"
44908 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
44910 *-*-darwin* | *-*-cygwin* )
44914 THREAD_OPTS
="pthreads"
44917 if test "x$GCC" = "xyes"; then
44918 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
44926 if test "x$GCC" = "xyes"; then
44932 if test "x$GCC" != "xyes"; then
44933 THREAD_OPTS
="-Ethread"
44938 THREAD_OPTS
="$THREAD_OPTS pthread none"
44941 for flag
in $THREAD_OPTS; do
44944 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
44945 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
44949 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
44950 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
44951 THREADS_CFLAGS
="$flag"
44955 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
44956 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
44957 THREADS_LINK
="-l$flag"
44962 save_CFLAGS
="$CFLAGS"
44963 LIBS
="$THREADS_LINK $LIBS"
44964 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
44966 cat >conftest.
$ac_ext <<_ACEOF
44969 cat confdefs.h
>>conftest.
$ac_ext
44970 cat >>conftest.
$ac_ext <<_ACEOF
44971 /* end confdefs.h. */
44972 #include <pthread.h>
44976 pthread_create(0,0,0,0);
44981 rm -f conftest.
$ac_objext conftest
$ac_exeext
44982 if { (ac_try
="$ac_link"
44983 case "(($ac_try" in
44984 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44985 *) ac_try_echo=$ac_try;;
44987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44988 (eval "$ac_link") 2>conftest.er1
44990 grep -v '^ *+' conftest.er1 >conftest.err
44992 cat conftest.err >&5
44993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44994 (exit $ac_status); } &&
44995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44996 { (case "(($ac_try" in
44997 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44998 *) ac_try_echo
=$ac_try;;
45000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45001 (eval "$ac_try") 2>&5
45003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45004 (exit $ac_status); }; } &&
45005 { ac_try
='test -s conftest$ac_exeext'
45006 { (case "(($ac_try" in
45007 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45008 *) ac_try_echo=$ac_try;;
45010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45011 (eval "$ac_try") 2>&5
45013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45014 (exit $ac_status); }; }; then
45017 echo "$as_me: failed program was:" >&5
45018 sed 's/^/| /' conftest.$ac_ext >&5
45023 rm -f core conftest.err conftest.$ac_objext \
45024 conftest$ac_exeext conftest.$ac_ext
45027 CFLAGS="$save_CFLAGS"
45029 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
45030 echo "${ECHO_T}$THREADS_OK" >&6; }
45031 if test "x$THREADS_OK" = "xyes"; then
45039 if test "x$THREADS_OK" != "xyes"; then
45041 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
45042 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
45044 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
45045 LIBS="$THREADS_LINK $LIBS"
45047 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
45048 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
45052 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
45053 flag="-D_THREAD_SAFE"
45056 flag="-D_THREAD_SAFE"
45059 flag="-D_REENTRANT"
45060 if test "x$GCC" != "xyes"; then
45061 flag="$flag -D_RWSTD_MULTI_THREAD"
45064 *solaris* | alpha*-osf*)
45065 flag="-D_REENTRANT"
45068 { echo "$as_me:$LINENO: result: ${flag}" >&5
45069 echo "${ECHO_T}${flag}" >&6; }
45070 if test "x$flag" != xno; then
45071 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
45074 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
45078 if test "$wxUSE_THREADS" = "yes" ; then
45080 for ac_func in thr_setconcurrency
45082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45083 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45085 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45086 echo $ECHO_N "(cached) $ECHO_C" >&6
45088 cat >conftest.$ac_ext <<_ACEOF
45091 cat confdefs.h >>conftest.$ac_ext
45092 cat >>conftest.$ac_ext <<_ACEOF
45093 /* end confdefs.h. */
45094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45096 #define $ac_func innocuous_$ac_func
45098 /* System header to define __stub macros and hopefully few prototypes,
45099 which can conflict with char $ac_func (); below.
45100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45101 <limits.h> exists even on freestanding compilers. */
45104 # include <limits.h>
45106 # include <assert.h>
45111 /* Override any GCC internal prototype to avoid an error.
45112 Use char because int might match the return type of a GCC
45113 builtin and then its argument prototype would still apply. */
45118 /* The GNU C library defines this for functions which it implements
45119 to always fail with ENOSYS. Some functions are actually named
45120 something starting with __ and the normal name is an alias. */
45121 #if defined __stub_$ac_func || defined __stub___$ac_func
45128 return $ac_func ();
45133 rm -f conftest.$ac_objext conftest$ac_exeext
45134 if { (ac_try="$ac_link"
45135 case "(($ac_try" in
45136 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45137 *) ac_try_echo
=$ac_try;;
45139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45140 (eval "$ac_link") 2>conftest.er1
45142 grep -v '^ *+' conftest.er1
>conftest.err
45144 cat conftest.err
>&5
45145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45146 (exit $ac_status); } &&
45147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45148 { (case "(($ac_try" in
45149 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45150 *) ac_try_echo=$ac_try;;
45152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45153 (eval "$ac_try") 2>&5
45155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45156 (exit $ac_status); }; } &&
45157 { ac_try='test -s conftest$ac_exeext'
45158 { (case "(($ac_try" in
45159 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45160 *) ac_try_echo
=$ac_try;;
45162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45163 (eval "$ac_try") 2>&5
45165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45166 (exit $ac_status); }; }; then
45167 eval "$as_ac_var=yes"
45169 echo "$as_me: failed program was:" >&5
45170 sed 's/^/| /' conftest.
$ac_ext >&5
45172 eval "$as_ac_var=no"
45175 rm -f core conftest.err conftest.
$ac_objext \
45176 conftest
$ac_exeext conftest.
$ac_ext
45178 ac_res
=`eval echo '${'$as_ac_var'}'`
45179 { echo "$as_me:$LINENO: result: $ac_res" >&5
45180 echo "${ECHO_T}$ac_res" >&6; }
45181 if test `eval echo '${'$as_ac_var'}'` = yes; then
45182 cat >>confdefs.h
<<_ACEOF
45183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45190 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
45191 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
45192 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
45193 echo $ECHO_N "(cached) $ECHO_C" >&6
45196 cat >conftest.
$ac_ext <<_ACEOF
45199 cat confdefs.h
>>conftest.
$ac_ext
45200 cat >>conftest.
$ac_ext <<_ACEOF
45201 /* end confdefs.h. */
45202 #include <pthread.h>
45203 void ThreadCleanupFunc(void *p);
45210 pthread_cleanup_push(ThreadCleanupFunc, p);
45211 pthread_cleanup_pop(0);
45217 rm -f conftest.
$ac_objext
45218 if { (ac_try
="$ac_compile"
45219 case "(($ac_try" in
45220 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45221 *) ac_try_echo=$ac_try;;
45223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45224 (eval "$ac_compile") 2>conftest.er1
45226 grep -v '^ *+' conftest.er1 >conftest.err
45228 cat conftest.err >&5
45229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45230 (exit $ac_status); } &&
45231 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45232 { (case "(($ac_try" in
45233 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45234 *) ac_try_echo
=$ac_try;;
45236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45237 (eval "$ac_try") 2>&5
45239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45240 (exit $ac_status); }; } &&
45241 { ac_try
='test -s conftest.$ac_objext'
45242 { (case "(($ac_try" in
45243 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45244 *) ac_try_echo=$ac_try;;
45246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45247 (eval "$ac_try") 2>&5
45249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45250 (exit $ac_status); }; }; then
45252 wx_cv_func_pthread_cleanup=yes
45255 echo "$as_me: failed program was:" >&5
45256 sed 's/^/| /' conftest.$ac_ext >&5
45259 wx_cv_func_pthread_cleanup=no
45264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45267 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
45268 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
45269 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
45270 cat >>confdefs.h <<\_ACEOF
45271 #define wxHAVE_PTHREAD_CLEANUP 1
45277 for ac_header in sched.h
45279 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45280 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45281 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45282 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45283 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45284 echo $ECHO_N "(cached) $ECHO_C" >&6
45286 ac_res=`eval echo '${'$as_ac_Header'}'`
45287 { echo "$as_me:$LINENO: result: $ac_res" >&5
45288 echo "${ECHO_T}$ac_res" >&6; }
45290 # Is the header compilable?
45291 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
45292 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
45293 cat >conftest.$ac_ext <<_ACEOF
45296 cat confdefs.h >>conftest.$ac_ext
45297 cat >>conftest.$ac_ext <<_ACEOF
45298 /* end confdefs.h. */
45299 $ac_includes_default
45300 #include <$ac_header>
45302 rm -f conftest.$ac_objext
45303 if { (ac_try="$ac_compile"
45304 case "(($ac_try" in
45305 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45306 *) ac_try_echo
=$ac_try;;
45308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45309 (eval "$ac_compile") 2>conftest.er1
45311 grep -v '^ *+' conftest.er1
>conftest.err
45313 cat conftest.err
>&5
45314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45315 (exit $ac_status); } &&
45316 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45317 { (case "(($ac_try" in
45318 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45319 *) ac_try_echo=$ac_try;;
45321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45322 (eval "$ac_try") 2>&5
45324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45325 (exit $ac_status); }; } &&
45326 { ac_try='test -s conftest.$ac_objext'
45327 { (case "(($ac_try" in
45328 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45329 *) ac_try_echo
=$ac_try;;
45331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45332 (eval "$ac_try") 2>&5
45334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45335 (exit $ac_status); }; }; then
45336 ac_header_compiler
=yes
45338 echo "$as_me: failed program was:" >&5
45339 sed 's/^/| /' conftest.
$ac_ext >&5
45341 ac_header_compiler
=no
45344 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45345 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45346 echo "${ECHO_T}$ac_header_compiler" >&6; }
45348 # Is the header present?
45349 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
45350 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
45351 cat >conftest.
$ac_ext <<_ACEOF
45354 cat confdefs.h
>>conftest.
$ac_ext
45355 cat >>conftest.
$ac_ext <<_ACEOF
45356 /* end confdefs.h. */
45357 #include <$ac_header>
45359 if { (ac_try
="$ac_cpp conftest.$ac_ext"
45360 case "(($ac_try" in
45361 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45362 *) ac_try_echo=$ac_try;;
45364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45365 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
45367 grep -v '^ *+' conftest.er1 >conftest.err
45369 cat conftest.err >&5
45370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45371 (exit $ac_status); } >/dev/null; then
45372 if test -s conftest.err; then
45373 ac_cpp_err=$ac_c_preproc_warn_flag
45374 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
45381 if test -z "$ac_cpp_err"; then
45382 ac_header_preproc=yes
45384 echo "$as_me: failed program was:" >&5
45385 sed 's/^/| /' conftest.$ac_ext >&5
45387 ac_header_preproc=no
45390 rm -f conftest.err conftest.$ac_ext
45391 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45392 echo "${ECHO_T}$ac_header_preproc" >&6; }
45394 # So? What about this header?
45395 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45397 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45398 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45399 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45400 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45401 ac_header_preproc=yes
45404 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45405 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45406 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45407 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45408 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45409 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45410 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45411 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45412 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45413 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45414 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45415 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45417 ## ----------------------------------------- ##
45418 ## Report this to wx-dev@lists.wxwidgets.org ##
45419 ## ----------------------------------------- ##
45421 ) | sed "s/^/$as_me: WARNING: /" >&2
45424 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45426 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45427 echo $ECHO_N "(cached) $ECHO_C" >&6
45429 eval "$as_ac_Header=\$ac_header_preproc"
45431 ac_res=`eval echo '${'$as_ac_Header'}'`
45432 { echo "$as_me:$LINENO: result: $ac_res" >&5
45433 echo "${ECHO_T}$ac_res" >&6; }
45436 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45437 cat >>confdefs.h <<_ACEOF
45438 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45445 if test "$ac_cv_header_sched_h" = "yes"; then
45446 { echo "$as_me:$LINENO: checking for sched_yield" >&5
45447 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
45448 if test "${ac_cv_func_sched_yield+set}" = set; then
45449 echo $ECHO_N "(cached) $ECHO_C" >&6
45451 cat >conftest.$ac_ext <<_ACEOF
45454 cat confdefs.h >>conftest.$ac_ext
45455 cat >>conftest.$ac_ext <<_ACEOF
45456 /* end confdefs.h. */
45457 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
45458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45459 #define sched_yield innocuous_sched_yield
45461 /* System header to define __stub macros and hopefully few prototypes,
45462 which can conflict with char sched_yield (); below.
45463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45464 <limits.h> exists even on freestanding compilers. */
45467 # include <limits.h>
45469 # include <assert.h>
45474 /* Override any GCC internal prototype to avoid an error.
45475 Use char because int might match the return type of a GCC
45476 builtin and then its argument prototype would still apply. */
45480 char sched_yield ();
45481 /* The GNU C library defines this for functions which it implements
45482 to always fail with ENOSYS. Some functions are actually named
45483 something starting with __ and the normal name is an alias. */
45484 #if defined __stub_sched_yield || defined __stub___sched_yield
45491 return sched_yield ();
45496 rm -f conftest.$ac_objext conftest$ac_exeext
45497 if { (ac_try="$ac_link"
45498 case "(($ac_try" in
45499 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45500 *) ac_try_echo
=$ac_try;;
45502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45503 (eval "$ac_link") 2>conftest.er1
45505 grep -v '^ *+' conftest.er1
>conftest.err
45507 cat conftest.err
>&5
45508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45509 (exit $ac_status); } &&
45510 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45511 { (case "(($ac_try" in
45512 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45513 *) ac_try_echo=$ac_try;;
45515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45516 (eval "$ac_try") 2>&5
45518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45519 (exit $ac_status); }; } &&
45520 { ac_try='test -s conftest$ac_exeext'
45521 { (case "(($ac_try" in
45522 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45523 *) ac_try_echo
=$ac_try;;
45525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45526 (eval "$ac_try") 2>&5
45528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45529 (exit $ac_status); }; }; then
45530 ac_cv_func_sched_yield
=yes
45532 echo "$as_me: failed program was:" >&5
45533 sed 's/^/| /' conftest.
$ac_ext >&5
45535 ac_cv_func_sched_yield
=no
45538 rm -f core conftest.err conftest.
$ac_objext \
45539 conftest
$ac_exeext conftest.
$ac_ext
45541 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
45542 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
45543 if test $ac_cv_func_sched_yield = yes; then
45544 cat >>confdefs.h
<<\_ACEOF
45545 #define HAVE_SCHED_YIELD 1
45550 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
45551 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
45552 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
45553 echo $ECHO_N "(cached) $ECHO_C" >&6
45555 ac_check_lib_save_LIBS
=$LIBS
45556 LIBS
="-lposix4 $LIBS"
45557 cat >conftest.
$ac_ext <<_ACEOF
45560 cat confdefs.h
>>conftest.
$ac_ext
45561 cat >>conftest.
$ac_ext <<_ACEOF
45562 /* end confdefs.h. */
45564 /* Override any GCC internal prototype to avoid an error.
45565 Use char because int might match the return type of a GCC
45566 builtin and then its argument prototype would still apply. */
45570 char sched_yield ();
45574 return sched_yield ();
45579 rm -f conftest.
$ac_objext conftest
$ac_exeext
45580 if { (ac_try
="$ac_link"
45581 case "(($ac_try" in
45582 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45583 *) ac_try_echo=$ac_try;;
45585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45586 (eval "$ac_link") 2>conftest.er1
45588 grep -v '^ *+' conftest.er1 >conftest.err
45590 cat conftest.err >&5
45591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45592 (exit $ac_status); } &&
45593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45594 { (case "(($ac_try" in
45595 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45596 *) ac_try_echo
=$ac_try;;
45598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45599 (eval "$ac_try") 2>&5
45601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45602 (exit $ac_status); }; } &&
45603 { ac_try
='test -s conftest$ac_exeext'
45604 { (case "(($ac_try" in
45605 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45606 *) ac_try_echo=$ac_try;;
45608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45609 (eval "$ac_try") 2>&5
45611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45612 (exit $ac_status); }; }; then
45613 ac_cv_lib_posix4_sched_yield=yes
45615 echo "$as_me: failed program was:" >&5
45616 sed 's/^/| /' conftest.$ac_ext >&5
45618 ac_cv_lib_posix4_sched_yield=no
45621 rm -f core conftest.err conftest.$ac_objext \
45622 conftest$ac_exeext conftest.$ac_ext
45623 LIBS=$ac_check_lib_save_LIBS
45625 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
45626 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
45627 if test $ac_cv_lib_posix4_sched_yield = yes; then
45628 cat >>confdefs.h <<\_ACEOF
45629 #define HAVE_SCHED_YIELD 1
45631 POSIX4_LINK=" -lposix4"
45633 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
45634 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
45645 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
45646 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
45647 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
45648 echo $ECHO_N "(cached) $ECHO_C" >&6
45650 cat >conftest.$ac_ext <<_ACEOF
45653 cat confdefs.h >>conftest.$ac_ext
45654 cat >>conftest.$ac_ext <<_ACEOF
45655 /* end confdefs.h. */
45656 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
45657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45658 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
45660 /* System header to define __stub macros and hopefully few prototypes,
45661 which can conflict with char pthread_attr_getschedpolicy (); below.
45662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45663 <limits.h> exists even on freestanding compilers. */
45666 # include <limits.h>
45668 # include <assert.h>
45671 #undef pthread_attr_getschedpolicy
45673 /* Override any GCC internal prototype to avoid an error.
45674 Use char because int might match the return type of a GCC
45675 builtin and then its argument prototype would still apply. */
45679 char pthread_attr_getschedpolicy ();
45680 /* The GNU C library defines this for functions which it implements
45681 to always fail with ENOSYS. Some functions are actually named
45682 something starting with __ and the normal name is an alias. */
45683 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
45690 return pthread_attr_getschedpolicy ();
45695 rm -f conftest.$ac_objext conftest$ac_exeext
45696 if { (ac_try="$ac_link"
45697 case "(($ac_try" in
45698 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45699 *) ac_try_echo
=$ac_try;;
45701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45702 (eval "$ac_link") 2>conftest.er1
45704 grep -v '^ *+' conftest.er1
>conftest.err
45706 cat conftest.err
>&5
45707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45708 (exit $ac_status); } &&
45709 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45710 { (case "(($ac_try" in
45711 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45712 *) ac_try_echo=$ac_try;;
45714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45715 (eval "$ac_try") 2>&5
45717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45718 (exit $ac_status); }; } &&
45719 { ac_try='test -s conftest$ac_exeext'
45720 { (case "(($ac_try" in
45721 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45722 *) ac_try_echo
=$ac_try;;
45724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45725 (eval "$ac_try") 2>&5
45727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45728 (exit $ac_status); }; }; then
45729 ac_cv_func_pthread_attr_getschedpolicy
=yes
45731 echo "$as_me: failed program was:" >&5
45732 sed 's/^/| /' conftest.
$ac_ext >&5
45734 ac_cv_func_pthread_attr_getschedpolicy
=no
45737 rm -f core conftest.err conftest.
$ac_objext \
45738 conftest
$ac_exeext conftest.
$ac_ext
45740 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
45741 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
45742 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
45743 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
45744 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
45745 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
45746 echo $ECHO_N "(cached) $ECHO_C" >&6
45748 cat >conftest.
$ac_ext <<_ACEOF
45751 cat confdefs.h
>>conftest.
$ac_ext
45752 cat >>conftest.
$ac_ext <<_ACEOF
45753 /* end confdefs.h. */
45754 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
45755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45756 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
45758 /* System header to define __stub macros and hopefully few prototypes,
45759 which can conflict with char pthread_attr_setschedparam (); below.
45760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45761 <limits.h> exists even on freestanding compilers. */
45764 # include <limits.h>
45766 # include <assert.h>
45769 #undef pthread_attr_setschedparam
45771 /* Override any GCC internal prototype to avoid an error.
45772 Use char because int might match the return type of a GCC
45773 builtin and then its argument prototype would still apply. */
45777 char pthread_attr_setschedparam ();
45778 /* The GNU C library defines this for functions which it implements
45779 to always fail with ENOSYS. Some functions are actually named
45780 something starting with __ and the normal name is an alias. */
45781 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
45788 return pthread_attr_setschedparam ();
45793 rm -f conftest.
$ac_objext conftest
$ac_exeext
45794 if { (ac_try
="$ac_link"
45795 case "(($ac_try" in
45796 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45797 *) ac_try_echo=$ac_try;;
45799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45800 (eval "$ac_link") 2>conftest.er1
45802 grep -v '^ *+' conftest.er1 >conftest.err
45804 cat conftest.err >&5
45805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45806 (exit $ac_status); } &&
45807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45808 { (case "(($ac_try" in
45809 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45810 *) ac_try_echo
=$ac_try;;
45812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45813 (eval "$ac_try") 2>&5
45815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45816 (exit $ac_status); }; } &&
45817 { ac_try
='test -s conftest$ac_exeext'
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_try") 2>&5
45825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45826 (exit $ac_status); }; }; then
45827 ac_cv_func_pthread_attr_setschedparam=yes
45829 echo "$as_me: failed program was:" >&5
45830 sed 's/^/| /' conftest.$ac_ext >&5
45832 ac_cv_func_pthread_attr_setschedparam=no
45835 rm -f core conftest.err conftest.$ac_objext \
45836 conftest$ac_exeext conftest.$ac_ext
45838 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
45839 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
45840 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
45841 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
45842 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
45843 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
45844 echo $ECHO_N "(cached) $ECHO_C" >&6
45846 cat >conftest.$ac_ext <<_ACEOF
45849 cat confdefs.h >>conftest.$ac_ext
45850 cat >>conftest.$ac_ext <<_ACEOF
45851 /* end confdefs.h. */
45852 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
45853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45854 #define sched_get_priority_max innocuous_sched_get_priority_max
45856 /* System header to define __stub macros and hopefully few prototypes,
45857 which can conflict with char sched_get_priority_max (); below.
45858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45859 <limits.h> exists even on freestanding compilers. */
45862 # include <limits.h>
45864 # include <assert.h>
45867 #undef sched_get_priority_max
45869 /* Override any GCC internal prototype to avoid an error.
45870 Use char because int might match the return type of a GCC
45871 builtin and then its argument prototype would still apply. */
45875 char sched_get_priority_max ();
45876 /* The GNU C library defines this for functions which it implements
45877 to always fail with ENOSYS. Some functions are actually named
45878 something starting with __ and the normal name is an alias. */
45879 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
45886 return sched_get_priority_max ();
45891 rm -f conftest.$ac_objext conftest$ac_exeext
45892 if { (ac_try="$ac_link"
45893 case "(($ac_try" in
45894 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45895 *) ac_try_echo
=$ac_try;;
45897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45898 (eval "$ac_link") 2>conftest.er1
45900 grep -v '^ *+' conftest.er1
>conftest.err
45902 cat conftest.err
>&5
45903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45904 (exit $ac_status); } &&
45905 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45906 { (case "(($ac_try" in
45907 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45908 *) ac_try_echo=$ac_try;;
45910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45911 (eval "$ac_try") 2>&5
45913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45914 (exit $ac_status); }; } &&
45915 { ac_try='test -s conftest$ac_exeext'
45916 { (case "(($ac_try" in
45917 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45918 *) ac_try_echo
=$ac_try;;
45920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45921 (eval "$ac_try") 2>&5
45923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45924 (exit $ac_status); }; }; then
45925 ac_cv_func_sched_get_priority_max
=yes
45927 echo "$as_me: failed program was:" >&5
45928 sed 's/^/| /' conftest.
$ac_ext >&5
45930 ac_cv_func_sched_get_priority_max
=no
45933 rm -f core conftest.err conftest.
$ac_objext \
45934 conftest
$ac_exeext conftest.
$ac_ext
45936 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
45937 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
45938 if test $ac_cv_func_sched_get_priority_max = yes; then
45941 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
45942 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
45943 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
45944 echo $ECHO_N "(cached) $ECHO_C" >&6
45946 ac_check_lib_save_LIBS
=$LIBS
45947 LIBS
="-lposix4 $LIBS"
45948 cat >conftest.
$ac_ext <<_ACEOF
45951 cat confdefs.h
>>conftest.
$ac_ext
45952 cat >>conftest.
$ac_ext <<_ACEOF
45953 /* end confdefs.h. */
45955 /* Override any GCC internal prototype to avoid an error.
45956 Use char because int might match the return type of a GCC
45957 builtin and then its argument prototype would still apply. */
45961 char sched_get_priority_max ();
45965 return sched_get_priority_max ();
45970 rm -f conftest.
$ac_objext conftest
$ac_exeext
45971 if { (ac_try
="$ac_link"
45972 case "(($ac_try" in
45973 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45974 *) ac_try_echo=$ac_try;;
45976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45977 (eval "$ac_link") 2>conftest.er1
45979 grep -v '^ *+' conftest.er1 >conftest.err
45981 cat conftest.err >&5
45982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45983 (exit $ac_status); } &&
45984 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45985 { (case "(($ac_try" in
45986 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45987 *) ac_try_echo
=$ac_try;;
45989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45990 (eval "$ac_try") 2>&5
45992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45993 (exit $ac_status); }; } &&
45994 { ac_try
='test -s conftest$ac_exeext'
45995 { (case "(($ac_try" in
45996 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45997 *) ac_try_echo=$ac_try;;
45999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46000 (eval "$ac_try") 2>&5
46002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46003 (exit $ac_status); }; }; then
46004 ac_cv_lib_posix4_sched_get_priority_max=yes
46006 echo "$as_me: failed program was:" >&5
46007 sed 's/^/| /' conftest.$ac_ext >&5
46009 ac_cv_lib_posix4_sched_get_priority_max=no
46012 rm -f core conftest.err conftest.$ac_objext \
46013 conftest$ac_exeext conftest.$ac_ext
46014 LIBS=$ac_check_lib_save_LIBS
46016 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
46017 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
46018 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
46021 POSIX4_LINK=" -lposix4"
46035 if test "$HAVE_PRIOR_FUNCS" = 1; then
46036 cat >>confdefs.h <<\_ACEOF
46037 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
46041 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
46042 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
46045 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
46046 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
46047 if test "${ac_cv_func_pthread_cancel+set}" = set; then
46048 echo $ECHO_N "(cached) $ECHO_C" >&6
46050 cat >conftest.$ac_ext <<_ACEOF
46053 cat confdefs.h >>conftest.$ac_ext
46054 cat >>conftest.$ac_ext <<_ACEOF
46055 /* end confdefs.h. */
46056 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
46057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46058 #define pthread_cancel innocuous_pthread_cancel
46060 /* System header to define __stub macros and hopefully few prototypes,
46061 which can conflict with char pthread_cancel (); below.
46062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46063 <limits.h> exists even on freestanding compilers. */
46066 # include <limits.h>
46068 # include <assert.h>
46071 #undef pthread_cancel
46073 /* Override any GCC internal prototype to avoid an error.
46074 Use char because int might match the return type of a GCC
46075 builtin and then its argument prototype would still apply. */
46079 char pthread_cancel ();
46080 /* The GNU C library defines this for functions which it implements
46081 to always fail with ENOSYS. Some functions are actually named
46082 something starting with __ and the normal name is an alias. */
46083 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
46090 return pthread_cancel ();
46095 rm -f conftest.$ac_objext conftest$ac_exeext
46096 if { (ac_try="$ac_link"
46097 case "(($ac_try" in
46098 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46099 *) ac_try_echo
=$ac_try;;
46101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46102 (eval "$ac_link") 2>conftest.er1
46104 grep -v '^ *+' conftest.er1
>conftest.err
46106 cat conftest.err
>&5
46107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46108 (exit $ac_status); } &&
46109 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46110 { (case "(($ac_try" in
46111 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46112 *) ac_try_echo=$ac_try;;
46114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46115 (eval "$ac_try") 2>&5
46117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46118 (exit $ac_status); }; } &&
46119 { ac_try='test -s conftest$ac_exeext'
46120 { (case "(($ac_try" in
46121 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46122 *) ac_try_echo
=$ac_try;;
46124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46125 (eval "$ac_try") 2>&5
46127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46128 (exit $ac_status); }; }; then
46129 ac_cv_func_pthread_cancel
=yes
46131 echo "$as_me: failed program was:" >&5
46132 sed 's/^/| /' conftest.
$ac_ext >&5
46134 ac_cv_func_pthread_cancel
=no
46137 rm -f core conftest.err conftest.
$ac_objext \
46138 conftest
$ac_exeext conftest.
$ac_ext
46140 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
46141 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
46142 if test $ac_cv_func_pthread_cancel = yes; then
46143 cat >>confdefs.h
<<\_ACEOF
46144 #define HAVE_PTHREAD_CANCEL 1
46148 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
46149 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
46153 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
46154 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
46155 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
46156 echo $ECHO_N "(cached) $ECHO_C" >&6
46158 cat >conftest.
$ac_ext <<_ACEOF
46161 cat confdefs.h
>>conftest.
$ac_ext
46162 cat >>conftest.
$ac_ext <<_ACEOF
46163 /* end confdefs.h. */
46164 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
46165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46166 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
46168 /* System header to define __stub macros and hopefully few prototypes,
46169 which can conflict with char pthread_attr_setstacksize (); below.
46170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46171 <limits.h> exists even on freestanding compilers. */
46174 # include <limits.h>
46176 # include <assert.h>
46179 #undef pthread_attr_setstacksize
46181 /* Override any GCC internal prototype to avoid an error.
46182 Use char because int might match the return type of a GCC
46183 builtin and then its argument prototype would still apply. */
46187 char pthread_attr_setstacksize ();
46188 /* The GNU C library defines this for functions which it implements
46189 to always fail with ENOSYS. Some functions are actually named
46190 something starting with __ and the normal name is an alias. */
46191 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
46198 return pthread_attr_setstacksize ();
46203 rm -f conftest.
$ac_objext conftest
$ac_exeext
46204 if { (ac_try
="$ac_link"
46205 case "(($ac_try" in
46206 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46207 *) ac_try_echo=$ac_try;;
46209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46210 (eval "$ac_link") 2>conftest.er1
46212 grep -v '^ *+' conftest.er1 >conftest.err
46214 cat conftest.err >&5
46215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46216 (exit $ac_status); } &&
46217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46218 { (case "(($ac_try" in
46219 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46220 *) ac_try_echo
=$ac_try;;
46222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46223 (eval "$ac_try") 2>&5
46225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46226 (exit $ac_status); }; } &&
46227 { ac_try
='test -s conftest$ac_exeext'
46228 { (case "(($ac_try" in
46229 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46230 *) ac_try_echo=$ac_try;;
46232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46233 (eval "$ac_try") 2>&5
46235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46236 (exit $ac_status); }; }; then
46237 ac_cv_func_pthread_attr_setstacksize=yes
46239 echo "$as_me: failed program was:" >&5
46240 sed 's/^/| /' conftest.$ac_ext >&5
46242 ac_cv_func_pthread_attr_setstacksize=no
46245 rm -f core conftest.err conftest.$ac_objext \
46246 conftest$ac_exeext conftest.$ac_ext
46248 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
46249 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
46250 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
46251 cat >>confdefs.h <<\_ACEOF
46252 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
46259 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
46260 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
46261 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
46262 echo $ECHO_N "(cached) $ECHO_C" >&6
46265 cat >conftest.$ac_ext <<_ACEOF
46268 cat confdefs.h >>conftest.$ac_ext
46269 cat >>conftest.$ac_ext <<_ACEOF
46270 /* end confdefs.h. */
46271 #include <pthread.h>
46276 pthread_mutexattr_t attr;
46277 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
46283 rm -f conftest.$ac_objext
46284 if { (ac_try="$ac_compile"
46285 case "(($ac_try" in
46286 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46287 *) ac_try_echo
=$ac_try;;
46289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46290 (eval "$ac_compile") 2>conftest.er1
46292 grep -v '^ *+' conftest.er1
>conftest.err
46294 cat conftest.err
>&5
46295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46296 (exit $ac_status); } &&
46297 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46298 { (case "(($ac_try" in
46299 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46300 *) ac_try_echo=$ac_try;;
46302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46303 (eval "$ac_try") 2>&5
46305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46306 (exit $ac_status); }; } &&
46307 { ac_try='test -s conftest.$ac_objext'
46308 { (case "(($ac_try" in
46309 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46310 *) ac_try_echo
=$ac_try;;
46312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46313 (eval "$ac_try") 2>&5
46315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46316 (exit $ac_status); }; }; then
46317 wx_cv_type_pthread_mutexattr_t
=yes
46319 echo "$as_me: failed program was:" >&5
46320 sed 's/^/| /' conftest.
$ac_ext >&5
46322 wx_cv_type_pthread_mutexattr_t
=no
46326 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46329 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
46330 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
46332 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
46333 cat >>confdefs.h
<<\_ACEOF
46334 #define HAVE_PTHREAD_MUTEXATTR_T 1
46338 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
46339 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
46340 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
46341 echo $ECHO_N "(cached) $ECHO_C" >&6
46344 cat >conftest.
$ac_ext <<_ACEOF
46347 cat confdefs.h
>>conftest.
$ac_ext
46348 cat >>conftest.
$ac_ext <<_ACEOF
46349 /* end confdefs.h. */
46350 #include <pthread.h>
46355 pthread_mutexattr_t attr;
46356 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
46362 rm -f conftest.
$ac_objext
46363 if { (ac_try
="$ac_compile"
46364 case "(($ac_try" in
46365 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46366 *) ac_try_echo=$ac_try;;
46368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46369 (eval "$ac_compile") 2>conftest.er1
46371 grep -v '^ *+' conftest.er1 >conftest.err
46373 cat conftest.err >&5
46374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46375 (exit $ac_status); } &&
46376 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46377 { (case "(($ac_try" in
46378 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46379 *) ac_try_echo
=$ac_try;;
46381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46382 (eval "$ac_try") 2>&5
46384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46385 (exit $ac_status); }; } &&
46386 { ac_try
='test -s conftest.$ac_objext'
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_try") 2>&5
46394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46395 (exit $ac_status); }; }; then
46396 wx_cv_func_pthread_mutexattr_settype_decl=yes
46398 echo "$as_me: failed program was:" >&5
46399 sed 's/^/| /' conftest.$ac_ext >&5
46401 wx_cv_func_pthread_mutexattr_settype_decl=no
46405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46408 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
46409 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
46410 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
46411 cat >>confdefs.h <<\_ACEOF
46412 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
46417 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
46418 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
46419 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
46420 echo $ECHO_N "(cached) $ECHO_C" >&6
46423 cat >conftest.$ac_ext <<_ACEOF
46426 cat confdefs.h >>conftest.$ac_ext
46427 cat >>conftest.$ac_ext <<_ACEOF
46428 /* end confdefs.h. */
46429 #include <pthread.h>
46434 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
46440 rm -f conftest.$ac_objext
46441 if { (ac_try="$ac_compile"
46442 case "(($ac_try" in
46443 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46444 *) ac_try_echo
=$ac_try;;
46446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46447 (eval "$ac_compile") 2>conftest.er1
46449 grep -v '^ *+' conftest.er1
>conftest.err
46451 cat conftest.err
>&5
46452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46453 (exit $ac_status); } &&
46454 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46455 { (case "(($ac_try" in
46456 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46457 *) ac_try_echo=$ac_try;;
46459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46460 (eval "$ac_try") 2>&5
46462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46463 (exit $ac_status); }; } &&
46464 { ac_try='test -s conftest.$ac_objext'
46465 { (case "(($ac_try" in
46466 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46467 *) ac_try_echo
=$ac_try;;
46469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46470 (eval "$ac_try") 2>&5
46472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46473 (exit $ac_status); }; }; then
46475 wx_cv_type_pthread_rec_mutex_init
=yes
46478 echo "$as_me: failed program was:" >&5
46479 sed 's/^/| /' conftest.
$ac_ext >&5
46482 wx_cv_type_pthread_rec_mutex_init
=no
46487 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46490 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
46491 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
46492 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
46493 cat >>confdefs.h
<<\_ACEOF
46494 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
46498 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
46499 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
46505 if test "$wxUSE_THREADS" = "yes" ; then
46508 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
46509 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
46510 if test "${wx_cv_cflags_mthread+set}" = set; then
46511 echo $ECHO_N "(cached) $ECHO_C" >&6
46514 CFLAGS_OLD
="$CFLAGS"
46515 CFLAGS
="-mthreads $CFLAGS"
46516 cat >conftest.
$ac_ext <<_ACEOF
46519 cat confdefs.h
>>conftest.
$ac_ext
46520 cat >>conftest.
$ac_ext <<_ACEOF
46521 /* end confdefs.h. */
46531 rm -f conftest.
$ac_objext
46532 if { (ac_try
="$ac_compile"
46533 case "(($ac_try" in
46534 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46535 *) ac_try_echo=$ac_try;;
46537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46538 (eval "$ac_compile") 2>conftest.er1
46540 grep -v '^ *+' conftest.er1 >conftest.err
46542 cat conftest.err >&5
46543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46544 (exit $ac_status); } &&
46545 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46546 { (case "(($ac_try" in
46547 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46548 *) ac_try_echo
=$ac_try;;
46550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46551 (eval "$ac_try") 2>&5
46553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46554 (exit $ac_status); }; } &&
46555 { ac_try
='test -s conftest.$ac_objext'
46556 { (case "(($ac_try" in
46557 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46558 *) ac_try_echo=$ac_try;;
46560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46561 (eval "$ac_try") 2>&5
46563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46564 (exit $ac_status); }; }; then
46565 wx_cv_cflags_mthread=yes
46567 echo "$as_me: failed program was:" >&5
46568 sed 's/^/| /' conftest.$ac_ext >&5
46570 wx_cv_cflags_mthread=no
46574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46578 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
46579 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
46581 if test "$wx_cv_cflags_mthread" = "yes"; then
46582 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
46583 LDFLAGS="$LDFLAGS -mthreads"
46585 CFLAGS="$CFLAGS_OLD"
46589 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
46590 LDFLAGS="$LDFLAGS -Zmt"
46596 { echo "$as_me:$LINENO: checking for localtime_r" >&5
46597 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
46598 if test "${ac_cv_func_localtime_r+set}" = set; then
46599 echo $ECHO_N "(cached) $ECHO_C" >&6
46601 cat >conftest.$ac_ext <<_ACEOF
46604 cat confdefs.h >>conftest.$ac_ext
46605 cat >>conftest.$ac_ext <<_ACEOF
46606 /* end confdefs.h. */
46607 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
46608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46609 #define localtime_r innocuous_localtime_r
46611 /* System header to define __stub macros and hopefully few prototypes,
46612 which can conflict with char localtime_r (); below.
46613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46614 <limits.h> exists even on freestanding compilers. */
46617 # include <limits.h>
46619 # include <assert.h>
46624 /* Override any GCC internal prototype to avoid an error.
46625 Use char because int might match the return type of a GCC
46626 builtin and then its argument prototype would still apply. */
46630 char localtime_r ();
46631 /* The GNU C library defines this for functions which it implements
46632 to always fail with ENOSYS. Some functions are actually named
46633 something starting with __ and the normal name is an alias. */
46634 #if defined __stub_localtime_r || defined __stub___localtime_r
46641 return localtime_r ();
46646 rm -f conftest.$ac_objext conftest$ac_exeext
46647 if { (ac_try="$ac_link"
46648 case "(($ac_try" in
46649 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46650 *) ac_try_echo
=$ac_try;;
46652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46653 (eval "$ac_link") 2>conftest.er1
46655 grep -v '^ *+' conftest.er1
>conftest.err
46657 cat conftest.err
>&5
46658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46659 (exit $ac_status); } &&
46660 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46661 { (case "(($ac_try" in
46662 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46663 *) ac_try_echo=$ac_try;;
46665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46666 (eval "$ac_try") 2>&5
46668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46669 (exit $ac_status); }; } &&
46670 { ac_try='test -s conftest$ac_exeext'
46671 { (case "(($ac_try" in
46672 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46673 *) ac_try_echo
=$ac_try;;
46675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46676 (eval "$ac_try") 2>&5
46678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46679 (exit $ac_status); }; }; then
46680 ac_cv_func_localtime_r
=yes
46682 echo "$as_me: failed program was:" >&5
46683 sed 's/^/| /' conftest.
$ac_ext >&5
46685 ac_cv_func_localtime_r
=no
46688 rm -f core conftest.err conftest.
$ac_objext \
46689 conftest
$ac_exeext conftest.
$ac_ext
46691 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
46692 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
46693 if test $ac_cv_func_localtime_r = yes; then
46694 cat >>confdefs.h
<<\_ACEOF
46695 #define HAVE_LOCALTIME_R 1
46700 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
46701 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
46702 if test "${ac_cv_func_gmtime_r+set}" = set; then
46703 echo $ECHO_N "(cached) $ECHO_C" >&6
46705 cat >conftest.
$ac_ext <<_ACEOF
46708 cat confdefs.h
>>conftest.
$ac_ext
46709 cat >>conftest.
$ac_ext <<_ACEOF
46710 /* end confdefs.h. */
46711 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
46712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46713 #define gmtime_r innocuous_gmtime_r
46715 /* System header to define __stub macros and hopefully few prototypes,
46716 which can conflict with char gmtime_r (); below.
46717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46718 <limits.h> exists even on freestanding compilers. */
46721 # include <limits.h>
46723 # include <assert.h>
46728 /* Override any GCC internal prototype to avoid an error.
46729 Use char because int might match the return type of a GCC
46730 builtin and then its argument prototype would still apply. */
46735 /* The GNU C library defines this for functions which it implements
46736 to always fail with ENOSYS. Some functions are actually named
46737 something starting with __ and the normal name is an alias. */
46738 #if defined __stub_gmtime_r || defined __stub___gmtime_r
46745 return gmtime_r ();
46750 rm -f conftest.
$ac_objext conftest
$ac_exeext
46751 if { (ac_try
="$ac_link"
46752 case "(($ac_try" in
46753 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46754 *) ac_try_echo=$ac_try;;
46756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46757 (eval "$ac_link") 2>conftest.er1
46759 grep -v '^ *+' conftest.er1 >conftest.err
46761 cat conftest.err >&5
46762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46763 (exit $ac_status); } &&
46764 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46765 { (case "(($ac_try" in
46766 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46767 *) ac_try_echo
=$ac_try;;
46769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46770 (eval "$ac_try") 2>&5
46772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46773 (exit $ac_status); }; } &&
46774 { ac_try
='test -s conftest$ac_exeext'
46775 { (case "(($ac_try" in
46776 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46777 *) ac_try_echo=$ac_try;;
46779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46780 (eval "$ac_try") 2>&5
46782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46783 (exit $ac_status); }; }; then
46784 ac_cv_func_gmtime_r=yes
46786 echo "$as_me: failed program was:" >&5
46787 sed 's/^/| /' conftest.$ac_ext >&5
46789 ac_cv_func_gmtime_r=no
46792 rm -f core conftest.err conftest.$ac_objext \
46793 conftest$ac_exeext conftest.$ac_ext
46795 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
46796 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
46797 if test $ac_cv_func_gmtime_r = yes; then
46798 cat >>confdefs.h <<\_ACEOF
46799 #define HAVE_GMTIME_R 1
46804 { echo "$as_me:$LINENO: checking for readdir_r" >&5
46805 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
46806 if test "${ac_cv_func_readdir_r+set}" = set; then
46807 echo $ECHO_N "(cached) $ECHO_C" >&6
46809 cat >conftest.$ac_ext <<_ACEOF
46812 cat confdefs.h >>conftest.$ac_ext
46813 cat >>conftest.$ac_ext <<_ACEOF
46814 /* end confdefs.h. */
46815 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
46816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46817 #define readdir_r innocuous_readdir_r
46819 /* System header to define __stub macros and hopefully few prototypes,
46820 which can conflict with char readdir_r (); below.
46821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46822 <limits.h> exists even on freestanding compilers. */
46825 # include <limits.h>
46827 # include <assert.h>
46832 /* Override any GCC internal prototype to avoid an error.
46833 Use char because int might match the return type of a GCC
46834 builtin and then its argument prototype would still apply. */
46839 /* The GNU C library defines this for functions which it implements
46840 to always fail with ENOSYS. Some functions are actually named
46841 something starting with __ and the normal name is an alias. */
46842 #if defined __stub_readdir_r || defined __stub___readdir_r
46849 return readdir_r ();
46854 rm -f conftest.$ac_objext conftest$ac_exeext
46855 if { (ac_try="$ac_link"
46856 case "(($ac_try" in
46857 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46858 *) ac_try_echo
=$ac_try;;
46860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46861 (eval "$ac_link") 2>conftest.er1
46863 grep -v '^ *+' conftest.er1
>conftest.err
46865 cat conftest.err
>&5
46866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46867 (exit $ac_status); } &&
46868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46869 { (case "(($ac_try" in
46870 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46871 *) ac_try_echo=$ac_try;;
46873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46874 (eval "$ac_try") 2>&5
46876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46877 (exit $ac_status); }; } &&
46878 { ac_try='test -s conftest$ac_exeext'
46879 { (case "(($ac_try" in
46880 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46881 *) ac_try_echo
=$ac_try;;
46883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46884 (eval "$ac_try") 2>&5
46886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46887 (exit $ac_status); }; }; then
46888 ac_cv_func_readdir_r
=yes
46890 echo "$as_me: failed program was:" >&5
46891 sed 's/^/| /' conftest.
$ac_ext >&5
46893 ac_cv_func_readdir_r
=no
46896 rm -f core conftest.err conftest.
$ac_objext \
46897 conftest
$ac_exeext conftest.
$ac_ext
46899 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
46900 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
46901 if test $ac_cv_func_readdir_r = yes; then
46902 cat >>confdefs.h
<<\_ACEOF
46903 #define HAVE_READDIR_R 1
46912 ac_cpp
='$CPP $CPPFLAGS'
46913 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46914 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46915 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46917 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
46918 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
46920 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
46921 echo $ECHO_N "(cached) $ECHO_C" >&6
46925 ################################################################
46927 ac_cv_func_which_gethostbyname_r
=unknown
46930 # ONE ARGUMENT (sanity check)
46933 # This should fail, as there is no variant of gethostbyname_r() that takes
46934 # a single argument. If it actually compiles, then we can assume that
46935 # netdb.h is not declaring the function, and the compiler is thereby
46936 # assuming an implicit prototype. In which case, we're out of luck.
46938 cat >conftest.
$ac_ext <<_ACEOF
46941 cat confdefs.h
>>conftest.
$ac_ext
46942 cat >>conftest.
$ac_ext <<_ACEOF
46943 /* end confdefs.h. */
46949 char *name = "www.gnu.org";
46950 (void)gethostbyname_r(name) /* ; */
46956 rm -f conftest.
$ac_objext
46957 if { (ac_try
="$ac_compile"
46958 case "(($ac_try" in
46959 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46960 *) ac_try_echo=$ac_try;;
46962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46963 (eval "$ac_compile") 2>conftest.er1
46965 grep -v '^ *+' conftest.er1 >conftest.err
46967 cat conftest.err >&5
46968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46969 (exit $ac_status); } &&
46970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46971 { (case "(($ac_try" in
46972 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46973 *) ac_try_echo
=$ac_try;;
46975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46976 (eval "$ac_try") 2>&5
46978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46979 (exit $ac_status); }; } &&
46980 { ac_try
='test -s conftest.$ac_objext'
46981 { (case "(($ac_try" in
46982 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46983 *) ac_try_echo=$ac_try;;
46985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46986 (eval "$ac_try") 2>&5
46988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46989 (exit $ac_status); }; }; then
46990 ac_cv_func_which_gethostbyname_r=no
46992 echo "$as_me: failed program was:" >&5
46993 sed 's/^/| /' conftest.$ac_ext >&5
46998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47005 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
47007 cat >conftest.$ac_ext <<_ACEOF
47010 cat confdefs.h >>conftest.$ac_ext
47011 cat >>conftest.$ac_ext <<_ACEOF
47012 /* end confdefs.h. */
47018 char *name = "www.gnu.org";
47019 struct hostent ret, *retp;
47023 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
47029 rm -f conftest.$ac_objext
47030 if { (ac_try="$ac_compile"
47031 case "(($ac_try" in
47032 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47033 *) ac_try_echo
=$ac_try;;
47035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47036 (eval "$ac_compile") 2>conftest.er1
47038 grep -v '^ *+' conftest.er1
>conftest.err
47040 cat conftest.err
>&5
47041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47042 (exit $ac_status); } &&
47043 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47044 { (case "(($ac_try" in
47045 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47046 *) ac_try_echo=$ac_try;;
47048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47049 (eval "$ac_try") 2>&5
47051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47052 (exit $ac_status); }; } &&
47053 { ac_try='test -s conftest.$ac_objext'
47054 { (case "(($ac_try" in
47055 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47056 *) ac_try_echo
=$ac_try;;
47058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47059 (eval "$ac_try") 2>&5
47061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47062 (exit $ac_status); }; }; then
47063 ac_cv_func_which_gethostbyname_r
=six
47065 echo "$as_me: failed program was:" >&5
47066 sed 's/^/| /' conftest.
$ac_ext >&5
47071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47080 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
47082 cat >conftest.
$ac_ext <<_ACEOF
47085 cat confdefs.h
>>conftest.
$ac_ext
47086 cat >>conftest.
$ac_ext <<_ACEOF
47087 /* end confdefs.h. */
47093 char *name = "www.gnu.org";
47094 struct hostent ret;
47098 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
47104 rm -f conftest.
$ac_objext
47105 if { (ac_try
="$ac_compile"
47106 case "(($ac_try" in
47107 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47108 *) ac_try_echo=$ac_try;;
47110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47111 (eval "$ac_compile") 2>conftest.er1
47113 grep -v '^ *+' conftest.er1 >conftest.err
47115 cat conftest.err >&5
47116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47117 (exit $ac_status); } &&
47118 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47119 { (case "(($ac_try" in
47120 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47121 *) ac_try_echo
=$ac_try;;
47123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47124 (eval "$ac_try") 2>&5
47126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47127 (exit $ac_status); }; } &&
47128 { ac_try
='test -s conftest.$ac_objext'
47129 { (case "(($ac_try" in
47130 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47131 *) ac_try_echo=$ac_try;;
47133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47134 (eval "$ac_try") 2>&5
47136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47137 (exit $ac_status); }; }; then
47138 ac_cv_func_which_gethostbyname_r=five
47140 echo "$as_me: failed program was:" >&5
47141 sed 's/^/| /' conftest.$ac_ext >&5
47146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47152 # (e.g. AIX, HP-UX, Tru64)
47155 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
47157 cat >conftest.$ac_ext <<_ACEOF
47160 cat confdefs.h >>conftest.$ac_ext
47161 cat >>conftest.$ac_ext <<_ACEOF
47162 /* end confdefs.h. */
47168 char *name = "www.gnu.org";
47169 struct hostent ret;
47170 struct hostent_data data;
47171 (void)gethostbyname_r(name, &ret, &data) /* ; */
47177 rm -f conftest.$ac_objext
47178 if { (ac_try="$ac_compile"
47179 case "(($ac_try" in
47180 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47181 *) ac_try_echo
=$ac_try;;
47183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47184 (eval "$ac_compile") 2>conftest.er1
47186 grep -v '^ *+' conftest.er1
>conftest.err
47188 cat conftest.err
>&5
47189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47190 (exit $ac_status); } &&
47191 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47192 { (case "(($ac_try" in
47193 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47194 *) ac_try_echo=$ac_try;;
47196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47197 (eval "$ac_try") 2>&5
47199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47200 (exit $ac_status); }; } &&
47201 { ac_try='test -s conftest.$ac_objext'
47202 { (case "(($ac_try" in
47203 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47204 *) ac_try_echo
=$ac_try;;
47206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47207 (eval "$ac_try") 2>&5
47209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47210 (exit $ac_status); }; }; then
47211 ac_cv_func_which_gethostbyname_r
=three
47213 echo "$as_me: failed program was:" >&5
47214 sed 's/^/| /' conftest.
$ac_ext >&5
47219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47223 ################################################################
47228 case "$ac_cv_func_which_gethostbyname_r" in
47230 { echo "$as_me:$LINENO: result: three" >&5
47231 echo "${ECHO_T}three" >&6; }
47232 cat >>confdefs.h
<<\_ACEOF
47233 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
47239 { echo "$as_me:$LINENO: result: five" >&5
47240 echo "${ECHO_T}five" >&6; }
47241 cat >>confdefs.h
<<\_ACEOF
47242 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
47248 { echo "$as_me:$LINENO: result: six" >&5
47249 echo "${ECHO_T}six" >&6; }
47250 cat >>confdefs.h
<<\_ACEOF
47251 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
47257 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
47258 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
47262 { echo "$as_me:$LINENO: result: can't tell" >&5
47263 echo "${ECHO_T}can't tell" >&6; }
47267 { { echo "$as_me:$LINENO: error: internal error" >&5
47268 echo "$as_me: error: internal error" >&2;}
47269 { (exit 1); exit 1; }; }
47274 ac_cpp
='$CPP $CPPFLAGS'
47275 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47276 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47277 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47281 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
47282 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
47283 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
47284 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
47285 if test "${ac_cv_func_gethostbyname+set}" = set; then
47286 echo $ECHO_N "(cached) $ECHO_C" >&6
47288 cat >conftest.
$ac_ext <<_ACEOF
47291 cat confdefs.h
>>conftest.
$ac_ext
47292 cat >>conftest.
$ac_ext <<_ACEOF
47293 /* end confdefs.h. */
47294 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
47295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47296 #define gethostbyname innocuous_gethostbyname
47298 /* System header to define __stub macros and hopefully few prototypes,
47299 which can conflict with char gethostbyname (); below.
47300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47301 <limits.h> exists even on freestanding compilers. */
47304 # include <limits.h>
47306 # include <assert.h>
47309 #undef gethostbyname
47311 /* Override any GCC internal prototype to avoid an error.
47312 Use char because int might match the return type of a GCC
47313 builtin and then its argument prototype would still apply. */
47317 char gethostbyname ();
47318 /* The GNU C library defines this for functions which it implements
47319 to always fail with ENOSYS. Some functions are actually named
47320 something starting with __ and the normal name is an alias. */
47321 #if defined __stub_gethostbyname || defined __stub___gethostbyname
47328 return gethostbyname ();
47333 rm -f conftest.
$ac_objext conftest
$ac_exeext
47334 if { (ac_try
="$ac_link"
47335 case "(($ac_try" in
47336 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47337 *) ac_try_echo=$ac_try;;
47339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47340 (eval "$ac_link") 2>conftest.er1
47342 grep -v '^ *+' conftest.er1 >conftest.err
47344 cat conftest.err >&5
47345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47346 (exit $ac_status); } &&
47347 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47348 { (case "(($ac_try" in
47349 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47350 *) ac_try_echo
=$ac_try;;
47352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47353 (eval "$ac_try") 2>&5
47355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47356 (exit $ac_status); }; } &&
47357 { ac_try
='test -s conftest$ac_exeext'
47358 { (case "(($ac_try" in
47359 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47360 *) ac_try_echo=$ac_try;;
47362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47363 (eval "$ac_try") 2>&5
47365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47366 (exit $ac_status); }; }; then
47367 ac_cv_func_gethostbyname=yes
47369 echo "$as_me: failed program was:" >&5
47370 sed 's/^/| /' conftest.$ac_ext >&5
47372 ac_cv_func_gethostbyname=no
47375 rm -f core conftest.err conftest.$ac_objext \
47376 conftest$ac_exeext conftest.$ac_ext
47378 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
47379 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
47380 if test $ac_cv_func_gethostbyname = yes; then
47381 cat >>confdefs.h <<\_ACEOF
47382 #define HAVE_GETHOSTBYNAME 1
47389 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
47390 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
47391 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
47392 echo $ECHO_N "(cached) $ECHO_C" >&6
47396 ac_cpp='$CXXCPP $CPPFLAGS'
47397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47402 cat >conftest.$ac_ext <<_ACEOF
47405 cat confdefs.h >>conftest.$ac_ext
47406 cat >>conftest.$ac_ext <<_ACEOF
47407 /* end confdefs.h. */
47415 struct servent *se, *res;
47418 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
47424 rm -f conftest.$ac_objext
47425 if { (ac_try="$ac_compile"
47426 case "(($ac_try" in
47427 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47428 *) ac_try_echo
=$ac_try;;
47430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47431 (eval "$ac_compile") 2>conftest.er1
47433 grep -v '^ *+' conftest.er1
>conftest.err
47435 cat conftest.err
>&5
47436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47437 (exit $ac_status); } &&
47438 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47439 { (case "(($ac_try" in
47440 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47441 *) ac_try_echo=$ac_try;;
47443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47444 (eval "$ac_try") 2>&5
47446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47447 (exit $ac_status); }; } &&
47448 { ac_try='test -s conftest.$ac_objext'
47449 { (case "(($ac_try" in
47450 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47451 *) ac_try_echo
=$ac_try;;
47453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47454 (eval "$ac_try") 2>&5
47456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47457 (exit $ac_status); }; }; then
47458 ac_cv_func_which_getservbyname_r
=six
47460 echo "$as_me: failed program was:" >&5
47461 sed 's/^/| /' conftest.
$ac_ext >&5
47464 cat >conftest.
$ac_ext <<_ACEOF
47467 cat confdefs.h
>>conftest.
$ac_ext
47468 cat >>conftest.
$ac_ext <<_ACEOF
47469 /* end confdefs.h. */
47477 struct servent *se;
47480 (void) getservbyname_r(name, proto, se, buffer, buflen)
47486 rm -f conftest.
$ac_objext
47487 if { (ac_try
="$ac_compile"
47488 case "(($ac_try" in
47489 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47490 *) ac_try_echo=$ac_try;;
47492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47493 (eval "$ac_compile") 2>conftest.er1
47495 grep -v '^ *+' conftest.er1 >conftest.err
47497 cat conftest.err >&5
47498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47499 (exit $ac_status); } &&
47500 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47501 { (case "(($ac_try" in
47502 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47503 *) ac_try_echo
=$ac_try;;
47505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47506 (eval "$ac_try") 2>&5
47508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47509 (exit $ac_status); }; } &&
47510 { ac_try
='test -s conftest.$ac_objext'
47511 { (case "(($ac_try" in
47512 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47513 *) ac_try_echo=$ac_try;;
47515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47516 (eval "$ac_try") 2>&5
47518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47519 (exit $ac_status); }; }; then
47520 ac_cv_func_which_getservbyname_r=five
47522 echo "$as_me: failed program was:" >&5
47523 sed 's/^/| /' conftest.$ac_ext >&5
47526 cat >conftest.$ac_ext <<_ACEOF
47529 cat confdefs.h >>conftest.$ac_ext
47530 cat >>conftest.$ac_ext <<_ACEOF
47531 /* end confdefs.h. */
47539 struct servent *se;
47540 struct servent_data data;
47541 (void) getservbyname_r(name, proto, se, &data);
47547 rm -f conftest.$ac_objext
47548 if { (ac_try="$ac_compile"
47549 case "(($ac_try" in
47550 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47551 *) ac_try_echo
=$ac_try;;
47553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47554 (eval "$ac_compile") 2>conftest.er1
47556 grep -v '^ *+' conftest.er1
>conftest.err
47558 cat conftest.err
>&5
47559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47560 (exit $ac_status); } &&
47561 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47562 { (case "(($ac_try" in
47563 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47564 *) ac_try_echo=$ac_try;;
47566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47567 (eval "$ac_try") 2>&5
47569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47570 (exit $ac_status); }; } &&
47571 { ac_try='test -s conftest.$ac_objext'
47572 { (case "(($ac_try" in
47573 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47574 *) ac_try_echo
=$ac_try;;
47576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47577 (eval "$ac_try") 2>&5
47579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47580 (exit $ac_status); }; }; then
47581 ac_cv_func_which_getservbyname_r
=four
47583 echo "$as_me: failed program was:" >&5
47584 sed 's/^/| /' conftest.
$ac_ext >&5
47586 ac_cv_func_which_getservbyname_r
=no
47590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47600 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47602 ac_cpp
='$CPP $CPPFLAGS'
47603 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47604 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47605 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47610 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
47611 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
47613 if test $ac_cv_func_which_getservbyname_r = six
; then
47614 cat >>confdefs.h
<<\_ACEOF
47615 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
47618 elif test $ac_cv_func_which_getservbyname_r = five
; then
47619 cat >>confdefs.h
<<\_ACEOF
47620 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
47623 elif test $ac_cv_func_which_getservbyname_r = four
; then
47624 cat >>confdefs.h
<<\_ACEOF
47625 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
47631 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
47632 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
47634 for ac_func
in getservbyname
47636 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47637 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47639 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47640 echo $ECHO_N "(cached) $ECHO_C" >&6
47642 cat >conftest.
$ac_ext <<_ACEOF
47645 cat confdefs.h
>>conftest.
$ac_ext
47646 cat >>conftest.
$ac_ext <<_ACEOF
47647 /* end confdefs.h. */
47648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47650 #define $ac_func innocuous_$ac_func
47652 /* System header to define __stub macros and hopefully few prototypes,
47653 which can conflict with char $ac_func (); below.
47654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47655 <limits.h> exists even on freestanding compilers. */
47658 # include <limits.h>
47660 # include <assert.h>
47665 /* Override any GCC internal prototype to avoid an error.
47666 Use char because int might match the return type of a GCC
47667 builtin and then its argument prototype would still apply. */
47672 /* The GNU C library defines this for functions which it implements
47673 to always fail with ENOSYS. Some functions are actually named
47674 something starting with __ and the normal name is an alias. */
47675 #if defined __stub_$ac_func || defined __stub___$ac_func
47682 return $ac_func ();
47687 rm -f conftest.
$ac_objext conftest
$ac_exeext
47688 if { (ac_try
="$ac_link"
47689 case "(($ac_try" in
47690 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47691 *) ac_try_echo=$ac_try;;
47693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47694 (eval "$ac_link") 2>conftest.er1
47696 grep -v '^ *+' conftest.er1 >conftest.err
47698 cat conftest.err >&5
47699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47700 (exit $ac_status); } &&
47701 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47702 { (case "(($ac_try" in
47703 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47704 *) ac_try_echo
=$ac_try;;
47706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47707 (eval "$ac_try") 2>&5
47709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47710 (exit $ac_status); }; } &&
47711 { ac_try
='test -s conftest$ac_exeext'
47712 { (case "(($ac_try" in
47713 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47714 *) ac_try_echo=$ac_try;;
47716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47717 (eval "$ac_try") 2>&5
47719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47720 (exit $ac_status); }; }; then
47721 eval "$as_ac_var=yes"
47723 echo "$as_me: failed program was:" >&5
47724 sed 's/^/| /' conftest.$ac_ext >&5
47726 eval "$as_ac_var=no"
47729 rm -f core conftest.err conftest.$ac_objext \
47730 conftest$ac_exeext conftest.$ac_ext
47732 ac_res=`eval echo '${'$as_ac_var'}'`
47733 { echo "$as_me:$LINENO: result: $ac_res" >&5
47734 echo "${ECHO_T}$ac_res" >&6; }
47735 if test `eval echo '${'$as_ac_var'}'` = yes; then
47736 cat >>confdefs.h <<_ACEOF
47737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47739 cat >>confdefs.h <<\_ACEOF
47740 #define HAVE_GETSERVBYNAME 1
47748 if test "$wxUSE_THREADS" = "yes"; then
47749 cat >>confdefs.h <<\_ACEOF
47750 #define wxUSE_THREADS 1
47754 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
47756 if test "$wx_cv_func_strtok_r" = "yes"; then
47757 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
47758 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
47759 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
47760 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
47761 { echo "$as_me:$LINENO: result: yes" >&5
47762 echo "${ECHO_T}yes" >&6; }
47764 { echo "$as_me:$LINENO: result: no" >&5
47765 echo "${ECHO_T}no" >&6; }
47770 if test "$WXGTK20" = 1 ; then
47771 cat >>confdefs.h <<_ACEOF
47772 #define __WXGTK20__ $WXGTK20
47778 if test "$WXGTK12" = 1 ; then
47779 cat >>confdefs.h <<_ACEOF
47780 #define __WXGTK12__ $WXGTK12
47785 if test "$WXGTK127" = 1 ; then
47786 cat >>confdefs.h <<_ACEOF
47787 #define __WXGTK127__ $WXGTK127
47792 if test "$WXGPE" = 1 ; then
47793 cat >>confdefs.h <<_ACEOF
47794 #define __WXGPE__ $WXGPE
47800 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
47805 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
47806 wxUSE_DEBUG_INFO=yes
47807 if test "$GCC" = yes; then
47808 DEBUG_CFLAGS="-ggdb"
47812 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
47813 cat >>confdefs.h <<\_ACEOF
47817 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
47819 if test "$wxUSE_GTK" = 1 ; then
47820 if test "x$wxGTK_VERSION" = "x1" ; then
47821 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
47826 if test "$wxUSE_MEM_TRACING" = "yes" ; then
47827 cat >>confdefs.h <<\_ACEOF
47828 #define wxUSE_MEMORY_TRACING 1
47831 cat >>confdefs.h <<\_ACEOF
47832 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
47835 cat >>confdefs.h <<\_ACEOF
47836 #define wxUSE_DEBUG_NEW_ALWAYS 1
47839 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
47842 if test "$wxUSE_DMALLOC" = "yes" ; then
47843 DMALLOC_LIBS="-ldmallocthcxx"
47847 if test "$wxUSE_PROFILE" = "yes" ; then
47848 PROFILE_FLAGS=" -pg"
47851 if test "$GCC" = "yes" ; then
47852 if test "$wxUSE_NO_RTTI" = "yes" ; then
47853 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
47855 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47856 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
47858 if test "$wxUSE_PERMISSIVE" = "yes" ; then
47859 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
47864 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
47867 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
47873 if test "$wxUSE_OPTIMISE" = "no" ; then
47874 if test "$GCC" = yes ; then
47875 OPTIMISE_CFLAGS="-O0"
47878 if test "$GCC" = yes ; then
47880 *-pc-os2_emx | *-pc-os2-emx )
47881 OPTIMISE_CFLAGS="-O2"
47884 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
47888 OPTIMISE_CFLAGS="-O"
47893 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
47894 cat >>confdefs.h <<\_ACEOF
47895 #define WXWIN_COMPATIBILITY_2_4 1
47899 WXWIN_COMPATIBILITY_2_6="yes"
47902 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
47903 cat >>confdefs.h <<\_ACEOF
47904 #define WXWIN_COMPATIBILITY_2_6 1
47910 if test "$wxUSE_GUI" = "yes"; then
47911 cat >>confdefs.h <<\_ACEOF
47912 #define wxUSE_GUI 1
47919 if test "$wxUSE_UNIX" = "yes"; then
47920 cat >>confdefs.h <<\_ACEOF
47921 #define wxUSE_UNIX 1
47927 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
47931 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
47932 if test "$USE_DARWIN" = 1; then
47934 elif test "$USE_DOS" = 1; then
47938 for ac_func in dlopen
47940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47941 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47943 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47944 echo $ECHO_N "(cached) $ECHO_C" >&6
47946 cat >conftest.$ac_ext <<_ACEOF
47949 cat confdefs.h >>conftest.$ac_ext
47950 cat >>conftest.$ac_ext <<_ACEOF
47951 /* end confdefs.h. */
47952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47954 #define $ac_func innocuous_$ac_func
47956 /* System header to define __stub macros and hopefully few prototypes,
47957 which can conflict with char $ac_func (); below.
47958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47959 <limits.h> exists even on freestanding compilers. */
47962 # include <limits.h>
47964 # include <assert.h>
47969 /* Override any GCC internal prototype to avoid an error.
47970 Use char because int might match the return type of a GCC
47971 builtin and then its argument prototype would still apply. */
47976 /* The GNU C library defines this for functions which it implements
47977 to always fail with ENOSYS. Some functions are actually named
47978 something starting with __ and the normal name is an alias. */
47979 #if defined __stub_$ac_func || defined __stub___$ac_func
47986 return $ac_func ();
47991 rm -f conftest.$ac_objext conftest$ac_exeext
47992 if { (ac_try="$ac_link"
47993 case "(($ac_try" in
47994 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47995 *) ac_try_echo
=$ac_try;;
47997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47998 (eval "$ac_link") 2>conftest.er1
48000 grep -v '^ *+' conftest.er1
>conftest.err
48002 cat conftest.err
>&5
48003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48004 (exit $ac_status); } &&
48005 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48006 { (case "(($ac_try" in
48007 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48008 *) ac_try_echo=$ac_try;;
48010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48011 (eval "$ac_try") 2>&5
48013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48014 (exit $ac_status); }; } &&
48015 { ac_try='test -s conftest$ac_exeext'
48016 { (case "(($ac_try" in
48017 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48018 *) ac_try_echo
=$ac_try;;
48020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48021 (eval "$ac_try") 2>&5
48023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48024 (exit $ac_status); }; }; then
48025 eval "$as_ac_var=yes"
48027 echo "$as_me: failed program was:" >&5
48028 sed 's/^/| /' conftest.
$ac_ext >&5
48030 eval "$as_ac_var=no"
48033 rm -f core conftest.err conftest.
$ac_objext \
48034 conftest
$ac_exeext conftest.
$ac_ext
48036 ac_res
=`eval echo '${'$as_ac_var'}'`
48037 { echo "$as_me:$LINENO: result: $ac_res" >&5
48038 echo "${ECHO_T}$ac_res" >&6; }
48039 if test `eval echo '${'$as_ac_var'}'` = yes; then
48040 cat >>confdefs.h
<<_ACEOF
48041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48044 cat >>confdefs.h
<<\_ACEOF
48045 #define HAVE_DLOPEN 1
48052 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
48053 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
48054 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
48055 echo $ECHO_N "(cached) $ECHO_C" >&6
48057 ac_check_lib_save_LIBS
=$LIBS
48059 cat >conftest.
$ac_ext <<_ACEOF
48062 cat confdefs.h
>>conftest.
$ac_ext
48063 cat >>conftest.
$ac_ext <<_ACEOF
48064 /* end confdefs.h. */
48066 /* Override any GCC internal prototype to avoid an error.
48067 Use char because int might match the return type of a GCC
48068 builtin and then its argument prototype would still apply. */
48081 rm -f conftest.
$ac_objext conftest
$ac_exeext
48082 if { (ac_try
="$ac_link"
48083 case "(($ac_try" in
48084 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48085 *) ac_try_echo=$ac_try;;
48087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48088 (eval "$ac_link") 2>conftest.er1
48090 grep -v '^ *+' conftest.er1 >conftest.err
48092 cat conftest.err >&5
48093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48094 (exit $ac_status); } &&
48095 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48096 { (case "(($ac_try" in
48097 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48098 *) ac_try_echo
=$ac_try;;
48100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48101 (eval "$ac_try") 2>&5
48103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48104 (exit $ac_status); }; } &&
48105 { ac_try
='test -s conftest$ac_exeext'
48106 { (case "(($ac_try" in
48107 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48108 *) ac_try_echo=$ac_try;;
48110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48111 (eval "$ac_try") 2>&5
48113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48114 (exit $ac_status); }; }; then
48115 ac_cv_lib_dl_dlopen=yes
48117 echo "$as_me: failed program was:" >&5
48118 sed 's/^/| /' conftest.$ac_ext >&5
48120 ac_cv_lib_dl_dlopen=no
48123 rm -f core conftest.err conftest.$ac_objext \
48124 conftest$ac_exeext conftest.$ac_ext
48125 LIBS=$ac_check_lib_save_LIBS
48127 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
48128 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
48129 if test $ac_cv_lib_dl_dlopen = yes; then
48131 cat >>confdefs.h <<\_ACEOF
48132 #define HAVE_DLOPEN 1
48136 DL_LINK=" -ldl$DL_LINK"
48141 for ac_func in shl_load
48143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48144 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48146 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48147 echo $ECHO_N "(cached) $ECHO_C" >&6
48149 cat >conftest.$ac_ext <<_ACEOF
48152 cat confdefs.h >>conftest.$ac_ext
48153 cat >>conftest.$ac_ext <<_ACEOF
48154 /* end confdefs.h. */
48155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48157 #define $ac_func innocuous_$ac_func
48159 /* System header to define __stub macros and hopefully few prototypes,
48160 which can conflict with char $ac_func (); below.
48161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48162 <limits.h> exists even on freestanding compilers. */
48165 # include <limits.h>
48167 # include <assert.h>
48172 /* Override any GCC internal prototype to avoid an error.
48173 Use char because int might match the return type of a GCC
48174 builtin and then its argument prototype would still apply. */
48179 /* The GNU C library defines this for functions which it implements
48180 to always fail with ENOSYS. Some functions are actually named
48181 something starting with __ and the normal name is an alias. */
48182 #if defined __stub_$ac_func || defined __stub___$ac_func
48189 return $ac_func ();
48194 rm -f conftest.$ac_objext conftest$ac_exeext
48195 if { (ac_try="$ac_link"
48196 case "(($ac_try" in
48197 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48198 *) ac_try_echo
=$ac_try;;
48200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48201 (eval "$ac_link") 2>conftest.er1
48203 grep -v '^ *+' conftest.er1
>conftest.err
48205 cat conftest.err
>&5
48206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48207 (exit $ac_status); } &&
48208 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48209 { (case "(($ac_try" in
48210 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48211 *) ac_try_echo=$ac_try;;
48213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48214 (eval "$ac_try") 2>&5
48216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48217 (exit $ac_status); }; } &&
48218 { ac_try='test -s conftest$ac_exeext'
48219 { (case "(($ac_try" in
48220 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48221 *) ac_try_echo
=$ac_try;;
48223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48224 (eval "$ac_try") 2>&5
48226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48227 (exit $ac_status); }; }; then
48228 eval "$as_ac_var=yes"
48230 echo "$as_me: failed program was:" >&5
48231 sed 's/^/| /' conftest.
$ac_ext >&5
48233 eval "$as_ac_var=no"
48236 rm -f core conftest.err conftest.
$ac_objext \
48237 conftest
$ac_exeext conftest.
$ac_ext
48239 ac_res
=`eval echo '${'$as_ac_var'}'`
48240 { echo "$as_me:$LINENO: result: $ac_res" >&5
48241 echo "${ECHO_T}$ac_res" >&6; }
48242 if test `eval echo '${'$as_ac_var'}'` = yes; then
48243 cat >>confdefs.h
<<_ACEOF
48244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48247 cat >>confdefs.h
<<\_ACEOF
48248 #define HAVE_SHL_LOAD 1
48255 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
48256 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
48257 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
48258 echo $ECHO_N "(cached) $ECHO_C" >&6
48260 ac_check_lib_save_LIBS
=$LIBS
48261 LIBS
="-lshl_load $LIBS"
48262 cat >conftest.
$ac_ext <<_ACEOF
48265 cat confdefs.h
>>conftest.
$ac_ext
48266 cat >>conftest.
$ac_ext <<_ACEOF
48267 /* end confdefs.h. */
48269 /* Override any GCC internal prototype to avoid an error.
48270 Use char because int might match the return type of a GCC
48271 builtin and then its argument prototype would still apply. */
48284 rm -f conftest.
$ac_objext conftest
$ac_exeext
48285 if { (ac_try
="$ac_link"
48286 case "(($ac_try" in
48287 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48288 *) ac_try_echo=$ac_try;;
48290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48291 (eval "$ac_link") 2>conftest.er1
48293 grep -v '^ *+' conftest.er1 >conftest.err
48295 cat conftest.err >&5
48296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48297 (exit $ac_status); } &&
48298 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48299 { (case "(($ac_try" in
48300 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48301 *) ac_try_echo
=$ac_try;;
48303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48304 (eval "$ac_try") 2>&5
48306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48307 (exit $ac_status); }; } &&
48308 { ac_try
='test -s conftest$ac_exeext'
48309 { (case "(($ac_try" in
48310 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48311 *) ac_try_echo=$ac_try;;
48313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48314 (eval "$ac_try") 2>&5
48316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48317 (exit $ac_status); }; }; then
48318 ac_cv_lib_shl_load_dld=yes
48320 echo "$as_me: failed program was:" >&5
48321 sed 's/^/| /' conftest.$ac_ext >&5
48323 ac_cv_lib_shl_load_dld=no
48326 rm -f core conftest.err conftest.$ac_objext \
48327 conftest$ac_exeext conftest.$ac_ext
48328 LIBS=$ac_check_lib_save_LIBS
48330 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
48331 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
48332 if test $ac_cv_lib_shl_load_dld = yes; then
48335 DL_LINK=" -ldld$DL_LINK"
48351 if test "$HAVE_DL_FUNCS" = 1; then
48353 for ac_func in dlerror
48355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48356 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48358 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48359 echo $ECHO_N "(cached) $ECHO_C" >&6
48361 cat >conftest.$ac_ext <<_ACEOF
48364 cat confdefs.h >>conftest.$ac_ext
48365 cat >>conftest.$ac_ext <<_ACEOF
48366 /* end confdefs.h. */
48367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48369 #define $ac_func innocuous_$ac_func
48371 /* System header to define __stub macros and hopefully few prototypes,
48372 which can conflict with char $ac_func (); below.
48373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48374 <limits.h> exists even on freestanding compilers. */
48377 # include <limits.h>
48379 # include <assert.h>
48384 /* Override any GCC internal prototype to avoid an error.
48385 Use char because int might match the return type of a GCC
48386 builtin and then its argument prototype would still apply. */
48391 /* The GNU C library defines this for functions which it implements
48392 to always fail with ENOSYS. Some functions are actually named
48393 something starting with __ and the normal name is an alias. */
48394 #if defined __stub_$ac_func || defined __stub___$ac_func
48401 return $ac_func ();
48406 rm -f conftest.$ac_objext conftest$ac_exeext
48407 if { (ac_try="$ac_link"
48408 case "(($ac_try" in
48409 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48410 *) ac_try_echo
=$ac_try;;
48412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48413 (eval "$ac_link") 2>conftest.er1
48415 grep -v '^ *+' conftest.er1
>conftest.err
48417 cat conftest.err
>&5
48418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48419 (exit $ac_status); } &&
48420 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48421 { (case "(($ac_try" in
48422 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48423 *) ac_try_echo=$ac_try;;
48425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48426 (eval "$ac_try") 2>&5
48428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48429 (exit $ac_status); }; } &&
48430 { ac_try='test -s conftest$ac_exeext'
48431 { (case "(($ac_try" in
48432 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48433 *) ac_try_echo
=$ac_try;;
48435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48436 (eval "$ac_try") 2>&5
48438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48439 (exit $ac_status); }; }; then
48440 eval "$as_ac_var=yes"
48442 echo "$as_me: failed program was:" >&5
48443 sed 's/^/| /' conftest.
$ac_ext >&5
48445 eval "$as_ac_var=no"
48448 rm -f core conftest.err conftest.
$ac_objext \
48449 conftest
$ac_exeext conftest.
$ac_ext
48451 ac_res
=`eval echo '${'$as_ac_var'}'`
48452 { echo "$as_me:$LINENO: result: $ac_res" >&5
48453 echo "${ECHO_T}$ac_res" >&6; }
48454 if test `eval echo '${'$as_ac_var'}'` = yes; then
48455 cat >>confdefs.h
<<_ACEOF
48456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48458 cat >>confdefs.h
<<\_ACEOF
48459 #define HAVE_DLERROR 1
48464 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
48465 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
48466 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
48467 echo $ECHO_N "(cached) $ECHO_C" >&6
48469 ac_check_lib_save_LIBS
=$LIBS
48471 cat >conftest.
$ac_ext <<_ACEOF
48474 cat confdefs.h
>>conftest.
$ac_ext
48475 cat >>conftest.
$ac_ext <<_ACEOF
48476 /* end confdefs.h. */
48478 /* Override any GCC internal prototype to avoid an error.
48479 Use char because int might match the return type of a GCC
48480 builtin and then its argument prototype would still apply. */
48493 rm -f conftest.
$ac_objext conftest
$ac_exeext
48494 if { (ac_try
="$ac_link"
48495 case "(($ac_try" in
48496 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48497 *) ac_try_echo=$ac_try;;
48499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48500 (eval "$ac_link") 2>conftest.er1
48502 grep -v '^ *+' conftest.er1 >conftest.err
48504 cat conftest.err >&5
48505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48506 (exit $ac_status); } &&
48507 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48508 { (case "(($ac_try" in
48509 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48510 *) ac_try_echo
=$ac_try;;
48512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48513 (eval "$ac_try") 2>&5
48515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48516 (exit $ac_status); }; } &&
48517 { ac_try
='test -s conftest$ac_exeext'
48518 { (case "(($ac_try" in
48519 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48520 *) ac_try_echo=$ac_try;;
48522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48523 (eval "$ac_try") 2>&5
48525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48526 (exit $ac_status); }; }; then
48527 ac_cv_lib_dl_dlerror=yes
48529 echo "$as_me: failed program was:" >&5
48530 sed 's/^/| /' conftest.$ac_ext >&5
48532 ac_cv_lib_dl_dlerror=no
48535 rm -f core conftest.err conftest.$ac_objext \
48536 conftest$ac_exeext conftest.$ac_ext
48537 LIBS=$ac_check_lib_save_LIBS
48539 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
48540 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
48541 if test $ac_cv_lib_dl_dlerror = yes; then
48542 cat >>confdefs.h <<\_ACEOF
48543 #define HAVE_DLERROR 1
48556 if test "$HAVE_DL_FUNCS" = 0; then
48557 if test "$HAVE_SHL_FUNCS" = 0; then
48558 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
48559 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
48560 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
48561 wxUSE_DYNAMIC_LOADER=no
48562 wxUSE_DYNLIB_CLASS=no
48564 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
48565 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
48572 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
48573 cat >>confdefs.h <<\_ACEOF
48574 #define wxUSE_DYNAMIC_LOADER 1
48578 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
48579 cat >>confdefs.h <<\_ACEOF
48580 #define wxUSE_DYNLIB_CLASS 1
48587 if test "$wxUSE_PLUGINS" = "yes" ; then
48588 if test "$wxUSE_SHARED" = "no" ; then
48589 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
48590 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
48593 if test "$wxUSE_MONOLITHIC" = "yes" ; then
48594 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
48595 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
48598 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
48599 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
48600 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
48603 if test "$wxUSE_PLUGINS" = "yes" ; then
48604 cat >>confdefs.h <<\_ACEOF
48605 #define wxUSE_PLUGINS 1
48612 if test "$wxUSE_STL" = "yes"; then
48613 cat >>confdefs.h <<\_ACEOF
48614 #define wxUSE_STL 1
48619 if test "$wxUSE_APPLE_IEEE" = "yes"; then
48620 cat >>confdefs.h <<\_ACEOF
48621 #define wxUSE_APPLE_IEEE 1
48626 if test "$wxUSE_TIMER" = "yes"; then
48627 cat >>confdefs.h <<\_ACEOF
48628 #define wxUSE_TIMER 1
48633 if test "$USE_UNIX" = "1" ; then
48634 if test "$wxUSE_MGL" != 1; then
48635 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
48636 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
48637 if test "${ac_cv_header_sys_soundcard+set}" = set; then
48638 echo $ECHO_N "(cached) $ECHO_C" >&6
48641 cat >conftest.$ac_ext <<_ACEOF
48644 cat confdefs.h >>conftest.$ac_ext
48645 cat >>conftest.$ac_ext <<_ACEOF
48646 /* end confdefs.h. */
48648 #include <sys/ioctl.h>
48649 #include <sys/soundcard.h>
48655 ioctl(0, SNDCTL_DSP_SPEED, 0);
48661 rm -f conftest.$ac_objext conftest$ac_exeext
48662 if { (ac_try="$ac_link"
48663 case "(($ac_try" in
48664 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48665 *) ac_try_echo
=$ac_try;;
48667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48668 (eval "$ac_link") 2>conftest.er1
48670 grep -v '^ *+' conftest.er1
>conftest.err
48672 cat conftest.err
>&5
48673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48674 (exit $ac_status); } &&
48675 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48676 { (case "(($ac_try" in
48677 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48678 *) ac_try_echo=$ac_try;;
48680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48681 (eval "$ac_try") 2>&5
48683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48684 (exit $ac_status); }; } &&
48685 { ac_try='test -s conftest$ac_exeext'
48686 { (case "(($ac_try" in
48687 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48688 *) ac_try_echo
=$ac_try;;
48690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48691 (eval "$ac_try") 2>&5
48693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48694 (exit $ac_status); }; }; then
48695 ac_cv_header_sys_soundcard
=yes
48697 echo "$as_me: failed program was:" >&5
48698 sed 's/^/| /' conftest.
$ac_ext >&5
48702 LIBS
="$saveLibs -lossaudio"
48703 cat >conftest.
$ac_ext <<_ACEOF
48706 cat confdefs.h
>>conftest.
$ac_ext
48707 cat >>conftest.
$ac_ext <<_ACEOF
48708 /* end confdefs.h. */
48710 #include <sys/ioctl.h>
48711 #include <sys/soundcard.h>
48717 ioctl(0, SNDCTL_DSP_SPEED, 0);
48723 rm -f conftest.
$ac_objext conftest
$ac_exeext
48724 if { (ac_try
="$ac_link"
48725 case "(($ac_try" in
48726 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48727 *) ac_try_echo=$ac_try;;
48729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48730 (eval "$ac_link") 2>conftest.er1
48732 grep -v '^ *+' conftest.er1 >conftest.err
48734 cat conftest.err >&5
48735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48736 (exit $ac_status); } &&
48737 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48738 { (case "(($ac_try" in
48739 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48740 *) ac_try_echo
=$ac_try;;
48742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48743 (eval "$ac_try") 2>&5
48745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48746 (exit $ac_status); }; } &&
48747 { ac_try
='test -s conftest$ac_exeext'
48748 { (case "(($ac_try" in
48749 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48750 *) ac_try_echo=$ac_try;;
48752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48753 (eval "$ac_try") 2>&5
48755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48756 (exit $ac_status); }; }; then
48757 ac_cv_header_sys_soundcard=yes
48759 echo "$as_me: failed program was:" >&5
48760 sed 's/^/| /' conftest.$ac_ext >&5
48764 ac_cv_header_sys_soundcard=no
48769 rm -f core conftest.err conftest.$ac_objext \
48770 conftest$ac_exeext conftest.$ac_ext
48775 rm -f core conftest.err conftest.$ac_objext \
48776 conftest$ac_exeext conftest.$ac_ext
48779 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
48780 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
48783 if test "$ac_cv_header_sys_soundcard" = "yes"; then
48784 cat >>confdefs.h <<\_ACEOF
48785 #define HAVE_SYS_SOUNDCARD_H 1
48789 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
48794 if test "$wxUSE_SOUND" = "yes"; then
48795 if test "$USE_UNIX" = "1" ; then
48796 if test "$wxUSE_LIBSDL" != "no"; then
48798 # Check whether --with-sdl-prefix was given.
48799 if test "${with_sdl_prefix+set}" = set; then
48800 withval=$with_sdl_prefix; sdl_prefix="$withval"
48806 # Check whether --with-sdl-exec-prefix was given.
48807 if test "${with_sdl_exec_prefix+set}" = set; then
48808 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
48813 # Check whether --enable-sdltest was given.
48814 if test "${enable_sdltest+set}" = set; then
48815 enableval=$enable_sdltest;
48821 if test x$sdl_exec_prefix != x ; then
48822 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
48823 if test x${SDL_CONFIG+set} != xset ; then
48824 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
48827 if test x$sdl_prefix != x ; then
48828 sdl_args="$sdl_args --prefix=$sdl_prefix"
48829 if test x${SDL_CONFIG+set} != xset ; then
48830 SDL_CONFIG=$sdl_prefix/bin/sdl-config
48834 if test "x$prefix" != xNONE; then
48835 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
48837 # Extract the first word of "sdl-config", so it can be a program name with args.
48838 set dummy sdl-config; ac_word=$2
48839 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48841 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
48842 echo $ECHO_N "(cached) $ECHO_C" >&6
48844 case $SDL_CONFIG in
48846 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
48849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48850 for as_dir in $PATH
48853 test -z "$as_dir" && as_dir=.
48854 for ac_exec_ext in '' $ac_executable_extensions; do
48855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
48856 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
48857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48864 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
48868 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
48869 if test -n "$SDL_CONFIG"; then
48870 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
48871 echo "${ECHO_T}$SDL_CONFIG" >&6; }
48873 { echo "$as_me:$LINENO: result: no" >&5
48874 echo "${ECHO_T}no" >&6; }
48878 min_sdl_version=1.2.0
48879 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
48880 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
48882 if test "$SDL_CONFIG" = "no" ; then
48885 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
48886 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
48888 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
48889 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48890 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
48891 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48892 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
48893 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48894 if test "x$enable_sdltest" = "xyes" ; then
48895 ac_save_CFLAGS="$CFLAGS"
48896 ac_save_CXXFLAGS="$CXXFLAGS"
48897 ac_save_LIBS="$LIBS"
48898 CFLAGS="$CFLAGS $SDL_CFLAGS"
48899 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
48900 LIBS="$LIBS $SDL_LIBS"
48902 if test "$cross_compiling" = yes; then
48903 echo $ac_n "cross compiling; assumed OK... $ac_c"
48905 cat >conftest.$ac_ext <<_ACEOF
48908 cat confdefs.h >>conftest.$ac_ext
48909 cat >>conftest.$ac_ext <<_ACEOF
48910 /* end confdefs.h. */
48913 #include <stdlib.h>
48914 #include <string.h>
48918 my_strdup (char *str)
48924 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
48925 strcpy (new_str, str);
48933 int main (int argc, char *argv[])
48935 int major, minor, micro;
48938 /* This hangs on some systems (?)
48939 system ("touch conf.sdltest");
48941 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
48943 /* HP/UX 9 (%@#!) writes to sscanf strings */
48944 tmp_version = my_strdup("$min_sdl_version");
48945 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
48946 printf("%s, bad version string\n", "$min_sdl_version");
48950 if (($sdl_major_version > major) ||
48951 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
48952 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
48958 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
48959 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
48960 printf("*** best to upgrade to the required version.\n");
48961 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
48962 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
48963 printf("*** config.cache before re-running configure\n");
48970 rm -f conftest$ac_exeext
48971 if { (ac_try="$ac_link"
48972 case "(($ac_try" in
48973 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48974 *) ac_try_echo
=$ac_try;;
48976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48977 (eval "$ac_link") 2>&5
48979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48980 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
48981 { (case "(($ac_try" in
48982 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48983 *) ac_try_echo=$ac_try;;
48985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48986 (eval "$ac_try") 2>&5
48988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48989 (exit $ac_status); }; }; then
48992 echo "$as_me: program exited with status $ac_status" >&5
48993 echo "$as_me: failed program was:" >&5
48994 sed 's/^/| /' conftest.$ac_ext >&5
48996 ( exit $ac_status )
48999 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
49003 CFLAGS="$ac_save_CFLAGS"
49004 CXXFLAGS="$ac_save_CXXFLAGS"
49005 LIBS="$ac_save_LIBS"
49008 if test "x$no_sdl" = x ; then
49009 { echo "$as_me:$LINENO: result: yes" >&5
49010 echo "${ECHO_T}yes" >&6; }
49012 EXTRALIBS_SDL="$SDL_LIBS"
49013 CFLAGS="$SDL_CFLAGS $CFLAGS"
49014 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
49015 cat >>confdefs.h <<\_ACEOF
49016 #define wxUSE_LIBSDL 1
49021 { echo "$as_me:$LINENO: result: no" >&5
49022 echo "${ECHO_T}no" >&6; }
49023 if test "$SDL_CONFIG" = "no" ; then
49024 echo "*** The sdl-config script installed by SDL could not be found"
49025 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
49026 echo "*** your path, or set the SDL_CONFIG environment variable to the"
49027 echo "*** full path to sdl-config."
49029 if test -f conf.sdltest ; then
49032 echo "*** Could not run SDL test program, checking why..."
49033 CFLAGS="$CFLAGS $SDL_CFLAGS"
49034 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
49035 LIBS="$LIBS $SDL_LIBS"
49036 cat >conftest.$ac_ext <<_ACEOF
49039 cat confdefs.h >>conftest.$ac_ext
49040 cat >>conftest.$ac_ext <<_ACEOF
49041 /* end confdefs.h. */
49046 int main(int argc, char *argv[])
49049 #define main K_and_R_C_main
49059 rm -f conftest.$ac_objext conftest$ac_exeext
49060 if { (ac_try="$ac_link"
49061 case "(($ac_try" in
49062 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49063 *) ac_try_echo
=$ac_try;;
49065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49066 (eval "$ac_link") 2>conftest.er1
49068 grep -v '^ *+' conftest.er1
>conftest.err
49070 cat conftest.err
>&5
49071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49072 (exit $ac_status); } &&
49073 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49074 { (case "(($ac_try" in
49075 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49076 *) ac_try_echo=$ac_try;;
49078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49079 (eval "$ac_try") 2>&5
49081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49082 (exit $ac_status); }; } &&
49083 { ac_try='test -s conftest$ac_exeext'
49084 { (case "(($ac_try" in
49085 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49086 *) ac_try_echo
=$ac_try;;
49088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49089 (eval "$ac_try") 2>&5
49091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49092 (exit $ac_status); }; }; then
49093 echo "*** The test program compiled, but did not run. This usually means"
49094 echo "*** that the run-time linker is not finding SDL or finding the wrong"
49095 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
49096 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
49097 echo "*** to the installed location Also, make sure you have run ldconfig if that"
49098 echo "*** is required on your system"
49100 echo "*** If you have an old version installed, it is best to remove it, although"
49101 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
49103 echo "$as_me: failed program was:" >&5
49104 sed 's/^/| /' conftest.
$ac_ext >&5
49106 echo "*** The test program failed to compile or link. See the file config.log for the"
49107 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
49108 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
49109 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
49112 rm -f core conftest.err conftest.
$ac_objext \
49113 conftest
$ac_exeext conftest.
$ac_ext
49114 CFLAGS
="$ac_save_CFLAGS"
49115 CXXFLAGS
="$ac_save_CXXFLAGS"
49116 LIBS
="$ac_save_LIBS"
49127 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
49132 if test "$wxUSE_MGL" = 1; then
49133 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
49134 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
49140 if test "$wxUSE_SOUND" = "yes"; then
49141 cat >>confdefs.h
<<\_ACEOF
49142 #define wxUSE_SOUND 1
49145 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
49148 if test "$WXGTK20" = 1; then
49151 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
49152 if test -n "$ac_tool_prefix"; then
49153 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
49154 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
49155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49157 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
49158 echo $ECHO_N "(cached) $ECHO_C" >&6
49160 case $PKG_CONFIG in
49162 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
49165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49166 for as_dir
in $PATH
49169 test -z "$as_dir" && as_dir
=.
49170 for ac_exec_ext
in '' $ac_executable_extensions; do
49171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
49172 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
49173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49183 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
49184 if test -n "$PKG_CONFIG"; then
49185 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
49186 echo "${ECHO_T}$PKG_CONFIG" >&6; }
49188 { echo "$as_me:$LINENO: result: no" >&5
49189 echo "${ECHO_T}no" >&6; }
49194 if test -z "$ac_cv_path_PKG_CONFIG"; then
49195 ac_pt_PKG_CONFIG
=$PKG_CONFIG
49196 # Extract the first word of "pkg-config", so it can be a program name with args.
49197 set dummy pkg
-config; ac_word
=$2
49198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49200 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
49201 echo $ECHO_N "(cached) $ECHO_C" >&6
49203 case $ac_pt_PKG_CONFIG in
49205 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
49208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49209 for as_dir
in $PATH
49212 test -z "$as_dir" && as_dir
=.
49213 for ac_exec_ext
in '' $ac_executable_extensions; do
49214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
49215 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
49216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49226 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
49227 if test -n "$ac_pt_PKG_CONFIG"; then
49228 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
49229 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
49231 { echo "$as_me:$LINENO: result: no" >&5
49232 echo "${ECHO_T}no" >&6; }
49235 if test "x$ac_pt_PKG_CONFIG" = x
; then
49238 case $cross_compiling:$ac_tool_warned in
49240 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49241 whose name does not start with the host triplet. If you think this
49242 configuration is useful to you, please write to autoconf@gnu.org." >&5
49243 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49244 whose name does not start with the host triplet. If you think this
49245 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49246 ac_tool_warned
=yes ;;
49248 PKG_CONFIG
=$ac_pt_PKG_CONFIG
49251 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
49255 if test -n "$PKG_CONFIG"; then
49256 _pkg_min_version
=0.9.0
49257 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
49258 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
49259 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
49260 { echo "$as_me:$LINENO: result: yes" >&5
49261 echo "${ECHO_T}yes" >&6; }
49263 { echo "$as_me:$LINENO: result: no" >&5
49264 echo "${ECHO_T}no" >&6; }
49270 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
49271 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49275 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
49276 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
49278 if test -n "$PKG_CONFIG"; then
49279 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
49280 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
49282 if test -n "$PKG_CONFIG" && \
49283 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
49284 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
49286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49287 (exit $ac_status); }; then
49288 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
49296 if test -n "$PKG_CONFIG"; then
49297 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
49298 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
49300 if test -n "$PKG_CONFIG" && \
49301 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
49302 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
49304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49305 (exit $ac_status); }; then
49306 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
49317 if test $pkg_failed = yes; then
49319 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49320 _pkg_short_errors_supported
=yes
49322 _pkg_short_errors_supported
=no
49324 if test $_pkg_short_errors_supported = yes; then
49325 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
49327 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
49329 # Put the nasty error message in config.log where it belongs
49330 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
49333 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
49334 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
49335 wxUSE_LIBGNOMEPRINT
="no"
49338 elif test $pkg_failed = untried
; then
49340 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
49341 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
49342 wxUSE_LIBGNOMEPRINT
="no"
49346 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
49347 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
49348 { echo "$as_me:$LINENO: result: yes" >&5
49349 echo "${ECHO_T}yes" >&6; }
49351 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
49352 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
49353 cat >>confdefs.h
<<\_ACEOF
49354 #define wxUSE_LIBGNOMEPRINT 1
49362 if test "$wxUSE_MIMETYPE" = "yes" ; then
49363 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49367 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
49368 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
49370 if test -n "$PKG_CONFIG"; then
49371 if test -n "$GNOMEVFS_CFLAGS"; then
49372 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
49374 if test -n "$PKG_CONFIG" && \
49375 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
49376 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
49378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49379 (exit $ac_status); }; then
49380 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
49388 if test -n "$PKG_CONFIG"; then
49389 if test -n "$GNOMEVFS_LIBS"; then
49390 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
49392 if test -n "$PKG_CONFIG" && \
49393 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
49394 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
49396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49397 (exit $ac_status); }; then
49398 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
49409 if test $pkg_failed = yes; then
49411 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49412 _pkg_short_errors_supported
=yes
49414 _pkg_short_errors_supported
=no
49416 if test $_pkg_short_errors_supported = yes; then
49417 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
49419 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
49421 # Put the nasty error message in config.log where it belongs
49422 echo "$GNOMEVFS_PKG_ERRORS" >&5
49425 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
49426 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
49427 wxUSE_LIBGNOMEVFS
="no"
49430 elif test $pkg_failed = untried
; then
49432 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
49433 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
49434 wxUSE_LIBGNOMEVFS
="no"
49438 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
49439 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
49440 { echo "$as_me:$LINENO: result: yes" >&5
49441 echo "${ECHO_T}yes" >&6; }
49443 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
49444 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
49445 cat >>confdefs.h
<<\_ACEOF
49446 #define wxUSE_LIBGNOMEVFS 1
49454 if test "$wxUSE_LIBHILDON" = "yes" ; then
49457 { echo "$as_me:$LINENO: checking for HILDON" >&5
49458 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
49460 if test -n "$PKG_CONFIG"; then
49461 if test -n "$HILDON_CFLAGS"; then
49462 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
49464 if test -n "$PKG_CONFIG" && \
49465 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
49466 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
49468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49469 (exit $ac_status); }; then
49470 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
49478 if test -n "$PKG_CONFIG"; then
49479 if test -n "$HILDON_LIBS"; then
49480 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
49482 if test -n "$PKG_CONFIG" && \
49483 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
49484 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
49486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49487 (exit $ac_status); }; then
49488 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
49499 if test $pkg_failed = yes; then
49501 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49502 _pkg_short_errors_supported
=yes
49504 _pkg_short_errors_supported
=no
49506 if test $_pkg_short_errors_supported = yes; then
49507 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
49509 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
49511 # Put the nasty error message in config.log where it belongs
49512 echo "$HILDON_PKG_ERRORS" >&5
49515 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
49516 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
49517 wxUSE_LIBHILDON
="no"
49520 elif test $pkg_failed = untried
; then
49522 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
49523 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
49524 wxUSE_LIBHILDON
="no"
49528 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
49529 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
49530 { echo "$as_me:$LINENO: result: yes" >&5
49531 echo "${ECHO_T}yes" >&6; }
49533 EXTRALIBS_HILDON
="$HILDON_LIBS"
49534 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
49535 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
49536 cat >>confdefs.h
<<\_ACEOF
49537 #define wxUSE_LIBHILDON 1
49545 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
49546 cat >>confdefs.h
<<\_ACEOF
49547 #define wxUSE_CMDLINE_PARSER 1
49552 if test "$wxUSE_STOPWATCH" = "yes"; then
49553 cat >>confdefs.h
<<\_ACEOF
49554 #define wxUSE_STOPWATCH 1
49559 if test "$wxUSE_DATETIME" = "yes"; then
49560 cat >>confdefs.h
<<\_ACEOF
49561 #define wxUSE_DATETIME 1
49566 if test "$wxUSE_FILE" = "yes"; then
49567 cat >>confdefs.h
<<\_ACEOF
49568 #define wxUSE_FILE 1
49573 if test "$wxUSE_FFILE" = "yes"; then
49574 cat >>confdefs.h
<<\_ACEOF
49575 #define wxUSE_FFILE 1
49580 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
49581 if test "$wxUSE_STREAMS" != yes; then
49582 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
49583 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
49584 wxUSE_ARCHIVE_STREAMS
=no
49586 cat >>confdefs.h
<<\_ACEOF
49587 #define wxUSE_ARCHIVE_STREAMS 1
49593 if test "$wxUSE_ZIPSTREAM" = "yes"; then
49594 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
49595 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
49596 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
49597 elif test "$wxUSE_ZLIB" = "no"; then
49598 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
49599 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
49601 cat >>confdefs.h
<<\_ACEOF
49602 #define wxUSE_ZIPSTREAM 1
49608 if test "$wxUSE_TARSTREAM" = "yes"; then
49609 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
49610 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
49611 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
49613 cat >>confdefs.h
<<\_ACEOF
49614 #define wxUSE_TARSTREAM 1
49620 if test "$wxUSE_FILESYSTEM" = "yes"; then
49621 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
49622 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
49623 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
49624 wxUSE_FILESYSTEM
=no
49626 cat >>confdefs.h
<<\_ACEOF
49627 #define wxUSE_FILESYSTEM 1
49633 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
49634 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
49635 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
49636 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
49638 cat >>confdefs.h
<<\_ACEOF
49639 #define wxUSE_FS_ARCHIVE 1
49645 if test "$wxUSE_FS_ZIP" = "yes"; then
49646 if test "$wxUSE_FS_ARCHIVE" != yes; then
49647 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
49648 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
49650 cat >>confdefs.h
<<\_ACEOF
49651 #define wxUSE_FS_ZIP 1
49657 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
49658 if test "$USE_UNIX" != 1; then
49659 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
49660 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
49661 wxUSE_ON_FATAL_EXCEPTION
=no
49663 cat >>confdefs.h
<<\_ACEOF
49664 #define wxUSE_ON_FATAL_EXCEPTION 1
49670 if test "$wxUSE_STACKWALKER" = "yes"; then
49671 cat >>confdefs.h
<<\_ACEOF
49672 #define wxUSE_STACKWALKER 1
49677 if test "$wxUSE_DEBUGREPORT" = "yes"; then
49678 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
49679 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
49680 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
49681 wxUSE_DEBUGREPORT
=no
49683 cat >>confdefs.h
<<\_ACEOF
49684 #define wxUSE_DEBUGREPORT 1
49687 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
49688 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
49693 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
49694 cat >>confdefs.h
<<\_ACEOF
49695 #define wxUSE_SNGLINST_CHECKER 1
49700 if test "$wxUSE_BUSYINFO" = "yes"; then
49701 cat >>confdefs.h
<<\_ACEOF
49702 #define wxUSE_BUSYINFO 1
49707 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
49708 cat >>confdefs.h
<<\_ACEOF
49709 #define wxUSE_STD_IOSTREAM 1
49714 if test "$wxUSE_STD_STRING" = "yes"; then
49715 cat >>confdefs.h
<<\_ACEOF
49716 #define wxUSE_STD_STRING 1
49721 if test "$wxUSE_STDPATHS" = "yes"; then
49722 cat >>confdefs.h
<<\_ACEOF
49723 #define wxUSE_STDPATHS 1
49728 if test "$wxUSE_TEXTBUFFER" = "yes"; then
49729 cat >>confdefs.h
<<\_ACEOF
49730 #define wxUSE_TEXTBUFFER 1
49735 if test "$wxUSE_TEXTFILE" = "yes"; then
49736 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
49737 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
49738 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
49740 cat >>confdefs.h
<<\_ACEOF
49741 #define wxUSE_TEXTFILE 1
49747 if test "$wxUSE_CONFIG" = "yes" ; then
49748 if test "$wxUSE_TEXTFILE" != "yes"; then
49749 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
49750 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
49752 cat >>confdefs.h
<<\_ACEOF
49753 #define wxUSE_CONFIG 1
49756 cat >>confdefs.h
<<\_ACEOF
49757 #define wxUSE_CONFIG_NATIVE 1
49760 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
49764 if test "$wxUSE_INTL" = "yes" ; then
49765 if test "$wxUSE_FILE" != "yes"; then
49766 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
49767 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
49769 cat >>confdefs.h
<<\_ACEOF
49770 #define wxUSE_INTL 1
49773 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
49774 GUIDIST
="$GUIDIST INTL_DIST"
49778 if test "$wxUSE_LOG" = "yes"; then
49779 cat >>confdefs.h
<<\_ACEOF
49780 #define wxUSE_LOG 1
49784 if test "$wxUSE_LOGGUI" = "yes"; then
49785 cat >>confdefs.h
<<\_ACEOF
49786 #define wxUSE_LOGGUI 1
49791 if test "$wxUSE_LOGWINDOW" = "yes"; then
49792 cat >>confdefs.h
<<\_ACEOF
49793 #define wxUSE_LOGWINDOW 1
49798 if test "$wxUSE_LOGDIALOG" = "yes"; then
49799 cat >>confdefs.h
<<\_ACEOF
49800 #define wxUSE_LOG_DIALOG 1
49805 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
49808 if test "$wxUSE_LONGLONG" = "yes"; then
49809 cat >>confdefs.h
<<\_ACEOF
49810 #define wxUSE_LONGLONG 1
49815 if test "$wxUSE_GEOMETRY" = "yes"; then
49816 cat >>confdefs.h
<<\_ACEOF
49817 #define wxUSE_GEOMETRY 1
49822 if test "$wxUSE_STREAMS" = "yes" ; then
49823 cat >>confdefs.h
<<\_ACEOF
49824 #define wxUSE_STREAMS 1
49829 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
49830 cat >>confdefs.h
<<\_ACEOF
49831 #define wxUSE_PRINTF_POS_PARAMS 1
49838 if test "$wxUSE_DATETIME" = "yes"; then
49840 for ac_func
in strptime
49842 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49843 { echo "$as_me:$LINENO: checking for $ac_func" >&5
49844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
49845 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
49846 echo $ECHO_N "(cached) $ECHO_C" >&6
49848 cat >conftest.
$ac_ext <<_ACEOF
49851 cat confdefs.h
>>conftest.
$ac_ext
49852 cat >>conftest.
$ac_ext <<_ACEOF
49853 /* end confdefs.h. */
49854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49856 #define $ac_func innocuous_$ac_func
49858 /* System header to define __stub macros and hopefully few prototypes,
49859 which can conflict with char $ac_func (); below.
49860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49861 <limits.h> exists even on freestanding compilers. */
49864 # include <limits.h>
49866 # include <assert.h>
49871 /* Override any GCC internal prototype to avoid an error.
49872 Use char because int might match the return type of a GCC
49873 builtin and then its argument prototype would still apply. */
49878 /* The GNU C library defines this for functions which it implements
49879 to always fail with ENOSYS. Some functions are actually named
49880 something starting with __ and the normal name is an alias. */
49881 #if defined __stub_$ac_func || defined __stub___$ac_func
49888 return $ac_func ();
49893 rm -f conftest.
$ac_objext conftest
$ac_exeext
49894 if { (ac_try
="$ac_link"
49895 case "(($ac_try" in
49896 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49897 *) ac_try_echo=$ac_try;;
49899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49900 (eval "$ac_link") 2>conftest.er1
49902 grep -v '^ *+' conftest.er1 >conftest.err
49904 cat conftest.err >&5
49905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49906 (exit $ac_status); } &&
49907 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49908 { (case "(($ac_try" in
49909 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49910 *) ac_try_echo
=$ac_try;;
49912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49913 (eval "$ac_try") 2>&5
49915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49916 (exit $ac_status); }; } &&
49917 { ac_try
='test -s conftest$ac_exeext'
49918 { (case "(($ac_try" in
49919 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49920 *) ac_try_echo=$ac_try;;
49922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49923 (eval "$ac_try") 2>&5
49925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49926 (exit $ac_status); }; }; then
49927 eval "$as_ac_var=yes"
49929 echo "$as_me: failed program was:" >&5
49930 sed 's/^/| /' conftest.$ac_ext >&5
49932 eval "$as_ac_var=no"
49935 rm -f core conftest.err conftest.$ac_objext \
49936 conftest$ac_exeext conftest.$ac_ext
49938 ac_res=`eval echo '${'$as_ac_var'}'`
49939 { echo "$as_me:$LINENO: result: $ac_res" >&5
49940 echo "${ECHO_T}$ac_res" >&6; }
49941 if test `eval echo '${'$as_ac_var'}'` = yes; then
49942 cat >>confdefs.h <<_ACEOF
49943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49949 if test "$ac_cv_func_strptime" = "yes"; then
49950 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
49951 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
49952 if test "${wx_cv_func_strptime_decl+set}" = set; then
49953 echo $ECHO_N "(cached) $ECHO_C" >&6
49957 ac_cpp='$CXXCPP $CPPFLAGS'
49958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49962 cat >conftest.$ac_ext <<_ACEOF
49965 cat confdefs.h >>conftest.$ac_ext
49966 cat >>conftest.$ac_ext <<_ACEOF
49967 /* end confdefs.h. */
49976 strptime("foo", "bar", &t);
49982 rm -f conftest.$ac_objext
49983 if { (ac_try="$ac_compile"
49984 case "(($ac_try" in
49985 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49986 *) ac_try_echo
=$ac_try;;
49988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49989 (eval "$ac_compile") 2>conftest.er1
49991 grep -v '^ *+' conftest.er1
>conftest.err
49993 cat conftest.err
>&5
49994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49995 (exit $ac_status); } &&
49996 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
49997 { (case "(($ac_try" in
49998 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49999 *) ac_try_echo=$ac_try;;
50001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50002 (eval "$ac_try") 2>&5
50004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50005 (exit $ac_status); }; } &&
50006 { ac_try='test -s conftest.$ac_objext'
50007 { (case "(($ac_try" in
50008 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50009 *) ac_try_echo
=$ac_try;;
50011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50012 (eval "$ac_try") 2>&5
50014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50015 (exit $ac_status); }; }; then
50016 wx_cv_func_strptime_decl
=yes
50018 echo "$as_me: failed program was:" >&5
50019 sed 's/^/| /' conftest.
$ac_ext >&5
50021 wx_cv_func_strptime_decl
=no
50025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50027 ac_cpp
='$CPP $CPPFLAGS'
50028 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50029 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50030 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
50035 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
50036 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
50038 if test "$wx_cv_func_strptime_decl" = "yes"; then
50039 cat >>confdefs.h
<<\_ACEOF
50040 #define HAVE_STRPTIME_DECL 1
50045 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
50046 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
50047 if test "${wx_cv_var_timezone+set}" = set; then
50048 echo $ECHO_N "(cached) $ECHO_C" >&6
50052 ac_cpp
='$CXXCPP $CPPFLAGS'
50053 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50054 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50055 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
50057 cat >conftest.
$ac_ext <<_ACEOF
50060 cat confdefs.h
>>conftest.
$ac_ext
50061 cat >>conftest.
$ac_ext <<_ACEOF
50062 /* end confdefs.h. */
50077 rm -f conftest.
$ac_objext
50078 if { (ac_try
="$ac_compile"
50079 case "(($ac_try" in
50080 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50081 *) ac_try_echo=$ac_try;;
50083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50084 (eval "$ac_compile") 2>conftest.er1
50086 grep -v '^ *+' conftest.er1 >conftest.err
50088 cat conftest.err >&5
50089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50090 (exit $ac_status); } &&
50091 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
50092 { (case "(($ac_try" in
50093 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50094 *) ac_try_echo
=$ac_try;;
50096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50097 (eval "$ac_try") 2>&5
50099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50100 (exit $ac_status); }; } &&
50101 { ac_try
='test -s conftest.$ac_objext'
50102 { (case "(($ac_try" in
50103 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50104 *) ac_try_echo=$ac_try;;
50106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50107 (eval "$ac_try") 2>&5
50109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50110 (exit $ac_status); }; }; then
50112 wx_cv_var_timezone=timezone
50115 echo "$as_me: failed program was:" >&5
50116 sed 's/^/| /' conftest.$ac_ext >&5
50119 cat >conftest.$ac_ext <<_ACEOF
50122 cat confdefs.h >>conftest.$ac_ext
50123 cat >>conftest.$ac_ext <<_ACEOF
50124 /* end confdefs.h. */
50139 rm -f conftest.$ac_objext
50140 if { (ac_try="$ac_compile"
50141 case "(($ac_try" in
50142 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50143 *) ac_try_echo
=$ac_try;;
50145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50146 (eval "$ac_compile") 2>conftest.er1
50148 grep -v '^ *+' conftest.er1
>conftest.err
50150 cat conftest.err
>&5
50151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50152 (exit $ac_status); } &&
50153 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
50154 { (case "(($ac_try" in
50155 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50156 *) ac_try_echo=$ac_try;;
50158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50159 (eval "$ac_try") 2>&5
50161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50162 (exit $ac_status); }; } &&
50163 { ac_try='test -s conftest.$ac_objext'
50164 { (case "(($ac_try" in
50165 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50166 *) ac_try_echo
=$ac_try;;
50168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50169 (eval "$ac_try") 2>&5
50171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50172 (exit $ac_status); }; }; then
50174 wx_cv_var_timezone
=_timezone
50177 echo "$as_me: failed program was:" >&5
50178 sed 's/^/| /' conftest.
$ac_ext >&5
50181 cat >conftest.
$ac_ext <<_ACEOF
50184 cat confdefs.h
>>conftest.
$ac_ext
50185 cat >>conftest.
$ac_ext <<_ACEOF
50186 /* end confdefs.h. */
50201 rm -f conftest.
$ac_objext
50202 if { (ac_try
="$ac_compile"
50203 case "(($ac_try" in
50204 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50205 *) ac_try_echo=$ac_try;;
50207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50208 (eval "$ac_compile") 2>conftest.er1
50210 grep -v '^ *+' conftest.er1 >conftest.err
50212 cat conftest.err >&5
50213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50214 (exit $ac_status); } &&
50215 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
50216 { (case "(($ac_try" in
50217 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50218 *) ac_try_echo
=$ac_try;;
50220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50221 (eval "$ac_try") 2>&5
50223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50224 (exit $ac_status); }; } &&
50225 { ac_try
='test -s conftest.$ac_objext'
50226 { (case "(($ac_try" in
50227 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50228 *) ac_try_echo=$ac_try;;
50230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50231 (eval "$ac_try") 2>&5
50233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50234 (exit $ac_status); }; }; then
50236 wx_cv_var_timezone=__timezone
50239 echo "$as_me: failed program was:" >&5
50240 sed 's/^/| /' conftest.$ac_ext >&5
50243 if test "$USE_DOS" = 0 ; then
50244 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
50245 echo "$as_me: WARNING: no timezone variable" >&2;}
50251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50263 ac_cpp='$CPP $CPPFLAGS'
50264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50271 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
50272 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
50274 if test "x$wx_cv_var_timezone" != x ; then
50275 cat >>confdefs.h <<_ACEOF
50276 #define WX_TIMEZONE $wx_cv_var_timezone
50282 for ac_func in localtime
50284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50285 { echo "$as_me:$LINENO: checking for $ac_func" >&5
50286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
50287 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
50288 echo $ECHO_N "(cached) $ECHO_C" >&6
50290 cat >conftest.$ac_ext <<_ACEOF
50293 cat confdefs.h >>conftest.$ac_ext
50294 cat >>conftest.$ac_ext <<_ACEOF
50295 /* end confdefs.h. */
50296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50298 #define $ac_func innocuous_$ac_func
50300 /* System header to define __stub macros and hopefully few prototypes,
50301 which can conflict with char $ac_func (); below.
50302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50303 <limits.h> exists even on freestanding compilers. */
50306 # include <limits.h>
50308 # include <assert.h>
50313 /* Override any GCC internal prototype to avoid an error.
50314 Use char because int might match the return type of a GCC
50315 builtin and then its argument prototype would still apply. */
50320 /* The GNU C library defines this for functions which it implements
50321 to always fail with ENOSYS. Some functions are actually named
50322 something starting with __ and the normal name is an alias. */
50323 #if defined __stub_$ac_func || defined __stub___$ac_func
50330 return $ac_func ();
50335 rm -f conftest.$ac_objext conftest$ac_exeext
50336 if { (ac_try="$ac_link"
50337 case "(($ac_try" in
50338 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50339 *) ac_try_echo
=$ac_try;;
50341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50342 (eval "$ac_link") 2>conftest.er1
50344 grep -v '^ *+' conftest.er1
>conftest.err
50346 cat conftest.err
>&5
50347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50348 (exit $ac_status); } &&
50349 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50350 { (case "(($ac_try" in
50351 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50352 *) ac_try_echo=$ac_try;;
50354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50355 (eval "$ac_try") 2>&5
50357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50358 (exit $ac_status); }; } &&
50359 { ac_try='test -s conftest$ac_exeext'
50360 { (case "(($ac_try" in
50361 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50362 *) ac_try_echo
=$ac_try;;
50364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50365 (eval "$ac_try") 2>&5
50367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50368 (exit $ac_status); }; }; then
50369 eval "$as_ac_var=yes"
50371 echo "$as_me: failed program was:" >&5
50372 sed 's/^/| /' conftest.
$ac_ext >&5
50374 eval "$as_ac_var=no"
50377 rm -f core conftest.err conftest.
$ac_objext \
50378 conftest
$ac_exeext conftest.
$ac_ext
50380 ac_res
=`eval echo '${'$as_ac_var'}'`
50381 { echo "$as_me:$LINENO: result: $ac_res" >&5
50382 echo "${ECHO_T}$ac_res" >&6; }
50383 if test `eval echo '${'$as_ac_var'}'` = yes; then
50384 cat >>confdefs.h
<<_ACEOF
50385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50392 if test "$ac_cv_func_localtime" = "yes"; then
50393 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
50394 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
50395 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
50396 echo $ECHO_N "(cached) $ECHO_C" >&6
50399 cat >conftest.
$ac_ext <<_ACEOF
50402 cat confdefs.h
>>conftest.
$ac_ext
50403 cat >>conftest.
$ac_ext <<_ACEOF
50404 /* end confdefs.h. */
50419 rm -f conftest.
$ac_objext
50420 if { (ac_try
="$ac_compile"
50421 case "(($ac_try" in
50422 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50423 *) ac_try_echo=$ac_try;;
50425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50426 (eval "$ac_compile") 2>conftest.er1
50428 grep -v '^ *+' conftest.er1 >conftest.err
50430 cat conftest.err >&5
50431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50432 (exit $ac_status); } &&
50433 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50434 { (case "(($ac_try" in
50435 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50436 *) ac_try_echo
=$ac_try;;
50438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50439 (eval "$ac_try") 2>&5
50441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50442 (exit $ac_status); }; } &&
50443 { ac_try
='test -s conftest.$ac_objext'
50444 { (case "(($ac_try" in
50445 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50446 *) ac_try_echo=$ac_try;;
50448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50449 (eval "$ac_try") 2>&5
50451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50452 (exit $ac_status); }; }; then
50454 wx_cv_struct_tm_has_gmtoff=yes
50457 echo "$as_me: failed program was:" >&5
50458 sed 's/^/| /' conftest.$ac_ext >&5
50460 wx_cv_struct_tm_has_gmtoff=no
50464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50467 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
50468 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
50471 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
50472 cat >>confdefs.h <<\_ACEOF
50473 #define WX_GMTOFF_IN_TM 1
50480 for ac_func in gettimeofday ftime
50482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50483 { echo "$as_me:$LINENO: checking for $ac_func" >&5
50484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
50485 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
50486 echo $ECHO_N "(cached) $ECHO_C" >&6
50488 cat >conftest.$ac_ext <<_ACEOF
50491 cat confdefs.h >>conftest.$ac_ext
50492 cat >>conftest.$ac_ext <<_ACEOF
50493 /* end confdefs.h. */
50494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50496 #define $ac_func innocuous_$ac_func
50498 /* System header to define __stub macros and hopefully few prototypes,
50499 which can conflict with char $ac_func (); below.
50500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50501 <limits.h> exists even on freestanding compilers. */
50504 # include <limits.h>
50506 # include <assert.h>
50511 /* Override any GCC internal prototype to avoid an error.
50512 Use char because int might match the return type of a GCC
50513 builtin and then its argument prototype would still apply. */
50518 /* The GNU C library defines this for functions which it implements
50519 to always fail with ENOSYS. Some functions are actually named
50520 something starting with __ and the normal name is an alias. */
50521 #if defined __stub_$ac_func || defined __stub___$ac_func
50528 return $ac_func ();
50533 rm -f conftest.$ac_objext conftest$ac_exeext
50534 if { (ac_try="$ac_link"
50535 case "(($ac_try" in
50536 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50537 *) ac_try_echo
=$ac_try;;
50539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50540 (eval "$ac_link") 2>conftest.er1
50542 grep -v '^ *+' conftest.er1
>conftest.err
50544 cat conftest.err
>&5
50545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50546 (exit $ac_status); } &&
50547 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50548 { (case "(($ac_try" in
50549 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50550 *) ac_try_echo=$ac_try;;
50552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50553 (eval "$ac_try") 2>&5
50555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50556 (exit $ac_status); }; } &&
50557 { ac_try='test -s conftest$ac_exeext'
50558 { (case "(($ac_try" in
50559 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50560 *) ac_try_echo
=$ac_try;;
50562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50563 (eval "$ac_try") 2>&5
50565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50566 (exit $ac_status); }; }; then
50567 eval "$as_ac_var=yes"
50569 echo "$as_me: failed program was:" >&5
50570 sed 's/^/| /' conftest.
$ac_ext >&5
50572 eval "$as_ac_var=no"
50575 rm -f core conftest.err conftest.
$ac_objext \
50576 conftest
$ac_exeext conftest.
$ac_ext
50578 ac_res
=`eval echo '${'$as_ac_var'}'`
50579 { echo "$as_me:$LINENO: result: $ac_res" >&5
50580 echo "${ECHO_T}$ac_res" >&6; }
50581 if test `eval echo '${'$as_ac_var'}'` = yes; then
50582 cat >>confdefs.h
<<_ACEOF
50583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50590 if test "$ac_cv_func_gettimeofday" = "yes"; then
50591 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
50592 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
50593 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
50594 echo $ECHO_N "(cached) $ECHO_C" >&6
50597 cat >conftest.
$ac_ext <<_ACEOF
50600 cat confdefs.h
>>conftest.
$ac_ext
50601 cat >>conftest.
$ac_ext <<_ACEOF
50602 /* end confdefs.h. */
50604 #include <sys/time.h>
50605 #include <unistd.h>
50612 gettimeofday(&tv, NULL);
50618 rm -f conftest.
$ac_objext
50619 if { (ac_try
="$ac_compile"
50620 case "(($ac_try" in
50621 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50622 *) ac_try_echo=$ac_try;;
50624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50625 (eval "$ac_compile") 2>conftest.er1
50627 grep -v '^ *+' conftest.er1 >conftest.err
50629 cat conftest.err >&5
50630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50631 (exit $ac_status); } &&
50632 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50633 { (case "(($ac_try" in
50634 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50635 *) ac_try_echo
=$ac_try;;
50637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50638 (eval "$ac_try") 2>&5
50640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50641 (exit $ac_status); }; } &&
50642 { ac_try
='test -s conftest.$ac_objext'
50643 { (case "(($ac_try" in
50644 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50645 *) ac_try_echo=$ac_try;;
50647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50648 (eval "$ac_try") 2>&5
50650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50651 (exit $ac_status); }; }; then
50652 wx_cv_func_gettimeofday_has_2_args=yes
50654 echo "$as_me: failed program was:" >&5
50655 sed 's/^/| /' conftest.$ac_ext >&5
50657 cat >conftest.$ac_ext <<_ACEOF
50660 cat confdefs.h >>conftest.$ac_ext
50661 cat >>conftest.$ac_ext <<_ACEOF
50662 /* end confdefs.h. */
50664 #include <sys/time.h>
50665 #include <unistd.h>
50678 rm -f conftest.$ac_objext
50679 if { (ac_try="$ac_compile"
50680 case "(($ac_try" in
50681 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50682 *) ac_try_echo
=$ac_try;;
50684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50685 (eval "$ac_compile") 2>conftest.er1
50687 grep -v '^ *+' conftest.er1
>conftest.err
50689 cat conftest.err
>&5
50690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50691 (exit $ac_status); } &&
50692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50693 { (case "(($ac_try" in
50694 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50695 *) ac_try_echo=$ac_try;;
50697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50698 (eval "$ac_try") 2>&5
50700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50701 (exit $ac_status); }; } &&
50702 { ac_try='test -s conftest.$ac_objext'
50703 { (case "(($ac_try" in
50704 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50705 *) ac_try_echo
=$ac_try;;
50707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50708 (eval "$ac_try") 2>&5
50710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50711 (exit $ac_status); }; }; then
50712 wx_cv_func_gettimeofday_has_2_args
=no
50714 echo "$as_me: failed program was:" >&5
50715 sed 's/^/| /' conftest.
$ac_ext >&5
50718 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
50719 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
50720 wx_cv_func_gettimeofday_has_2_args
=unknown
50725 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50729 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50732 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
50733 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
50735 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
50736 cat >>confdefs.h
<<\_ACEOF
50737 #define WX_GETTIMEOFDAY_NO_TZ 1
50743 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
50747 if test "$wxUSE_SOCKETS" = "yes"; then
50748 if test "$wxUSE_MGL" = "1"; then
50749 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
50750 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
50755 if test "$wxUSE_SOCKETS" = "yes"; then
50756 if test "$TOOLKIT" != "MSW"; then
50757 { echo "$as_me:$LINENO: checking for socket" >&5
50758 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
50759 if test "${ac_cv_func_socket+set}" = set; then
50760 echo $ECHO_N "(cached) $ECHO_C" >&6
50762 cat >conftest.
$ac_ext <<_ACEOF
50765 cat confdefs.h
>>conftest.
$ac_ext
50766 cat >>conftest.
$ac_ext <<_ACEOF
50767 /* end confdefs.h. */
50768 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
50769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50770 #define socket innocuous_socket
50772 /* System header to define __stub macros and hopefully few prototypes,
50773 which can conflict with char socket (); below.
50774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50775 <limits.h> exists even on freestanding compilers. */
50778 # include <limits.h>
50780 # include <assert.h>
50785 /* Override any GCC internal prototype to avoid an error.
50786 Use char because int might match the return type of a GCC
50787 builtin and then its argument prototype would still apply. */
50792 /* The GNU C library defines this for functions which it implements
50793 to always fail with ENOSYS. Some functions are actually named
50794 something starting with __ and the normal name is an alias. */
50795 #if defined __stub_socket || defined __stub___socket
50807 rm -f conftest.
$ac_objext conftest
$ac_exeext
50808 if { (ac_try
="$ac_link"
50809 case "(($ac_try" in
50810 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50811 *) ac_try_echo=$ac_try;;
50813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50814 (eval "$ac_link") 2>conftest.er1
50816 grep -v '^ *+' conftest.er1 >conftest.err
50818 cat conftest.err >&5
50819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50820 (exit $ac_status); } &&
50821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50822 { (case "(($ac_try" in
50823 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50824 *) ac_try_echo
=$ac_try;;
50826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50827 (eval "$ac_try") 2>&5
50829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50830 (exit $ac_status); }; } &&
50831 { ac_try
='test -s conftest$ac_exeext'
50832 { (case "(($ac_try" in
50833 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50834 *) ac_try_echo=$ac_try;;
50836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50837 (eval "$ac_try") 2>&5
50839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50840 (exit $ac_status); }; }; then
50841 ac_cv_func_socket=yes
50843 echo "$as_me: failed program was:" >&5
50844 sed 's/^/| /' conftest.$ac_ext >&5
50846 ac_cv_func_socket=no
50849 rm -f core conftest.err conftest.$ac_objext \
50850 conftest$ac_exeext conftest.$ac_ext
50852 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
50853 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
50854 if test $ac_cv_func_socket = yes; then
50858 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
50859 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
50860 if test "${ac_cv_lib_socket_socket+set}" = set; then
50861 echo $ECHO_N "(cached) $ECHO_C" >&6
50863 ac_check_lib_save_LIBS=$LIBS
50864 LIBS="-lsocket $LIBS"
50865 cat >conftest.$ac_ext <<_ACEOF
50868 cat confdefs.h >>conftest.$ac_ext
50869 cat >>conftest.$ac_ext <<_ACEOF
50870 /* end confdefs.h. */
50872 /* Override any GCC internal prototype to avoid an error.
50873 Use char because int might match the return type of a GCC
50874 builtin and then its argument prototype would still apply. */
50887 rm -f conftest.$ac_objext conftest$ac_exeext
50888 if { (ac_try="$ac_link"
50889 case "(($ac_try" in
50890 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50891 *) ac_try_echo
=$ac_try;;
50893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50894 (eval "$ac_link") 2>conftest.er1
50896 grep -v '^ *+' conftest.er1
>conftest.err
50898 cat conftest.err
>&5
50899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50900 (exit $ac_status); } &&
50901 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
50909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50910 (exit $ac_status); }; } &&
50911 { ac_try='test -s conftest$ac_exeext'
50912 { (case "(($ac_try" in
50913 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50914 *) ac_try_echo
=$ac_try;;
50916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50917 (eval "$ac_try") 2>&5
50919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50920 (exit $ac_status); }; }; then
50921 ac_cv_lib_socket_socket
=yes
50923 echo "$as_me: failed program was:" >&5
50924 sed 's/^/| /' conftest.
$ac_ext >&5
50926 ac_cv_lib_socket_socket
=no
50929 rm -f core conftest.err conftest.
$ac_objext \
50930 conftest
$ac_exeext conftest.
$ac_ext
50931 LIBS
=$ac_check_lib_save_LIBS
50933 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
50934 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
50935 if test $ac_cv_lib_socket_socket = yes; then
50936 if test "$INET_LINK" != " -lsocket"; then
50937 INET_LINK
="$INET_LINK -lsocket"
50941 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
50942 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
50955 if test "$wxUSE_SOCKETS" = "yes" ; then
50956 if test "$TOOLKIT" != "MSW"; then
50957 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
50958 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
50959 if test "${wx_cv_type_getsockname3+set}" = set; then
50960 echo $ECHO_N "(cached) $ECHO_C" >&6
50964 ac_cpp
='$CXXCPP $CPPFLAGS'
50965 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50966 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50967 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
50969 cat >conftest.
$ac_ext <<_ACEOF
50972 cat confdefs.h
>>conftest.
$ac_ext
50973 cat >>conftest.
$ac_ext <<_ACEOF
50974 /* end confdefs.h. */
50976 #include <sys/types.h>
50977 #include <sys/socket.h>
50984 getsockname(0, 0, &len);
50990 rm -f conftest.
$ac_objext
50991 if { (ac_try
="$ac_compile"
50992 case "(($ac_try" in
50993 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50994 *) ac_try_echo=$ac_try;;
50996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50997 (eval "$ac_compile") 2>conftest.er1
50999 grep -v '^ *+' conftest.er1 >conftest.err
51001 cat conftest.err >&5
51002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51003 (exit $ac_status); } &&
51004 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
51005 { (case "(($ac_try" in
51006 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51007 *) ac_try_echo
=$ac_try;;
51009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51010 (eval "$ac_try") 2>&5
51012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51013 (exit $ac_status); }; } &&
51014 { ac_try
='test -s conftest.$ac_objext'
51015 { (case "(($ac_try" in
51016 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51017 *) ac_try_echo=$ac_try;;
51019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51020 (eval "$ac_try") 2>&5
51022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51023 (exit $ac_status); }; }; then
51024 wx_cv_type_getsockname3=socklen_t
51026 echo "$as_me: failed program was:" >&5
51027 sed 's/^/| /' conftest.$ac_ext >&5
51030 CFLAGS_OLD="$CFLAGS"
51031 if test "$GCC" = yes ; then
51032 CFLAGS="-Werror $CFLAGS"
51035 cat >conftest.$ac_ext <<_ACEOF
51038 cat confdefs.h >>conftest.$ac_ext
51039 cat >>conftest.$ac_ext <<_ACEOF
51040 /* end confdefs.h. */
51042 #include <sys/types.h>
51043 #include <sys/socket.h>
51050 getsockname(0, 0, &len);
51056 rm -f conftest.$ac_objext
51057 if { (ac_try="$ac_compile"
51058 case "(($ac_try" in
51059 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51060 *) ac_try_echo
=$ac_try;;
51062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51063 (eval "$ac_compile") 2>conftest.er1
51065 grep -v '^ *+' conftest.er1
>conftest.err
51067 cat conftest.err
>&5
51068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51069 (exit $ac_status); } &&
51070 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
51071 { (case "(($ac_try" in
51072 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51073 *) ac_try_echo=$ac_try;;
51075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51076 (eval "$ac_try") 2>&5
51078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51079 (exit $ac_status); }; } &&
51080 { ac_try='test -s conftest.$ac_objext'
51081 { (case "(($ac_try" in
51082 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51083 *) ac_try_echo
=$ac_try;;
51085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51086 (eval "$ac_try") 2>&5
51088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51089 (exit $ac_status); }; }; then
51090 wx_cv_type_getsockname3
=size_t
51092 echo "$as_me: failed program was:" >&5
51093 sed 's/^/| /' conftest.
$ac_ext >&5
51095 cat >conftest.
$ac_ext <<_ACEOF
51098 cat confdefs.h
>>conftest.
$ac_ext
51099 cat >>conftest.
$ac_ext <<_ACEOF
51100 /* end confdefs.h. */
51102 #include <sys/types.h>
51103 #include <sys/socket.h>
51110 getsockname(0, 0, &len);
51116 rm -f conftest.
$ac_objext
51117 if { (ac_try
="$ac_compile"
51118 case "(($ac_try" in
51119 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51120 *) ac_try_echo=$ac_try;;
51122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51123 (eval "$ac_compile") 2>conftest.er1
51125 grep -v '^ *+' conftest.er1 >conftest.err
51127 cat conftest.err >&5
51128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51129 (exit $ac_status); } &&
51130 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
51131 { (case "(($ac_try" in
51132 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51133 *) ac_try_echo
=$ac_try;;
51135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51136 (eval "$ac_try") 2>&5
51138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51139 (exit $ac_status); }; } &&
51140 { ac_try
='test -s conftest.$ac_objext'
51141 { (case "(($ac_try" in
51142 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51143 *) ac_try_echo=$ac_try;;
51145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51146 (eval "$ac_try") 2>&5
51148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51149 (exit $ac_status); }; }; then
51150 wx_cv_type_getsockname3=int
51152 echo "$as_me: failed program was:" >&5
51153 sed 's/^/| /' conftest.$ac_ext >&5
51155 wx_cv_type_getsockname3=unknown
51159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51165 CFLAGS="$CFLAGS_OLD"
51170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51172 ac_cpp='$CPP $CPPFLAGS'
51173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51179 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
51180 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
51182 if test "$wx_cv_type_getsockname3" = "unknown"; then
51184 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
51185 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
51187 cat >>confdefs.h <<_ACEOF
51188 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
51192 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
51193 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
51194 if test "${wx_cv_type_getsockopt5+set}" = set; then
51195 echo $ECHO_N "(cached) $ECHO_C" >&6
51198 cat >conftest.$ac_ext <<_ACEOF
51201 cat confdefs.h >>conftest.$ac_ext
51202 cat >>conftest.$ac_ext <<_ACEOF
51203 /* end confdefs.h. */
51205 #include <sys/types.h>
51206 #include <sys/socket.h>
51213 getsockopt(0, 0, 0, 0, &len);
51219 rm -f conftest.$ac_objext
51220 if { (ac_try="$ac_compile"
51221 case "(($ac_try" in
51222 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51223 *) ac_try_echo
=$ac_try;;
51225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51226 (eval "$ac_compile") 2>conftest.er1
51228 grep -v '^ *+' conftest.er1
>conftest.err
51230 cat conftest.err
>&5
51231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51232 (exit $ac_status); } &&
51233 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51234 { (case "(($ac_try" in
51235 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51236 *) ac_try_echo=$ac_try;;
51238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51239 (eval "$ac_try") 2>&5
51241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51242 (exit $ac_status); }; } &&
51243 { ac_try='test -s conftest.$ac_objext'
51244 { (case "(($ac_try" in
51245 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51246 *) ac_try_echo
=$ac_try;;
51248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51249 (eval "$ac_try") 2>&5
51251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51252 (exit $ac_status); }; }; then
51253 wx_cv_type_getsockopt5
=socklen_t
51255 echo "$as_me: failed program was:" >&5
51256 sed 's/^/| /' conftest.
$ac_ext >&5
51260 ac_cpp
='$CXXCPP $CPPFLAGS'
51261 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51262 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51263 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
51265 cat >conftest.
$ac_ext <<_ACEOF
51268 cat confdefs.h
>>conftest.
$ac_ext
51269 cat >>conftest.
$ac_ext <<_ACEOF
51270 /* end confdefs.h. */
51272 #include <sys/types.h>
51273 #include <sys/socket.h>
51280 getsockopt(0, 0, 0, 0, &len);
51286 rm -f conftest.
$ac_objext
51287 if { (ac_try
="$ac_compile"
51288 case "(($ac_try" in
51289 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51290 *) ac_try_echo=$ac_try;;
51292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51293 (eval "$ac_compile") 2>conftest.er1
51295 grep -v '^ *+' conftest.er1 >conftest.err
51297 cat conftest.err >&5
51298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51299 (exit $ac_status); } &&
51300 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
51301 { (case "(($ac_try" in
51302 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51303 *) ac_try_echo
=$ac_try;;
51305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51306 (eval "$ac_try") 2>&5
51308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51309 (exit $ac_status); }; } &&
51310 { ac_try
='test -s conftest.$ac_objext'
51311 { (case "(($ac_try" in
51312 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51313 *) ac_try_echo=$ac_try;;
51315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51316 (eval "$ac_try") 2>&5
51318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51319 (exit $ac_status); }; }; then
51320 wx_cv_type_getsockopt5=size_t
51322 echo "$as_me: failed program was:" >&5
51323 sed 's/^/| /' conftest.$ac_ext >&5
51325 cat >conftest.$ac_ext <<_ACEOF
51328 cat confdefs.h >>conftest.$ac_ext
51329 cat >>conftest.$ac_ext <<_ACEOF
51330 /* end confdefs.h. */
51332 #include <sys/types.h>
51333 #include <sys/socket.h>
51340 getsockopt(0, 0, 0, 0, &len);
51346 rm -f conftest.$ac_objext
51347 if { (ac_try="$ac_compile"
51348 case "(($ac_try" in
51349 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51350 *) ac_try_echo
=$ac_try;;
51352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51353 (eval "$ac_compile") 2>conftest.er1
51355 grep -v '^ *+' conftest.er1
>conftest.err
51357 cat conftest.err
>&5
51358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51359 (exit $ac_status); } &&
51360 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
51361 { (case "(($ac_try" in
51362 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51363 *) ac_try_echo=$ac_try;;
51365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51366 (eval "$ac_try") 2>&5
51368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51369 (exit $ac_status); }; } &&
51370 { ac_try='test -s conftest.$ac_objext'
51371 { (case "(($ac_try" in
51372 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51373 *) ac_try_echo
=$ac_try;;
51375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51376 (eval "$ac_try") 2>&5
51378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51379 (exit $ac_status); }; }; then
51380 wx_cv_type_getsockopt5
=int
51382 echo "$as_me: failed program was:" >&5
51383 sed 's/^/| /' conftest.
$ac_ext >&5
51385 wx_cv_type_getsockopt5
=unknown
51389 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51395 ac_cpp
='$CPP $CPPFLAGS'
51396 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51397 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51398 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
51404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51407 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
51408 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
51410 if test "$wx_cv_type_getsockopt5" = "unknown"; then
51412 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
51413 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
51415 cat >>confdefs.h
<<_ACEOF
51416 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
51423 if test "$wxUSE_SOCKETS" = "yes" ; then
51424 cat >>confdefs.h
<<\_ACEOF
51425 #define wxUSE_SOCKETS 1
51428 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
51431 if test "$wxUSE_PROTOCOL" = "yes"; then
51432 if test "$wxUSE_SOCKETS" != "yes"; then
51433 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
51434 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
51439 if test "$wxUSE_PROTOCOL" = "yes"; then
51440 cat >>confdefs.h
<<\_ACEOF
51441 #define wxUSE_PROTOCOL 1
51445 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
51446 cat >>confdefs.h
<<\_ACEOF
51447 #define wxUSE_PROTOCOL_HTTP 1
51451 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
51452 cat >>confdefs.h
<<\_ACEOF
51453 #define wxUSE_PROTOCOL_FTP 1
51457 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
51458 cat >>confdefs.h
<<\_ACEOF
51459 #define wxUSE_PROTOCOL_FILE 1
51464 if test "$wxUSE_FS_INET" = "yes"; then
51465 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
51466 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
51471 if test "$wxUSE_URL" = "yes"; then
51472 if test "$wxUSE_PROTOCOL" != "yes"; then
51473 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
51474 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
51477 if test "$wxUSE_URL" = "yes"; then
51478 cat >>confdefs.h
<<\_ACEOF
51479 #define wxUSE_URL 1
51485 if test "$wxUSE_VARIANT" = "yes"; then
51486 cat >>confdefs.h
<<\_ACEOF
51487 #define wxUSE_VARIANT 1
51492 if test "$wxUSE_FS_INET" = "yes"; then
51493 cat >>confdefs.h
<<\_ACEOF
51494 #define wxUSE_FS_INET 1
51500 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
51503 if test "$TOOLKIT" = "MSW"; then
51506 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
51507 if test "$USE_DARWIN" = 1; then
51508 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
51509 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
51511 ac_cpp
='$CXXCPP $CPPFLAGS'
51512 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51513 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51514 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
51516 cat >conftest.
$ac_ext <<_ACEOF
51519 cat confdefs.h
>>conftest.
$ac_ext
51520 cat >>conftest.
$ac_ext <<_ACEOF
51521 /* end confdefs.h. */
51522 #include <IOKit/hid/IOHIDLib.h>
51526 IOHIDQueueInterface *qi = NULL;
51527 IOHIDCallbackFunction cb = NULL;
51528 qi->setEventCallout(NULL, cb, NULL, NULL);
51533 rm -f conftest.
$ac_objext
51534 if { (ac_try
="$ac_compile"
51535 case "(($ac_try" in
51536 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51537 *) ac_try_echo=$ac_try;;
51539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51540 (eval "$ac_compile") 2>conftest.er1
51542 grep -v '^ *+' conftest.er1 >conftest.err
51544 cat conftest.err >&5
51545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51546 (exit $ac_status); } &&
51547 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
51548 { (case "(($ac_try" in
51549 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51550 *) ac_try_echo
=$ac_try;;
51552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51553 (eval "$ac_try") 2>&5
51555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51556 (exit $ac_status); }; } &&
51557 { ac_try
='test -s conftest.$ac_objext'
51558 { (case "(($ac_try" in
51559 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51560 *) ac_try_echo=$ac_try;;
51562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51563 (eval "$ac_try") 2>&5
51565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51566 (exit $ac_status); }; }; then
51570 echo "$as_me: failed program was:" >&5
51571 sed 's/^/| /' conftest.$ac_ext >&5
51576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51578 ac_cpp='$CPP $CPPFLAGS'
51579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51583 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
51584 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
51588 if test "$wxUSE_MGL" != "1"; then
51589 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
51590 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
51591 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
51592 echo $ECHO_N "(cached) $ECHO_C" >&6
51594 cat >conftest.$ac_ext <<_ACEOF
51597 cat confdefs.h >>conftest.$ac_ext
51598 cat >>conftest.$ac_ext <<_ACEOF
51599 /* end confdefs.h. */
51602 #include <linux/joystick.h>
51604 rm -f conftest.$ac_objext
51605 if { (ac_try="$ac_compile"
51606 case "(($ac_try" in
51607 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51608 *) ac_try_echo
=$ac_try;;
51610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51611 (eval "$ac_compile") 2>conftest.er1
51613 grep -v '^ *+' conftest.er1
>conftest.err
51615 cat conftest.err
>&5
51616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51617 (exit $ac_status); } &&
51618 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51619 { (case "(($ac_try" in
51620 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51621 *) ac_try_echo=$ac_try;;
51623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51624 (eval "$ac_try") 2>&5
51626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51627 (exit $ac_status); }; } &&
51628 { ac_try='test -s conftest.$ac_objext'
51629 { (case "(($ac_try" in
51630 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51631 *) ac_try_echo
=$ac_try;;
51633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51634 (eval "$ac_try") 2>&5
51636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51637 (exit $ac_status); }; }; then
51638 ac_cv_header_linux_joystick_h
=yes
51640 echo "$as_me: failed program was:" >&5
51641 sed 's/^/| /' conftest.
$ac_ext >&5
51643 ac_cv_header_linux_joystick_h
=no
51646 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51648 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
51649 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
51650 if test $ac_cv_header_linux_joystick_h = yes; then
51658 if test "$wxUSE_JOYSTICK" = "yes"; then
51659 cat >>confdefs.h
<<\_ACEOF
51660 #define wxUSE_JOYSTICK 1
51663 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
51665 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
51666 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
51672 if test "$wxUSE_FONTMAP" = "yes" ; then
51673 cat >>confdefs.h
<<\_ACEOF
51674 #define wxUSE_FONTMAP 1
51679 if test "$wxUSE_UNICODE" = "yes" ; then
51680 cat >>confdefs.h
<<\_ACEOF
51681 #define wxUSE_UNICODE 1
51685 if test "$USE_WIN32" != 1; then
51686 wxUSE_UNICODE_MSLU
=no
51689 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
51690 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
51691 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
51692 if test "${ac_cv_lib_unicows_main+set}" = set; then
51693 echo $ECHO_N "(cached) $ECHO_C" >&6
51695 ac_check_lib_save_LIBS
=$LIBS
51696 LIBS
="-lunicows $LIBS"
51697 cat >conftest.
$ac_ext <<_ACEOF
51700 cat confdefs.h
>>conftest.
$ac_ext
51701 cat >>conftest.
$ac_ext <<_ACEOF
51702 /* end confdefs.h. */
51713 rm -f conftest.
$ac_objext conftest
$ac_exeext
51714 if { (ac_try
="$ac_link"
51715 case "(($ac_try" in
51716 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51717 *) ac_try_echo=$ac_try;;
51719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51720 (eval "$ac_link") 2>conftest.er1
51722 grep -v '^ *+' conftest.er1 >conftest.err
51724 cat conftest.err >&5
51725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51726 (exit $ac_status); } &&
51727 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51728 { (case "(($ac_try" in
51729 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51730 *) ac_try_echo
=$ac_try;;
51732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51733 (eval "$ac_try") 2>&5
51735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51736 (exit $ac_status); }; } &&
51737 { ac_try
='test -s conftest$ac_exeext'
51738 { (case "(($ac_try" in
51739 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51740 *) ac_try_echo=$ac_try;;
51742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51743 (eval "$ac_try") 2>&5
51745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51746 (exit $ac_status); }; }; then
51747 ac_cv_lib_unicows_main=yes
51749 echo "$as_me: failed program was:" >&5
51750 sed 's/^/| /' conftest.$ac_ext >&5
51752 ac_cv_lib_unicows_main=no
51755 rm -f core conftest.err conftest.$ac_objext \
51756 conftest$ac_exeext conftest.$ac_ext
51757 LIBS=$ac_check_lib_save_LIBS
51759 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
51760 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
51761 if test $ac_cv_lib_unicows_main = yes; then
51763 cat >>confdefs.h <<\_ACEOF
51764 #define wxUSE_UNICODE_MSLU 1
51770 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
51771 Applications will only run on Windows NT/2000/XP!" >&5
51772 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
51773 Applications will only run on Windows NT/2000/XP!" >&2;}
51774 wxUSE_UNICODE_MSLU=no
51781 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
51782 cat >>confdefs.h <<\_ACEOF
51783 #define wxUSE_EXPERIMENTAL_PRINTF 1
51789 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
51790 cat >>confdefs.h <<\_ACEOF
51791 #define wxUSE_POSTSCRIPT 1
51796 cat >>confdefs.h <<\_ACEOF
51797 #define wxUSE_AFM_FOR_POSTSCRIPT 1
51801 cat >>confdefs.h <<\_ACEOF
51802 #define wxUSE_NORMALIZED_PS_FONTS 1
51807 if test "$wxUSE_CONSTRAINTS" = "yes"; then
51808 cat >>confdefs.h <<\_ACEOF
51809 #define wxUSE_CONSTRAINTS 1
51812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
51815 if test "$wxUSE_MDI" = "yes"; then
51816 cat >>confdefs.h <<\_ACEOF
51817 #define wxUSE_MDI 1
51821 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
51822 cat >>confdefs.h <<\_ACEOF
51823 #define wxUSE_MDI_ARCHITECTURE 1
51826 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
51830 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
51831 cat >>confdefs.h <<\_ACEOF
51832 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
51835 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
51836 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
51837 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
51841 if test "$wxUSE_HELP" = "yes"; then
51842 cat >>confdefs.h <<\_ACEOF
51843 #define wxUSE_HELP 1
51846 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
51848 if test "$wxUSE_MSW" = 1; then
51849 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
51850 cat >>confdefs.h <<\_ACEOF
51851 #define wxUSE_MS_HTML_HELP 1
51857 if test "$wxUSE_WXHTML_HELP" = "yes"; then
51858 if test "$wxUSE_HTML" = "yes"; then
51859 cat >>confdefs.h <<\_ACEOF
51860 #define wxUSE_WXHTML_HELP 1
51864 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
51865 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
51866 wxUSE_WXHTML_HELP=no
51871 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
51872 if test "$wxUSE_CONSTRAINTS" != "yes"; then
51873 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
51874 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
51876 cat >>confdefs.h <<\_ACEOF
51877 #define wxUSE_PRINTING_ARCHITECTURE 1
51881 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
51884 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
51885 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
51886 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
51887 { (exit 1); exit 1; }; }
51891 if test "$wxUSE_METAFILE" = "yes"; then
51892 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
51893 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
51894 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
51900 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
51901 -o "$wxUSE_CLIPBOARD" = "yes" \
51902 -o "$wxUSE_OLE" = "yes" \
51903 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
51905 for ac_header in ole2.h
51907 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51908 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
51909 { echo "$as_me:$LINENO: checking for $ac_header" >&5
51910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
51911 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
51912 echo $ECHO_N "(cached) $ECHO_C" >&6
51914 ac_res=`eval echo '${'$as_ac_Header'}'`
51915 { echo "$as_me:$LINENO: result: $ac_res" >&5
51916 echo "${ECHO_T}$ac_res" >&6; }
51918 # Is the header compilable?
51919 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
51920 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
51921 cat >conftest.$ac_ext <<_ACEOF
51924 cat confdefs.h >>conftest.$ac_ext
51925 cat >>conftest.$ac_ext <<_ACEOF
51926 /* end confdefs.h. */
51927 $ac_includes_default
51928 #include <$ac_header>
51930 rm -f conftest.$ac_objext
51931 if { (ac_try="$ac_compile"
51932 case "(($ac_try" in
51933 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51934 *) ac_try_echo
=$ac_try;;
51936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51937 (eval "$ac_compile") 2>conftest.er1
51939 grep -v '^ *+' conftest.er1
>conftest.err
51941 cat conftest.err
>&5
51942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51943 (exit $ac_status); } &&
51944 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51945 { (case "(($ac_try" in
51946 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51947 *) ac_try_echo=$ac_try;;
51949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51950 (eval "$ac_try") 2>&5
51952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51953 (exit $ac_status); }; } &&
51954 { ac_try='test -s conftest.$ac_objext'
51955 { (case "(($ac_try" in
51956 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51957 *) ac_try_echo
=$ac_try;;
51959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51960 (eval "$ac_try") 2>&5
51962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51963 (exit $ac_status); }; }; then
51964 ac_header_compiler
=yes
51966 echo "$as_me: failed program was:" >&5
51967 sed 's/^/| /' conftest.
$ac_ext >&5
51969 ac_header_compiler
=no
51972 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51973 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51974 echo "${ECHO_T}$ac_header_compiler" >&6; }
51976 # Is the header present?
51977 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
51978 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
51979 cat >conftest.
$ac_ext <<_ACEOF
51982 cat confdefs.h
>>conftest.
$ac_ext
51983 cat >>conftest.
$ac_ext <<_ACEOF
51984 /* end confdefs.h. */
51985 #include <$ac_header>
51987 if { (ac_try
="$ac_cpp conftest.$ac_ext"
51988 case "(($ac_try" in
51989 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51990 *) ac_try_echo=$ac_try;;
51992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51993 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
51995 grep -v '^ *+' conftest.er1 >conftest.err
51997 cat conftest.err >&5
51998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51999 (exit $ac_status); } >/dev/null; then
52000 if test -s conftest.err; then
52001 ac_cpp_err=$ac_c_preproc_warn_flag
52002 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52009 if test -z "$ac_cpp_err"; then
52010 ac_header_preproc=yes
52012 echo "$as_me: failed program was:" >&5
52013 sed 's/^/| /' conftest.$ac_ext >&5
52015 ac_header_preproc=no
52018 rm -f conftest.err conftest.$ac_ext
52019 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52020 echo "${ECHO_T}$ac_header_preproc" >&6; }
52022 # So? What about this header?
52023 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52025 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52026 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52028 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52029 ac_header_preproc=yes
52032 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52033 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52034 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52035 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52036 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52037 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52038 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52039 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52040 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52041 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52042 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52043 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52045 ## ----------------------------------------- ##
52046 ## Report this to wx-dev@lists.wxwidgets.org ##
52047 ## ----------------------------------------- ##
52049 ) | sed "s/^/$as_me: WARNING: /" >&2
52052 { echo "$as_me:$LINENO: checking for $ac_header" >&5
52053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
52054 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
52055 echo $ECHO_N "(cached) $ECHO_C" >&6
52057 eval "$as_ac_Header=\$ac_header_preproc"
52059 ac_res=`eval echo '${'$as_ac_Header'}'`
52060 { echo "$as_me:$LINENO: result: $ac_res" >&5
52061 echo "${ECHO_T}$ac_res" >&6; }
52064 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52065 cat >>confdefs.h <<_ACEOF
52066 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52074 if test "$ac_cv_header_ole2_h" = "yes" ; then
52075 if test "$GCC" = yes ; then
52076 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
52077 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
52078 cat >conftest.$ac_ext <<_ACEOF
52081 cat confdefs.h >>conftest.$ac_ext
52082 cat >>conftest.$ac_ext <<_ACEOF
52083 /* end confdefs.h. */
52084 #include <windows.h>
52094 rm -f conftest.$ac_objext
52095 if { (ac_try="$ac_compile"
52096 case "(($ac_try" in
52097 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
52098 *) ac_try_echo
=$ac_try;;
52100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52101 (eval "$ac_compile") 2>conftest.er1
52103 grep -v '^ *+' conftest.er1
>conftest.err
52105 cat conftest.err
>&5
52106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52107 (exit $ac_status); } &&
52108 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
52109 { (case "(($ac_try" in
52110 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
52111 *) ac_try_echo=$ac_try;;
52113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52114 (eval "$ac_try") 2>&5
52116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52117 (exit $ac_status); }; } &&
52118 { ac_try='test -s conftest.$ac_objext'
52119 { (case "(($ac_try" in
52120 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
52121 *) ac_try_echo
=$ac_try;;
52123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52124 (eval "$ac_try") 2>&5
52126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52127 (exit $ac_status); }; }; then
52128 { echo "$as_me:$LINENO: result: no" >&5
52129 echo "${ECHO_T}no" >&6; }
52131 echo "$as_me: failed program was:" >&5
52132 sed 's/^/| /' conftest.
$ac_ext >&5
52134 { echo "$as_me:$LINENO: result: yes" >&5
52135 echo "${ECHO_T}yes" >&6; }
52136 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
52139 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
52140 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
52141 if test "$wxUSE_OLE" = "yes" ; then
52142 cat >>confdefs.h
<<\_ACEOF
52143 #define wxUSE_OLE 1
52146 cat >>confdefs.h
<<\_ACEOF
52147 #define wxUSE_OLE_AUTOMATION 1
52150 cat >>confdefs.h
<<\_ACEOF
52151 #define wxUSE_ACTIVEX 1
52154 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
52158 if test "$wxUSE_DATAOBJ" = "yes" ; then
52159 cat >>confdefs.h
<<\_ACEOF
52160 #define wxUSE_DATAOBJ 1
52165 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
52166 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
52169 wxUSE_DRAG_AND_DROP
=no
52174 if test "$wxUSE_METAFILE" = "yes"; then
52175 cat >>confdefs.h
<<\_ACEOF
52176 #define wxUSE_METAFILE 1
52180 cat >>confdefs.h
<<\_ACEOF
52181 #define wxUSE_ENH_METAFILE 1
52187 if test "$wxUSE_IPC" = "yes"; then
52188 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
52189 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
52190 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
52194 if test "$wxUSE_IPC" = "yes"; then
52195 cat >>confdefs.h
<<\_ACEOF
52196 #define wxUSE_IPC 1
52199 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
52203 if test "$wxUSE_DATAOBJ" = "yes"; then
52204 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
52205 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
52206 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
52209 cat >>confdefs.h
<<\_ACEOF
52210 #define wxUSE_DATAOBJ 1
52215 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
52216 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
52218 wxUSE_DRAG_AND_DROP
=no
52221 if test "$wxUSE_CLIPBOARD" = "yes"; then
52222 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
52223 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
52224 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
52228 if test "$wxUSE_CLIPBOARD" = "yes"; then
52229 cat >>confdefs.h
<<\_ACEOF
52230 #define wxUSE_CLIPBOARD 1
52236 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
52237 if test "$wxUSE_GTK" = 1; then
52238 if test "$WXGTK12" != 1; then
52239 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
52240 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
52241 wxUSE_DRAG_AND_DROP
=no
52245 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
52246 "$wxUSE_DFB" = 1; then
52247 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
52248 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
52249 wxUSE_DRAG_AND_DROP
=no
52252 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
52253 cat >>confdefs.h
<<\_ACEOF
52254 #define wxUSE_DRAG_AND_DROP 1
52261 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
52262 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
52265 if test "$wxUSE_SPLINES" = "yes" ; then
52266 cat >>confdefs.h
<<\_ACEOF
52267 #define wxUSE_SPLINES 1
52272 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
52273 cat >>confdefs.h
<<\_ACEOF
52274 #define wxUSE_MOUSEWHEEL 1
52281 if test "$wxUSE_CONTROLS" = "yes"; then
52285 if test "$wxUSE_ACCEL" = "yes"; then
52286 cat >>confdefs.h
<<\_ACEOF
52287 #define wxUSE_ACCEL 1
52293 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
52294 cat >>confdefs.h
<<\_ACEOF
52295 #define wxUSE_ANIMATIONCTRL 1
52299 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
52302 if test "$wxUSE_BUTTON" = "yes"; then
52303 cat >>confdefs.h
<<\_ACEOF
52304 #define wxUSE_BUTTON 1
52310 if test "$wxUSE_BMPBUTTON" = "yes"; then
52311 cat >>confdefs.h
<<\_ACEOF
52312 #define wxUSE_BMPBUTTON 1
52318 if test "$wxUSE_CALCTRL" = "yes"; then
52319 cat >>confdefs.h
<<\_ACEOF
52320 #define wxUSE_CALENDARCTRL 1
52324 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
52327 if test "$wxUSE_CARET" = "yes"; then
52328 cat >>confdefs.h
<<\_ACEOF
52329 #define wxUSE_CARET 1
52333 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
52336 if test "$wxUSE_COLLPANE" = "yes"; then
52337 cat >>confdefs.h
<<\_ACEOF
52338 #define wxUSE_COLLPANE 1
52342 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
52345 if test "$wxUSE_COMBOBOX" = "yes"; then
52346 cat >>confdefs.h
<<\_ACEOF
52347 #define wxUSE_COMBOBOX 1
52353 if test "$wxUSE_COMBOCTRL" = "yes"; then
52354 cat >>confdefs.h
<<\_ACEOF
52355 #define wxUSE_COMBOCTRL 1
52361 if test "$wxUSE_CHOICE" = "yes"; then
52362 cat >>confdefs.h
<<\_ACEOF
52363 #define wxUSE_CHOICE 1
52369 if test "$wxUSE_CHOICEBOOK" = "yes"; then
52370 cat >>confdefs.h
<<\_ACEOF
52371 #define wxUSE_CHOICEBOOK 1
52377 if test "$wxUSE_CHECKBOX" = "yes"; then
52378 cat >>confdefs.h
<<\_ACEOF
52379 #define wxUSE_CHECKBOX 1
52385 if test "$wxUSE_CHECKLST" = "yes"; then
52386 cat >>confdefs.h
<<\_ACEOF
52387 #define wxUSE_CHECKLISTBOX 1
52391 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
52394 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
52395 cat >>confdefs.h
<<\_ACEOF
52396 #define wxUSE_COLOURPICKERCTRL 1
52402 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
52403 cat >>confdefs.h
<<\_ACEOF
52404 #define wxUSE_DATEPICKCTRL 1
52410 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
52411 cat >>confdefs.h
<<\_ACEOF
52412 #define wxUSE_DIRPICKERCTRL 1
52418 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
52419 cat >>confdefs.h
<<\_ACEOF
52420 #define wxUSE_FILEPICKERCTRL 1
52426 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
52427 cat >>confdefs.h
<<\_ACEOF
52428 #define wxUSE_FONTPICKERCTRL 1
52434 if test "$wxUSE_DISPLAY" = "yes"; then
52435 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
52436 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
52437 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
52440 cat >>confdefs.h
<<\_ACEOF
52441 #define wxUSE_DISPLAY 1
52444 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
52448 if test "$wxUSE_DETECT_SM" = "yes"; then
52449 cat >>confdefs.h
<<\_ACEOF
52450 #define wxUSE_DETECT_SM 1
52455 if test "$wxUSE_GAUGE" = "yes"; then
52456 cat >>confdefs.h
<<\_ACEOF
52457 #define wxUSE_GAUGE 1
52463 if test "$wxUSE_GRID" = "yes"; then
52464 cat >>confdefs.h
<<\_ACEOF
52465 #define wxUSE_GRID 1
52469 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
52472 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
52473 cat >>confdefs.h
<<\_ACEOF
52474 #define wxUSE_HYPERLINKCTRL 1
52480 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
52481 cat >>confdefs.h
<<\_ACEOF
52482 #define wxUSE_BITMAPCOMBOBOX 1
52488 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
52489 cat >>confdefs.h
<<\_ACEOF
52490 #define wxUSE_DATAVIEWCTRL 1
52494 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
52497 if test "$wxUSE_IMAGLIST" = "yes"; then
52498 cat >>confdefs.h
<<\_ACEOF
52499 #define wxUSE_IMAGLIST 1
52504 if test "$wxUSE_LISTBOOK" = "yes"; then
52505 cat >>confdefs.h
<<\_ACEOF
52506 #define wxUSE_LISTBOOK 1
52512 if test "$wxUSE_LISTBOX" = "yes"; then
52513 cat >>confdefs.h
<<\_ACEOF
52514 #define wxUSE_LISTBOX 1
52518 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
52521 if test "$wxUSE_LISTCTRL" = "yes"; then
52522 if test "$wxUSE_IMAGLIST" = "yes"; then
52523 cat >>confdefs.h
<<\_ACEOF
52524 #define wxUSE_LISTCTRL 1
52528 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
52530 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
52531 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
52535 if test "$wxUSE_NOTEBOOK" = "yes"; then
52536 cat >>confdefs.h
<<\_ACEOF
52537 #define wxUSE_NOTEBOOK 1
52541 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
52544 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
52545 cat >>confdefs.h
<<\_ACEOF
52546 #define wxUSE_ODCOMBOBOX 1
52550 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
52554 if test "$wxUSE_RADIOBOX" = "yes"; then
52555 cat >>confdefs.h
<<\_ACEOF
52556 #define wxUSE_RADIOBOX 1
52562 if test "$wxUSE_RADIOBTN" = "yes"; then
52563 cat >>confdefs.h
<<\_ACEOF
52564 #define wxUSE_RADIOBTN 1
52570 if test "$wxUSE_SASH" = "yes"; then
52571 cat >>confdefs.h
<<\_ACEOF
52572 #define wxUSE_SASH 1
52575 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
52578 if test "$wxUSE_SCROLLBAR" = "yes"; then
52579 cat >>confdefs.h
<<\_ACEOF
52580 #define wxUSE_SCROLLBAR 1
52584 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
52587 if test "$wxUSE_SEARCHCTRL" = "yes"; then
52588 cat >>confdefs.h
<<\_ACEOF
52589 #define wxUSE_SEARCHCTRL 1
52595 if test "$wxUSE_SLIDER" = "yes"; then
52596 cat >>confdefs.h
<<\_ACEOF
52597 #define wxUSE_SLIDER 1
52603 if test "$wxUSE_SPINBTN" = "yes"; then
52604 cat >>confdefs.h
<<\_ACEOF
52605 #define wxUSE_SPINBTN 1
52611 if test "$wxUSE_SPINCTRL" = "yes"; then
52612 cat >>confdefs.h
<<\_ACEOF
52613 #define wxUSE_SPINCTRL 1
52619 if test "$wxUSE_SPLITTER" = "yes"; then
52620 cat >>confdefs.h
<<\_ACEOF
52621 #define wxUSE_SPLITTER 1
52624 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
52627 if test "$wxUSE_STATBMP" = "yes"; then
52628 cat >>confdefs.h
<<\_ACEOF
52629 #define wxUSE_STATBMP 1
52635 if test "$wxUSE_STATBOX" = "yes"; then
52636 cat >>confdefs.h
<<\_ACEOF
52637 #define wxUSE_STATBOX 1
52643 if test "$wxUSE_STATTEXT" = "yes"; then
52644 cat >>confdefs.h
<<\_ACEOF
52645 #define wxUSE_STATTEXT 1
52651 if test "$wxUSE_STATLINE" = "yes"; then
52652 cat >>confdefs.h
<<\_ACEOF
52653 #define wxUSE_STATLINE 1
52659 if test "$wxUSE_STATUSBAR" = "yes"; then
52660 cat >>confdefs.h
<<\_ACEOF
52661 #define wxUSE_NATIVE_STATUSBAR 1
52664 cat >>confdefs.h
<<\_ACEOF
52665 #define wxUSE_STATUSBAR 1
52670 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
52673 if test "$wxUSE_TAB_DIALOG" = "yes"; then
52674 cat >>confdefs.h
<<\_ACEOF
52675 #define wxUSE_TAB_DIALOG 1
52680 if test "$wxUSE_TEXTCTRL" = "yes"; then
52681 cat >>confdefs.h
<<\_ACEOF
52682 #define wxUSE_TEXTCTRL 1
52686 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
52689 if test "$wxUSE_TOGGLEBTN" = "yes"; then
52690 if test "$wxUSE_COCOA" = 1 ; then
52691 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
52692 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
52696 if test "$wxUSE_TOGGLEBTN" = "yes"; then
52697 cat >>confdefs.h
<<\_ACEOF
52698 #define wxUSE_TOGGLEBTN 1
52705 if test "$wxUSE_TOOLBAR" = "yes"; then
52706 cat >>confdefs.h
<<\_ACEOF
52707 #define wxUSE_TOOLBAR 1
52712 if test "$wxUSE_UNIVERSAL" = "yes"; then
52713 wxUSE_TOOLBAR_NATIVE
="no"
52715 wxUSE_TOOLBAR_NATIVE
="yes"
52716 cat >>confdefs.h
<<\_ACEOF
52717 #define wxUSE_TOOLBAR_NATIVE 1
52722 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
52725 if test "$wxUSE_TOOLTIPS" = "yes"; then
52726 if test "$wxUSE_MOTIF" = 1; then
52727 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
52728 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
52730 if test "$wxUSE_UNIVERSAL" = "yes"; then
52731 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
52732 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
52734 cat >>confdefs.h
<<\_ACEOF
52735 #define wxUSE_TOOLTIPS 1
52742 if test "$wxUSE_TREEBOOK" = "yes"; then
52743 cat >>confdefs.h
<<\_ACEOF
52744 #define wxUSE_TREEBOOK 1
52750 if test "$wxUSE_TOOLBOOK" = "yes"; then
52751 cat >>confdefs.h
<<\_ACEOF
52752 #define wxUSE_TOOLBOOK 1
52758 if test "$wxUSE_TREECTRL" = "yes"; then
52759 if test "$wxUSE_IMAGLIST" = "yes"; then
52760 cat >>confdefs.h
<<\_ACEOF
52761 #define wxUSE_TREECTRL 1
52765 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
52767 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
52768 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
52772 if test "$wxUSE_POPUPWIN" = "yes"; then
52773 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
52774 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
52775 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
52777 if test "$wxUSE_PM" = 1; then
52778 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
52779 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
52781 cat >>confdefs.h
<<\_ACEOF
52782 #define wxUSE_POPUPWIN 1
52785 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
52792 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
52793 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
52794 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
52795 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
52797 cat >>confdefs.h
<<\_ACEOF
52798 #define wxUSE_DIALUP_MANAGER 1
52801 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
52805 if test "$wxUSE_TIPWINDOW" = "yes"; then
52806 if test "$wxUSE_PM" = 1; then
52807 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
52808 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
52810 cat >>confdefs.h
<<\_ACEOF
52811 #define wxUSE_TIPWINDOW 1
52817 if test "$USES_CONTROLS" = 1; then
52818 cat >>confdefs.h
<<\_ACEOF
52819 #define wxUSE_CONTROLS 1
52825 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
52826 cat >>confdefs.h
<<\_ACEOF
52827 #define wxUSE_ACCESSIBILITY 1
52830 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
52833 if test "$wxUSE_DC_CACHEING" = "yes"; then
52834 cat >>confdefs.h
<<\_ACEOF
52835 #define wxUSE_DC_CACHEING 1
52840 if test "$wxUSE_DRAGIMAGE" = "yes"; then
52841 cat >>confdefs.h
<<\_ACEOF
52842 #define wxUSE_DRAGIMAGE 1
52845 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
52848 if test "$wxUSE_EXCEPTIONS" = "yes"; then
52849 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
52850 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
52851 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
52853 cat >>confdefs.h
<<\_ACEOF
52854 #define wxUSE_EXCEPTIONS 1
52857 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
52862 if test "$wxUSE_HTML" = "yes"; then
52863 cat >>confdefs.h
<<\_ACEOF
52864 #define wxUSE_HTML 1
52868 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
52869 if test "$wxUSE_MAC" = 1; then
52870 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
52873 if test "$wxUSE_WEBKIT" = "yes"; then
52874 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
52875 old_CPPFLAGS
="$CPPFLAGS"
52876 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
52877 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
52878 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
52879 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
52880 echo $ECHO_N "(cached) $ECHO_C" >&6
52882 cat >conftest.
$ac_ext <<_ACEOF
52885 cat confdefs.h
>>conftest.
$ac_ext
52886 cat >>conftest.
$ac_ext <<_ACEOF
52887 /* end confdefs.h. */
52889 #include <Carbon/Carbon.h>
52890 #include <WebKit/WebKit.h>
52893 #include <WebKit/HIWebView.h>
52895 rm -f conftest.
$ac_objext
52896 if { (ac_try
="$ac_compile"
52897 case "(($ac_try" in
52898 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
52899 *) ac_try_echo=$ac_try;;
52901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52902 (eval "$ac_compile") 2>conftest.er1
52904 grep -v '^ *+' conftest.er1 >conftest.err
52906 cat conftest.err >&5
52907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52908 (exit $ac_status); } &&
52909 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
52910 { (case "(($ac_try" in
52911 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
52912 *) ac_try_echo
=$ac_try;;
52914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52915 (eval "$ac_try") 2>&5
52917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52918 (exit $ac_status); }; } &&
52919 { ac_try
='test -s conftest.$ac_objext'
52920 { (case "(($ac_try" in
52921 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
52922 *) ac_try_echo=$ac_try;;
52924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52925 (eval "$ac_try") 2>&5
52927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52928 (exit $ac_status); }; }; then
52929 ac_cv_header_WebKit_HIWebView_h=yes
52931 echo "$as_me: failed program was:" >&5
52932 sed 's/^/| /' conftest.$ac_ext >&5
52934 ac_cv_header_WebKit_HIWebView_h=no
52937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52939 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
52940 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
52941 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
52943 cat >>confdefs.h <<\_ACEOF
52944 #define wxUSE_WEBKIT 1
52947 WEBKIT_LINK="-framework WebKit"
52951 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
52952 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
52958 CPPFLAGS="$old_CPPFLAGS"
52959 elif test "$wxUSE_COCOA" = 1; then
52960 cat >>confdefs.h <<\_ACEOF
52961 #define wxUSE_WEBKIT 1
52970 if test "$wxUSE_XRC" = "yes"; then
52971 if test "$wxUSE_XML" != "yes"; then
52972 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
52973 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
52976 cat >>confdefs.h <<\_ACEOF
52977 #define wxUSE_XRC 1
52981 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
52986 if test "$wxUSE_AUI" = "yes"; then
52987 cat >>confdefs.h <<\_ACEOF
52988 #define wxUSE_AUI 1
52992 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
52995 if test "$wxUSE_MENUS" = "yes"; then
52996 cat >>confdefs.h <<\_ACEOF
52997 #define wxUSE_MENUS 1
53000 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
53003 if test "$wxUSE_METAFILE" = "yes"; then
53004 cat >>confdefs.h <<\_ACEOF
53005 #define wxUSE_METAFILE 1
53010 if test "$wxUSE_MIMETYPE" = "yes"; then
53011 cat >>confdefs.h <<\_ACEOF
53012 #define wxUSE_MIMETYPE 1
53017 if test "$wxUSE_MINIFRAME" = "yes"; then
53018 cat >>confdefs.h <<\_ACEOF
53019 #define wxUSE_MINIFRAME 1
53022 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
53025 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
53026 cat >>confdefs.h <<\_ACEOF
53027 #define wxUSE_SYSTEM_OPTIONS 1
53030 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
53031 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
53032 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
53037 if test "$wxUSE_VALIDATORS" = "yes"; then
53038 cat >>confdefs.h <<\_ACEOF
53039 #define wxUSE_VALIDATORS 1
53042 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
53045 if test "$wxUSE_PALETTE" = "yes" ; then
53046 if test "$wxUSE_DFB" = 1; then
53047 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
53048 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
53051 cat >>confdefs.h <<\_ACEOF
53052 #define wxUSE_PALETTE 1
53058 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
53059 LIBS=" -lunicows $LIBS"
53063 if test "$wxUSE_RICHTEXT" = "yes"; then
53064 cat >>confdefs.h <<\_ACEOF
53065 #define wxUSE_RICHTEXT 1
53069 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
53073 if test "$wxUSE_IMAGE" = "yes" ; then
53074 cat >>confdefs.h <<\_ACEOF
53075 #define wxUSE_IMAGE 1
53079 if test "$wxUSE_GIF" = "yes" ; then
53080 cat >>confdefs.h <<\_ACEOF
53081 #define wxUSE_GIF 1
53086 if test "$wxUSE_PCX" = "yes" ; then
53087 cat >>confdefs.h <<\_ACEOF
53088 #define wxUSE_PCX 1
53093 if test "$wxUSE_TGA" = "yes" ; then
53094 cat >>confdefs.h <<\_ACEOF
53095 #define wxUSE_TGA 1
53100 if test "$wxUSE_IFF" = "yes" ; then
53101 cat >>confdefs.h <<\_ACEOF
53102 #define wxUSE_IFF 1
53107 if test "$wxUSE_PNM" = "yes" ; then
53108 cat >>confdefs.h <<\_ACEOF
53109 #define wxUSE_PNM 1
53114 if test "$wxUSE_XPM" = "yes" ; then
53115 cat >>confdefs.h <<\_ACEOF
53116 #define wxUSE_XPM 1
53121 if test "$wxUSE_ICO_CUR" = "yes" ; then
53122 cat >>confdefs.h <<\_ACEOF
53123 #define wxUSE_ICO_CUR 1
53130 if test "$wxUSE_ABOUTDLG" = "yes"; then
53131 cat >>confdefs.h <<\_ACEOF
53132 #define wxUSE_ABOUTDLG 1
53137 if test "$wxUSE_CHOICEDLG" = "yes"; then
53138 cat >>confdefs.h <<\_ACEOF
53139 #define wxUSE_CHOICEDLG 1
53144 if test "$wxUSE_COLOURDLG" = "yes"; then
53145 cat >>confdefs.h <<\_ACEOF
53146 #define wxUSE_COLOURDLG 1
53151 if test "$wxUSE_FILEDLG" = "yes"; then
53152 cat >>confdefs.h <<\_ACEOF
53153 #define wxUSE_FILEDLG 1
53158 if test "$wxUSE_FINDREPLDLG" = "yes"; then
53159 cat >>confdefs.h <<\_ACEOF
53160 #define wxUSE_FINDREPLDLG 1
53165 if test "$wxUSE_FONTDLG" = "yes"; then
53166 cat >>confdefs.h <<\_ACEOF
53167 #define wxUSE_FONTDLG 1
53172 if test "$wxUSE_DIRDLG" = "yes"; then
53173 if test "$wxUSE_TREECTRL" != "yes"; then
53174 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
53175 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
53177 cat >>confdefs.h <<\_ACEOF
53178 #define wxUSE_DIRDLG 1
53184 if test "$wxUSE_MSGDLG" = "yes"; then
53185 cat >>confdefs.h <<\_ACEOF
53186 #define wxUSE_MSGDLG 1
53191 if test "$wxUSE_NUMBERDLG" = "yes"; then
53192 cat >>confdefs.h <<\_ACEOF
53193 #define wxUSE_NUMBERDLG 1
53198 if test "$wxUSE_PROGRESSDLG" = "yes"; then
53199 if test "$wxUSE_CONSTRAINTS" != "yes"; then
53200 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
53201 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
53203 cat >>confdefs.h <<\_ACEOF
53204 #define wxUSE_PROGRESSDLG 1
53210 if test "$wxUSE_SPLASH" = "yes"; then
53211 cat >>confdefs.h <<\_ACEOF
53212 #define wxUSE_SPLASH 1
53215 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
53218 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
53219 if test "$wxUSE_CONSTRAINTS" != "yes"; then
53220 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
53221 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
53223 cat >>confdefs.h <<\_ACEOF
53224 #define wxUSE_STARTUP_TIPS 1
53230 if test "$wxUSE_TEXTDLG" = "yes"; then
53231 cat >>confdefs.h <<\_ACEOF
53232 #define wxUSE_TEXTDLG 1
53237 if test "$wxUSE_WIZARDDLG" = "yes"; then
53238 cat >>confdefs.h <<\_ACEOF
53239 #define wxUSE_WIZARDDLG 1
53242 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
53246 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
53247 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
53248 cat >>confdefs.h <<\_ACEOF
53249 #define wxUSE_GRAPHICS_CONTEXT 1
53252 elif test "$wxUSE_GTK" != 1; then
53253 cat >>confdefs.h <<\_ACEOF
53254 #define wxUSE_GRAPHICS_CONTEXT 1
53260 { echo "$as_me:$LINENO: checking for CAIRO" >&5
53261 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
53263 if test -n "$PKG_CONFIG"; then
53264 if test -n "$CAIRO_CFLAGS"; then
53265 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
53267 if test -n "$PKG_CONFIG" && \
53268 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
53269 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
53271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53272 (exit $ac_status); }; then
53273 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
53281 if test -n "$PKG_CONFIG"; then
53282 if test -n "$CAIRO_LIBS"; then
53283 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
53285 if test -n "$PKG_CONFIG" && \
53286 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
53287 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
53289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53290 (exit $ac_status); }; then
53291 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
53302 if test $pkg_failed = yes; then
53304 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
53305 _pkg_short_errors_supported=yes
53307 _pkg_short_errors_supported=no
53309 if test $_pkg_short_errors_supported = yes; then
53310 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
53312 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
53314 # Put the nasty error message in config.log where it belongs
53315 echo "$CAIRO_PKG_ERRORS" >&5
53317 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
53318 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
53320 elif test $pkg_failed = untried; then
53321 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
53322 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
53325 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
53326 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
53327 { echo "$as_me:$LINENO: result: yes" >&5
53328 echo "${ECHO_T}yes" >&6; }
53329 cat >>confdefs.h <<\_ACEOF
53330 #define wxUSE_GRAPHICS_CONTEXT 1
53340 if test "$wxUSE_MEDIACTRL" = "yes"; then
53343 if test "$wxUSE_GTK" = 1; then
53344 wxUSE_GSTREAMER="no"
53346 GST_VERSION_MAJOR=0
53347 GST_VERSION_MINOR=10
53348 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
53350 if test "$wxUSE_GSTREAMER8" = "no"; then
53353 { echo "$as_me:$LINENO: checking for GST" >&5
53354 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
53356 if test -n "$PKG_CONFIG"; then
53357 if test -n "$GST_CFLAGS"; then
53358 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
53360 if test -n "$PKG_CONFIG" && \
53361 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
53362 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
53364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53365 (exit $ac_status); }; then
53366 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
53374 if test -n "$PKG_CONFIG"; then
53375 if test -n "$GST_LIBS"; then
53376 pkg_cv_GST_LIBS="$GST_LIBS"
53378 if test -n "$PKG_CONFIG" && \
53379 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
53380 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
53382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53383 (exit $ac_status); }; then
53384 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
53395 if test $pkg_failed = yes; then
53397 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
53398 _pkg_short_errors_supported=yes
53400 _pkg_short_errors_supported=no
53402 if test $_pkg_short_errors_supported = yes; then
53403 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
53405 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
53407 # Put the nasty error message in config.log where it belongs
53408 echo "$GST_PKG_ERRORS" >&5
53411 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
53412 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
53413 GST_VERSION_MINOR=8
53416 elif test $pkg_failed = untried; then
53418 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
53419 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
53420 GST_VERSION_MINOR=8
53424 GST_CFLAGS=$pkg_cv_GST_CFLAGS
53425 GST_LIBS=$pkg_cv_GST_LIBS
53426 { echo "$as_me:$LINENO: result: yes" >&5
53427 echo "${ECHO_T}yes" >&6; }
53429 wxUSE_GSTREAMER="yes"
53430 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
53434 GST_VERSION_MINOR=8
53437 if test $GST_VERSION_MINOR = "8"; then
53438 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
53441 { echo "$as_me:$LINENO: checking for GST" >&5
53442 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
53444 if test -n "$PKG_CONFIG"; then
53445 if test -n "$GST_CFLAGS"; then
53446 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
53448 if test -n "$PKG_CONFIG" && \
53449 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
53450 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
53452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53453 (exit $ac_status); }; then
53454 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
53462 if test -n "$PKG_CONFIG"; then
53463 if test -n "$GST_LIBS"; then
53464 pkg_cv_GST_LIBS="$GST_LIBS"
53466 if test -n "$PKG_CONFIG" && \
53467 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
53468 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
53470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53471 (exit $ac_status); }; then
53472 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
53483 if test $pkg_failed = yes; then
53485 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
53486 _pkg_short_errors_supported=yes
53488 _pkg_short_errors_supported=no
53490 if test $_pkg_short_errors_supported = yes; then
53491 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
53493 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
53495 # Put the nasty error message in config.log where it belongs
53496 echo "$GST_PKG_ERRORS" >&5
53499 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
53500 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
53502 elif test $pkg_failed = untried; then
53504 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
53505 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
53508 GST_CFLAGS=$pkg_cv_GST_CFLAGS
53509 GST_LIBS=$pkg_cv_GST_LIBS
53510 { echo "$as_me:$LINENO: result: yes" >&5
53511 echo "${ECHO_T}yes" >&6; }
53512 wxUSE_GSTREAMER="yes"
53517 if test "$wxUSE_GSTREAMER" = "yes"; then
53520 if "$GCC" = yes; then
53521 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
53522 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
53526 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
53527 LIBS="$GST_LIBS $LIBS"
53529 cat >>confdefs.h <<\_ACEOF
53530 #define wxUSE_GSTREAMER 1
53538 if test $USE_MEDIA = 1; then
53539 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
53540 cat >>confdefs.h <<\_ACEOF
53541 #define wxUSE_MEDIACTRL 1
53548 if test "$cross_compiling" = "yes"; then
53551 OSINFO=`uname
-s -r -m`
53552 OSINFO="\"$OSINFO\""
53555 cat >>confdefs.h <<_ACEOF
53556 #define WXWIN_OS_DESCRIPTION $OSINFO
53561 if test "x$prefix" != "xNONE"; then
53564 wxPREFIX=$ac_default_prefix
53567 cat >>confdefs.h <<_ACEOF
53568 #define wxINSTALL_PREFIX "$wxPREFIX"
53574 CORE_BASE_LIBS="net base"
53575 CORE_GUI_LIBS="adv core"
53577 if test "$wxUSE_XML" = "yes" ; then
53578 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
53580 if test "$wxUSE_ODBC" != "no" ; then
53581 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
53582 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
53584 if test "$wxUSE_HTML" = "yes" ; then
53585 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
53587 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
53588 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
53590 if test "$wxUSE_XRC" = "yes" ; then
53591 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
53593 if test "$wxUSE_AUI" = "yes" ; then
53594 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
53597 if test "$wxUSE_GUI" != "yes"; then
53606 if test "$wxUSE_MAC" = 1 ; then
53607 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
53608 if test "$USE_DARWIN" = 1; then
53609 LDFLAGS="$LDFLAGS -framework QuickTime"
53611 LDFLAGS="$LDFLAGS -lQuickTimeLib"
53614 if test "$USE_DARWIN" = 1; then
53615 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
53617 LDFLAGS="$LDFLAGS -lCarbonLib"
53620 if test "$wxUSE_COCOA" = 1 ; then
53621 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
53622 if test "$wxUSE_MEDIACTRL" = "yes"; then
53623 LDFLAGS="$LDFLAGS -framework QuickTime"
53626 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
53627 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
53630 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
53632 if test "$wxUSE_GUI" = "yes"; then
53635 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
53636 dynamic erase event exec font image minimal mobile \
53637 mobile/wxedit mobile/styles propsize render \
53638 rotate shaped vscroll widgets"
53640 if test "$wxUSE_MONOLITHIC" != "yes"; then
53641 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
53643 if test "$TOOLKIT" = "MSW"; then
53644 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
53645 if test "$wxUSE_UNIVERSAL" != "yes"; then
53646 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
53649 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
53650 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
53653 SAMPLES_SUBDIRS="console"
53657 if test "x$INTELCC" = "xyes" ; then
53658 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
53659 elif test "$GCC" = yes ; then
53660 CWARNINGS="-Wall -Wundef"
53663 if test "x$INTELCXX" = "xyes" ; then
53664 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
53665 elif test "$GXX" = yes ; then
53666 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
53670 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
53671 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
53674 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
53675 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
53676 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
53679 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
53680 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
53681 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
53683 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
53686 if test "x$MWCC" = "xyes"; then
53688 CC="$CC -cwd source -I-"
53689 CXX="$CXX -cwd source -I-"
53694 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
53695 EXTRALIBS_XML="$EXPAT_LINK"
53696 EXTRALIBS_HTML="$MSPACK_LINK"
53697 EXTRALIBS_ODBC="$ODBC_LINK"
53698 if test "$wxUSE_GUI" = "yes"; then
53699 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
53701 if test "$wxUSE_OPENGL" = "yes"; then
53702 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
53705 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
53707 WXCONFIG_LIBS="$LIBS"
53709 if test "$wxUSE_REGEX" = "builtin" ; then
53710 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
53712 if test "$wxUSE_EXPAT" = "builtin" ; then
53713 wxconfig_3rdparty="expat $wxconfig_3rdparty"
53715 if test "$wxUSE_ODBC" = "builtin" ; then
53716 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
53718 if test "$wxUSE_LIBTIFF" = "builtin" ; then
53719 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
53721 if test "$wxUSE_LIBJPEG" = "builtin" ; then
53722 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
53724 if test "$wxUSE_LIBPNG" = "builtin" ; then
53725 wxconfig_3rdparty="png $wxconfig_3rdparty"
53727 if test "$wxUSE_ZLIB" = "builtin" ; then
53728 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
53731 for i in $wxconfig_3rdparty ; do
53732 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
53736 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
53739 case "$wxUNIV_THEMES" in
53741 cat >>confdefs.h <<\_ACEOF
53742 #define wxUSE_ALL_THEMES 1
53748 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a
-z A
-Z`; do
53749 cat >>confdefs.h <<_ACEOF
53750 #define wxUSE_THEME_$t 1
53767 if test $wxUSE_MONOLITHIC = "yes" ; then
53773 if test $wxUSE_PLUGINS = "yes" ; then
53779 if test $wxUSE_ODBC != "no" ; then
53785 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
53791 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
53821 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
53832 TOOLKIT_DESC="GTK+"
53833 if test "$WXGTK20" = 1; then
53834 TOOLKIT_DESC="$TOOLKIT_DESC 2"
53835 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
53836 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
53838 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
53839 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
53841 if test "$wxUSE_LIBHILDON" = "yes"; then
53842 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
53845 if test "$TOOLKIT_EXTRA" != ""; then
53846 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
53852 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
53856 TOOLKIT_DESC="base only"
53860 if test "$wxUSE_WINE" = "yes"; then
53861 BAKEFILE_FORCE_PLATFORM=win32
53864 if test "$wxUSE_MAC" = 1 ; then
53865 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
53866 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
53867 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
53869 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
53871 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
53872 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
53873 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
53874 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
53877 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
53878 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
53881 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
53883 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
53884 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
53885 if test "${wx_cv_gcc_pch_bug+set}" = set; then
53886 echo $ECHO_N "(cached) $ECHO_C" >&6
53889 echo '#include <stdio.h>
53890 const wchar_t test_var[] = L"awidetest";' > conftest.h
53892 echo '#include "conftest.h"
53895 printf("%ls", test_var);
53899 wx_cv_gcc_pch_bug="pch not supported"
53901 if $CXX conftest.h >/dev/null 2>&1
53905 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
53907 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
53908 grep awidetest >/dev/null
53910 wx_cv_gcc_pch_bug=no
53912 wx_cv_gcc_pch_bug=yes
53917 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
53920 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
53921 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
53923 if test "$wx_cv_gcc_pch_bug" = yes; then
53931 if test "x$BAKEFILE_HOST" = "x"; then
53932 if test "x${host}" = "x" ; then
53933 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
53934 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
53935 { (exit 1); exit 1; }; }
53938 BAKEFILE_HOST="${host}"
53941 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
53943 if test -n "$ac_tool_prefix"; then
53944 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
53945 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
53946 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53948 if test "${ac_cv_prog_RANLIB+set}" = set; then
53949 echo $ECHO_N "(cached) $ECHO_C" >&6
53951 if test -n "$RANLIB"; then
53952 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
53954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53955 for as_dir in $PATH
53958 test -z "$as_dir" && as_dir=.
53959 for ac_exec_ext in '' $ac_executable_extensions; do
53960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
53961 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
53962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53971 RANLIB=$ac_cv_prog_RANLIB
53972 if test -n "$RANLIB"; then
53973 { echo "$as_me:$LINENO: result: $RANLIB" >&5
53974 echo "${ECHO_T}$RANLIB" >&6; }
53976 { echo "$as_me:$LINENO: result: no" >&5
53977 echo "${ECHO_T}no" >&6; }
53982 if test -z "$ac_cv_prog_RANLIB"; then
53983 ac_ct_RANLIB=$RANLIB
53984 # Extract the first word of "ranlib", so it can be a program name with args.
53985 set dummy ranlib; ac_word=$2
53986 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53988 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
53989 echo $ECHO_N "(cached) $ECHO_C" >&6
53991 if test -n "$ac_ct_RANLIB"; then
53992 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
53994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53995 for as_dir in $PATH
53998 test -z "$as_dir" && as_dir=.
53999 for ac_exec_ext in '' $ac_executable_extensions; do
54000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54001 ac_cv_prog_ac_ct_RANLIB="ranlib"
54002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54011 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
54012 if test -n "$ac_ct_RANLIB"; then
54013 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
54014 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
54016 { echo "$as_me:$LINENO: result: no" >&5
54017 echo "${ECHO_T}no" >&6; }
54020 if test "x$ac_ct_RANLIB" = x; then
54023 case $cross_compiling:$ac_tool_warned in
54025 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
54026 whose name does not start with the host triplet. If you think this
54027 configuration is useful to you, please write to autoconf@gnu.org." >&5
54028 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
54029 whose name does not start with the host triplet. If you think this
54030 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
54031 ac_tool_warned=yes ;;
54033 RANLIB=$ac_ct_RANLIB
54036 RANLIB="$ac_cv_prog_RANLIB"
54039 # Find a good install program. We prefer a C program (faster),
54040 # so one script is as good as another. But avoid the broken or
54041 # incompatible versions:
54042 # SysV /etc/install, /usr/sbin/install
54043 # SunOS /usr/etc/install
54044 # IRIX /sbin/install
54046 # AmigaOS /C/install, which installs bootblocks on floppy discs
54047 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
54048 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
54049 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
54050 # OS/2's system install, which has a completely different semantic
54051 # ./install, which can be erroneously created by make from ./install.sh.
54052 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
54053 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
54054 if test -z "$INSTALL"; then
54055 if test "${ac_cv_path_install+set}" = set; then
54056 echo $ECHO_N "(cached) $ECHO_C" >&6
54058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54059 for as_dir in $PATH
54062 test -z "$as_dir" && as_dir=.
54063 # Account for people who put trailing slashes in PATH elements.
54065 ./ | .// | /cC/* | \
54066 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
54067 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
54070 # OSF1 and SCO ODT 3.0 have their own names for install.
54071 # Don't use installbsd from OSF since it installs stuff as root
54073 for ac_prog in ginstall scoinst install; do
54074 for ac_exec_ext in '' $ac_executable_extensions; do
54075 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
54076 if test $ac_prog = install &&
54077 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
54078 # AIX install. It has an incompatible calling convention.
54080 elif test $ac_prog = install &&
54081 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
54082 # program-specific install script used by HP pwplus--don't use.
54085 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
54098 if test "${ac_cv_path_install+set}" = set; then
54099 INSTALL=$ac_cv_path_install
54101 # As a last resort, use the slow shell script. Don't cache a
54102 # value for INSTALL within a source directory, because that will
54103 # break other packages using the cache if that directory is
54104 # removed, or if the value is a relative name.
54105 INSTALL=$ac_install_sh
54108 { echo "$as_me:$LINENO: result: $INSTALL" >&5
54109 echo "${ECHO_T}$INSTALL" >&6; }
54111 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
54112 # It thinks the first close brace ends the variable substitution.
54113 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
54115 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
54117 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
54119 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
54120 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
54122 if test "$LN_S" = "ln -s"; then
54123 { echo "$as_me:$LINENO: result: yes" >&5
54124 echo "${ECHO_T}yes" >&6; }
54126 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
54127 echo "${ECHO_T}no, using $LN_S" >&6; }
54131 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
54132 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
54133 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
54134 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
54135 echo $ECHO_N "(cached) $ECHO_C" >&6
54137 cat >conftest.make <<\_ACEOF
54140 @echo '@@@%%%=$(MAKE)=@@@%%%'
54142 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
54143 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
54144 *@@@%%%=?*=@@@%%%*)
54145 eval ac_cv_prog_make_${ac_make}_set=yes;;
54147 eval ac_cv_prog_make_${ac_make}_set=no;;
54149 rm -f conftest.make
54151 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
54152 { echo "$as_me:$LINENO: result: yes" >&5
54153 echo "${ECHO_T}yes" >&6; }
54156 { echo "$as_me:$LINENO: result: no" >&5
54157 echo "${ECHO_T}no" >&6; }
54158 SET_MAKE="MAKE=${MAKE-make}"
54163 if test "x$SUNCXX" = "xyes"; then
54166 AROPTIONS=${AROPTIONS:-"-xar -o"}
54168 if test -n "$ac_tool_prefix"; then
54169 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
54170 set dummy ${ac_tool_prefix}ar; ac_word=$2
54171 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54173 if test "${ac_cv_prog_AR+set}" = set; then
54174 echo $ECHO_N "(cached) $ECHO_C" >&6
54176 if test -n "$AR"; then
54177 ac_cv_prog_AR="$AR" # Let the user override the test.
54179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54180 for as_dir in $PATH
54183 test -z "$as_dir" && as_dir=.
54184 for ac_exec_ext in '' $ac_executable_extensions; do
54185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54186 ac_cv_prog_AR="${ac_tool_prefix}ar"
54187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54197 if test -n "$AR"; then
54198 { echo "$as_me:$LINENO: result: $AR" >&5
54199 echo "${ECHO_T}$AR" >&6; }
54201 { echo "$as_me:$LINENO: result: no" >&5
54202 echo "${ECHO_T}no" >&6; }
54207 if test -z "$ac_cv_prog_AR"; then
54209 # Extract the first word of "ar", so it can be a program name with args.
54210 set dummy ar; ac_word=$2
54211 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54213 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
54214 echo $ECHO_N "(cached) $ECHO_C" >&6
54216 if test -n "$ac_ct_AR"; then
54217 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
54219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54220 for as_dir in $PATH
54223 test -z "$as_dir" && as_dir=.
54224 for ac_exec_ext in '' $ac_executable_extensions; do
54225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54226 ac_cv_prog_ac_ct_AR="ar"
54227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54236 ac_ct_AR=$ac_cv_prog_ac_ct_AR
54237 if test -n "$ac_ct_AR"; then
54238 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
54239 echo "${ECHO_T}$ac_ct_AR" >&6; }
54241 { echo "$as_me:$LINENO: result: no" >&5
54242 echo "${ECHO_T}no" >&6; }
54245 if test "x$ac_ct_AR" = x; then
54248 case $cross_compiling:$ac_tool_warned in
54250 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
54251 whose name does not start with the host triplet. If you think this
54252 configuration is useful to you, please write to autoconf@gnu.org." >&5
54253 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
54254 whose name does not start with the host triplet. If you think this
54255 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
54256 ac_tool_warned=yes ;;
54261 AR="$ac_cv_prog_AR"
54268 if test -n "$ac_tool_prefix"; then
54269 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
54270 set dummy ${ac_tool_prefix}strip; ac_word=$2
54271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54273 if test "${ac_cv_prog_STRIP+set}" = set; then
54274 echo $ECHO_N "(cached) $ECHO_C" >&6
54276 if test -n "$STRIP"; then
54277 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
54279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54280 for as_dir in $PATH
54283 test -z "$as_dir" && as_dir=.
54284 for ac_exec_ext in '' $ac_executable_extensions; do
54285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54286 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
54287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54296 STRIP=$ac_cv_prog_STRIP
54297 if test -n "$STRIP"; then
54298 { echo "$as_me:$LINENO: result: $STRIP" >&5
54299 echo "${ECHO_T}$STRIP" >&6; }
54301 { echo "$as_me:$LINENO: result: no" >&5
54302 echo "${ECHO_T}no" >&6; }
54307 if test -z "$ac_cv_prog_STRIP"; then
54309 # Extract the first word of "strip", so it can be a program name with args.
54310 set dummy strip; ac_word=$2
54311 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54313 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
54314 echo $ECHO_N "(cached) $ECHO_C" >&6
54316 if test -n "$ac_ct_STRIP"; then
54317 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
54319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54320 for as_dir in $PATH
54323 test -z "$as_dir" && as_dir=.
54324 for ac_exec_ext in '' $ac_executable_extensions; do
54325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54326 ac_cv_prog_ac_ct_STRIP="strip"
54327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54336 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
54337 if test -n "$ac_ct_STRIP"; then
54338 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
54339 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
54341 { echo "$as_me:$LINENO: result: no" >&5
54342 echo "${ECHO_T}no" >&6; }
54345 if test "x$ac_ct_STRIP" = x; then
54348 case $cross_compiling:$ac_tool_warned in
54350 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
54351 whose name does not start with the host triplet. If you think this
54352 configuration is useful to you, please write to autoconf@gnu.org." >&5
54353 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
54354 whose name does not start with the host triplet. If you think this
54355 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
54356 ac_tool_warned=yes ;;
54361 STRIP="$ac_cv_prog_STRIP"
54364 if test -n "$ac_tool_prefix"; then
54365 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
54366 set dummy ${ac_tool_prefix}nm; ac_word=$2
54367 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54369 if test "${ac_cv_prog_NM+set}" = set; then
54370 echo $ECHO_N "(cached) $ECHO_C" >&6
54372 if test -n "$NM"; then
54373 ac_cv_prog_NM="$NM" # Let the user override the test.
54375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54376 for as_dir in $PATH
54379 test -z "$as_dir" && as_dir=.
54380 for ac_exec_ext in '' $ac_executable_extensions; do
54381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54382 ac_cv_prog_NM="${ac_tool_prefix}nm"
54383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54393 if test -n "$NM"; then
54394 { echo "$as_me:$LINENO: result: $NM" >&5
54395 echo "${ECHO_T}$NM" >&6; }
54397 { echo "$as_me:$LINENO: result: no" >&5
54398 echo "${ECHO_T}no" >&6; }
54403 if test -z "$ac_cv_prog_NM"; then
54405 # Extract the first word of "nm", so it can be a program name with args.
54406 set dummy nm; ac_word=$2
54407 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54409 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
54410 echo $ECHO_N "(cached) $ECHO_C" >&6
54412 if test -n "$ac_ct_NM"; then
54413 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
54415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54416 for as_dir in $PATH
54419 test -z "$as_dir" && as_dir=.
54420 for ac_exec_ext in '' $ac_executable_extensions; do
54421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54422 ac_cv_prog_ac_ct_NM="nm"
54423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54432 ac_ct_NM=$ac_cv_prog_ac_ct_NM
54433 if test -n "$ac_ct_NM"; then
54434 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
54435 echo "${ECHO_T}$ac_ct_NM" >&6; }
54437 { echo "$as_me:$LINENO: result: no" >&5
54438 echo "${ECHO_T}no" >&6; }
54441 if test "x$ac_ct_NM" = x; then
54444 case $cross_compiling:$ac_tool_warned in
54446 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
54447 whose name does not start with the host triplet. If you think this
54448 configuration is useful to you, please write to autoconf@gnu.org." >&5
54449 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
54450 whose name does not start with the host triplet. If you think this
54451 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
54452 ac_tool_warned=yes ;;
54457 NM="$ac_cv_prog_NM"
54461 case ${BAKEFILE_HOST} in
54463 INSTALL_DIR="mkdir -p"
54466 INSTALL_DIR='$(INSTALL) -d'
54472 case ${BAKEFILE_HOST} in
54473 *-*-cygwin* | *-*-mingw32* )
54474 LDFLAGS_GUI="-mwindows"
54480 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
54481 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
54482 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
54483 echo $ECHO_N "(cached) $ECHO_C" >&6
54486 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
54487 egrep -s GNU > /dev/null); then
54488 bakefile_cv_prog_makeisgnu="yes"
54490 bakefile_cv_prog_makeisgnu="no"
54494 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
54495 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
54497 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
54514 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
54515 case "${BAKEFILE_HOST}" in
54522 *-pc-os2_emx | *-pc-os2-emx )
54532 powerpc-apple-macos* )
54541 case "$BAKEFILE_FORCE_PLATFORM" in
54562 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
54563 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
54564 { (exit 1); exit 1; }; }
54579 # Check whether --enable-omf was given.
54580 if test "${enable_omf+set}" = set; then
54581 enableval=$enable_omf; bk_os2_use_omf="$enableval"
54585 case "${BAKEFILE_HOST}" in
54587 if test "x$GCC" = "xyes"; then
54588 CFLAGS="$CFLAGS -fno-common"
54589 CXXFLAGS="$CXXFLAGS -fno-common"
54591 if test "x$XLCC" = "xyes"; then
54592 CFLAGS="$CFLAGS -qnocommon"
54593 CXXFLAGS="$CXXFLAGS -qnocommon"
54597 *-pc-os2_emx | *-pc-os2-emx )
54598 if test "x$bk_os2_use_omf" = "xyes" ; then
54601 LDFLAGS="-Zomf $LDFLAGS"
54602 CFLAGS="-Zomf $CFLAGS"
54603 CXXFLAGS="-Zomf $CXXFLAGS"
54611 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
54617 SO_SUFFIX_MODULE="so"
54622 DLLPREFIX_MODULE=""
54626 case "${BAKEFILE_HOST}" in
54629 SO_SUFFIX_MODULE="sl"
54633 SO_SUFFIX_MODULE="a"
54637 SO_SUFFIX_MODULE="dll"
54638 DLLIMP_SUFFIX="dll.a"
54645 SO_SUFFIX_MODULE="dll"
54646 DLLIMP_SUFFIX="dll.a"
54656 *-pc-os2_emx | *-pc-os2-emx )
54658 SO_SUFFIX_MODULE="dll"
54659 DLLIMP_SUFFIX=$OS2_LIBEXT
54663 LIBEXT=".$OS2_LIBEXT"
54668 SO_SUFFIX_MODULE="bundle"
54672 if test "x$DLLIMP_SUFFIX" = "x" ; then
54673 DLLIMP_SUFFIX="$SO_SUFFIX"
54688 if test "x$GCC" = "xyes"; then
54692 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
54693 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
54696 case "${BAKEFILE_HOST}" in
54698 if test "x$GCC" != "xyes"; then
54699 LDFLAGS="$LDFLAGS -L/usr/lib"
54701 SHARED_LD_CC="${CC} -b -o"
54702 SHARED_LD_CXX="${CXX} -b -o"
54708 if test "x$GCC" != "xyes"; then
54709 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
54710 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
54711 if test "${bakefile_cv_prog_icc+set}" = set; then
54712 echo $ECHO_N "(cached) $ECHO_C" >&6
54715 cat >conftest.$ac_ext <<_ACEOF
54718 cat confdefs.h >>conftest.$ac_ext
54719 cat >>conftest.$ac_ext <<_ACEOF
54720 /* end confdefs.h. */
54726 #ifndef __INTEL_COMPILER
54734 rm -f conftest.$ac_objext
54735 if { (ac_try="$ac_compile"
54736 case "(($ac_try" in
54737 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
54738 *) ac_try_echo
=$ac_try;;
54740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54741 (eval "$ac_compile") 2>conftest.er1
54743 grep -v '^ *+' conftest.er1
>conftest.err
54745 cat conftest.err
>&5
54746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54747 (exit $ac_status); } &&
54748 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
54749 { (case "(($ac_try" in
54750 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
54751 *) ac_try_echo=$ac_try;;
54753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54754 (eval "$ac_try") 2>&5
54756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54757 (exit $ac_status); }; } &&
54758 { ac_try='test -s conftest.$ac_objext'
54759 { (case "(($ac_try" in
54760 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
54761 *) ac_try_echo
=$ac_try;;
54763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54764 (eval "$ac_try") 2>&5
54766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54767 (exit $ac_status); }; }; then
54768 bakefile_cv_prog_icc
=yes
54770 echo "$as_me: failed program was:" >&5
54771 sed 's/^/| /' conftest.
$ac_ext >&5
54773 bakefile_cv_prog_icc
=no
54777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
54780 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
54781 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
54782 if test "$bakefile_cv_prog_icc" = "yes"; then
54789 if test "x$GCC" != xyes
; then
54790 SHARED_LD_CC
="${CC} -G -o"
54791 SHARED_LD_CXX
="${CXX} -G -o"
54799 cat <<EOF >shared-ld-sh
54801 #-----------------------------------------------------------------------------
54802 #-- Name: distrib/mac/shared-ld-sh
54803 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
54804 #-- Author: Gilles Depeyrot
54805 #-- Copyright: (c) 2002 Gilles Depeyrot
54806 #-- Licence: any use permitted
54807 #-----------------------------------------------------------------------------
54812 linking_flag="-dynamiclib"
54813 ldargs="-r -keep_private_externs -nostdlib"
54815 while test ${D}# -gt 0; do
54822 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
54823 # collect these options and values
54824 args="${D}{args} ${D}1 ${D}2"
54829 # collect these load args
54830 ldargs="${D}{ldargs} ${D}1"
54833 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
54834 # collect these options
54835 args="${D}{args} ${D}1"
54838 -dynamiclib|-bundle)
54839 linking_flag="${D}1"
54843 echo "shared-ld: unhandled option '${D}1'"
54847 *.o | *.a | *.dylib)
54848 # collect object files
54849 objects="${D}{objects} ${D}1"
54853 echo "shared-ld: unhandled argument '${D}1'"
54864 # Link one module containing all the others
54866 if test ${D}{verbose} = 1; then
54867 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
54869 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
54873 # Link the shared library from the single module created, but only if the
54874 # previous command didn't fail:
54876 if test ${D}{status} = 0; then
54877 if test ${D}{verbose} = 1; then
54878 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
54880 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
54885 # Remove intermediate module
54887 rm -f master.${D}${D}.o
54892 chmod +x shared
-ld-sh
54894 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
54895 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
54898 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
54899 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
54900 if test "${bakefile_cv_gcc31+set}" = set; then
54901 echo $ECHO_N "(cached) $ECHO_C" >&6
54904 cat >conftest.
$ac_ext <<_ACEOF
54907 cat confdefs.h
>>conftest.
$ac_ext
54908 cat >>conftest.
$ac_ext <<_ACEOF
54909 /* end confdefs.h. */
54915 #if (__GNUC__ < 3) || \
54916 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
54924 rm -f conftest.
$ac_objext
54925 if { (ac_try
="$ac_compile"
54926 case "(($ac_try" in
54927 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
54928 *) ac_try_echo=$ac_try;;
54930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54931 (eval "$ac_compile") 2>conftest.er1
54933 grep -v '^ *+' conftest.er1 >conftest.err
54935 cat conftest.err >&5
54936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54937 (exit $ac_status); } &&
54938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
54939 { (case "(($ac_try" in
54940 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
54941 *) ac_try_echo
=$ac_try;;
54943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54944 (eval "$ac_try") 2>&5
54946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54947 (exit $ac_status); }; } &&
54948 { ac_try
='test -s conftest.$ac_objext'
54949 { (case "(($ac_try" in
54950 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
54951 *) ac_try_echo=$ac_try;;
54953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54954 (eval "$ac_try") 2>&5
54956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54957 (exit $ac_status); }; }; then
54959 bakefile_cv_gcc31=yes
54962 echo "$as_me: failed program was:" >&5
54963 sed 's/^/| /' conftest.$ac_ext >&5
54966 bakefile_cv_gcc31=no
54971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54974 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
54975 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
54976 if test "$bakefile_cv_gcc31" = "no"; then
54977 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
54978 SHARED_LD_CXX="$SHARED_LD_CC"
54980 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
54981 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
54984 if test "x$GCC" == "xyes"; then
54985 PIC_FLAG="-dynamic -fPIC"
54987 if test "x$XLCC" = "xyes"; then
54988 PIC_FLAG="-dynamic -DPIC"
54993 if test "x$GCC" = "xyes"; then
54996 case "${BAKEFILE_HOST}" in
54998 LD_EXPFULL="-Wl,-bexpfull"
55002 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
55003 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
55005 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
55006 set dummy makeC++SharedLib; ac_word=$2
55007 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55009 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
55010 echo $ECHO_N "(cached) $ECHO_C" >&6
55012 if test -n "$AIX_CXX_LD"; then
55013 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
55015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55016 for as_dir in $PATH
55019 test -z "$as_dir" && as_dir=.
55020 for ac_exec_ext in '' $ac_executable_extensions; do
55021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
55022 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
55023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55030 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
55033 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
55034 if test -n "$AIX_CXX_LD"; then
55035 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
55036 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
55038 { echo "$as_me:$LINENO: result: no" >&5
55039 echo "${ECHO_T}no" >&6; }
55043 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
55044 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
55049 SHARED_LD_CC="${LD} -nostart -o"
55050 SHARED_LD_CXX="${LD} -nostart -o"
55054 if test "x$GCC" != "xyes"; then
55059 *-*-cygwin* | *-*-mingw32* )
55061 SHARED_LD_CC="\$(CC) -shared -o"
55062 SHARED_LD_CXX="\$(CXX) -shared -o"
55066 *-pc-os2_emx | *-pc-os2-emx )
55067 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55068 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55072 cat <<EOF >dllar.sh
55075 # dllar - a tool to build both a .dll and an .a file
55076 # from a set of object (.o) files for EMX/OS2.
55078 # Written by Andrew Zabolotny, bit@freya.etu.ru
55079 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
55081 # This script will accept a set of files on the command line.
55082 # All the public symbols from the .o files will be exported into
55083 # a .DEF file, then linker will be run (through gcc) against them to
55084 # build a shared library consisting of all given .o files. All libraries
55085 # (.a) will be first decompressed into component .o files then act as
55086 # described above. You can optionally give a description (-d "description")
55087 # which will be put into .DLL. To see the list of accepted options (as well
55088 # as command-line format) simply run this program without options. The .DLL
55089 # is built to be imported by name (there is no guarantee that new versions
55090 # of the library you build will have same ordinals for same symbols).
55092 # dllar is free software; you can redistribute it and/or modify
55093 # it under the terms of the GNU General Public License as published by
55094 # the Free Software Foundation; either version 2, or (at your option)
55095 # any later version.
55097 # dllar is distributed in the hope that it will be useful,
55098 # but WITHOUT ANY WARRANTY; without even the implied warranty of
55099 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
55100 # GNU General Public License for more details.
55102 # You should have received a copy of the GNU General Public License
55103 # along with dllar; see the file COPYING. If not, write to the Free
55104 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
55107 # To successfuly run this program you will need:
55108 # - Current drive should have LFN support (HPFS, ext2, network, etc)
55109 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
55111 # (used to build the .dll)
55113 # (used to create .def file from .o files)
55115 # (used to create .a file from .def file)
55116 # - GNU text utilites (cat, sort, uniq)
55117 # used to process emxexp output
55118 # - GNU file utilities (mv, rm)
55120 # - lxlite (optional, see flag below)
55121 # (used for general .dll cleanup)
55128 # basnam, variant of basename, which does _not_ remove the path, _iff_
55129 # second argument (suffix to remove) is given
55133 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
55136 echo ${D}1 | sed 's/'${D}2'${D}//'
55139 echo "error in basnam ${D}*"
55145 # Cleanup temporary files and output
55148 for i in ${D}inputFiles ; do
55151 rm -rf \`basnam
${D}i
!\
`
55158 # Kill result in case of failure as there is just to many stupid make/nmake
55159 # things out there which doesn't do this.
55160 if [ ${D}# -eq 0 ]; then
55161 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
55165 # Print usage and exit script with rc=1.
55167 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
55168 echo ' [-name-mangler-script script.sh]'
55169 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
55170 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
55171 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
55172 echo ' [*.o] [*.a]'
55173 echo '*> "output_file" should have no extension.'
55174 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
55175 echo ' The import library name is derived from this and is set to "name".a,'
55176 echo ' unless overridden by -import'
55177 echo '*> "importlib_name" should have no extension.'
55178 echo ' If it has the .o, or .a extension, it is automatically removed.'
55179 echo ' This name is used as the import library name and may be longer and'
55180 echo ' more descriptive than the DLL name which has to follow the old '
55181 echo ' 8.3 convention of FAT.'
55182 echo '*> "script.sh may be given to override the output_file name by a'
55183 echo ' different name. It is mainly useful if the regular make process'
55184 echo ' of some package does not take into account OS/2 restriction of'
55185 echo ' DLL name lengths. It takes the importlib name as input and is'
55186 echo ' supposed to procude a shorter name as output. The script should'
55187 echo ' expect to get importlib_name without extension and should produce'
55188 echo ' a (max.) 8 letter name without extension.'
55189 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
55190 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
55191 echo ' These flags will be put at the start of GCC command line.'
55192 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
55193 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
55194 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
55195 echo ' If the last character of a symbol is "*", all symbols beginning'
55196 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
55197 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
55198 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
55199 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
55200 echo ' C runtime DLLs.'
55201 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
55202 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
55203 echo ' unchanged to GCC at the end of command line.'
55204 echo '*> If you create a DLL from a library and you do not specify -o,'
55205 echo ' the basename for DLL and import library will be set to library name,'
55206 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
55207 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
55208 echo ' library will be renamed into gcc_s.a.'
55211 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
55212 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
55217 # Execute a command.
55218 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
55219 # @Uses Whatever CleanUp() uses.
55225 if [ ${D}rcCmd -ne 0 ]; then
55226 echo "command failed, exit code="${D}rcCmd
55241 CFLAGS="-s -Zcrtdll"
55243 EXPORT_BY_ORDINALS=0
55248 case ${D}curDirS in
55252 curDirS=${D}{curDirS}"/"
55255 # Parse commandline
55258 while [ ${D}1 ]; do
55261 EXPORT_BY_ORDINALS=1;
55271 -name-mangler-script)
55292 exclude_symbols=${D}{exclude_symbols}${D}1" "
55296 library_flags=${D}{library_flags}${D}1" "
55315 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
55318 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
55319 if [ ${D}omfLinking -eq 1 ]; then
55320 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
55322 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
55327 if [ ${D}libsToLink -ne 0 ]; then
55328 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
55330 for file in ${D}1 ; do
55331 if [ -f ${D}file ]; then
55332 inputFiles="${D}{inputFiles} ${D}file"
55336 if [ ${D}found -eq 0 ]; then
55337 echo "ERROR: No file(s) found: "${D}1
55344 done # iterate cmdline words
55347 if [ -z "${D}inputFiles" ]; then
55348 echo "dllar: no input files"
55352 # Now extract all .o files from .a files
55354 for file in ${D}inputFiles ; do
55365 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
55370 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
55372 if [ ${D}? -ne 0 ]; then
55373 echo "Failed to create subdirectory ./${D}dirname"
55377 # Append '!' to indicate archive
55378 newInputFiles="${D}newInputFiles ${D}{dirname}!"
55379 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
55382 for subfile in ${D}dirname/*.o* ; do
55383 if [ -f ${D}subfile ]; then
55385 if [ -s ${D}subfile ]; then
55386 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
55387 newInputFiles="${D}newInputFiles ${D}subfile"
55391 if [ ${D}found -eq 0 ]; then
55392 echo "WARNING: there are no files in archive \\'${D}file\\'"
55396 newInputFiles="${D}{newInputFiles} ${D}file"
55400 inputFiles="${D}newInputFiles"
55402 # Output filename(s).
55404 if [ -z ${D}outFile ]; then
55406 set outFile ${D}inputFiles; outFile=${D}2
55409 # If it is an archive, remove the '!' and the '_%' suffixes
55410 case ${D}outFile in
55412 outFile=\`basnam
${D}outFile _
%!\
`
55417 case ${D}outFile in
55419 outFile=\`basnam
${D}outFile .dll\
`
55422 outFile=\`basnam
${D}outFile .DLL\
`
55425 outFile=\`basnam
${D}outFile .o\
`
55428 outFile=\`basnam
${D}outFile .obj\
`
55431 outFile=\`basnam
${D}outFile .a\
`
55434 outFile=\`basnam
${D}outFile .lib\
`
55439 case ${D}outimpFile in
55441 outimpFile=\`basnam
${D}outimpFile .a\
`
55444 outimpFile=\`basnam
${D}outimpFile .lib\
`
55449 if [ -z ${D}outimpFile ]; then
55450 outimpFile=${D}outFile
55452 defFile="${D}{outFile}.def"
55453 arcFile="${D}{outimpFile}.a"
55454 arcFile2="${D}{outimpFile}.lib"
55456 #create ${D}dllFile as something matching 8.3 restrictions,
55457 if [ -z ${D}renameScript ] ; then
55458 dllFile="${D}outFile"
55460 dllFile=\`${D}renameScript
${D}outimpFile\
`
55463 if [ ${D}do_backup -ne 0 ] ; then
55464 if [ -f ${D}arcFile ] ; then
55465 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
55467 if [ -f ${D}arcFile2 ] ; then
55468 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
55472 # Extract public symbols from all the object files.
55473 tmpdefFile=${D}{defFile}_%
55474 rm -f ${D}tmpdefFile
55475 for file in ${D}inputFiles ; do
55480 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
55485 # Create the def file.
55487 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
55488 dllFile="${D}{dllFile}.dll"
55489 if [ ! -z ${D}description ]; then
55490 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
55492 echo "EXPORTS" >> ${D}defFile
55494 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
55495 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
55497 # Checks if the export is ok or not.
55498 for word in ${D}exclude_symbols; do
55499 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
55500 mv ${D}{tmpdefFile}% ${D}tmpdefFile
55504 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
55505 sed "=" < ${D}tmpdefFile | \\
55509 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
55511 ' > ${D}{tmpdefFile}%
55512 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
55514 rm -f ${D}{tmpdefFile}%
55516 cat ${D}tmpdefFile >> ${D}defFile
55517 rm -f ${D}tmpdefFile
55519 # Do linking, create implib, and apply lxlite.
55521 for file in ${D}inputFiles ; do
55526 gccCmdl="${D}gccCmdl ${D}file"
55530 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
55531 touch "${D}{outFile}.dll"
55533 doCommand "emximp -o ${D}arcFile ${D}defFile"
55534 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
55536 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
55539 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
55541 doCommand "emxomf -s -l ${D}arcFile"
55551 powerpc-apple-macos* | \
55552 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
55564 if test "x$PIC_FLAG" != "x" ; then
55565 PIC_FLAG="$PIC_FLAG -DPIC"
55568 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
55569 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
55571 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
55572 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
55591 case "${BAKEFILE_HOST}" in
55592 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
55593 SONAME_FLAG="-Wl,-soname,"
55627 # Check whether --enable-dependency-tracking was given.
55628 if test "${enable_dependency_tracking+set}" = set; then
55629 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
55633 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
55634 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
55637 if test "x$bk_use_trackdeps" = "xno" ; then
55639 { echo "$as_me:$LINENO: result: disabled" >&5
55640 echo "${ECHO_T}disabled" >&6; }
55644 if test "x$GCC" = "xyes"; then
55646 case "${BAKEFILE_HOST}" in
55648 DEPSFLAG="-no-cpp-precomp -MMD"
55654 { echo "$as_me:$LINENO: result: gcc" >&5
55655 echo "${ECHO_T}gcc" >&6; }
55656 elif test "x$MWCC" = "xyes"; then
55659 { echo "$as_me:$LINENO: result: mwcc" >&5
55660 echo "${ECHO_T}mwcc" >&6; }
55661 elif test "x$SUNCC" = "xyes"; then
55664 { echo "$as_me:$LINENO: result: Sun cc" >&5
55665 echo "${ECHO_T}Sun cc" >&6; }
55666 elif test "x$SGICC" = "xyes"; then
55669 { echo "$as_me:$LINENO: result: SGI cc" >&5
55670 echo "${ECHO_T}SGI cc" >&6; }
55671 elif test "x$HPCC" = "xyes"; then
55674 { echo "$as_me:$LINENO: result: HP cc" >&5
55675 echo "${ECHO_T}HP cc" >&6; }
55676 elif test "x$COMPAQCC" = "xyes"; then
55679 { echo "$as_me:$LINENO: result: Compaq cc" >&5
55680 echo "${ECHO_T}Compaq cc" >&6; }
55683 { echo "$as_me:$LINENO: result: none" >&5
55684 echo "${ECHO_T}none" >&6; }
55687 if test $DEPS_TRACKING = 1 ; then
55693 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
55694 # script. It is used to track C/C++ files dependencies in portable way.
55696 # Permission is given to use this file in any way.
55698 DEPSMODE=${DEPSMODE}
55700 DEPSFLAG="${DEPSFLAG}"
55702 mkdir -p ${D}DEPSDIR
55704 if test ${D}DEPSMODE = gcc ; then
55705 ${D}* ${D}{DEPSFLAG}
55707 if test ${D}{status} != 0 ; then
55710 # move created file to the location we want it in:
55711 while test ${D}# -gt 0; do
55725 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
55726 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
55727 if test -f ${D}depfile ; then
55728 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
55731 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
55732 depfile=\`basename ${D}objfile
| sed -e 's/\\..*${D}/.d/g'\
`
55733 if test ! -f ${D}depfile ; then
55734 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
55735 depfile="${D}objfile.d"
55737 if test -f ${D}depfile ; then
55738 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
55743 elif test ${D}DEPSMODE = mwcc ; then
55744 ${D}* || exit ${D}?
55745 # Run mwcc again with -MM and redirect into the dep file we want
55746 # NOTE: We can't use shift here because we need ${D}* to be valid
55748 for arg in ${D}* ; do
55749 if test "${D}prevarg" = "-o"; then
55762 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
55764 elif test ${D}DEPSMODE = unixcc; then
55765 ${D}* || exit ${D}?
55766 # Run compiler again with deps flag and redirect into the dep file.
55767 # It doesn't work if the '-o FILE' option is used, but without it the
55768 # dependency file will contain the wrong name for the object. So it is
55769 # removed from the command line, and the dep file is fixed with sed.
55771 while test ${D}# -gt 0; do
55778 eval arg${D}#=\\${D}1
55779 cmd="${D}cmd \\${D}arg${D}#"
55784 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
55793 BK_DEPS="`pwd`/bk-deps"
55801 case ${BAKEFILE_HOST} in
55802 *-*-cygwin* | *-*-mingw32* )
55803 if test -n "$ac_tool_prefix"; then
55804 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
55805 set dummy ${ac_tool_prefix}windres; ac_word=$2
55806 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55808 if test "${ac_cv_prog_WINDRES+set}" = set; then
55809 echo $ECHO_N "(cached) $ECHO_C" >&6
55811 if test -n "$WINDRES"; then
55812 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
55814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55815 for as_dir in $PATH
55818 test -z "$as_dir" && as_dir=.
55819 for ac_exec_ext in '' $ac_executable_extensions; do
55820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
55821 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
55822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55831 WINDRES=$ac_cv_prog_WINDRES
55832 if test -n "$WINDRES"; then
55833 { echo "$as_me:$LINENO: result: $WINDRES" >&5
55834 echo "${ECHO_T}$WINDRES" >&6; }
55836 { echo "$as_me:$LINENO: result: no" >&5
55837 echo "${ECHO_T}no" >&6; }
55842 if test -z "$ac_cv_prog_WINDRES"; then
55843 ac_ct_WINDRES=$WINDRES
55844 # Extract the first word of "windres", so it can be a program name with args.
55845 set dummy windres; ac_word=$2
55846 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55848 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
55849 echo $ECHO_N "(cached) $ECHO_C" >&6
55851 if test -n "$ac_ct_WINDRES"; then
55852 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
55854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55855 for as_dir in $PATH
55858 test -z "$as_dir" && as_dir=.
55859 for ac_exec_ext in '' $ac_executable_extensions; do
55860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
55861 ac_cv_prog_ac_ct_WINDRES="windres"
55862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55871 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
55872 if test -n "$ac_ct_WINDRES"; then
55873 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
55874 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
55876 { echo "$as_me:$LINENO: result: no" >&5
55877 echo "${ECHO_T}no" >&6; }
55880 if test "x$ac_ct_WINDRES" = x; then
55883 case $cross_compiling:$ac_tool_warned in
55885 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
55886 whose name does not start with the host triplet. If you think this
55887 configuration is useful to you, please write to autoconf@gnu.org." >&5
55888 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
55889 whose name does not start with the host triplet. If you think this
55890 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
55891 ac_tool_warned=yes ;;
55893 WINDRES=$ac_ct_WINDRES
55896 WINDRES="$ac_cv_prog_WINDRES"
55901 *-*-darwin* | powerpc-apple-macos* )
55902 # Extract the first word of "Rez", so it can be a program name with args.
55903 set dummy Rez; ac_word=$2
55904 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55906 if test "${ac_cv_prog_REZ+set}" = set; then
55907 echo $ECHO_N "(cached) $ECHO_C" >&6
55909 if test -n "$REZ"; then
55910 ac_cv_prog_REZ="$REZ" # Let the user override the test.
55912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55913 for as_dir in $PATH
55916 test -z "$as_dir" && as_dir=.
55917 for ac_exec_ext in '' $ac_executable_extensions; do
55918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
55919 ac_cv_prog_REZ="Rez"
55920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55927 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
55930 REZ=$ac_cv_prog_REZ
55931 if test -n "$REZ"; then
55932 { echo "$as_me:$LINENO: result: $REZ" >&5
55933 echo "${ECHO_T}$REZ" >&6; }
55935 { echo "$as_me:$LINENO: result: no" >&5
55936 echo "${ECHO_T}no" >&6; }
55940 # Extract the first word of "SetFile", so it can be a program name with args.
55941 set dummy SetFile; ac_word=$2
55942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55944 if test "${ac_cv_prog_SETFILE+set}" = set; then
55945 echo $ECHO_N "(cached) $ECHO_C" >&6
55947 if test -n "$SETFILE"; then
55948 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
55950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55951 for as_dir in $PATH
55954 test -z "$as_dir" && as_dir=.
55955 for ac_exec_ext in '' $ac_executable_extensions; do
55956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
55957 ac_cv_prog_SETFILE="SetFile"
55958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55965 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
55968 SETFILE=$ac_cv_prog_SETFILE
55969 if test -n "$SETFILE"; then
55970 { echo "$as_me:$LINENO: result: $SETFILE" >&5
55971 echo "${ECHO_T}$SETFILE" >&6; }
55973 { echo "$as_me:$LINENO: result: no" >&5
55974 echo "${ECHO_T}no" >&6; }
55986 BAKEFILE_BAKEFILE_M4_VERSION="0.2.1"
55989 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.1"
55993 # Check whether --enable-precomp-headers was given.
55994 if test "${enable_precomp_headers+set}" = set; then
55995 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
56004 case ${BAKEFILE_HOST} in
56010 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
56011 if test "x$GCC" = "xyes"; then
56012 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
56013 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
56014 cat >conftest.$ac_ext <<_ACEOF
56017 cat confdefs.h >>conftest.$ac_ext
56018 cat >>conftest.$ac_ext <<_ACEOF
56019 /* end confdefs.h. */
56025 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
56026 There is no PCH support
56029 There is no PCH support
56031 #if (__GNUC__ == 3) && \
56032 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
56033 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
56034 ( defined(__INTEL_COMPILER) )
56035 There is no PCH support
56042 rm -f conftest.$ac_objext
56043 if { (ac_try="$ac_compile"
56044 case "(($ac_try" in
56045 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
56046 *) ac_try_echo
=$ac_try;;
56048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56049 (eval "$ac_compile") 2>conftest.er1
56051 grep -v '^ *+' conftest.er1
>conftest.err
56053 cat conftest.err
>&5
56054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56055 (exit $ac_status); } &&
56056 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
56057 { (case "(($ac_try" in
56058 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
56059 *) ac_try_echo=$ac_try;;
56061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56062 (eval "$ac_try") 2>&5
56064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56065 (exit $ac_status); }; } &&
56066 { ac_try='test -s conftest.$ac_objext'
56067 { (case "(($ac_try" in
56068 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
56069 *) ac_try_echo
=$ac_try;;
56071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56072 (eval "$ac_try") 2>&5
56074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56075 (exit $ac_status); }; }; then
56077 { echo "$as_me:$LINENO: result: yes" >&5
56078 echo "${ECHO_T}yes" >&6; }
56082 echo "$as_me: failed program was:" >&5
56083 sed 's/^/| /' conftest.
$ac_ext >&5
56086 cat >conftest.
$ac_ext <<_ACEOF
56089 cat confdefs.h
>>conftest.
$ac_ext
56090 cat >>conftest.
$ac_ext <<_ACEOF
56091 /* end confdefs.h. */
56097 #if !defined(__INTEL_COMPILER) || \
56098 (__INTEL_COMPILER < 800)
56099 There is no PCH support
56106 rm -f conftest.
$ac_objext
56107 if { (ac_try
="$ac_compile"
56108 case "(($ac_try" in
56109 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
56110 *) ac_try_echo=$ac_try;;
56112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56113 (eval "$ac_compile") 2>conftest.er1
56115 grep -v '^ *+' conftest.er1 >conftest.err
56117 cat conftest.err >&5
56118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56119 (exit $ac_status); } &&
56120 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
56121 { (case "(($ac_try" in
56122 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
56123 *) ac_try_echo
=$ac_try;;
56125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56126 (eval "$ac_try") 2>&5
56128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56129 (exit $ac_status); }; } &&
56130 { ac_try
='test -s conftest.$ac_objext'
56131 { (case "(($ac_try" in
56132 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
56133 *) ac_try_echo=$ac_try;;
56135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56136 (eval "$ac_try") 2>&5
56138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56139 (exit $ac_status); }; }; then
56141 { echo "$as_me:$LINENO: result: yes" >&5
56142 echo "${ECHO_T}yes" >&6; }
56146 echo "$as_me: failed program was:" >&5
56147 sed 's/^/| /' conftest.$ac_ext >&5
56150 { echo "$as_me:$LINENO: result: no" >&5
56151 echo "${ECHO_T}no" >&6; }
56155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56160 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
56164 cat <<EOF >bk-make-pch
56167 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
56168 # script. It is used to generated precompiled headers.
56170 # Permission is given to use this file in any way.
56180 while test ${D}{#} -gt 0; do
56184 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
56185 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
56186 headerfile="${D}{incdir}/${D}{header}"
56189 -use-pch|-use_pch )
56194 if test ${D}add_to_cmdline = 1 ; then
56195 compiler="${D}{compiler} ${D}{1}"
56200 if test "x${D}{headerfile}" = "x" ; then
56201 echo "error: can't find header ${D}{header} in include paths" >&2
56203 if test -f ${D}{outfile} ; then
56204 rm -f ${D}{outfile}
56206 mkdir -p \`dirname ${D}{outfile
}\
`
56208 depsfile=".deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
56210 if test "x${GCC_PCH}" = "x1" ; then
56211 # can do this because gcc is >= 3.4:
56212 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
56213 elif test "x${ICC_PCH}" = "x1" ; then
56214 filename=pch_gen-${D}${D}
56215 file=${D}{filename}.c
56216 dfile=${D}{filename}.d
56217 cat > ${D}file <<EOT
56218 #include "${D}header"
56220 # using -MF icc complains about differing command lines in creation/use
56221 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
56222 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
56223 rm -f ${D}file ${D}dfile ${D}{filename}.o
56229 chmod +x bk-make-pch
56230 BK_MAKE_PCH="`pwd`/bk-make-pch"
56239 COND_BUILD_DEBUG="#"
56240 if test "x$BUILD" = "xdebug" ; then
56241 COND_BUILD_DEBUG=""
56244 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
56245 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
56246 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
56249 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
56250 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
56251 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
56254 COND_BUILD_DEBUG_UNICODE_0="#"
56255 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
56256 COND_BUILD_DEBUG_UNICODE_0=""
56259 COND_BUILD_DEBUG_UNICODE_1="#"
56260 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
56261 COND_BUILD_DEBUG_UNICODE_1=""
56264 COND_BUILD_RELEASE="#"
56265 if test "x$BUILD" = "xrelease" ; then
56266 COND_BUILD_RELEASE=""
56269 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
56270 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
56271 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
56274 COND_BUILD_RELEASE_UNICODE_0="#"
56275 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
56276 COND_BUILD_RELEASE_UNICODE_0=""
56279 COND_BUILD_RELEASE_UNICODE_1="#"
56280 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
56281 COND_BUILD_RELEASE_UNICODE_1=""
56284 COND_DEBUG_FLAG_1="#"
56285 if test "x$DEBUG_FLAG" = "x1" ; then
56286 COND_DEBUG_FLAG_1=""
56289 COND_DEBUG_INFO_0="#"
56290 if test "x$DEBUG_INFO" = "x0" ; then
56291 COND_DEBUG_INFO_0=""
56294 COND_DEBUG_INFO_1="#"
56295 if test "x$DEBUG_INFO" = "x1" ; then
56296 COND_DEBUG_INFO_1=""
56299 COND_DEPS_TRACKING_0="#"
56300 if test "x$DEPS_TRACKING" = "x0" ; then
56301 COND_DEPS_TRACKING_0=""
56304 COND_DEPS_TRACKING_1="#"
56305 if test "x$DEPS_TRACKING" = "x1" ; then
56306 COND_DEPS_TRACKING_1=""
56310 if test "x$GCC_PCH" = "x1" ; then
56315 if test "x$ICC_PCH" = "x1" ; then
56319 COND_MONOLITHIC_0="#"
56320 if test "x$MONOLITHIC" = "x0" ; then
56321 COND_MONOLITHIC_0=""
56324 COND_MONOLITHIC_0_SHARED_0="#"
56325 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
56326 COND_MONOLITHIC_0_SHARED_0=""
56329 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
56330 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
56331 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
56334 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
56335 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
56336 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
56339 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
56340 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
56341 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
56344 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
56345 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
56346 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
56349 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
56350 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
56351 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
56354 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
56355 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
56356 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
56359 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
56360 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
56361 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
56364 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
56365 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
56366 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
56369 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
56370 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
56371 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
56374 COND_MONOLITHIC_0_SHARED_1="#"
56375 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
56376 COND_MONOLITHIC_0_SHARED_1=""
56379 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
56380 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
56381 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
56384 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
56385 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
56386 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
56389 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
56390 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
56391 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
56394 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
56395 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
56396 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
56399 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
56400 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
56401 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
56404 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
56405 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
56406 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
56409 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
56410 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
56411 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
56414 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
56415 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
56416 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
56419 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
56420 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
56421 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
56424 COND_MONOLITHIC_0_USE_MEDIA_1="#"
56425 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
56426 COND_MONOLITHIC_0_USE_MEDIA_1=""
56429 COND_MONOLITHIC_0_USE_ODBC_1="#"
56430 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
56431 COND_MONOLITHIC_0_USE_ODBC_1=""
56434 COND_MONOLITHIC_1="#"
56435 if test "x$MONOLITHIC" = "x1" ; then
56436 COND_MONOLITHIC_1=""
56439 COND_MONOLITHIC_1_SHARED_0="#"
56440 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
56441 COND_MONOLITHIC_1_SHARED_0=""
56444 COND_MONOLITHIC_1_SHARED_1="#"
56445 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
56446 COND_MONOLITHIC_1_SHARED_1=""
56449 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
56450 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
56451 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
56454 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
56455 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
56456 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
56459 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
56460 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
56461 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
56464 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
56465 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
56466 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
56469 COND_PLATFORM_MACOSX_1="#"
56470 if test "x$PLATFORM_MACOSX" = "x1" ; then
56471 COND_PLATFORM_MACOSX_1=""
56474 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
56475 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
56476 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
56479 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
56480 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
56481 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
56484 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
56485 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
56486 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
56489 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
56490 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
56491 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
56494 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
56495 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
56496 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
56499 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
56500 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
56501 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
56504 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
56505 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
56506 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
56509 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
56510 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
56511 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
56514 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
56515 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
56516 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
56519 COND_PLATFORM_MACOS_1="#"
56520 if test "x$PLATFORM_MACOS" = "x1" ; then
56521 COND_PLATFORM_MACOS_1=""
56524 COND_PLATFORM_MAC_1="#"
56525 if test "x$PLATFORM_MAC" = "x1" ; then
56526 COND_PLATFORM_MAC_1=""
56529 COND_PLATFORM_MSDOS_0="#"
56530 if test "x$PLATFORM_MSDOS" = "x0" ; then
56531 COND_PLATFORM_MSDOS_0=""
56534 COND_PLATFORM_MSDOS_1="#"
56535 if test "x$PLATFORM_MSDOS" = "x1" ; then
56536 COND_PLATFORM_MSDOS_1=""
56539 COND_PLATFORM_OS2_1="#"
56540 if test "x$PLATFORM_OS2" = "x1" ; then
56541 COND_PLATFORM_OS2_1=""
56544 COND_PLATFORM_UNIX_0="#"
56545 if test "x$PLATFORM_UNIX" = "x0" ; then
56546 COND_PLATFORM_UNIX_0=""
56549 COND_PLATFORM_UNIX_1="#"
56550 if test "x$PLATFORM_UNIX" = "x1" ; then
56551 COND_PLATFORM_UNIX_1=""
56554 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
56555 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
56556 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
56559 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
56560 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
56561 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
56564 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
56565 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
56566 COND_PLATFORM_UNIX_1_USE_GUI_1=""
56569 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
56570 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
56571 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
56574 COND_PLATFORM_WIN32_0="#"
56575 if test "x$PLATFORM_WIN32" = "x0" ; then
56576 COND_PLATFORM_WIN32_0=""
56579 COND_PLATFORM_WIN32_1="#"
56580 if test "x$PLATFORM_WIN32" = "x1" ; then
56581 COND_PLATFORM_WIN32_1=""
56585 if test "x$SHARED" = "x0" ; then
56589 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
56590 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
56591 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
56594 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
56595 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
56596 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
56599 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
56600 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
56601 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
56604 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
56605 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
56606 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
56609 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
56610 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
56611 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
56614 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
56615 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
56616 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
56619 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
56620 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
56621 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
56624 COND_SHARED_0_USE_XRC_1="#"
56625 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
56626 COND_SHARED_0_USE_XRC_1=""
56629 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
56630 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
56631 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
56634 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
56635 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
56636 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
56639 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
56640 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
56641 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
56644 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
56645 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
56646 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
56650 if test "x$SHARED" = "x1" ; then
56654 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
56655 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
56656 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
56659 COND_SHARED_1_USE_XRC_1="#"
56660 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
56661 COND_SHARED_1_USE_XRC_1=""
56665 if test "x$TOOLKIT" = "x" ; then
56669 COND_TOOLKIT_COCOA="#"
56670 if test "x$TOOLKIT" = "xCOCOA" ; then
56671 COND_TOOLKIT_COCOA=""
56674 COND_TOOLKIT_COCOA_USE_GUI_1="#"
56675 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
56676 COND_TOOLKIT_COCOA_USE_GUI_1=""
56679 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
56680 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56681 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
56684 COND_TOOLKIT_DFB="#"
56685 if test "x$TOOLKIT" = "xDFB" ; then
56686 COND_TOOLKIT_DFB=""
56689 COND_TOOLKIT_DFB_USE_GUI_1="#"
56690 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
56691 COND_TOOLKIT_DFB_USE_GUI_1=""
56694 COND_TOOLKIT_GTK="#"
56695 if test "x$TOOLKIT" = "xGTK" ; then
56696 COND_TOOLKIT_GTK=""
56699 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
56700 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
56701 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
56704 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
56705 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
56706 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
56709 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
56710 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
56711 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
56714 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
56715 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56716 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
56719 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
56720 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
56721 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
56724 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
56725 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56726 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
56729 COND_TOOLKIT_GTK_USE_GUI_1="#"
56730 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
56731 COND_TOOLKIT_GTK_USE_GUI_1=""
56734 COND_TOOLKIT_MAC="#"
56735 if test "x$TOOLKIT" = "xMAC" ; then
56736 COND_TOOLKIT_MAC=""
56739 COND_TOOLKIT_MAC_USE_GUI_1="#"
56740 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
56741 COND_TOOLKIT_MAC_USE_GUI_1=""
56744 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
56745 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56746 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
56749 COND_TOOLKIT_MGL="#"
56750 if test "x$TOOLKIT" = "xMGL" ; then
56751 COND_TOOLKIT_MGL=""
56754 COND_TOOLKIT_MGL_USE_GUI_1="#"
56755 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
56756 COND_TOOLKIT_MGL_USE_GUI_1=""
56759 COND_TOOLKIT_MOTIF="#"
56760 if test "x$TOOLKIT" = "xMOTIF" ; then
56761 COND_TOOLKIT_MOTIF=""
56764 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
56765 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
56766 COND_TOOLKIT_MOTIF_USE_GUI_1=""
56769 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
56770 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56771 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
56774 COND_TOOLKIT_MSW="#"
56775 if test "x$TOOLKIT" = "xMSW" ; then
56776 COND_TOOLKIT_MSW=""
56779 COND_TOOLKIT_MSW_USE_GUI_1="#"
56780 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
56781 COND_TOOLKIT_MSW_USE_GUI_1=""
56784 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
56785 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56786 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
56789 COND_TOOLKIT_MSW_WXUNIV_0="#"
56790 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
56791 COND_TOOLKIT_MSW_WXUNIV_0=""
56794 COND_TOOLKIT_PM="#"
56795 if test "x$TOOLKIT" = "xPM" ; then
56799 COND_TOOLKIT_PM_USE_GUI_1="#"
56800 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
56801 COND_TOOLKIT_PM_USE_GUI_1=""
56804 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
56805 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56806 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
56809 COND_TOOLKIT_WINCE="#"
56810 if test "x$TOOLKIT" = "xWINCE" ; then
56811 COND_TOOLKIT_WINCE=""
56814 COND_TOOLKIT_WINCE_USE_GUI_1="#"
56815 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
56816 COND_TOOLKIT_WINCE_USE_GUI_1=""
56819 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
56820 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56821 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
56824 COND_TOOLKIT_WINCE_WXUNIV_0="#"
56825 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
56826 COND_TOOLKIT_WINCE_WXUNIV_0=""
56829 COND_TOOLKIT_X11="#"
56830 if test "x$TOOLKIT" = "xX11" ; then
56831 COND_TOOLKIT_X11=""
56834 COND_TOOLKIT_X11_USE_GUI_1="#"
56835 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
56836 COND_TOOLKIT_X11_USE_GUI_1=""
56840 if test "x$UNICODE" = "x1" ; then
56844 COND_USE_EXCEPTIONS_0="#"
56845 if test "x$USE_EXCEPTIONS" = "x0" ; then
56846 COND_USE_EXCEPTIONS_0=""
56849 COND_USE_EXCEPTIONS_1="#"
56850 if test "x$USE_EXCEPTIONS" = "x1" ; then
56851 COND_USE_EXCEPTIONS_1=""
56855 if test "x$USE_GUI" = "x0" ; then
56860 if test "x$USE_GUI" = "x1" ; then
56864 COND_USE_GUI_1_WXUNIV_0="#"
56865 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56866 COND_USE_GUI_1_WXUNIV_0=""
56869 COND_USE_GUI_1_WXUNIV_1="#"
56870 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
56871 COND_USE_GUI_1_WXUNIV_1=""
56874 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
56875 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
56876 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
56879 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
56880 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
56881 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
56884 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
56885 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
56886 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
56889 COND_USE_ODBC_1="#"
56890 if test "x$USE_ODBC" = "x1" ; then
56894 COND_USE_OPENGL_1="#"
56895 if test "x$USE_OPENGL" = "x1" ; then
56896 COND_USE_OPENGL_1=""
56900 if test "x$USE_PCH" = "x1" ; then
56904 COND_USE_PLUGINS_0="#"
56905 if test "x$USE_PLUGINS" = "x0" ; then
56906 COND_USE_PLUGINS_0=""
56909 COND_USE_RTTI_0="#"
56910 if test "x$USE_RTTI" = "x0" ; then
56914 COND_USE_RTTI_1="#"
56915 if test "x$USE_RTTI" = "x1" ; then
56919 COND_USE_SOSYMLINKS_1="#"
56920 if test "x$USE_SOSYMLINKS" = "x1" ; then
56921 COND_USE_SOSYMLINKS_1=""
56924 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
56925 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
56926 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
56929 COND_USE_SOVERLINUX_1="#"
56930 if test "x$USE_SOVERLINUX" = "x1" ; then
56931 COND_USE_SOVERLINUX_1=""
56934 COND_USE_SOVERSION_0="#"
56935 if test "x$USE_SOVERSION" = "x0" ; then
56936 COND_USE_SOVERSION_0=""
56939 COND_USE_SOVERSOLARIS_1="#"
56940 if test "x$USE_SOVERSOLARIS" = "x1" ; then
56941 COND_USE_SOVERSOLARIS_1=""
56944 COND_USE_THREADS_0="#"
56945 if test "x$USE_THREADS" = "x0" ; then
56946 COND_USE_THREADS_0=""
56949 COND_USE_THREADS_1="#"
56950 if test "x$USE_THREADS" = "x1" ; then
56951 COND_USE_THREADS_1=""
56955 if test "x$USE_XRC" = "x1" ; then
56959 COND_WINDOWS_IMPLIB_1="#"
56960 if test "x$WINDOWS_IMPLIB" = "x1" ; then
56961 COND_WINDOWS_IMPLIB_1=""
56964 COND_WITH_PLUGIN_SDL_1="#"
56965 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
56966 COND_WITH_PLUGIN_SDL_1=""
56970 if test "x$WXUNIV" = "x0" ; then
56975 if test "x$WXUNIV" = "x1" ; then
56979 COND_WXUSE_EXPAT_BUILTIN="#"
56980 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
56981 COND_WXUSE_EXPAT_BUILTIN=""
56984 COND_WXUSE_LIBJPEG_BUILTIN="#"
56985 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
56986 COND_WXUSE_LIBJPEG_BUILTIN=""
56989 COND_WXUSE_LIBPNG_BUILTIN="#"
56990 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
56991 COND_WXUSE_LIBPNG_BUILTIN=""
56994 COND_WXUSE_LIBTIFF_BUILTIN="#"
56995 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
56996 COND_WXUSE_LIBTIFF_BUILTIN=""
56999 COND_WXUSE_ODBC_BUILTIN="#"
57000 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
57001 COND_WXUSE_ODBC_BUILTIN=""
57004 COND_WXUSE_REGEX_BUILTIN="#"
57005 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
57006 COND_WXUSE_REGEX_BUILTIN=""
57009 COND_WXUSE_ZLIB_BUILTIN="#"
57010 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
57011 COND_WXUSE_ZLIB_BUILTIN=""
57016 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
57017 { { 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
57018 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;}
57019 { (exit 1); exit 1; }; }
57022 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
57023 { { 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
57024 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;}
57025 { (exit 1); exit 1; }; }
57029 if test $GCC_PCH = 1
57031 if test "$wx_cv_gcc_pch_bug" = yes; then
57032 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
57033 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
57034 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
57035 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
57036 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
57037 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
57040 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
57044 if test "$wxUSE_MAC" = 1 ; then
57045 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
57046 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
57052 if test "$wxUSE_SHARED" = "yes"; then
57054 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
57055 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
57058 *-pc-os2_emx | *-pc-os2-emx )
57059 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
57060 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
57061 cp -p ${srcdir}/src/os2/dllnames.sh .
57062 cp -p ${srcdir}/src/os2/dllar.sh .
57067 EXE_LINKER="$CXX -o"
57070 if test "$wxUSE_OMF" = "yes"; then
57072 *-pc-os2_emx | *-pc-os2-emx )
57073 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
57074 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
57075 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
57080 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
57082 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
57144 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
57145 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
57146 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
57147 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
57148 echo $ECHO_N "(cached) $ECHO_C" >&6
57150 cat >conftest.make <<\_ACEOF
57153 @echo '@@@%%%=$(MAKE)=@@@%%%'
57155 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
57156 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
57157 *@@@%%%=?*=@@@%%%*)
57158 eval ac_cv_prog_make_${ac_make}_set=yes;;
57160 eval ac_cv_prog_make_${ac_make}_set=no;;
57162 rm -f conftest.make
57164 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
57165 { echo "$as_me:$LINENO: result: yes" >&5
57166 echo "${ECHO_T}yes" >&6; }
57169 { echo "$as_me:$LINENO: result: no" >&5
57170 echo "${ECHO_T}no" >&6; }
57171 SET_MAKE="MAKE=${MAKE-make}"
57176 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
57179 if test "$USE_WIN32" = 1; then
57180 ac_config_commands="$ac_config_commands
57186 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
57189 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
57192 if test "$wx_cv_version_script" = "yes"; then
57193 ac_config_files="$ac_config_files version-script"
57196 ac_config_files="$ac_config_files Makefile"
57199 ac_config_commands="$ac_config_commands wx-config"
57203 if test "$wxWITH_SUBDIRS" != "no"; then
57204 if test "$wxUSE_GUI" = "yes"; then
57205 SUBDIRS="samples demos utils contrib"
57206 else SUBDIRS="samples utils"
57211 # Check whether --with-cppunit-prefix was given.
57212 if test "${with_cppunit_prefix+set}" = set; then
57213 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
57215 cppunit_config_prefix=""
57219 # Check whether --with-cppunit-exec-prefix was given.
57220 if test "${with_cppunit_exec_prefix+set}" = set; then
57221 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
57223 cppunit_config_exec_prefix=""
57227 if test x$cppunit_config_exec_prefix != x ; then
57228 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
57229 if test x${CPPUNIT_CONFIG+set} != xset ; then
57230 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
57233 if test x$cppunit_config_prefix != x ; then
57234 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
57235 if test x${CPPUNIT_CONFIG+set} != xset ; then
57236 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
57240 # Extract the first word of "cppunit-config", so it can be a program name with args.
57241 set dummy cppunit-config; ac_word=$2
57242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
57243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
57244 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
57245 echo $ECHO_N "(cached) $ECHO_C" >&6
57247 case $CPPUNIT_CONFIG in
57249 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
57252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
57253 for as_dir in $PATH
57256 test -z "$as_dir" && as_dir=.
57257 for ac_exec_ext in '' $ac_executable_extensions; do
57258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
57259 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
57260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
57267 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
57271 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
57272 if test -n "$CPPUNIT_CONFIG"; then
57273 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
57274 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
57276 { echo "$as_me:$LINENO: result: no" >&5
57277 echo "${ECHO_T}no" >&6; }
57281 cppunit_version_min=1.8.0
57283 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
57284 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
57286 if test "$CPPUNIT_CONFIG" = "no" ; then
57287 { echo "$as_me:$LINENO: result: no" >&5
57288 echo "${ECHO_T}no" >&6; }
57291 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
57292 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
57293 cppunit_version=`$CPPUNIT_CONFIG --version`
57295 cppunit_major_version=`echo $cppunit_version | \
57296 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
57297 cppunit_minor_version=`echo $cppunit_version | \
57298 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
57299 cppunit_micro_version=`echo $cppunit_version | \
57300 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
57302 cppunit_major_min=`echo $cppunit_version_min | \
57303 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
57304 cppunit_minor_min=`echo $cppunit_version_min | \
57305 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
57306 cppunit_micro_min=`echo $cppunit_version_min | \
57307 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
57309 cppunit_version_proper=`expr \
57310 $cppunit_major_version \
> $cppunit_major_min \
| \
57311 $cppunit_major_version \
= $cppunit_major_min \
& \
57312 $cppunit_minor_version \
> $cppunit_minor_min \
| \
57313 $cppunit_major_version \
= $cppunit_major_min \
& \
57314 $cppunit_minor_version \
= $cppunit_minor_min \
& \
57315 $cppunit_micro_version \
>= $cppunit_micro_min `
57317 if test "$cppunit_version_proper" = "1" ; then
57318 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
57319 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
57321 { echo "$as_me:$LINENO: result: no" >&5
57322 echo "${ECHO_T}no" >&6; }
57327 if test "x$no_cppunit" = x ; then
57328 SUBDIRS="$SUBDIRS tests"
57339 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
57340 DISABLED_CONTRIB="$DISABLED_CONTRIB net"
57343 for subdir in `echo $SUBDIRS`; do
57344 if test -d ${srcdir}/${subdir} ; then
57345 if test "$wxUSE_GUI" = "yes"; then
57346 if test ${subdir} = "samples"; then
57347 makefiles="samples/Makefile.in $makefiles"
57348 for sample in `echo $SAMPLES_SUBDIRS`; do
57349 if test -d $srcdir/samples/$sample; then
57350 makefiles="samples/$sample/Makefile.in $makefiles"
57354 disabled_var=DISABLED_`echo $subdir | tr [a
-z] [A
-Z]`;
57355 eval "disabled=\$$disabled_var"
57356 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
57357 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
57359 else if test ${subdir} = "samples"; then
57360 makefiles="samples/Makefile.in samples/console/Makefile.in"
57361 elif test ${subdir} = "utils"; then
57363 for util in HelpGen tex2rtf ; do
57364 if test -d $srcdir/utils/$util ; then
57365 makefiles="utils/$util/Makefile.in \
57366 utils/$util/src/Makefile.in \
57370 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
57374 for mkin in $makefiles ; do
57375 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
57376 ac_config_files="$ac_config_files $mk"
57382 cat >confcache <<\_ACEOF
57383 # This file is a shell script that caches the results of configure
57384 # tests run on this system so they can be shared between configure
57385 # scripts and configure runs, see configure's option --config-cache.
57386 # It is not useful on other systems. If it contains results you don't
57387 # want to keep, you may remove or edit it.
57389 # config.status only pays attention to the cache file if you give it
57390 # the --recheck option to rerun configure.
57392 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
57393 # loading this file, other *unset* `ac_cv_foo' will be assigned the
57394 # following values.
57398 # The following way of writing the cache mishandles newlines in values,
57399 # but we know of no workaround that is simple, portable, and efficient.
57400 # So, we kill variables containing newlines.
57401 # Ultrix sh set writes to stderr and can't be redirected directly,
57402 # and sets the high bit in the cache file unless we assign to the vars.
57404 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
57405 eval ac_val
=\$
$ac_var
57409 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
57410 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
57413 _
| IFS
| as_nl
) ;; #(
57414 *) $as_unset $ac_var ;;
57420 case $as_nl`(ac_space=' '; set) 2>&1` in #(
57421 *${as_nl}ac_space
=\
*)
57422 # `set' does not quote correctly, so add quotes (double-quote
57423 # substitution turns \\\\ into \\, and sed turns \\ into \).
57426 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
57429 # `set' quotes correctly as required by POSIX, so do not add quotes.
57430 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
57439 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
57441 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
57443 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
57444 if test -w "$cache_file"; then
57445 test "x$cache_file" != "x/dev/null" &&
57446 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
57447 echo "$as_me: updating cache $cache_file" >&6;}
57448 cat confcache
>$cache_file
57450 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
57451 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
57456 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
57457 # Let make expand exec_prefix.
57458 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
57460 DEFS
=-DHAVE_CONFIG_H
57464 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
57465 # 1. Remove the extension, and $U if already installed.
57466 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
57467 ac_i
=`echo "$ac_i" | sed "$ac_script"`
57468 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
57469 # will be set to the directory where LIBOBJS objects are built.
57470 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
57471 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
57473 LIBOBJS
=$ac_libobjs
57475 LTLIBOBJS
=$ac_ltlibobjs
57479 : ${CONFIG_STATUS=./config.status}
57480 ac_clean_files_save
=$ac_clean_files
57481 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
57482 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
57483 echo "$as_me: creating $CONFIG_STATUS" >&6;}
57484 cat >$CONFIG_STATUS <<_ACEOF
57486 # Generated by $as_me.
57487 # Run this file to recreate the current configuration.
57488 # Compiler output produced by configure, useful for debugging
57489 # configure, is in config.log if it exists.
57492 ac_cs_recheck=false
57494 SHELL=\${CONFIG_SHELL-$SHELL}
57497 cat >>$CONFIG_STATUS <<\_ACEOF
57498 ## --------------------- ##
57499 ## M4sh Initialization. ##
57500 ## --------------------- ##
57502 # Be Bourne compatible
57503 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
57506 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
57507 # is contrary to our usage. Disable this feature.
57508 alias -g '${1+"$@"}'='"$@"'
57509 setopt NO_GLOB_SUBST
57511 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
57513 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
57514 DUALCASE
=1; export DUALCASE
# for MKS sh
57518 # Avoid depending upon Character Ranges.
57519 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
57520 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
57521 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
57522 as_cr_digits
='0123456789'
57523 as_cr_alnum
=$as_cr_Letters$as_cr_digits
57525 # The user is always right.
57526 if test "${PATH_SEPARATOR+set}" != set; then
57527 echo "#! /bin/sh" >conf$$.sh
57528 echo "exit 0" >>conf$$.sh
57530 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
57538 # Support unset when possible.
57539 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
57547 # We need space, tab and new line, in precisely that order. Quoting is
57548 # there to prevent editors from complaining about space-tab.
57549 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
57550 # splitting by setting IFS to empty value.)
57555 # Find who we are. Look in the path if we contain no directory separator.
57557 *[\\/]* ) as_myself
=$0 ;;
57558 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
57559 for as_dir
in $PATH
57562 test -z "$as_dir" && as_dir
=.
57563 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
57569 # We did not find ourselves, most probably we were run as `sh COMMAND'
57570 # in which case we are not to be found in the path.
57571 if test "x$as_myself" = x
; then
57574 if test ! -f "$as_myself"; then
57575 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
57576 { (exit 1); exit 1; }
57579 # Work around bugs in pre-3.0 UWIN ksh.
57580 for as_var
in ENV MAIL MAILPATH
57581 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
57589 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
57590 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
57591 LC_TELEPHONE LC_TIME
57593 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
57594 eval $as_var=C
; export $as_var
57596 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
57600 # Required to use basename.
57601 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
57602 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
57608 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
57609 as_basename
=basename
57615 # Name of the executable.
57616 as_me
=`$as_basename -- "$0" ||
57617 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
57618 X"$0" : 'X\(//\)$' \| \
57619 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
57621 sed '/^.*\/\([^/][^/]*\)\/*$/{
57640 as_lineno_1
=$LINENO
57641 as_lineno_2
=$LINENO
57642 test "x$as_lineno_1" != "x$as_lineno_2" &&
57643 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
57645 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
57646 # uniformly replaced by the line number. The first 'sed' inserts a
57647 # line-number line after each line using $LINENO; the second 'sed'
57648 # does the real work. The second script uses 'N' to pair each
57649 # line-number line with the line containing $LINENO, and appends
57650 # trailing '-' during substitution so that $LINENO is not a special
57651 # case at line end.
57652 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
57653 # scripts with optimization help from Paolo Bonzini. Blame Lee
57654 # E. McMahon (1931-1989) for sed's syntax. :-)
57666 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
57669 ' >$as_me.lineno
&&
57670 chmod +x
"$as_me.lineno" ||
57671 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
57672 { (exit 1); exit 1; }; }
57674 # Don't try to exec as it changes $[0], causing all sort of problems
57675 # (the dirname of $[0] is not the place where we might find the
57676 # original and so on. Autoconf is especially sensitive to this).
57677 .
"./$as_me.lineno"
57678 # Exit status is that of the last command.
57683 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
57689 ECHO_C
= ECHO_N
= ECHO_T
=
57690 case `echo -n x` in
57692 case `echo 'x\c'` in
57693 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
57700 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
57701 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
57707 rm -f conf$$ conf$$.exe conf$$.
file
57708 if test -d conf$$.dir
; then
57709 rm -f conf$$.dir
/conf$$.
file
57715 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
57717 # ... but there are two gotchas:
57718 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
57719 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
57720 # In both cases, we have to default to `cp -p'.
57721 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
57723 elif ln conf$$.
file conf$$
2>/dev
/null
; then
57728 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
57729 rmdir conf$$.dir
2>/dev
/null
57731 if mkdir -p .
2>/dev
/null
; then
57734 test -d .
/-p && rmdir .
/-p
57738 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
57739 # systems may use methods other than mode bits to determine executability.
57740 cat >conf$$.
file <<_ASEOF
57744 chmod +x conf$$.
file
57745 if test -x conf$$.
file >/dev
/null
2>&1; then
57746 as_executable_p
="test -x"
57752 # Sed expression to map a string onto a valid CPP name.
57753 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
57755 # Sed expression to map a string onto a valid variable name.
57756 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
57761 # Save the log message, to keep $[0] and so on meaningful, and to
57762 # report actual input values of CONFIG_FILES etc. instead of their
57763 # values after options handling.
57765 This file was extended by wxWidgets $as_me 2.9.0, which was
57766 generated by GNU Autoconf 2.60. Invocation command line was
57768 CONFIG_FILES = $CONFIG_FILES
57769 CONFIG_HEADERS = $CONFIG_HEADERS
57770 CONFIG_LINKS = $CONFIG_LINKS
57771 CONFIG_COMMANDS = $CONFIG_COMMANDS
57774 on `(hostname || uname -n) 2>/dev/null | sed 1q`
57779 cat >>$CONFIG_STATUS <<_ACEOF
57780 # Files that config.status was made for.
57781 config_files="$ac_config_files"
57782 config_headers="$ac_config_headers"
57783 config_commands="$ac_config_commands"
57787 cat >>$CONFIG_STATUS <<\_ACEOF
57789 \`$as_me' instantiates files from templates according to the
57790 current configuration.
57792 Usage: $0 [OPTIONS] [FILE]...
57794 -h, --help print this help, then exit
57795 -V, --version print version number, then exit
57796 -q, --quiet do not print progress messages
57797 -d, --debug don't remove temporary files
57798 --recheck update $as_me by reconfiguring in the same conditions
57799 --file=FILE[:TEMPLATE]
57800 instantiate the configuration file FILE
57801 --header=FILE[:TEMPLATE]
57802 instantiate the configuration header FILE
57804 Configuration files:
57807 Configuration headers:
57810 Configuration commands:
57813 Report bugs to <bug-autoconf@gnu.org>."
57816 cat >>$CONFIG_STATUS <<_ACEOF
57818 wxWidgets config.status 2.9.0
57819 configured by $0, generated by GNU Autoconf 2.60,
57820 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
57822 Copyright (C) 2006 Free Software Foundation, Inc.
57823 This config.status script is free software; the Free Software Foundation
57824 gives unlimited permission to copy, distribute and modify it."
57831 cat >>$CONFIG_STATUS <<\_ACEOF
57832 # If no file are specified by the user, then we need to provide default
57833 # value. By we need to know if files were specified by the user.
57839 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
57840 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
57851 # Handling of the options.
57852 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
57854 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
57855 echo "$ac_cs_version"; exit ;;
57856 --debug | --debu | --deb | --de | --d | -d )
57858 --file | --fil | --fi | --f )
57860 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
57861 ac_need_defaults
=false
;;
57862 --header | --heade | --head | --hea )
57864 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
57865 ac_need_defaults
=false
;;
57867 # Conflict between --help and --header
57868 { echo "$as_me: error: ambiguous option: $1
57869 Try \`$0 --help' for more information." >&2
57870 { (exit 1); exit 1; }; };;
57871 --help | --hel | -h )
57872 echo "$ac_cs_usage"; exit ;;
57873 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
57874 | -silent | --silent | --silen | --sile | --sil | --si | --s)
57877 # This is an error.
57878 -*) { echo "$as_me: error: unrecognized option: $1
57879 Try \`$0 --help' for more information." >&2
57880 { (exit 1); exit 1; }; } ;;
57882 *) ac_config_targets
="$ac_config_targets $1"
57883 ac_need_defaults
=false
;;
57889 ac_configure_extra_args
=
57891 if $ac_cs_silent; then
57893 ac_configure_extra_args
="$ac_configure_extra_args --silent"
57897 cat >>$CONFIG_STATUS <<_ACEOF
57898 if \$ac_cs_recheck; then
57899 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
57900 CONFIG_SHELL=$SHELL
57901 export CONFIG_SHELL
57902 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
57906 cat >>$CONFIG_STATUS <<\_ACEOF
57910 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
57911 ## Running $as_me. ##
57917 cat >>$CONFIG_STATUS <<_ACEOF
57923 infile="$srcdir/include/wx/msw/genrcdefs.h"
57924 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
57927 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
57928 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
57929 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
57935 cat >>$CONFIG_STATUS <<\_ACEOF
57937 # Handling of arguments.
57938 for ac_config_target
in $ac_config_targets
57940 case $ac_config_target in
57941 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
57942 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
57943 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
57944 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
57945 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
57946 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
57947 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
57948 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
57950 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
57951 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
57952 { (exit 1); exit 1; }; };;
57957 # If the user did not use the arguments to specify the items to instantiate,
57958 # then the envvar interface is used. Set only those that are not.
57959 # We use the long form for the default assignment because of an extremely
57960 # bizarre bug on SunOS 4.1.3.
57961 if $ac_need_defaults; then
57962 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
57963 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
57964 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
57967 # Have a temporary directory for convenience. Make it in the build tree
57968 # simply because there is no reason against having it here, and in addition,
57969 # creating and moving files from /tmp can sometimes cause problems.
57970 # Hook for its removal unless debugging.
57971 # Note that there is a small window in which the directory will not be cleaned:
57972 # after its creation but before its name has been assigned to `$tmp'.
57976 trap 'exit_status=$?
57977 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
57979 trap '{ (exit 1); exit 1; }' 1 2 13 15
57981 # Create a (secure) tmp directory for tmp files.
57984 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
57985 test -n "$tmp" && test -d "$tmp"
57988 tmp
=.
/conf$$
-$RANDOM
57989 (umask 077 && mkdir "$tmp")
57992 echo "$me: cannot create a temporary directory in ." >&2
57993 { (exit 1); exit 1; }
57997 # Set up the sed scripts for CONFIG_FILES section.
58000 # No need to generate the scripts if there are no CONFIG_FILES.
58001 # This happens for instance when ./config.status config.h
58002 if test -n "$CONFIG_FILES"; then
58009 for ac_last_try
in false false false false false
:; do
58010 cat >conf$
$subs.
sed <<_ACEOF
58011 SHELL!$SHELL$ac_delim
58012 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
58013 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
58014 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
58015 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
58016 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
58017 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
58018 exec_prefix!$exec_prefix$ac_delim
58019 prefix!$prefix$ac_delim
58020 program_transform_name!$program_transform_name$ac_delim
58021 bindir!$bindir$ac_delim
58022 sbindir!$sbindir$ac_delim
58023 libexecdir!$libexecdir$ac_delim
58024 datarootdir!$datarootdir$ac_delim
58025 datadir!$datadir$ac_delim
58026 sysconfdir!$sysconfdir$ac_delim
58027 sharedstatedir!$sharedstatedir$ac_delim
58028 localstatedir!$localstatedir$ac_delim
58029 includedir!$includedir$ac_delim
58030 oldincludedir!$oldincludedir$ac_delim
58031 docdir!$docdir$ac_delim
58032 infodir!$infodir$ac_delim
58033 htmldir!$htmldir$ac_delim
58034 dvidir!$dvidir$ac_delim
58035 pdfdir!$pdfdir$ac_delim
58036 psdir!$psdir$ac_delim
58037 libdir!$libdir$ac_delim
58038 localedir!$localedir$ac_delim
58039 mandir!$mandir$ac_delim
58040 DEFS!$DEFS$ac_delim
58041 ECHO_C!$ECHO_C$ac_delim
58042 ECHO_N!$ECHO_N$ac_delim
58043 ECHO_T!$ECHO_T$ac_delim
58044 LIBS!$LIBS$ac_delim
58045 build_alias!$build_alias$ac_delim
58046 host_alias!$host_alias$ac_delim
58047 target_alias!$target_alias$ac_delim
58048 build!$build$ac_delim
58049 build_cpu!$build_cpu$ac_delim
58050 build_vendor!$build_vendor$ac_delim
58051 build_os!$build_os$ac_delim
58052 host!$host$ac_delim
58053 host_cpu!$host_cpu$ac_delim
58054 host_vendor!$host_vendor$ac_delim
58055 host_os!$host_os$ac_delim
58056 target!$target$ac_delim
58057 target_cpu!$target_cpu$ac_delim
58058 target_vendor!$target_vendor$ac_delim
58059 target_os!$target_os$ac_delim
58060 wx_top_builddir!$wx_top_builddir$ac_delim
58062 CFLAGS!$CFLAGS$ac_delim
58063 LDFLAGS!$LDFLAGS$ac_delim
58064 CPPFLAGS!$CPPFLAGS$ac_delim
58065 ac_ct_CC!$ac_ct_CC$ac_delim
58066 EXEEXT!$EXEEXT$ac_delim
58067 OBJEXT!$OBJEXT$ac_delim
58069 GREP!$GREP$ac_delim
58070 EGREP!$EGREP$ac_delim
58072 CXXFLAGS!$CXXFLAGS$ac_delim
58073 ac_ct_CXX!$ac_ct_CXX$ac_delim
58074 RANLIB!$RANLIB$ac_delim
58076 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
58077 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
58078 INSTALL_DATA!$INSTALL_DATA$ac_delim
58079 STRIP!$STRIP$ac_delim
58080 WINDRES!$WINDRES$ac_delim
58081 DLLTOOL!$DLLTOOL$ac_delim
58082 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
58083 LN_S!$LN_S$ac_delim
58084 CXXCPP!$CXXCPP$ac_delim
58085 subdirs!$subdirs$ac_delim
58086 PKG_CONFIG!$PKG_CONFIG$ac_delim
58087 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
58088 GTK_LIBS!$GTK_LIBS$ac_delim
58089 GTK_CONFIG!$GTK_CONFIG$ac_delim
58090 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
58091 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
58092 XMKMF!$XMKMF$ac_delim
58093 X_CFLAGS!$X_CFLAGS$ac_delim
58094 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
58095 X_LIBS!$X_LIBS$ac_delim
58096 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
58097 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
58098 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
58099 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
58100 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
58101 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
58102 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
58104 DEREZ!$DEREZ$ac_delim
58105 SETFILE!$SETFILE$ac_delim
58106 LIBICONV!$LIBICONV$ac_delim
58107 EXTRALIBS_ESD!$EXTRALIBS_ESD$ac_delim
58110 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
58112 elif $ac_last_try; then
58113 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
58114 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
58115 { (exit 1); exit 1; }; }
58117 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
58121 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
58122 if test -n "$ac_eof"; then
58123 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
58124 ac_eof
=`expr $ac_eof + 1`
58127 cat >>$CONFIG_STATUS <<_ACEOF
58128 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
58129 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
58132 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
58133 s/^/s,@/; s/!/@,|#_!!_#|/
58136 s/'"$ac_delim"'$/,g/; t
58138 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
58139 ' >>$CONFIG_STATUS <conf$
$subs.
sed
58140 rm -f conf$
$subs.
sed
58141 cat >>$CONFIG_STATUS <<_ACEOF
58147 for ac_last_try
in false false false false false
:; do
58148 cat >conf$
$subs.
sed <<_ACEOF
58149 SDL_CONFIG!$SDL_CONFIG$ac_delim
58150 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
58151 SDL_LIBS!$SDL_LIBS$ac_delim
58152 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
58153 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
58154 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
58155 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
58156 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
58157 HILDON_LIBS!$HILDON_LIBS$ac_delim
58158 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
58159 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
58160 GST_CFLAGS!$GST_CFLAGS$ac_delim
58161 GST_LIBS!$GST_LIBS$ac_delim
58162 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
58163 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
58164 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
58165 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
58166 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
58167 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
58168 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
58169 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
58170 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
58171 VENDOR!$VENDOR$ac_delim
58172 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
58173 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
58174 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
58175 WXUNIV!$WXUNIV$ac_delim
58176 MONOLITHIC!$MONOLITHIC$ac_delim
58177 USE_PLUGINS!$USE_PLUGINS$ac_delim
58178 EXTRALIBS!$EXTRALIBS$ac_delim
58179 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
58180 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
58181 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
58182 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
58183 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
58184 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
58185 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
58186 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
58187 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
58188 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
58189 UNICODE!$UNICODE$ac_delim
58190 BUILD!$BUILD$ac_delim
58191 DEBUG_INFO!$DEBUG_INFO$ac_delim
58192 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
58193 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
58194 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
58195 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
58196 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
58197 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
58198 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
58199 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
58200 SET_MAKE!$SET_MAKE$ac_delim
58201 MAKE_SET!$MAKE_SET$ac_delim
58202 AROPTIONS!$AROPTIONS$ac_delim
58204 INSTALL_DIR!$INSTALL_DIR$ac_delim
58205 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
58206 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
58207 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
58208 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
58209 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
58210 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
58211 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
58212 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
58213 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
58214 SO_SUFFIX!$SO_SUFFIX$ac_delim
58215 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
58216 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
58217 LIBPREFIX!$LIBPREFIX$ac_delim
58218 LIBEXT!$LIBEXT$ac_delim
58219 DLLPREFIX!$DLLPREFIX$ac_delim
58220 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
58221 dlldir!$dlldir$ac_delim
58222 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
58223 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
58224 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
58225 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
58226 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
58227 PIC_FLAG!$PIC_FLAG$ac_delim
58228 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
58229 USE_SOVERSION!$USE_SOVERSION$ac_delim
58230 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
58231 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
58232 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
58233 USE_MACVERSION!$USE_MACVERSION$ac_delim
58234 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
58235 SONAME_FLAG!$SONAME_FLAG$ac_delim
58236 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
58237 BK_DEPS!$BK_DEPS$ac_delim
58238 GCC_PCH!$GCC_PCH$ac_delim
58239 ICC_PCH!$ICC_PCH$ac_delim
58240 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
58241 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
58242 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
58243 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
58244 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
58245 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
58248 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
58250 elif $ac_last_try; then
58251 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
58252 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
58253 { (exit 1); exit 1; }; }
58255 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
58259 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
58260 if test -n "$ac_eof"; then
58261 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
58262 ac_eof
=`expr $ac_eof + 1`
58265 cat >>$CONFIG_STATUS <<_ACEOF
58266 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
58267 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
58270 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
58271 s/^/s,@/; s/!/@,|#_!!_#|/
58274 s/'"$ac_delim"'$/,g/; t
58276 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
58277 ' >>$CONFIG_STATUS <conf$
$subs.
sed
58278 rm -f conf$
$subs.
sed
58279 cat >>$CONFIG_STATUS <<_ACEOF
58285 for ac_last_try
in false false false false false
:; do
58286 cat >conf$
$subs.
sed <<_ACEOF
58287 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
58288 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
58289 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
58290 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
58291 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
58292 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
58293 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
58294 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
58295 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
58296 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
58297 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
58298 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
58299 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
58300 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
58301 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
58302 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
58303 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
58304 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
58305 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
58306 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
58307 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
58308 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
58309 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
58310 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
58311 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
58312 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
58313 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
58314 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
58315 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
58316 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
58317 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
58318 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
58319 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
58320 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
58321 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
58322 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
58323 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
58324 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
58325 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
58326 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
58327 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
58328 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
58329 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
58330 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
58331 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
58332 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
58333 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
58334 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
58335 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
58336 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
58337 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
58338 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
58339 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
58340 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
58341 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
58342 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
58343 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
58344 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
58345 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
58346 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
58347 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
58348 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
58349 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
58350 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
58351 COND_SHARED_0!$COND_SHARED_0$ac_delim
58352 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
58353 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
58354 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
58355 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
58356 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
58357 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
58358 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
58359 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
58360 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
58361 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
58362 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
58363 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
58364 COND_SHARED_1!$COND_SHARED_1$ac_delim
58365 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
58366 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
58367 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
58368 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
58369 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
58370 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
58371 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
58372 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
58373 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
58374 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
58375 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
58376 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
58377 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
58378 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
58379 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
58380 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
58381 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
58382 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
58383 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
58386 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
58388 elif $ac_last_try; then
58389 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
58390 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
58391 { (exit 1); exit 1; }; }
58393 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
58397 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
58398 if test -n "$ac_eof"; then
58399 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
58400 ac_eof
=`expr $ac_eof + 1`
58403 cat >>$CONFIG_STATUS <<_ACEOF
58404 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
58405 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
58408 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
58409 s/^/s,@/; s/!/@,|#_!!_#|/
58412 s/'"$ac_delim"'$/,g/; t
58414 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
58415 ' >>$CONFIG_STATUS <conf$
$subs.
sed
58416 rm -f conf$
$subs.
sed
58417 cat >>$CONFIG_STATUS <<_ACEOF
58423 for ac_last_try
in false false false false false
:; do
58424 cat >conf$
$subs.
sed <<_ACEOF
58425 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
58426 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
58427 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
58428 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
58429 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
58430 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
58431 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
58432 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
58433 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
58434 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
58435 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
58436 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
58437 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
58438 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
58439 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
58440 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
58441 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
58442 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
58443 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
58444 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
58445 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
58446 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
58447 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
58448 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
58449 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
58450 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
58451 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
58452 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
58453 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
58454 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
58455 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
58456 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
58457 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
58458 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
58459 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
58460 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
58461 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
58462 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
58463 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
58464 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
58465 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
58466 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
58467 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
58468 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
58469 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
58470 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
58471 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
58472 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
58473 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
58474 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
58475 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
58476 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
58477 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
58478 SHARED!$SHARED$ac_delim
58479 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
58480 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
58481 USE_GUI!$USE_GUI$ac_delim
58482 AFMINSTALL!$AFMINSTALL$ac_delim
58483 WIN32INSTALL!$WIN32INSTALL$ac_delim
58484 TOOLKIT!$TOOLKIT$ac_delim
58485 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
58486 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
58487 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
58488 cross_compiling!$cross_compiling$ac_delim
58489 WIDGET_SET!$WIDGET_SET$ac_delim
58490 WX_RELEASE!$WX_RELEASE$ac_delim
58491 WX_VERSION!$WX_VERSION$ac_delim
58492 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
58493 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
58494 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
58495 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
58496 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
58497 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
58498 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
58499 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
58500 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
58501 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
58502 EXE_LINKER!$EXE_LINKER$ac_delim
58503 GUIDIST!$GUIDIST$ac_delim
58504 DISTDIR!$DISTDIR$ac_delim
58505 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
58506 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
58507 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
58508 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
58509 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
58510 RESCOMP!$RESCOMP$ac_delim
58511 RESFLAGS!$RESFLAGS$ac_delim
58512 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
58513 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
58514 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
58515 LIBWXMACRES!$LIBWXMACRES$ac_delim
58516 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
58517 MACSETFILE!$MACSETFILE$ac_delim
58519 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
58520 LIBOBJS!$LIBOBJS$ac_delim
58521 LTLIBOBJS!$LTLIBOBJS$ac_delim
58524 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
58526 elif $ac_last_try; then
58527 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
58528 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
58529 { (exit 1); exit 1; }; }
58531 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
58535 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
58536 if test -n "$ac_eof"; then
58537 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
58538 ac_eof
=`expr $ac_eof + 1`
58541 cat >>$CONFIG_STATUS <<_ACEOF
58542 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
58543 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
58546 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
58547 s/^/s,@/; s/!/@,|#_!!_#|/
58550 s/'"$ac_delim"'$/,g/; t
58552 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
58553 ' >>$CONFIG_STATUS <conf$
$subs.
sed
58554 rm -f conf$
$subs.
sed
58555 cat >>$CONFIG_STATUS <<_ACEOF
58560 # VPATH may cause trouble with some makes, so we remove $(srcdir),
58561 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
58562 # trailing colons and then remove the whole line if VPATH becomes empty
58563 # (actually we leave an empty line to preserve line numbers).
58564 if test "x$srcdir" = x.
; then
58565 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
58566 s/:*\$(srcdir):*/:/
58567 s/:*\${srcdir}:*/:/
58569 s/^\([^=]*=[ ]*\):*/\1/
58575 cat >>$CONFIG_STATUS <<\_ACEOF
58576 fi # test -n "$CONFIG_FILES"
58579 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
58582 :[FHLC
]) ac_mode
=$ac_tag; continue;;
58584 case $ac_mode$ac_tag in
58586 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
58587 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
58588 { (exit 1); exit 1; }; };;
58589 :[FH
]-) ac_tag
=-:-;;
58590 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
58607 -) ac_f
="$tmp/stdin";;
58608 *) # Look for the file first in the build tree, then in the source tree
58609 # (if the path is not absolute). The absolute path cannot be DOS-style,
58610 # because $ac_f cannot contain `:'.
58614 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
58616 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
58617 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
58618 { (exit 1); exit 1; }; };;
58620 ac_file_inputs
="$ac_file_inputs $ac_f"
58623 # Let's still pretend it is `configure' which instantiates (i.e., don't
58624 # use $as_me), people would be surprised to read:
58625 # /* config.h. Generated by config.status. */
58626 configure_input
="Generated from "`IFS=:
58627 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
58628 if test x
"$ac_file" != x
-; then
58629 configure_input
="$ac_file. $configure_input"
58630 { echo "$as_me:$LINENO: creating $ac_file" >&5
58631 echo "$as_me: creating $ac_file" >&6;}
58635 *:-:* | *:-) cat >"$tmp/stdin";;
58640 ac_dir
=`$as_dirname -- "$ac_file" ||
58641 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
58642 X"$ac_file" : 'X\(//\)[^/]' \| \
58643 X"$ac_file" : 'X\(//\)$' \| \
58644 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
58646 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
58650 /^X\(\/\/\)[^/].*/{
58665 -*) as_dir
=.
/$as_dir;;
58667 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
58671 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
58672 *) as_qdir
=$as_dir;;
58674 as_dirs
="'$as_qdir' $as_dirs"
58675 as_dir
=`$as_dirname -- "$as_dir" ||
58676 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
58677 X"$as_dir" : 'X\(//\)[^/]' \| \
58678 X"$as_dir" : 'X\(//\)$' \| \
58679 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
58681 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
58685 /^X\(\/\/\)[^/].*/{
58698 test -d "$as_dir" && break
58700 test -z "$as_dirs" || eval "mkdir $as_dirs"
58701 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
58702 echo "$as_me: error: cannot create directory $as_dir" >&2;}
58703 { (exit 1); exit 1; }; }; }
58707 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
58709 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
58710 # A ".." for each directory in $ac_dir_suffix.
58711 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
58712 case $ac_top_builddir_sub in
58713 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
58714 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
58717 ac_abs_top_builddir
=$ac_pwd
58718 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
58719 # for backward compatibility:
58720 ac_top_builddir
=$ac_top_build_prefix
58723 .
) # We are building in place.
58725 ac_top_srcdir
=$ac_top_builddir_sub
58726 ac_abs_top_srcdir
=$ac_pwd ;;
58727 [\\/]* | ?
:[\\/]* ) # Absolute name.
58728 ac_srcdir
=$srcdir$ac_dir_suffix;
58729 ac_top_srcdir
=$srcdir
58730 ac_abs_top_srcdir
=$srcdir ;;
58731 *) # Relative name.
58732 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
58733 ac_top_srcdir
=$ac_top_build_prefix$srcdir
58734 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
58736 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
58746 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
58747 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
58751 cat >>$CONFIG_STATUS <<\_ACEOF
58752 # If the template does not know about datarootdir, expand it.
58753 # FIXME: This hack should be removed a few years after 2.60.
58754 ac_datarootdir_hack
=; ac_datarootdir_seen
=
58756 case `sed -n '/datarootdir/ {
58765 ' $ac_file_inputs` in
58766 *datarootdir
*) ac_datarootdir_seen
=yes;;
58767 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
58768 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
58769 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
58771 cat >>$CONFIG_STATUS <<_ACEOF
58772 ac_datarootdir_hack='
58773 s&@datadir@&$datadir&g
58774 s&@docdir@&$docdir&g
58775 s&@infodir@&$infodir&g
58776 s&@localedir@&$localedir&g
58777 s&@mandir@&$mandir&g
58778 s&\\\${datarootdir}&$datarootdir&g' ;;
58782 # Neutralize VPATH when `$srcdir' = `.'.
58783 # Shell code in configure.ac might set extrasub.
58784 # FIXME: do we really want to maintain this feature?
58785 cat >>$CONFIG_STATUS <<_ACEOF
58789 cat >>$CONFIG_STATUS <<\_ACEOF
58791 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
58792 s
&@configure_input@
&$configure_input&;t t
58793 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
58794 s
&@srcdir@
&$ac_srcdir&;t t
58795 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
58796 s
&@top_srcdir@
&$ac_top_srcdir&;t t
58797 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
58798 s
&@builddir@
&$ac_builddir&;t t
58799 s
&@abs_builddir@
&$ac_abs_builddir&;t t
58800 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
58801 s
&@INSTALL@
&$ac_INSTALL&;t t
58802 $ac_datarootdir_hack
58803 " $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 's/|#_!!_#|//g' >$tmp/out
58805 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
58806 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
58807 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
58808 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
58809 which seems to be undefined. Please make sure it is defined." >&5
58810 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
58811 which seems to be undefined. Please make sure it is defined." >&2;}
58815 -) cat "$tmp/out"; rm -f "$tmp/out";;
58816 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
58825 # Transform confdefs.h into a sed script `conftest.defines', that
58826 # substitutes the proper values into config.h.in to produce config.h.
58827 rm -f conftest.defines conftest.
tail
58828 # First, append a space to every undef/define line, to ease matching.
58829 echo 's/$/ /' >conftest.defines
58830 # Then, protect against being on the right side of a sed subst, or in
58831 # an unquoted here document, in config.status. If some macros were
58832 # called several times there might be several #defines for the same
58833 # symbol, which is useless. But do not sort them, since the last
58834 # AC_DEFINE must be honored.
58835 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
58836 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
58837 # NAME is the cpp macro being defined, VALUE is the value it is being given.
58838 # PARAMS is the parameter list in the macro definition--in most cases, it's
58839 # just an empty string.
58840 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
58841 ac_dB
='\\)[ (].*,\\1define\\2'
58849 s/^[ ]*#[ ]*define[ ][ ]*//
58854 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
58855 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
58856 ' >>conftest.defines
58858 # Remove the space that was appended to ease matching.
58859 # Then replace #undef with comments. This is necessary, for
58860 # example, in the case of _POSIX_SOURCE, which is predefined and required
58861 # on some systems where configure will not decide to define it.
58862 # (The regexp can be short, since the line contains either #define or #undef.)
58864 s,^[ #]*u.*,/* & */,' >>conftest.defines
58866 # Break up conftest.defines:
58867 ac_max_sed_lines
=50
58869 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
58870 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
58871 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
58873 ac_in
='$ac_file_inputs'
58874 ac_out
='"$tmp/out1"'
58875 ac_nxt
='"$tmp/out2"'
58879 # Write a here document:
58880 cat >>$CONFIG_STATUS <<_ACEOF
58881 # First, check the format of the line:
58882 cat >"\$tmp/defines.sed" <<\\CEOF
58883 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
58884 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
58888 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
58890 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
58891 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
58892 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
58893 grep . conftest.
tail >/dev
/null
|| break
58894 rm -f conftest.defines
58895 mv conftest.
tail conftest.defines
58897 rm -f conftest.defines conftest.
tail
58899 echo "ac_result=$ac_in" >>$CONFIG_STATUS
58900 cat >>$CONFIG_STATUS <<\_ACEOF
58901 if test x
"$ac_file" != x
-; then
58902 echo "/* $configure_input */" >"$tmp/config.h"
58903 cat "$ac_result" >>"$tmp/config.h"
58904 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
58905 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
58906 echo "$as_me: $ac_file is unchanged" >&6;}
58909 mv "$tmp/config.h" $ac_file
58912 echo "/* $configure_input */"
58918 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
58919 echo "$as_me: executing $ac_file commands" >&6;}
58924 case $ac_file$ac_mode in
58926 mkdir -p $outdir &&
58927 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
58929 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
58930 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
58931 "wx-config":C
) rm -f wx
-config
58932 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
58939 { (exit 0); exit 0; }
58941 chmod +x
$CONFIG_STATUS
58942 ac_clean_files
=$ac_clean_files_save
58945 # configure is writing to config.log, and then calls config.status.
58946 # config.status does its own redirection, appending to config.log.
58947 # Unfortunately, on DOS this fails, as config.log is still kept open
58948 # by configure, so config.status won't be able to write to it; its
58949 # output is simply discarded. So we exec the FD to /dev/null,
58950 # effectively closing config.log, so it can be properly (re)opened and
58951 # appended to by config.status. When coming back to configure, we
58952 # need to make the FD available again.
58953 if test "$no_create" != yes; then
58955 ac_config_status_args
=
58956 test "$silent" = yes &&
58957 ac_config_status_args
="$ac_config_status_args --quiet"
58959 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
58961 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
58962 # would make configure fail if this is the last instruction.
58963 $ac_cs_success || { (exit 1); exit 1; }
58967 # CONFIG_SUBDIRS section.
58969 if test "$no_recursion" != yes; then
58971 # Remove --cache-file and --srcdir arguments so they do not pile up.
58972 ac_sub_configure_args
=
58974 eval "set x $ac_configure_args"
58978 if test -n "$ac_prev"; then
58983 -cache-file | --cache-file | --cache-fil | --cache-fi \
58984 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
58985 ac_prev
=cache_file
;;
58986 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
58987 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
58990 --config-cache | -C)
58992 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
58994 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
58996 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
58998 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
59002 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
59004 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
59008 # Always prepend --prefix to ensure using the same prefix
59009 # in subdir configurations.
59010 ac_arg
="--prefix=$prefix"
59012 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
59014 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
59017 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
59019 # Do not complain, so a configure script can configure whichever
59020 # parts of a large source tree are present.
59021 test -d "$srcdir/$ac_dir" || continue
59023 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
59024 echo "$as_me:$LINENO: $ac_msg" >&5
59028 -*) as_dir
=.
/$as_dir;;
59030 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
59034 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
59035 *) as_qdir
=$as_dir;;
59037 as_dirs
="'$as_qdir' $as_dirs"
59038 as_dir
=`$as_dirname -- "$as_dir" ||
59039 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59040 X"$as_dir" : 'X\(//\)[^/]' \| \
59041 X"$as_dir" : 'X\(//\)$' \| \
59042 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
59044 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59048 /^X\(\/\/\)[^/].*/{
59061 test -d "$as_dir" && break
59063 test -z "$as_dirs" || eval "mkdir $as_dirs"
59064 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
59065 echo "$as_me: error: cannot create directory $as_dir" >&2;}
59066 { (exit 1); exit 1; }; }; }
59070 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
59072 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
59073 # A ".." for each directory in $ac_dir_suffix.
59074 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
59075 case $ac_top_builddir_sub in
59076 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
59077 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
59080 ac_abs_top_builddir
=$ac_pwd
59081 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
59082 # for backward compatibility:
59083 ac_top_builddir
=$ac_top_build_prefix
59086 .
) # We are building in place.
59088 ac_top_srcdir
=$ac_top_builddir_sub
59089 ac_abs_top_srcdir
=$ac_pwd ;;
59090 [\\/]* | ?
:[\\/]* ) # Absolute name.
59091 ac_srcdir
=$srcdir$ac_dir_suffix;
59092 ac_top_srcdir
=$srcdir
59093 ac_abs_top_srcdir
=$srcdir ;;
59094 *) # Relative name.
59095 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
59096 ac_top_srcdir
=$ac_top_build_prefix$srcdir
59097 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
59099 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
59104 # Check for guested configure; otherwise get Cygnus style configure.
59105 if test -f "$ac_srcdir/configure.gnu"; then
59106 ac_sub_configure
=$ac_srcdir/configure.gnu
59107 elif test -f "$ac_srcdir/configure"; then
59108 ac_sub_configure
=$ac_srcdir/configure
59109 elif test -f "$ac_srcdir/configure.in"; then
59110 # This should be Cygnus configure.
59111 ac_sub_configure
=$ac_aux_dir/configure
59113 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
59114 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
59118 # The recursion is here.
59119 if test -n "$ac_sub_configure"; then
59120 # Make the cache file name correct relative to the subdirectory.
59121 case $cache_file in
59122 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
59123 *) # Relative name.
59124 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
59127 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
59128 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
59129 # The eval makes quoting arguments work.
59130 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
59131 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
59132 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
59133 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
59134 { (exit 1); exit 1; }; }
59143 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
59145 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
59146 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
59148 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
59149 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
59150 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
59152 echo " What level of wxWidgets compatibility should be enabled?"
59153 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
59154 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
59156 echo " Which libraries should wxWidgets use?"
59157 echo " jpeg ${wxUSE_LIBJPEG-none}"
59158 echo " png ${wxUSE_LIBPNG-none}"
59159 echo " regex ${wxUSE_REGEX}"
59160 echo " tiff ${wxUSE_LIBTIFF-none}"
59161 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
59162 echo " xpm ${wxUSE_LIBXPM-none}"
59164 echo " zlib ${wxUSE_ZLIB}"
59165 echo " odbc ${wxUSE_ODBC}"
59166 echo " expat ${wxUSE_EXPAT}"
59167 echo " libmspack ${wxUSE_LIBMSPACK}"
59168 echo " sdl ${wxUSE_LIBSDL}"