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 --enable-compat26 enable wxWidgets 2.6 compatibility
1630 --disable-compat28 disable wxWidgets 2.8 compatibility
1631 --disable-rpath disable use of rpath for uninstalled builds
1632 --enable-intl use internationalization system
1633 --enable-config use wxConfig (and derived) classes
1634 --enable-protocols use wxProtocol and derived classes
1635 --enable-ftp use wxFTP (requires wxProtocol
1636 --enable-http use wxHTTP (requires wxProtocol
1637 --enable-fileproto use wxFileProto class (requires wxProtocol
1638 --enable-sockets use socket/network classes
1639 --enable-ole use OLE classes (Win32 only)
1640 --enable-dataobj use data object classes
1641 --enable-ipc use interprocess communication (wxSocket etc.)
1642 --enable-apple_ieee use the Apple IEEE codec
1643 --enable-arcstream use wxArchive streams
1644 --enable-backtrace use wxStackWalker class for getting backtraces
1645 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1646 --enable-cmdline use wxCmdLineParser class
1647 --enable-datetime use wxDateTime class
1648 --enable-debugreport use wxDebugReport class
1649 --enable-dialupman use dialup network classes
1650 --enable-dynlib use wxLibrary class for DLL loading
1651 --enable-dynamicloader use (new) wxDynamicLibrary class
1652 --enable-exceptions build exception-safe library
1653 --enable-ffile use wxFFile class
1654 --enable-file use wxFile class
1655 --enable-filesystem use virtual file systems classes
1656 --enable-fontmap use font encodings conversion classes
1657 --enable-fs_archive use virtual archive filesystems
1658 --enable-fs_inet use virtual HTTP/FTP filesystems
1659 --enable-fs_zip now replaced by fs_archive
1660 --enable-geometry use geometry class
1661 --enable-log use logging system
1662 --enable-longlong use wxLongLong class
1663 --enable-mimetype use wxMimeTypesManager
1664 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1665 --enable-snglinst use wxSingleInstanceChecker class
1666 --enable-std_iostreams use standard C++ stream classes
1667 --enable-std_string use standard C++ string classes
1668 --enable-stdpaths use wxStandardPaths class
1669 --enable-stopwatch use wxStopWatch class
1670 --enable-streams use wxStream etc classes
1671 --enable-sysoptions use wxSystemOptions
1672 --enable-tarstream use wxTar streams
1673 --enable-textbuf use wxTextBuffer class
1674 --enable-textfile use wxTextFile class
1675 --enable-timer use wxTimer class
1676 --enable-unicode compile wxString with Unicode support
1677 --enable-sound use wxSound class
1678 --enable-mediactrl use wxMediaCtrl class
1679 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1680 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1681 --enable-zipstream use wxZip streams
1682 --enable-url use wxURL class
1683 --enable-variant use wxVariant class
1684 --enable-protocol use wxProtocol class
1685 --enable-protocol-http HTTP support in wxProtocol
1686 --enable-protocol-ftp FTP support in wxProtocol
1687 --enable-protocol-file FILE support in wxProtocol
1688 --enable-threads use threads
1689 --enable-docview use document view architecture
1690 --enable-help use help subsystem
1691 --enable-mshtmlhelp use MS HTML Help (win32)
1692 --enable-html use wxHTML sub-library
1693 --enable-htmlhelp use wxHTML-based help
1694 --enable-xrc use XRC resources sub-library
1695 --enable-aui use AUI docking library
1696 --enable-constraints use layout-constraints system
1697 --enable-printarch use printing architecture
1698 --enable-mdi use multiple document interface architecture
1699 --enable-mdidoc use docview architecture with MDI
1700 --enable-loggui use standard GUI logger
1701 --enable-logwin use wxLogWindow
1702 --enable-logdialog use wxLogDialog
1703 --enable-webkit use wxWebKitCtrl (Mac)
1704 --enable-richtext use wxRichTextCtrl
1705 --enable-graphics_ctx use graphics context 2D drawing API
1706 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1707 --enable-prologio not available; see contrib
1708 --enable-resources not available; see contrib
1709 --enable-clipboard use wxClipboard class
1710 --enable-dnd use Drag'n
'Drop classes
1711 --enable-metafile use win32 metafiles
1712 --enable-controls use all usual controls
1713 --enable-accel use accelerators
1714 --enable-animatectrl use wxAnimationCtrl class
1715 --enable-button use wxButton class
1716 --enable-bmpbutton use wxBitmapButton class
1717 --enable-bmpcombobox use wxBitmapComboBox class
1718 --enable-calendar use wxCalendarCtrl class
1719 --enable-caret use wxCaret class
1720 --enable-checkbox use wxCheckBox class
1721 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1722 --enable-choice use wxChoice class
1723 --enable-choicebook use wxChoicebook class
1724 --enable-collpane use wxCollapsiblePane class
1725 --enable-colourpicker use wxColourPickerCtrl class
1726 --enable-combobox use wxComboBox class
1727 --enable-comboctrl use wxComboCtrl class
1728 --enable-datepick use wxDatePickerCtrl class
1729 --enable-dirpicker use wxDirPickerCtrl class
1730 --enable-display use wxDisplay class
1731 --enable-detect_sm use code to detect X11 session manager
1732 --enable-filepicker use wxFilePickerCtrl class
1733 --enable-fontpicker use wxFontPickerCtrl class
1734 --enable-gauge use wxGauge class
1735 --enable-grid use wxGrid class
1736 --enable-dataviewctrl use wxDataViewCtrl class
1737 --enable-hyperlink use wxHyperlinkCtrl class
1738 --enable-imaglist use wxImageList class
1739 --enable-listbook use wxListbook class
1740 --enable-listbox use wxListBox class
1741 --enable-listctrl use wxListCtrl class
1742 --enable-notebook use wxNotebook class
1743 --enable-odcombobox use wxOwnerDrawnComboBox class
1744 --enable-radiobox use wxRadioBox class
1745 --enable-radiobtn use wxRadioButton class
1746 --enable-sash use wxSashWindow class
1747 --enable-scrollbar use wxScrollBar class and scrollable windows
1748 --enable-searchctrl use wxSearchCtrl class
1749 --enable-slider use wxSlider class
1750 --enable-spinbtn use wxSpinButton class
1751 --enable-spinctrl use wxSpinCtrl class
1752 --enable-splitter use wxSplitterWindow class
1753 --enable-statbmp use wxStaticBitmap class
1754 --enable-statbox use wxStaticBox class
1755 --enable-statline use wxStaticLine class
1756 --enable-stattext use wxStaticText class
1757 --enable-statusbar use wxStatusBar class
1758 --enable-tabdialog use wxTabControl class
1759 --enable-textctrl use wxTextCtrl class
1760 --enable-togglebtn use wxToggleButton class
1761 --enable-toolbar use wxToolBar class
1762 --enable-tbarnative use native wxToolBar class
1763 --enable-treebook use wxTreebook class
1764 --enable-toolbook use wxToolbook class
1765 --enable-treectrl use wxTreeCtrl class
1766 --enable-tipwindow use wxTipWindow class
1767 --enable-popupwin use wxPopUpWindow class
1768 --enable-commondlg use all common dialogs
1769 --enable-aboutdlg use wxAboutBox
1770 --enable-choicedlg use wxChoiceDialog
1771 --enable-coldlg use wxColourDialog
1772 --enable-filedlg use wxFileDialog
1773 --enable-finddlg use wxFindReplaceDialog
1774 --enable-fontdlg use wxFontDialog
1775 --enable-dirdlg use wxDirDialog
1776 --enable-msgdlg use wxMessageDialog
1777 --enable-numberdlg use wxNumberEntryDialog
1778 --enable-splash use wxSplashScreen
1779 --enable-textdlg use wxTextDialog
1780 --enable-tipdlg use startup tips
1781 --enable-progressdlg use wxProgressDialog
1782 --enable-wizarddlg use wxWizard
1783 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1784 --enable-miniframe use wxMiniFrame class
1785 --enable-tooltips use wxToolTip class
1786 --enable-splines use spline drawing code
1787 --enable-mousewheel use mousewheel
1788 --enable-validators use wxValidator and derived classes
1789 --enable-busyinfo use wxBusyInfo
1790 --enable-joystick use wxJoystick
1791 --enable-metafiles use wxMetaFile (Win32 only)
1792 --enable-dragimage use wxDragImage
1793 --enable-accessibility enable accessibility support
1794 --enable-dccache cache temporary wxDC objects (Win32 only)
1795 --enable-palette use wxPalette class
1796 --enable-image use wxImage class
1797 --enable-gif use gif images (GIF file format)
1798 --enable-pcx use pcx images (PCX file format)
1799 --enable-tga use tga images (TGA file format)
1800 --enable-iff use iff images (IFF file format)
1801 --enable-pnm use pnm images (PNM file format)
1802 --enable-xpm use xpm images (XPM file format)
1803 --enable-icocur use Windows ICO and CUR formats
1804 --enable-official_build official build of wxWidgets (win32 DLL only)
1805 --enable-vendor=VENDOR vendor name (win32 DLL only)
1806 --disable-largefile omit support for large files
1807 --disable-gtktest do not try to compile and run a test GTK+ program
1808 --disable-gtktest Do not try to compile and run a test GTK program
1809 --disable-sdltest Do not try to compile and run a test SDL program
1810 --enable-omf use OMF object format (OS/2)
1811 --disable-dependency-tracking
1812 don't use dependency tracking even
if the compiler
1814 --disable-precomp-headers
1815 don
't use precompiled headers even if compiler can
1818 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1819 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1820 --without-subdirs don't generate makefiles
for samples
/demos
/...
1821 --with-gtk[=VERSION
] use GTK
+, VERSION can be
2 (default
), 1 or
"any"
1822 --with-motif use Motif
/Lesstif
1823 --with-mac use Mac OS X
1824 --with-cocoa use Cocoa
1825 --with-wine use Wine
1826 --with-msw use MS
-Windows
1827 --with-pm use OS
/2 Presentation Manager
1828 --with-mgl use SciTech MGL
1829 --with-directfb use DirectFB
1830 --with-microwin use MicroWindows
1832 --with-libpng use libpng
(PNG image format
)
1833 --with-libjpeg use libjpeg
(JPEG
file format
)
1834 --with-libtiff use libtiff
(TIFF
file format
)
1835 --with-libxpm use libxpm
(XPM
file format
)
1836 --with-libmspack use libmspack
(CHM
help files loading
)
1837 --with-sdl use SDL
for audio on Unix
1838 --with-gnomeprint use GNOME print
for printing under GNOME
1839 --with-gnomevfs use GNOME VFS
for associating MIME types
1840 --with-hildon use Hildon framework
for Nokia
770
1841 --with-opengl use OpenGL
(or Mesa
)
1842 --with-themes=all
|list use only the specified comma
-separated list of wxUniversal themes
1843 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1844 --with-regex enable support
for wxRegEx class
1845 --with-zlib use zlib
for LZW compression
1846 --with-odbc use the IODBC and wxODBC classes
1847 --with-expat enable XML support using expat parser
1848 --with-flavour=NAME specify a name to identify this build
1849 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1850 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1851 --with-x use the X Window System
1852 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1853 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1854 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1855 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1856 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1858 Some influential environment variables
:
1859 CC C compiler
command
1860 CFLAGS C compiler flags
1861 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1862 nonstandard directory
<lib dir
>
1863 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1864 you have headers
in a nonstandard directory
<include dir
>
1866 CXX C
++ compiler
command
1867 CXXFLAGS C
++ compiler flags
1868 CXXCPP C
++ preprocessor
1869 PKG_CONFIG path to pkg
-config utility
1871 C compiler flags
for DIRECTFB
, overriding pkg
-config
1873 linker flags
for DIRECTFB
, overriding pkg
-config
1874 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1876 C compiler flags
for PANGOX
, overriding pkg
-config
1877 PANGOX_LIBS linker flags
for PANGOX
, overriding pkg
-config
1879 C compiler flags
for PANGOFT2
, overriding pkg
-config
1881 linker flags
for PANGOFT2
, overriding pkg
-config
1883 C compiler flags
for PANGOXFT
, overriding pkg
-config
1885 linker flags
for PANGOXFT
, overriding pkg
-config
1886 LIBGNOMEPRINTUI_CFLAGS
1887 C compiler flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1888 LIBGNOMEPRINTUI_LIBS
1889 linker flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1891 C compiler flags
for GNOMEVFS
, overriding pkg
-config
1893 linker flags
for GNOMEVFS
, overriding pkg
-config
1895 C compiler flags
for HILDON
, overriding pkg
-config
1896 HILDON_LIBS linker flags
for HILDON
, overriding pkg
-config
1898 C compiler flags
for CAIRO
, overriding pkg
-config
1899 CAIRO_LIBS linker flags
for CAIRO
, overriding pkg
-config
1900 GST_CFLAGS C compiler flags
for GST
, overriding pkg
-config
1901 GST_LIBS linker flags
for GST
, overriding pkg
-config
1903 Use these variables to override the choices made by
`configure' or to help
1904 it to find libraries and programs with nonstandard names/locations.
1906 Report bugs to <wx-dev@lists.wxwidgets.org>.
1911 if test "$ac_init_help" = "recursive"; then
1912 # If there are subdirs, report their specific --help.
1913 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1914 test -d "$ac_dir" || continue
1918 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1920 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1921 # A ".." for each directory in $ac_dir_suffix.
1922 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1923 case $ac_top_builddir_sub in
1924 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1925 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1928 ac_abs_top_builddir=$ac_pwd
1929 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1930 # for backward compatibility:
1931 ac_top_builddir=$ac_top_build_prefix
1934 .) # We are building in place.
1936 ac_top_srcdir=$ac_top_builddir_sub
1937 ac_abs_top_srcdir=$ac_pwd ;;
1938 [\\/]* | ?:[\\/]* ) # Absolute name.
1939 ac_srcdir=$srcdir$ac_dir_suffix;
1940 ac_top_srcdir=$srcdir
1941 ac_abs_top_srcdir=$srcdir ;;
1943 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1944 ac_top_srcdir=$ac_top_build_prefix$srcdir
1945 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1947 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1949 cd "$ac_dir" || { ac_status=$?; continue; }
1950 # Check for guested configure.
1951 if test -f "$ac_srcdir/configure.gnu"; then
1953 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1954 elif test -f "$ac_srcdir/configure"; then
1956 $SHELL "$ac_srcdir/configure" --help=recursive
1958 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1960 cd "$ac_pwd" || { ac_status=$?; break; }
1964 test -n "$ac_init_help" && exit $ac_status
1965 if $ac_init_version; then
1967 wxWidgets configure 2.9.0
1968 generated by GNU Autoconf 2.60
1970 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1971 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1972 This configure script is free software; the Free Software Foundation
1973 gives unlimited permission to copy, distribute and modify it.
1977 cat >config.log <<_ACEOF
1978 This file contains any messages produced by compilers while
1979 running configure, to aid debugging if configure makes a mistake.
1981 It was created by wxWidgets $as_me 2.9.0, which was
1982 generated by GNU Autoconf 2.60. Invocation command line was
1994 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1995 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1996 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1997 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1998 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2000 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2001 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2003 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2004 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2005 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2006 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2007 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2008 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2009 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2017 test -z "$as_dir" && as_dir=.
2018 echo "PATH: $as_dir"
2034 # Keep a trace of the command line.
2035 # Strip out --no-create and --no-recursion so they do not pile up.
2036 # Strip out --silent because we don't want to record it for future runs.
2037 # Also quote any args containing shell meta-characters.
2038 # Make two passes to allow for proper duplicate-argument suppression.
2042 ac_must_keep_next=false
2048 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2049 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2050 | -silent | --silent | --silen | --sile | --sil)
2053 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2056 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2058 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2059 if test $ac_must_keep_next = true; then
2060 ac_must_keep_next=false # Got value, back to normal.
2063 *=* | --config-cache | -C | -disable-* | --disable-* \
2064 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2065 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2066 | -with-* | --with-* | -without-* | --without-* | --x)
2067 case "$ac_configure_args0 " in
2068 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2071 -* ) ac_must_keep_next=true ;;
2074 ac_configure_args="$ac_configure_args '$ac_arg'"
2079 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2080 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2082 # When interrupted or exit'd, cleanup temporary files, and complete
2083 # config.log. We remove comments because anyway the quotes in there
2084 # would cause problems or look ugly.
2085 # WARNING: Use '\'' to represent an apostrophe within the trap.
2086 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2087 trap 'exit_status=$?
2088 # Save into config.log some information that might help in debugging.
2093 ## ---------------- ##
2094 ## Cache variables. ##
2095 ## ---------------- ##
2098 # The following way of writing the cache mishandles newlines in values,
2100 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2101 eval ac_val=\$$ac_var
2105 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2106 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2109 _ | IFS | as_nl) ;; #(
2110 *) $as_unset $ac_var ;;
2115 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2116 *${as_nl}ac_space=\ *)
2118 "s/'\''/'\''\\\\'\'''\''/g;
2119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2122 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2130 ## ----------------- ##
2131 ## Output variables. ##
2132 ## ----------------- ##
2135 for ac_var in $ac_subst_vars
2137 eval ac_val=\$$ac_var
2139 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2141 echo "$ac_var='\''$ac_val'\''"
2145 if test -n "$ac_subst_files"; then
2147 ## ------------------- ##
2148 ## File substitutions. ##
2149 ## ------------------- ##
2152 for ac_var in $ac_subst_files
2154 eval ac_val=\$$ac_var
2156 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2158 echo "$ac_var='\''$ac_val'\''"
2163 if test -s confdefs.h; then
2173 test "$ac_signal" != 0 &&
2174 echo "$as_me: caught signal $ac_signal"
2175 echo "$as_me: exit $exit_status"
2177 rm -f core *.core core.conftest.* &&
2178 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2181 for ac_signal in 1 2 13 15; do
2182 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2186 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2187 rm -f -r conftest* confdefs.h
2189 # Predefined preprocessor variables.
2191 cat >>confdefs.h <<_ACEOF
2192 #define PACKAGE_NAME "$PACKAGE_NAME"
2196 cat >>confdefs.h <<_ACEOF
2197 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2201 cat >>confdefs.h <<_ACEOF
2202 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2206 cat >>confdefs.h <<_ACEOF
2207 #define PACKAGE_STRING "$PACKAGE_STRING"
2211 cat >>confdefs.h <<_ACEOF
2212 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2216 # Let the site file select an alternate cache file if it wants to.
2217 # Prefer explicitly selected file to automatically selected ones.
2218 if test -n "$CONFIG_SITE"; then
2219 set x "$CONFIG_SITE"
2220 elif test "x$prefix" != xNONE; then
2221 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2223 set x "$ac_default_prefix/share/config.site" \
2224 "$ac_default_prefix/etc/config.site"
2229 if test -r "$ac_site_file"; then
2230 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2231 echo "$as_me: loading site script $ac_site_file" >&6;}
2232 sed 's/^/| /' "$ac_site_file" >&5
2237 if test -r "$cache_file"; then
2238 # Some versions of bash will fail to source /dev/null (special
2239 # files actually), so we avoid doing that.
2240 if test -f "$cache_file"; then
2241 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2242 echo "$as_me: loading cache $cache_file" >&6;}
2244 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2245 *) . "./$cache_file";;
2249 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2250 echo "$as_me: creating cache $cache_file" >&6;}
2254 # Check that the precious variables saved in the cache have kept the same
2256 ac_cache_corrupted=false
2257 for ac_var in $ac_precious_vars; do
2258 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2259 eval ac_new_set=\$ac_env_${ac_var}_set
2260 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2261 eval ac_new_val=\$ac_env_${ac_var}_value
2262 case $ac_old_set,$ac_new_set in
2264 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2265 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2266 ac_cache_corrupted=: ;;
2268 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
2269 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2270 ac_cache_corrupted=: ;;
2273 if test "x$ac_old_val" != "x$ac_new_val"; then
2274 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2275 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2276 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
2277 echo "$as_me: former value
: $ac_old_val" >&2;}
2278 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
2279 echo "$as_me: current value
: $ac_new_val" >&2;}
2280 ac_cache_corrupted=:
2283 # Pass precious variables to config.status.
2284 if test "$ac_new_set" = set; then
2286 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2287 *) ac_arg=$ac_var=$ac_new_val ;;
2289 case " $ac_configure_args " in
2290 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2291 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2295 if $ac_cache_corrupted; then
2296 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
2297 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
2298 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
2299 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
2300 { (exit 1); exit 1; }; }
2328 ac_cpp='$CPP $CPPFLAGS'
2329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2338 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2339 if test -f "$ac_dir/install-sh"; then
2341 ac_install_sh="$ac_aux_dir/install-sh -c"
2343 elif test -f "$ac_dir/install.sh"; then
2345 ac_install_sh="$ac_aux_dir/install.sh -c"
2347 elif test -f "$ac_dir/shtool"; then
2349 ac_install_sh="$ac_aux_dir/shtool install -c"
2353 if test -z "$ac_aux_dir"; then
2354 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2355 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2356 { (exit 1); exit 1; }; }
2359 # These three variables are undocumented and unsupported,
2360 # and are intended to be withdrawn in a future Autoconf release.
2361 # They can cause serious problems if a builder's source tree is in a directory
2362 # whose full name contains unusual characters.
2363 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2364 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2365 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2368 # Make sure we can run config.sub.
2369 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2370 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2371 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2372 { (exit 1); exit 1; }; }
2374 { echo "$as_me:$LINENO: checking build system type" >&5
2375 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2376 if test "${ac_cv_build+set}" = set; then
2377 echo $ECHO_N "(cached) $ECHO_C" >&6
2379 ac_build_alias=$build_alias
2380 test "x$ac_build_alias" = x &&
2381 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2382 test "x$ac_build_alias" = x &&
2383 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2384 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2385 { (exit 1); exit 1; }; }
2386 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2387 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2388 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2389 { (exit 1); exit 1; }; }
2392 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2393 echo "${ECHO_T}$ac_cv_build" >&6; }
2394 case $ac_cv_build in
2396 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2397 echo "$as_me: error: invalid value of canonical build" >&2;}
2398 { (exit 1); exit 1; }; };;
2401 ac_save_IFS=$IFS; IFS='-'
2407 # Remember, the first character of IFS is used to create $*,
2408 # except with old shells:
2411 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2414 { echo "$as_me:$LINENO: checking host system type" >&5
2415 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2416 if test "${ac_cv_host+set}" = set; then
2417 echo $ECHO_N "(cached) $ECHO_C" >&6
2419 if test "x$host_alias" = x; then
2420 ac_cv_host=$ac_cv_build
2422 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2423 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2424 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2425 { (exit 1); exit 1; }; }
2429 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2430 echo "${ECHO_T}$ac_cv_host" >&6; }
2433 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2434 echo "$as_me: error: invalid value of canonical host" >&2;}
2435 { (exit 1); exit 1; }; };;
2438 ac_save_IFS=$IFS; IFS='-'
2444 # Remember, the first character of IFS is used to create $*,
2445 # except with old shells:
2448 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2451 { echo "$as_me:$LINENO: checking target system type" >&5
2452 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2453 if test "${ac_cv_target+set}" = set; then
2454 echo $ECHO_N "(cached) $ECHO_C" >&6
2456 if test "x$target_alias" = x; then
2457 ac_cv_target=$ac_cv_host
2459 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2460 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2461 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2462 { (exit 1); exit 1; }; }
2466 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2467 echo "${ECHO_T}$ac_cv_target" >&6; }
2468 case $ac_cv_target in
2470 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2471 echo "$as_me: error: invalid value of canonical target" >&2;}
2472 { (exit 1); exit 1; }; };;
2474 target=$ac_cv_target
2475 ac_save_IFS=$IFS; IFS='-'
2481 # Remember, the first character of IFS is used to create $*,
2482 # except with old shells:
2485 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2488 # The aliases save the names the user supplied, while $host etc.
2489 # will get canonicalized.
2490 test -n "$target_alias" &&
2491 test "$program_prefix$program_suffix$program_transform_name" = \
2493 program_prefix=${target_alias}-
2497 wx_major_version_number=2
2498 wx_minor_version_number=9
2500 wx_subrelease_number=0
2502 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2503 WX_VERSION=$WX_RELEASE.$wx_release_number
2504 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2506 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2509 wx_top_builddir="`pwd`"
2522 USE_BSD= USE_DARWIN= USE_FREEBSD=
2528 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2534 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2536 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2538 DEFAULT_wxUSE_COCOA=0
2542 DEFAULT_wxUSE_MICROWIN=0
2543 DEFAULT_wxUSE_MOTIF=0
2549 DEFAULT_DEFAULT_wxUSE_COCOA=0
2550 DEFAULT_DEFAULT_wxUSE_GTK=0
2551 DEFAULT_DEFAULT_wxUSE_MAC=0
2552 DEFAULT_DEFAULT_wxUSE_MGL=0
2553 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2554 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2555 DEFAULT_DEFAULT_wxUSE_MSW=0
2556 DEFAULT_DEFAULT_wxUSE_PM=0
2557 DEFAULT_DEFAULT_wxUSE_X11=0
2558 DEFAULT_DEFAULT_wxUSE_DFB=0
2563 SAMPLES_RPATH_POSTLINK=
2565 DEFAULT_STD_FLAG=yes
2570 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2571 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2573 cat >>confdefs.h <<\_ACEOF
2578 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2582 cat >>confdefs.h <<\_ACEOF
2587 if test "x$TMP" = "xalpha"; then
2589 cat >>confdefs.h <<\_ACEOF
2594 DEFAULT_DEFAULT_wxUSE_GTK=1
2596 *-*-gnu* | *-*-k*bsd*-gnu )
2599 if test "x$TMP" = "xalpha"; then
2601 cat >>confdefs.h <<\_ACEOF
2606 DEFAULT_DEFAULT_wxUSE_GTK=1
2608 *-*-irix5* | *-*-irix6* )
2611 cat >>confdefs.h <<\_ACEOF
2615 cat >>confdefs.h <<\_ACEOF
2619 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2625 cat >>confdefs.h <<\_ACEOF
2629 cat >>confdefs.h <<\_ACEOF
2630 #define __SOLARIS__ 1
2633 cat >>confdefs.h <<\_ACEOF
2637 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2638 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2644 cat >>confdefs.h <<\_ACEOF
2648 cat >>confdefs.h <<\_ACEOF
2652 cat >>confdefs.h <<\_ACEOF
2656 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2661 cat >>confdefs.h <<\_ACEOF
2662 #define __FREEBSD__ 1
2665 cat >>confdefs.h <<\_ACEOF
2669 DEFAULT_DEFAULT_wxUSE_GTK=1
2671 *-*-openbsd*|*-*-mirbsd*)
2674 cat >>confdefs.h <<\_ACEOF
2675 #define __OPENBSD__ 1
2678 cat >>confdefs.h <<\_ACEOF
2682 DEFAULT_DEFAULT_wxUSE_GTK=1
2687 cat >>confdefs.h <<\_ACEOF
2688 #define __NETBSD__ 1
2691 cat >>confdefs.h <<\_ACEOF
2695 DEFAULT_DEFAULT_wxUSE_GTK=1
2696 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2698 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2703 cat >>confdefs.h <<\_ACEOF
2707 cat >>confdefs.h <<\_ACEOF
2711 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2712 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2717 cat >>confdefs.h <<\_ACEOF
2721 cat >>confdefs.h <<\_ACEOF
2725 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2730 cat >>confdefs.h <<\_ACEOF
2734 cat >>confdefs.h <<\_ACEOF
2738 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2745 cat >>confdefs.h <<\_ACEOF
2749 cat >>confdefs.h <<\_ACEOF
2753 cat >>confdefs.h <<\_ACEOF
2757 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2764 cat >>confdefs.h <<\_ACEOF
2765 #define __UNIXWARE__ 1
2770 *-*-cygwin* | *-*-mingw32* )
2773 DEFAULT_DEFAULT_wxUSE_MSW=1
2779 cat >>confdefs.h <<\_ACEOF
2784 DEFAULT_DEFAULT_wxUSE_MGL=1
2787 *-pc-os2_emx | *-pc-os2-emx )
2788 cat >>confdefs.h <<\_ACEOF
2793 cat >>confdefs.h <<\_ACEOF
2798 DEFAULT_DEFAULT_wxUSE_PM=1
2800 LDFLAGS="$LDFLAGS -Zcrtdll"
2801 ac_executable_extensions=".exe"
2802 export ac_executable_extensions
2806 for ac_dir in $PATH; do
2808 if test -z "$ac_TEMP_PATH"; then
2809 ac_TEMP_PATH="$ac_dir"
2811 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2814 export PATH="$ac_TEMP_PATH"
2823 cat >>confdefs.h <<\_ACEOF
2827 cat >>confdefs.h <<\_ACEOF
2828 #define __DARWIN__ 1
2831 cat >>confdefs.h <<\_ACEOF
2832 #define TARGET_CARBON 1
2835 DEFAULT_DEFAULT_wxUSE_MAC=1
2838 powerpc-apple-macos* )
2840 ac_cv_c_bigendian=yes
2842 DEFAULT_DEFAULT_wxUSE_MAC=1
2848 cat >>confdefs.h <<\_ACEOF
2855 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2856 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2857 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2858 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2860 DEFAULT_DEFAULT_wxUSE_X11=1
2861 DEFAULT_wxUSE_SHARED=no
2867 wx_arg_cache_file="configarg.cache"
2868 echo "loading argument cache $wx_arg_cache_file"
2869 rm -f ${wx_arg_cache_file}.tmp
2870 touch ${wx_arg_cache_file}.tmp
2871 touch ${wx_arg_cache_file}
2875 if test $DEBUG_CONFIGURE = 1; then
2876 DEFAULT_wxUSE_UNIVERSAL=no
2877 DEFAULT_wxUSE_STL=no
2879 DEFAULT_wxUSE_NANOX=no
2881 DEFAULT_wxUSE_THREADS=yes
2883 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2884 DEFAULT_wxUSE_OPTIMISE=no
2885 DEFAULT_wxUSE_PROFILE=no
2886 DEFAULT_wxUSE_NO_DEPS=no
2887 DEFAULT_wxUSE_VARARG_MACROS=no
2888 DEFAULT_wxUSE_NO_RTTI=no
2889 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2890 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2891 DEFAULT_wxUSE_RPATH=yes
2892 DEFAULT_wxUSE_PERMISSIVE=no
2893 DEFAULT_wxUSE_DEBUG_FLAG=yes
2894 DEFAULT_wxUSE_DEBUG_INFO=yes
2895 DEFAULT_wxUSE_DEBUG_GDB=yes
2896 DEFAULT_wxUSE_MEM_TRACING=no
2897 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2898 DEFAULT_wxUSE_DMALLOC=no
2899 DEFAULT_wxUSE_APPLE_IEEE=no
2901 DEFAULT_wxUSE_EXCEPTIONS=no
2902 DEFAULT_wxUSE_LOG=yes
2903 DEFAULT_wxUSE_LOGWINDOW=no
2904 DEFAULT_wxUSE_LOGGUI=no
2905 DEFAULT_wxUSE_LOGDIALOG=no
2907 DEFAULT_wxUSE_GUI=yes
2908 DEFAULT_wxUSE_CONTROLS=no
2910 DEFAULT_wxUSE_REGEX=no
2911 DEFAULT_wxUSE_XML=no
2912 DEFAULT_wxUSE_EXPAT=no
2913 DEFAULT_wxUSE_ZLIB=no
2914 DEFAULT_wxUSE_LIBPNG=no
2915 DEFAULT_wxUSE_LIBJPEG=no
2916 DEFAULT_wxUSE_LIBTIFF=no
2917 DEFAULT_wxUSE_LIBXPM=no
2918 DEFAULT_wxUSE_LIBMSPACK=no
2919 DEFAULT_wxUSE_LIBSDL=no
2920 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2921 DEFAULT_wxUSE_LIBGNOMEVFS=no
2922 DEFAULT_wxUSE_LIBHILDON=no
2923 DEFAULT_wxUSE_ODBC=no
2924 DEFAULT_wxUSE_OPENGL=no
2926 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2927 DEFAULT_wxUSE_STACKWALKER=no
2928 DEFAULT_wxUSE_DEBUGREPORT=no
2929 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2930 DEFAULT_wxUSE_STD_IOSTREAM=no
2931 DEFAULT_wxUSE_STD_STRING=no
2932 DEFAULT_wxUSE_CMDLINE_PARSER=no
2933 DEFAULT_wxUSE_DATETIME=no
2934 DEFAULT_wxUSE_TIMER=no
2935 DEFAULT_wxUSE_STOPWATCH=no
2936 DEFAULT_wxUSE_FILE=no
2937 DEFAULT_wxUSE_FFILE=no
2938 DEFAULT_wxUSE_STDPATHS=no
2939 DEFAULT_wxUSE_TEXTBUFFER=no
2940 DEFAULT_wxUSE_TEXTFILE=no
2941 DEFAULT_wxUSE_SOUND=no
2942 DEFAULT_wxUSE_MEDIACTRL=no
2943 DEFAULT_wxUSE_GSTREAMER8=no
2944 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2945 DEFAULT_wxUSE_INTL=no
2946 DEFAULT_wxUSE_CONFIG=no
2947 DEFAULT_wxUSE_FONTMAP=no
2948 DEFAULT_wxUSE_STREAMS=no
2949 DEFAULT_wxUSE_SOCKETS=no
2950 DEFAULT_wxUSE_OLE=no
2951 DEFAULT_wxUSE_DATAOBJ=no
2952 DEFAULT_wxUSE_DIALUP_MANAGER=no
2953 DEFAULT_wxUSE_JOYSTICK=no
2954 DEFAULT_wxUSE_DYNLIB_CLASS=no
2955 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2956 DEFAULT_wxUSE_LONGLONG=no
2957 DEFAULT_wxUSE_GEOMETRY=no
2959 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2960 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2961 DEFAULT_wxUSE_POSTSCRIPT=no
2963 DEFAULT_wxUSE_CLIPBOARD=no
2964 DEFAULT_wxUSE_TOOLTIPS=no
2965 DEFAULT_wxUSE_DRAG_AND_DROP=no
2966 DEFAULT_wxUSE_DRAGIMAGE=no
2967 DEFAULT_wxUSE_SPLINES=no
2968 DEFAULT_wxUSE_MOUSEWHEEL=no
2970 DEFAULT_wxUSE_MDI=no
2971 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2972 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2973 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2975 DEFAULT_wxUSE_RESOURCES=no
2976 DEFAULT_wxUSE_CONSTRAINTS=no
2977 DEFAULT_wxUSE_IPC=no
2978 DEFAULT_wxUSE_HELP=no
2979 DEFAULT_wxUSE_MS_HTML_HELP=no
2980 DEFAULT_wxUSE_WXHTML_HELP=no
2981 DEFAULT_wxUSE_TREELAYOUT=no
2982 DEFAULT_wxUSE_METAFILE=no
2983 DEFAULT_wxUSE_MIMETYPE=no
2984 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2985 DEFAULT_wxUSE_PROTOCOL=no
2986 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2987 DEFAULT_wxUSE_PROTOCOL_FTP=no
2988 DEFAULT_wxUSE_PROTOCOL_FILE=no
2989 DEFAULT_wxUSE_URL=no
2990 DEFAULT_wxUSE_VARIANT=no
2992 DEFAULT_wxUSE_ABOUTDLG=no
2993 DEFAULT_wxUSE_COMMONDLGS=no
2994 DEFAULT_wxUSE_CHOICEDLG=no
2995 DEFAULT_wxUSE_COLOURDLG=no
2996 DEFAULT_wxUSE_DIRDLG=no
2997 DEFAULT_wxUSE_FILEDLG=no
2998 DEFAULT_wxUSE_FINDREPLDLG=no
2999 DEFAULT_wxUSE_FONTDLG=no
3000 DEFAULT_wxUSE_MSGDLG=no
3001 DEFAULT_wxUSE_NUMBERDLG=no
3002 DEFAULT_wxUSE_TEXTDLG=no
3003 DEFAULT_wxUSE_SPLASH=no
3004 DEFAULT_wxUSE_STARTUP_TIPS=no
3005 DEFAULT_wxUSE_PROGRESSDLG=no
3006 DEFAULT_wxUSE_WIZARDDLG=no
3008 DEFAULT_wxUSE_MENUS=no
3009 DEFAULT_wxUSE_MINIFRAME=no
3010 DEFAULT_wxUSE_HTML=no
3011 DEFAULT_wxUSE_RICHTEXT=no
3012 DEFAULT_wxUSE_XRC=no
3013 DEFAULT_wxUSE_AUI=no
3014 DEFAULT_wxUSE_WEBKIT=no
3015 DEFAULT_wxUSE_FILESYSTEM=no
3016 DEFAULT_wxUSE_FS_INET=no
3017 DEFAULT_wxUSE_FS_ZIP=no
3018 DEFAULT_wxUSE_FS_ARCHIVE=no
3019 DEFAULT_wxUSE_BUSYINFO=no
3020 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3021 DEFAULT_wxUSE_ZIPSTREAM=no
3022 DEFAULT_wxUSE_TARSTREAM=no
3023 DEFAULT_wxUSE_VALIDATORS=no
3025 DEFAULT_wxUSE_ACCEL=no
3026 DEFAULT_wxUSE_ANIMATIONCTRL=no
3027 DEFAULT_wxUSE_BUTTON=no
3028 DEFAULT_wxUSE_BMPBUTTON=no
3029 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3030 DEFAULT_wxUSE_CALCTRL=no
3031 DEFAULT_wxUSE_CARET=no
3032 DEFAULT_wxUSE_CHECKBOX=no
3033 DEFAULT_wxUSE_CHECKLST=no
3034 DEFAULT_wxUSE_CHOICE=no
3035 DEFAULT_wxUSE_CHOICEBOOK=no
3036 DEFAULT_wxUSE_COLLPANE=no
3037 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3038 DEFAULT_wxUSE_COMBOBOX=no
3039 DEFAULT_wxUSE_COMBOCTRL=no
3040 DEFAULT_wxUSE_DATEPICKCTRL=no
3041 DEFAULT_wxUSE_DISPLAY=no
3042 DEFAULT_wxUSE_DETECT_SM=no
3043 DEFAULT_wxUSE_DIRPICKERCTRL=no
3044 DEFAULT_wxUSE_FILEPICKERCTRL=no
3045 DEFAULT_wxUSE_FONTPICKERCTRL=no
3046 DEFAULT_wxUSE_GAUGE=no
3047 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3048 DEFAULT_wxUSE_GRID=no
3049 DEFAULT_wxUSE_HYPERLINKCTRL=no
3050 DEFAULT_wxUSE_DATAVIEWCTRL=no
3051 DEFAULT_wxUSE_IMAGLIST=no
3052 DEFAULT_wxUSE_LISTBOOK=no
3053 DEFAULT_wxUSE_LISTBOX=no
3054 DEFAULT_wxUSE_LISTCTRL=no
3055 DEFAULT_wxUSE_NOTEBOOK=no
3056 DEFAULT_wxUSE_ODCOMBOBOX=no
3057 DEFAULT_wxUSE_RADIOBOX=no
3058 DEFAULT_wxUSE_RADIOBTN=no
3059 DEFAULT_wxUSE_SASH=no
3060 DEFAULT_wxUSE_SCROLLBAR=no
3061 DEFAULT_wxUSE_SEARCHCTRL=no
3062 DEFAULT_wxUSE_SLIDER=no
3063 DEFAULT_wxUSE_SPINBTN=no
3064 DEFAULT_wxUSE_SPINCTRL=no
3065 DEFAULT_wxUSE_SPLITTER=no
3066 DEFAULT_wxUSE_STATBMP=no
3067 DEFAULT_wxUSE_STATBOX=no
3068 DEFAULT_wxUSE_STATLINE=no
3069 DEFAULT_wxUSE_STATTEXT=no
3070 DEFAULT_wxUSE_STATUSBAR=yes
3071 DEFAULT_wxUSE_TAB_DIALOG=no
3072 DEFAULT_wxUSE_TEXTCTRL=no
3073 DEFAULT_wxUSE_TOGGLEBTN=no
3074 DEFAULT_wxUSE_TOOLBAR=no
3075 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3076 DEFAULT_wxUSE_TREEBOOK=no
3077 DEFAULT_wxUSE_TOOLBOOK=no
3078 DEFAULT_wxUSE_TREECTRL=no
3079 DEFAULT_wxUSE_POPUPWIN=no
3080 DEFAULT_wxUSE_TIPWINDOW=no
3082 DEFAULT_wxUSE_UNICODE=no
3083 DEFAULT_wxUSE_UNICODE_MSLU=no
3084 DEFAULT_wxUSE_WCSRTOMBS=no
3086 DEFAULT_wxUSE_PALETTE=no
3087 DEFAULT_wxUSE_IMAGE=no
3088 DEFAULT_wxUSE_GIF=no
3089 DEFAULT_wxUSE_PCX=no
3090 DEFAULT_wxUSE_TGA=no
3091 DEFAULT_wxUSE_PNM=no
3092 DEFAULT_wxUSE_IFF=no
3093 DEFAULT_wxUSE_XPM=no
3094 DEFAULT_wxUSE_ICO_CUR=no
3095 DEFAULT_wxUSE_ACCESSIBILITY=no
3097 DEFAULT_wxUSE_MONOLITHIC=no
3098 DEFAULT_wxUSE_PLUGINS=no
3099 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3101 DEFAULT_wxUSE_UNIVERSAL=no
3102 DEFAULT_wxUSE_STL=no
3104 DEFAULT_wxUSE_NANOX=no
3106 DEFAULT_wxUSE_THREADS=yes
3108 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3109 DEFAULT_wxUSE_OPTIMISE=yes
3110 DEFAULT_wxUSE_PROFILE=no
3111 DEFAULT_wxUSE_NO_DEPS=no
3112 DEFAULT_wxUSE_VARARG_MACROS=yes
3113 DEFAULT_wxUSE_NO_RTTI=no
3114 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3115 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3116 DEFAULT_wxUSE_RPATH=yes
3117 DEFAULT_wxUSE_PERMISSIVE=no
3118 DEFAULT_wxUSE_DEBUG_FLAG=no
3119 DEFAULT_wxUSE_DEBUG_INFO=no
3120 DEFAULT_wxUSE_DEBUG_GDB=no
3121 DEFAULT_wxUSE_MEM_TRACING=no
3122 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3123 DEFAULT_wxUSE_DMALLOC=no
3124 DEFAULT_wxUSE_APPLE_IEEE=yes
3126 DEFAULT_wxUSE_EXCEPTIONS=yes
3127 DEFAULT_wxUSE_LOG=yes
3128 DEFAULT_wxUSE_LOGWINDOW=yes
3129 DEFAULT_wxUSE_LOGGUI=yes
3130 DEFAULT_wxUSE_LOGDIALOG=yes
3132 DEFAULT_wxUSE_GUI=yes
3134 DEFAULT_wxUSE_REGEX=yes
3135 DEFAULT_wxUSE_XML=yes
3136 DEFAULT_wxUSE_EXPAT=yes
3137 DEFAULT_wxUSE_ZLIB=yes
3138 DEFAULT_wxUSE_LIBPNG=yes
3139 DEFAULT_wxUSE_LIBJPEG=yes
3140 DEFAULT_wxUSE_LIBTIFF=yes
3141 DEFAULT_wxUSE_LIBXPM=yes
3142 DEFAULT_wxUSE_LIBMSPACK=yes
3143 DEFAULT_wxUSE_LIBSDL=no
3144 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3145 DEFAULT_wxUSE_LIBGNOMEVFS=no
3146 DEFAULT_wxUSE_LIBHILDON=no
3147 DEFAULT_wxUSE_ODBC=no
3148 DEFAULT_wxUSE_OPENGL=no
3150 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3151 DEFAULT_wxUSE_STACKWALKER=yes
3152 DEFAULT_wxUSE_DEBUGREPORT=yes
3153 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3154 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3155 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3156 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3157 DEFAULT_wxUSE_DATETIME=yes
3158 DEFAULT_wxUSE_TIMER=yes
3159 DEFAULT_wxUSE_STOPWATCH=yes
3160 DEFAULT_wxUSE_FILE=yes
3161 DEFAULT_wxUSE_FFILE=yes
3162 DEFAULT_wxUSE_STDPATHS=yes
3163 DEFAULT_wxUSE_TEXTBUFFER=yes
3164 DEFAULT_wxUSE_TEXTFILE=yes
3165 DEFAULT_wxUSE_SOUND=yes
3166 DEFAULT_wxUSE_MEDIACTRL=no
3167 DEFAULT_wxUSE_GSTREAMER8=no
3168 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3169 DEFAULT_wxUSE_INTL=yes
3170 DEFAULT_wxUSE_CONFIG=yes
3171 DEFAULT_wxUSE_FONTMAP=yes
3172 DEFAULT_wxUSE_STREAMS=yes
3173 DEFAULT_wxUSE_SOCKETS=yes
3174 DEFAULT_wxUSE_OLE=yes
3175 DEFAULT_wxUSE_DATAOBJ=yes
3176 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3177 DEFAULT_wxUSE_JOYSTICK=yes
3178 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3179 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3180 DEFAULT_wxUSE_LONGLONG=yes
3181 DEFAULT_wxUSE_GEOMETRY=yes
3183 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3184 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3185 DEFAULT_wxUSE_POSTSCRIPT=yes
3187 DEFAULT_wxUSE_CLIPBOARD=yes
3188 DEFAULT_wxUSE_TOOLTIPS=yes
3189 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3190 DEFAULT_wxUSE_DRAGIMAGE=yes
3191 DEFAULT_wxUSE_SPLINES=yes
3192 DEFAULT_wxUSE_MOUSEWHEEL=yes
3194 DEFAULT_wxUSE_MDI=yes
3195 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3196 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3197 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3199 DEFAULT_wxUSE_RESOURCES=no
3200 DEFAULT_wxUSE_CONSTRAINTS=yes
3201 DEFAULT_wxUSE_IPC=yes
3202 DEFAULT_wxUSE_HELP=yes
3203 DEFAULT_wxUSE_MS_HTML_HELP=yes
3204 DEFAULT_wxUSE_WXHTML_HELP=yes
3205 DEFAULT_wxUSE_TREELAYOUT=yes
3206 DEFAULT_wxUSE_METAFILE=yes
3207 DEFAULT_wxUSE_MIMETYPE=yes
3208 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3209 DEFAULT_wxUSE_PROTOCOL=yes
3210 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3211 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3212 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3213 DEFAULT_wxUSE_URL=yes
3214 DEFAULT_wxUSE_VARIANT=yes
3216 DEFAULT_wxUSE_ABOUTDLG=yes
3217 DEFAULT_wxUSE_COMMONDLGS=yes
3218 DEFAULT_wxUSE_CHOICEDLG=yes
3219 DEFAULT_wxUSE_COLOURDLG=yes
3220 DEFAULT_wxUSE_DIRDLG=yes
3221 DEFAULT_wxUSE_FILEDLG=yes
3222 DEFAULT_wxUSE_FINDREPLDLG=yes
3223 DEFAULT_wxUSE_FONTDLG=yes
3224 DEFAULT_wxUSE_MSGDLG=yes
3225 DEFAULT_wxUSE_NUMBERDLG=yes
3226 DEFAULT_wxUSE_TEXTDLG=yes
3227 DEFAULT_wxUSE_SPLASH=yes
3228 DEFAULT_wxUSE_STARTUP_TIPS=yes
3229 DEFAULT_wxUSE_PROGRESSDLG=yes
3230 DEFAULT_wxUSE_WIZARDDLG=yes
3232 DEFAULT_wxUSE_MENUS=yes
3233 DEFAULT_wxUSE_MINIFRAME=yes
3234 DEFAULT_wxUSE_HTML=yes
3235 DEFAULT_wxUSE_RICHTEXT=yes
3236 DEFAULT_wxUSE_XRC=yes
3237 DEFAULT_wxUSE_AUI=yes
3238 DEFAULT_wxUSE_WEBKIT=yes
3239 DEFAULT_wxUSE_FILESYSTEM=yes
3240 DEFAULT_wxUSE_FS_INET=yes
3241 DEFAULT_wxUSE_FS_ZIP=yes
3242 DEFAULT_wxUSE_FS_ARCHIVE=yes
3243 DEFAULT_wxUSE_BUSYINFO=yes
3244 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3245 DEFAULT_wxUSE_ZIPSTREAM=yes
3246 DEFAULT_wxUSE_TARSTREAM=yes
3247 DEFAULT_wxUSE_VALIDATORS=yes
3249 DEFAULT_wxUSE_ACCEL=yes
3250 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3251 DEFAULT_wxUSE_BUTTON=yes
3252 DEFAULT_wxUSE_BMPBUTTON=yes
3253 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3254 DEFAULT_wxUSE_CALCTRL=yes
3255 DEFAULT_wxUSE_CARET=yes
3256 DEFAULT_wxUSE_CHECKBOX=yes
3257 DEFAULT_wxUSE_CHECKLST=yes
3258 DEFAULT_wxUSE_CHOICE=yes
3259 DEFAULT_wxUSE_CHOICEBOOK=yes
3260 DEFAULT_wxUSE_COLLPANE=yes
3261 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3262 DEFAULT_wxUSE_COMBOBOX=yes
3263 DEFAULT_wxUSE_COMBOCTRL=yes
3264 DEFAULT_wxUSE_DATEPICKCTRL=yes
3265 DEFAULT_wxUSE_DISPLAY=yes
3266 DEFAULT_wxUSE_DETECT_SM=yes
3267 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3268 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3269 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3270 DEFAULT_wxUSE_GAUGE=yes
3271 DEFAULT_wxUSE_GRID=yes
3272 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3273 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3274 DEFAULT_wxUSE_DATAVIEWCTRL=no
3275 DEFAULT_wxUSE_IMAGLIST=yes
3276 DEFAULT_wxUSE_LISTBOOK=yes
3277 DEFAULT_wxUSE_LISTBOX=yes
3278 DEFAULT_wxUSE_LISTCTRL=yes
3279 DEFAULT_wxUSE_NOTEBOOK=yes
3280 DEFAULT_wxUSE_ODCOMBOBOX=yes
3281 DEFAULT_wxUSE_RADIOBOX=yes
3282 DEFAULT_wxUSE_RADIOBTN=yes
3283 DEFAULT_wxUSE_SASH=yes
3284 DEFAULT_wxUSE_SCROLLBAR=yes
3285 DEFAULT_wxUSE_SEARCHCTRL=yes
3286 DEFAULT_wxUSE_SLIDER=yes
3287 DEFAULT_wxUSE_SPINBTN=yes
3288 DEFAULT_wxUSE_SPINCTRL=yes
3289 DEFAULT_wxUSE_SPLITTER=yes
3290 DEFAULT_wxUSE_STATBMP=yes
3291 DEFAULT_wxUSE_STATBOX=yes
3292 DEFAULT_wxUSE_STATLINE=yes
3293 DEFAULT_wxUSE_STATTEXT=yes
3294 DEFAULT_wxUSE_STATUSBAR=yes
3295 DEFAULT_wxUSE_TAB_DIALOG=no
3296 DEFAULT_wxUSE_TEXTCTRL=yes
3297 DEFAULT_wxUSE_TOGGLEBTN=yes
3298 DEFAULT_wxUSE_TOOLBAR=yes
3299 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3300 DEFAULT_wxUSE_TREEBOOK=yes
3301 DEFAULT_wxUSE_TOOLBOOK=yes
3302 DEFAULT_wxUSE_TREECTRL=yes
3303 DEFAULT_wxUSE_POPUPWIN=yes
3304 DEFAULT_wxUSE_TIPWINDOW=yes
3306 DEFAULT_wxUSE_UNICODE=no
3307 DEFAULT_wxUSE_UNICODE_MSLU=yes
3308 DEFAULT_wxUSE_WCSRTOMBS=no
3310 DEFAULT_wxUSE_PALETTE=yes
3311 DEFAULT_wxUSE_IMAGE=yes
3312 DEFAULT_wxUSE_GIF=yes
3313 DEFAULT_wxUSE_PCX=yes
3314 DEFAULT_wxUSE_TGA=yes
3315 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3316 DEFAULT_wxUSE_XPM=yes
3317 DEFAULT_wxUSE_ICO_CUR=yes
3318 DEFAULT_wxUSE_ACCESSIBILITY=no
3320 DEFAULT_wxUSE_MONOLITHIC=no
3321 DEFAULT_wxUSE_PLUGINS=no
3322 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3324 DEFAULT_wxUSE_GTK2=yes
3330 for toolkit in `echo $ALL_TOOLKITS`; do
3331 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3332 if test "x$LINE" != "x" ; then
3333 has_toolkit_in_cache=1
3334 eval "DEFAULT_$LINE"
3335 eval "CACHE_$toolkit=1"
3337 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3338 if test "x$LINE" != "x" ; then
3339 eval "DEFAULT_$LINE"
3347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3348 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3350 # Check whether --enable-gui was given.
3351 if test "${enable_gui+set}" = set; then
3352 enableval=$enable_gui;
3353 if test "$enableval" = yes; then
3354 ac_cv_use_gui='wxUSE_GUI=yes'
3356 ac_cv_use_gui='wxUSE_GUI=no'
3361 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3362 if test "x$LINE" != x ; then
3363 eval "DEFAULT_$LINE"
3368 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3373 eval "$ac_cv_use_gui"
3374 if test "$no_cache" != 1; then
3375 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3378 if test "$wxUSE_GUI" = yes; then
3379 { echo "$as_me:$LINENO: result: yes" >&5
3380 echo "${ECHO_T}yes" >&6; }
3382 { echo "$as_me:$LINENO: result: no" >&5
3383 echo "${ECHO_T}no" >&6; }
3388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3389 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3391 # Check whether --enable-monolithic was given.
3392 if test "${enable_monolithic+set}" = set; then
3393 enableval=$enable_monolithic;
3394 if test "$enableval" = yes; then
3395 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3397 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3402 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3403 if test "x$LINE" != x ; then
3404 eval "DEFAULT_$LINE"
3409 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3414 eval "$ac_cv_use_monolithic"
3415 if test "$no_cache" != 1; then
3416 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3419 if test "$wxUSE_MONOLITHIC" = yes; then
3420 { echo "$as_me:$LINENO: result: yes" >&5
3421 echo "${ECHO_T}yes" >&6; }
3423 { echo "$as_me:$LINENO: result: no" >&5
3424 echo "${ECHO_T}no" >&6; }
3429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3430 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3432 # Check whether --enable-plugins was given.
3433 if test "${enable_plugins+set}" = set; then
3434 enableval=$enable_plugins;
3435 if test "$enableval" = yes; then
3436 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3438 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3443 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3444 if test "x$LINE" != x ; then
3445 eval "DEFAULT_$LINE"
3450 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3455 eval "$ac_cv_use_plugins"
3456 if test "$no_cache" != 1; then
3457 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3460 if test "$wxUSE_PLUGINS" = yes; then
3461 { echo "$as_me:$LINENO: result: yes" >&5
3462 echo "${ECHO_T}yes" >&6; }
3464 { echo "$as_me:$LINENO: result: no" >&5
3465 echo "${ECHO_T}no" >&6; }
3470 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3471 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3474 # Check whether --with-subdirs was given.
3475 if test "${with_subdirs+set}" = set; then
3476 withval=$with_subdirs;
3477 if test "$withval" = yes; then
3478 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3480 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3485 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3486 if test "x$LINE" != x ; then
3487 eval "DEFAULT_$LINE"
3492 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3497 eval "$ac_cv_use_subdirs"
3498 if test "$no_cache" != 1; then
3499 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3502 if test "$wxWITH_SUBDIRS" = yes; then
3503 { echo "$as_me:$LINENO: result: yes" >&5
3504 echo "${ECHO_T}yes" >&6; }
3506 { echo "$as_me:$LINENO: result: no" >&5
3507 echo "${ECHO_T}no" >&6; }
3511 if test "$wxUSE_GUI" = "yes"; then
3515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3516 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3518 # Check whether --enable-universal was given.
3519 if test "${enable_universal+set}" = set; then
3520 enableval=$enable_universal;
3521 if test "$enableval" = yes; then
3522 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3524 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3529 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3530 if test "x$LINE" != x ; then
3531 eval "DEFAULT_$LINE"
3536 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3541 eval "$ac_cv_use_universal"
3542 if test "$no_cache" != 1; then
3543 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3546 if test "$wxUSE_UNIVERSAL" = yes; then
3547 { echo "$as_me:$LINENO: result: yes" >&5
3548 echo "${ECHO_T}yes" >&6; }
3550 { echo "$as_me:$LINENO: result: no" >&5
3551 echo "${ECHO_T}no" >&6; }
3555 # Check whether --with-gtk was given.
3556 if test "${with_gtk+set}" = set; then
3557 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3561 # Check whether --with-motif was given.
3562 if test "${with_motif+set}" = set; then
3563 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3567 # Check whether --with-mac was given.
3568 if test "${with_mac+set}" = set; then
3569 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3573 # Check whether --with-cocoa was given.
3574 if test "${with_cocoa+set}" = set; then
3575 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3579 # Check whether --with-wine was given.
3580 if test "${with_wine+set}" = set; then
3581 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3585 # Check whether --with-msw was given.
3586 if test "${with_msw+set}" = set; then
3587 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3591 # Check whether --with-pm was given.
3592 if test "${with_pm+set}" = set; then
3593 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3597 # Check whether --with-mgl was given.
3598 if test "${with_mgl+set}" = set; then
3599 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3603 # Check whether --with-directfb was given.
3604 if test "${with_directfb+set}" = set; then
3605 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3609 # Check whether --with-microwin was given.
3610 if test "${with_microwin+set}" = set; then
3611 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3615 # Check whether --with-x11 was given.
3616 if test "${with_x11+set}" = set; then
3617 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3623 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3625 # Check whether --enable-nanox was given.
3626 if test "${enable_nanox+set}" = set; then
3627 enableval=$enable_nanox;
3628 if test "$enableval" = yes; then
3629 ac_cv_use_nanox='wxUSE_NANOX=yes'
3631 ac_cv_use_nanox='wxUSE_NANOX=no'
3636 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3637 if test "x$LINE" != x ; then
3638 eval "DEFAULT_$LINE"
3643 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3648 eval "$ac_cv_use_nanox"
3649 if test "$no_cache" != 1; then
3650 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3653 if test "$wxUSE_NANOX" = yes; then
3654 { echo "$as_me:$LINENO: result: yes" >&5
3655 echo "${ECHO_T}yes" >&6; }
3657 { echo "$as_me:$LINENO: result: no" >&5
3658 echo "${ECHO_T}no" >&6; }
3662 # Check whether --enable-gtk2 was given.
3663 if test "${enable_gtk2+set}" = set; then
3664 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3670 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3672 # Check whether --enable-gpe was given.
3673 if test "${enable_gpe+set}" = set; then
3674 enableval=$enable_gpe;
3675 if test "$enableval" = yes; then
3676 ac_cv_use_gpe='wxUSE_GPE=yes'
3678 ac_cv_use_gpe='wxUSE_GPE=no'
3683 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3684 if test "x$LINE" != x ; then
3685 eval "DEFAULT_$LINE"
3690 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3695 eval "$ac_cv_use_gpe"
3696 if test "$no_cache" != 1; then
3697 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3700 if test "$wxUSE_GPE" = yes; then
3701 { echo "$as_me:$LINENO: result: yes" >&5
3702 echo "${ECHO_T}yes" >&6; }
3704 { echo "$as_me:$LINENO: result: no" >&5
3705 echo "${ECHO_T}no" >&6; }
3710 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3711 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3714 # Check whether --with-libpng was given.
3715 if test "${with_libpng+set}" = set; then
3716 withval=$with_libpng;
3717 if test "$withval" = yes; then
3718 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3719 elif test "$withval" = no; then
3720 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3721 elif test "$withval" = sys; then
3722 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3723 elif test "$withval" = builtin; then
3724 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3726 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3727 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3728 { (exit 1); exit 1; }; }
3733 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3734 if test "x$LINE" != x ; then
3735 eval "DEFAULT_$LINE"
3740 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3745 eval "$ac_cv_use_libpng"
3746 if test "$no_cache" != 1; then
3747 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3750 if test "$wxUSE_LIBPNG" = yes; then
3751 { echo "$as_me:$LINENO: result: yes" >&5
3752 echo "${ECHO_T}yes" >&6; }
3753 elif test "$wxUSE_LIBPNG" = no; then
3754 { echo "$as_me:$LINENO: result: no" >&5
3755 echo "${ECHO_T}no" >&6; }
3756 elif test "$wxUSE_LIBPNG" = sys; then
3757 { echo "$as_me:$LINENO: result: system version" >&5
3758 echo "${ECHO_T}system version" >&6; }
3759 elif test "$wxUSE_LIBPNG" = builtin; then
3760 { echo "$as_me:$LINENO: result: builtin version" >&5
3761 echo "${ECHO_T}builtin version" >&6; }
3763 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3764 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3765 { (exit 1); exit 1; }; }
3769 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3770 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3773 # Check whether --with-libjpeg was given.
3774 if test "${with_libjpeg+set}" = set; then
3775 withval=$with_libjpeg;
3776 if test "$withval" = yes; then
3777 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3778 elif test "$withval" = no; then
3779 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3780 elif test "$withval" = sys; then
3781 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3782 elif test "$withval" = builtin; then
3783 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3785 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3786 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3787 { (exit 1); exit 1; }; }
3792 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3793 if test "x$LINE" != x ; then
3794 eval "DEFAULT_$LINE"
3799 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3804 eval "$ac_cv_use_libjpeg"
3805 if test "$no_cache" != 1; then
3806 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3809 if test "$wxUSE_LIBJPEG" = yes; then
3810 { echo "$as_me:$LINENO: result: yes" >&5
3811 echo "${ECHO_T}yes" >&6; }
3812 elif test "$wxUSE_LIBJPEG" = no; then
3813 { echo "$as_me:$LINENO: result: no" >&5
3814 echo "${ECHO_T}no" >&6; }
3815 elif test "$wxUSE_LIBJPEG" = sys; then
3816 { echo "$as_me:$LINENO: result: system version" >&5
3817 echo "${ECHO_T}system version" >&6; }
3818 elif test "$wxUSE_LIBJPEG" = builtin; then
3819 { echo "$as_me:$LINENO: result: builtin version" >&5
3820 echo "${ECHO_T}builtin version" >&6; }
3822 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3823 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3824 { (exit 1); exit 1; }; }
3828 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3829 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3832 # Check whether --with-libtiff was given.
3833 if test "${with_libtiff+set}" = set; then
3834 withval=$with_libtiff;
3835 if test "$withval" = yes; then
3836 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3837 elif test "$withval" = no; then
3838 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3839 elif test "$withval" = sys; then
3840 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3841 elif test "$withval" = builtin; then
3842 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3844 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3845 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3846 { (exit 1); exit 1; }; }
3851 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3852 if test "x$LINE" != x ; then
3853 eval "DEFAULT_$LINE"
3858 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3863 eval "$ac_cv_use_libtiff"
3864 if test "$no_cache" != 1; then
3865 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3868 if test "$wxUSE_LIBTIFF" = yes; then
3869 { echo "$as_me:$LINENO: result: yes" >&5
3870 echo "${ECHO_T}yes" >&6; }
3871 elif test "$wxUSE_LIBTIFF" = no; then
3872 { echo "$as_me:$LINENO: result: no" >&5
3873 echo "${ECHO_T}no" >&6; }
3874 elif test "$wxUSE_LIBTIFF" = sys; then
3875 { echo "$as_me:$LINENO: result: system version" >&5
3876 echo "${ECHO_T}system version" >&6; }
3877 elif test "$wxUSE_LIBTIFF" = builtin; then
3878 { echo "$as_me:$LINENO: result: builtin version" >&5
3879 echo "${ECHO_T}builtin version" >&6; }
3881 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3882 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3883 { (exit 1); exit 1; }; }
3887 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3888 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3891 # Check whether --with-libxpm was given.
3892 if test "${with_libxpm+set}" = set; then
3893 withval=$with_libxpm;
3894 if test "$withval" = yes; then
3895 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3896 elif test "$withval" = no; then
3897 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3898 elif test "$withval" = sys; then
3899 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3900 elif test "$withval" = builtin; then
3901 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3903 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3904 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3905 { (exit 1); exit 1; }; }
3910 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3911 if test "x$LINE" != x ; then
3912 eval "DEFAULT_$LINE"
3917 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3922 eval "$ac_cv_use_libxpm"
3923 if test "$no_cache" != 1; then
3924 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3927 if test "$wxUSE_LIBXPM" = yes; then
3928 { echo "$as_me:$LINENO: result: yes" >&5
3929 echo "${ECHO_T}yes" >&6; }
3930 elif test "$wxUSE_LIBXPM" = no; then
3931 { echo "$as_me:$LINENO: result: no" >&5
3932 echo "${ECHO_T}no" >&6; }
3933 elif test "$wxUSE_LIBXPM" = sys; then
3934 { echo "$as_me:$LINENO: result: system version" >&5
3935 echo "${ECHO_T}system version" >&6; }
3936 elif test "$wxUSE_LIBXPM" = builtin; then
3937 { echo "$as_me:$LINENO: result: builtin version" >&5
3938 echo "${ECHO_T}builtin version" >&6; }
3940 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3941 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3942 { (exit 1); exit 1; }; }
3947 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3948 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3951 # Check whether --with-libmspack was given.
3952 if test "${with_libmspack+set}" = set; then
3953 withval=$with_libmspack;
3954 if test "$withval" = yes; then
3955 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3957 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3962 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3963 if test "x$LINE" != x ; then
3964 eval "DEFAULT_$LINE"
3969 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3974 eval "$ac_cv_use_libmspack"
3975 if test "$no_cache" != 1; then
3976 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3979 if test "$wxUSE_LIBMSPACK" = yes; then
3980 { echo "$as_me:$LINENO: result: yes" >&5
3981 echo "${ECHO_T}yes" >&6; }
3983 { echo "$as_me:$LINENO: result: no" >&5
3984 echo "${ECHO_T}no" >&6; }
3989 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3990 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
3993 # Check whether --with-sdl was given.
3994 if test "${with_sdl+set}" = set; then
3996 if test "$withval" = yes; then
3997 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3999 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4004 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4005 if test "x$LINE" != x ; then
4006 eval "DEFAULT_$LINE"
4011 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4016 eval "$ac_cv_use_sdl"
4017 if test "$no_cache" != 1; then
4018 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4021 if test "$wxUSE_LIBSDL" = yes; then
4022 { echo "$as_me:$LINENO: result: yes" >&5
4023 echo "${ECHO_T}yes" >&6; }
4025 { echo "$as_me:$LINENO: result: no" >&5
4026 echo "${ECHO_T}no" >&6; }
4031 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4032 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4035 # Check whether --with-gnomeprint was given.
4036 if test "${with_gnomeprint+set}" = set; then
4037 withval=$with_gnomeprint;
4038 if test "$withval" = yes; then
4039 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4041 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4046 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4047 if test "x$LINE" != x ; then
4048 eval "DEFAULT_$LINE"
4053 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4058 eval "$ac_cv_use_gnomeprint"
4059 if test "$no_cache" != 1; then
4060 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4063 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4064 { echo "$as_me:$LINENO: result: yes" >&5
4065 echo "${ECHO_T}yes" >&6; }
4067 { echo "$as_me:$LINENO: result: no" >&5
4068 echo "${ECHO_T}no" >&6; }
4073 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4074 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4077 # Check whether --with-gnomevfs was given.
4078 if test "${with_gnomevfs+set}" = set; then
4079 withval=$with_gnomevfs;
4080 if test "$withval" = yes; then
4081 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4083 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4088 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4089 if test "x$LINE" != x ; then
4090 eval "DEFAULT_$LINE"
4095 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4100 eval "$ac_cv_use_gnomevfs"
4101 if test "$no_cache" != 1; then
4102 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4105 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4106 { echo "$as_me:$LINENO: result: yes" >&5
4107 echo "${ECHO_T}yes" >&6; }
4109 { echo "$as_me:$LINENO: result: no" >&5
4110 echo "${ECHO_T}no" >&6; }
4115 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4116 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4119 # Check whether --with-hildon was given.
4120 if test "${with_hildon+set}" = set; then
4121 withval=$with_hildon;
4122 if test "$withval" = yes; then
4123 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4125 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4130 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4131 if test "x$LINE" != x ; then
4132 eval "DEFAULT_$LINE"
4137 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4142 eval "$ac_cv_use_hildon"
4143 if test "$no_cache" != 1; then
4144 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4147 if test "$wxUSE_LIBHILDON" = yes; then
4148 { echo "$as_me:$LINENO: result: yes" >&5
4149 echo "${ECHO_T}yes" >&6; }
4151 { echo "$as_me:$LINENO: result: no" >&5
4152 echo "${ECHO_T}no" >&6; }
4157 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4158 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4161 # Check whether --with-opengl was given.
4162 if test "${with_opengl+set}" = set; then
4163 withval=$with_opengl;
4164 if test "$withval" = yes; then
4165 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4167 ac_cv_use_opengl='wxUSE_OPENGL=no'
4172 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4173 if test "x$LINE" != x ; then
4174 eval "DEFAULT_$LINE"
4179 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4184 eval "$ac_cv_use_opengl"
4185 if test "$no_cache" != 1; then
4186 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4189 if test "$wxUSE_OPENGL" = yes; then
4190 { echo "$as_me:$LINENO: result: yes" >&5
4191 echo "${ECHO_T}yes" >&6; }
4193 { echo "$as_me:$LINENO: result: no" >&5
4194 echo "${ECHO_T}no" >&6; }
4198 if test "$wxUSE_UNIVERSAL" = "yes"; then
4200 # Check whether --with-themes was given.
4201 if test "${with_themes+set}" = set; then
4202 withval=$with_themes; wxUNIV_THEMES="$withval"
4211 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4212 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4215 # Check whether --with-dmalloc was given.
4216 if test "${with_dmalloc+set}" = set; then
4217 withval=$with_dmalloc;
4218 if test "$withval" = yes; then
4219 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4221 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4226 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4227 if test "x$LINE" != x ; then
4228 eval "DEFAULT_$LINE"
4233 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4238 eval "$ac_cv_use_dmalloc"
4239 if test "$no_cache" != 1; then
4240 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4243 if test "$wxUSE_DMALLOC" = yes; then
4244 { echo "$as_me:$LINENO: result: yes" >&5
4245 echo "${ECHO_T}yes" >&6; }
4247 { echo "$as_me:$LINENO: result: no" >&5
4248 echo "${ECHO_T}no" >&6; }
4252 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4253 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4256 # Check whether --with-regex was given.
4257 if test "${with_regex+set}" = set; then
4258 withval=$with_regex;
4259 if test "$withval" = yes; then
4260 ac_cv_use_regex='wxUSE_REGEX=yes'
4261 elif test "$withval" = no; then
4262 ac_cv_use_regex='wxUSE_REGEX=no'
4263 elif test "$withval" = sys; then
4264 ac_cv_use_regex='wxUSE_REGEX=sys'
4265 elif test "$withval" = builtin; then
4266 ac_cv_use_regex='wxUSE_REGEX=builtin'
4268 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4269 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4270 { (exit 1); exit 1; }; }
4275 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4276 if test "x$LINE" != x ; then
4277 eval "DEFAULT_$LINE"
4282 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4287 eval "$ac_cv_use_regex"
4288 if test "$no_cache" != 1; then
4289 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4292 if test "$wxUSE_REGEX" = yes; then
4293 { echo "$as_me:$LINENO: result: yes" >&5
4294 echo "${ECHO_T}yes" >&6; }
4295 elif test "$wxUSE_REGEX" = no; then
4296 { echo "$as_me:$LINENO: result: no" >&5
4297 echo "${ECHO_T}no" >&6; }
4298 elif test "$wxUSE_REGEX" = sys; then
4299 { echo "$as_me:$LINENO: result: system version" >&5
4300 echo "${ECHO_T}system version" >&6; }
4301 elif test "$wxUSE_REGEX" = builtin; then
4302 { echo "$as_me:$LINENO: result: builtin version" >&5
4303 echo "${ECHO_T}builtin version" >&6; }
4305 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4306 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4307 { (exit 1); exit 1; }; }
4311 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4312 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4315 # Check whether --with-zlib was given.
4316 if test "${with_zlib+set}" = set; then
4318 if test "$withval" = yes; then
4319 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4320 elif test "$withval" = no; then
4321 ac_cv_use_zlib='wxUSE_ZLIB=no'
4322 elif test "$withval" = sys; then
4323 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4324 elif test "$withval" = builtin; then
4325 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4327 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4328 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4329 { (exit 1); exit 1; }; }
4334 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4335 if test "x$LINE" != x ; then
4336 eval "DEFAULT_$LINE"
4341 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4346 eval "$ac_cv_use_zlib"
4347 if test "$no_cache" != 1; then
4348 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4351 if test "$wxUSE_ZLIB" = yes; then
4352 { echo "$as_me:$LINENO: result: yes" >&5
4353 echo "${ECHO_T}yes" >&6; }
4354 elif test "$wxUSE_ZLIB" = no; then
4355 { echo "$as_me:$LINENO: result: no" >&5
4356 echo "${ECHO_T}no" >&6; }
4357 elif test "$wxUSE_ZLIB" = sys; then
4358 { echo "$as_me:$LINENO: result: system version" >&5
4359 echo "${ECHO_T}system version" >&6; }
4360 elif test "$wxUSE_ZLIB" = builtin; then
4361 { echo "$as_me:$LINENO: result: builtin version" >&5
4362 echo "${ECHO_T}builtin version" >&6; }
4364 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4365 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4366 { (exit 1); exit 1; }; }
4370 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4371 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4374 # Check whether --with-odbc was given.
4375 if test "${with_odbc+set}" = set; then
4377 if test "$withval" = yes; then
4378 ac_cv_use_odbc='wxUSE_ODBC=yes'
4379 elif test "$withval" = no; then
4380 ac_cv_use_odbc='wxUSE_ODBC=no'
4381 elif test "$withval" = sys; then
4382 ac_cv_use_odbc='wxUSE_ODBC=sys'
4383 elif test "$withval" = builtin; then
4384 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4386 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4387 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4388 { (exit 1); exit 1; }; }
4393 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4394 if test "x$LINE" != x ; then
4395 eval "DEFAULT_$LINE"
4400 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4405 eval "$ac_cv_use_odbc"
4406 if test "$no_cache" != 1; then
4407 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4410 if test "$wxUSE_ODBC" = yes; then
4411 { echo "$as_me:$LINENO: result: yes" >&5
4412 echo "${ECHO_T}yes" >&6; }
4413 elif test "$wxUSE_ODBC" = no; then
4414 { echo "$as_me:$LINENO: result: no" >&5
4415 echo "${ECHO_T}no" >&6; }
4416 elif test "$wxUSE_ODBC" = sys; then
4417 { echo "$as_me:$LINENO: result: system version" >&5
4418 echo "${ECHO_T}system version" >&6; }
4419 elif test "$wxUSE_ODBC" = builtin; then
4420 { echo "$as_me:$LINENO: result: builtin version" >&5
4421 echo "${ECHO_T}builtin version" >&6; }
4423 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4424 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4425 { (exit 1); exit 1; }; }
4429 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4430 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4433 # Check whether --with-expat was given.
4434 if test "${with_expat+set}" = set; then
4435 withval=$with_expat;
4436 if test "$withval" = yes; then
4437 ac_cv_use_expat='wxUSE_EXPAT=yes'
4438 elif test "$withval" = no; then
4439 ac_cv_use_expat='wxUSE_EXPAT=no'
4440 elif test "$withval" = sys; then
4441 ac_cv_use_expat='wxUSE_EXPAT=sys'
4442 elif test "$withval" = builtin; then
4443 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4445 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4446 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4447 { (exit 1); exit 1; }; }
4452 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4453 if test "x$LINE" != x ; then
4454 eval "DEFAULT_$LINE"
4459 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4464 eval "$ac_cv_use_expat"
4465 if test "$no_cache" != 1; then
4466 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4469 if test "$wxUSE_EXPAT" = yes; then
4470 { echo "$as_me:$LINENO: result: yes" >&5
4471 echo "${ECHO_T}yes" >&6; }
4472 elif test "$wxUSE_EXPAT" = no; then
4473 { echo "$as_me:$LINENO: result: no" >&5
4474 echo "${ECHO_T}no" >&6; }
4475 elif test "$wxUSE_EXPAT" = sys; then
4476 { echo "$as_me:$LINENO: result: system version" >&5
4477 echo "${ECHO_T}system version" >&6; }
4478 elif test "$wxUSE_EXPAT" = builtin; then
4479 { echo "$as_me:$LINENO: result: builtin version" >&5
4480 echo "${ECHO_T}builtin version" >&6; }
4482 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4483 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4484 { (exit 1); exit 1; }; }
4491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4492 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4494 # Check whether --enable-shared was given.
4495 if test "${enable_shared+set}" = set; then
4496 enableval=$enable_shared;
4497 if test "$enableval" = yes; then
4498 ac_cv_use_shared='wxUSE_SHARED=yes'
4500 ac_cv_use_shared='wxUSE_SHARED=no'
4505 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4506 if test "x$LINE" != x ; then
4507 eval "DEFAULT_$LINE"
4512 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4517 eval "$ac_cv_use_shared"
4518 if test "$no_cache" != 1; then
4519 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4522 if test "$wxUSE_SHARED" = yes; then
4523 { echo "$as_me:$LINENO: result: yes" >&5
4524 echo "${ECHO_T}yes" >&6; }
4526 { echo "$as_me:$LINENO: result: no" >&5
4527 echo "${ECHO_T}no" >&6; }
4532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4533 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4535 # Check whether --enable-optimise was given.
4536 if test "${enable_optimise+set}" = set; then
4537 enableval=$enable_optimise;
4538 if test "$enableval" = yes; then
4539 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4541 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4546 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4547 if test "x$LINE" != x ; then
4548 eval "DEFAULT_$LINE"
4553 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4558 eval "$ac_cv_use_optimise"
4559 if test "$no_cache" != 1; then
4560 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4563 if test "$wxUSE_OPTIMISE" = yes; then
4564 { echo "$as_me:$LINENO: result: yes" >&5
4565 echo "${ECHO_T}yes" >&6; }
4567 { echo "$as_me:$LINENO: result: no" >&5
4568 echo "${ECHO_T}no" >&6; }
4573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4574 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4576 # Check whether --enable-debug was given.
4577 if test "${enable_debug+set}" = set; then
4578 enableval=$enable_debug;
4579 if test "$enableval" = yes; then
4580 ac_cv_use_debug='wxUSE_DEBUG=yes'
4582 ac_cv_use_debug='wxUSE_DEBUG=no'
4587 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4588 if test "x$LINE" != x ; then
4589 eval "DEFAULT_$LINE"
4594 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4599 eval "$ac_cv_use_debug"
4600 if test "$no_cache" != 1; then
4601 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4604 if test "$wxUSE_DEBUG" = yes; then
4605 { echo "$as_me:$LINENO: result: yes" >&5
4606 echo "${ECHO_T}yes" >&6; }
4608 { echo "$as_me:$LINENO: result: no" >&5
4609 echo "${ECHO_T}no" >&6; }
4614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4615 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4617 # Check whether --enable-stl was given.
4618 if test "${enable_stl+set}" = set; then
4619 enableval=$enable_stl;
4620 if test "$enableval" = yes; then
4621 ac_cv_use_stl='wxUSE_STL=yes'
4623 ac_cv_use_stl='wxUSE_STL=no'
4628 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4629 if test "x$LINE" != x ; then
4630 eval "DEFAULT_$LINE"
4635 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4640 eval "$ac_cv_use_stl"
4641 if test "$no_cache" != 1; then
4642 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4645 if test "$wxUSE_STL" = yes; then
4646 { echo "$as_me:$LINENO: result: yes" >&5
4647 echo "${ECHO_T}yes" >&6; }
4649 { echo "$as_me:$LINENO: result: no" >&5
4650 echo "${ECHO_T}no" >&6; }
4653 if test "$USE_OS2" = "1"; then
4654 DEFAULT_wxUSE_OMF=no
4657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4658 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4660 # Check whether --enable-omf was given.
4661 if test "${enable_omf+set}" = set; then
4662 enableval=$enable_omf;
4663 if test "$enableval" = yes; then
4664 ac_cv_use_omf='wxUSE_OMF=yes'
4666 ac_cv_use_omf='wxUSE_OMF=no'
4671 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4672 if test "x$LINE" != x ; then
4673 eval "DEFAULT_$LINE"
4678 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4683 eval "$ac_cv_use_omf"
4684 if test "$no_cache" != 1; then
4685 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4688 if test "$wxUSE_OMF" = yes; then
4689 { echo "$as_me:$LINENO: result: yes" >&5
4690 echo "${ECHO_T}yes" >&6; }
4692 { echo "$as_me:$LINENO: result: no" >&5
4693 echo "${ECHO_T}no" >&6; }
4698 if test "$wxUSE_DEBUG" = "yes"; then
4699 DEFAULT_wxUSE_DEBUG_FLAG=yes
4700 DEFAULT_wxUSE_DEBUG_INFO=yes
4702 elif test "$wxUSE_DEBUG" = "no"; then
4703 DEFAULT_wxUSE_DEBUG_FLAG=no
4704 DEFAULT_wxUSE_DEBUG_INFO=no
4710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4711 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4713 # Check whether --enable-debug_flag was given.
4714 if test "${enable_debug_flag+set}" = set; then
4715 enableval=$enable_debug_flag;
4716 if test "$enableval" = yes; then
4717 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4719 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4724 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4725 if test "x$LINE" != x ; then
4726 eval "DEFAULT_$LINE"
4731 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4736 eval "$ac_cv_use_debug_flag"
4737 if test "$no_cache" != 1; then
4738 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4741 if test "$wxUSE_DEBUG_FLAG" = yes; then
4742 { echo "$as_me:$LINENO: result: yes" >&5
4743 echo "${ECHO_T}yes" >&6; }
4745 { echo "$as_me:$LINENO: result: no" >&5
4746 echo "${ECHO_T}no" >&6; }
4751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4752 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4754 # Check whether --enable-debug_info was given.
4755 if test "${enable_debug_info+set}" = set; then
4756 enableval=$enable_debug_info;
4757 if test "$enableval" = yes; then
4758 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4760 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4765 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4766 if test "x$LINE" != x ; then
4767 eval "DEFAULT_$LINE"
4772 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4777 eval "$ac_cv_use_debug_info"
4778 if test "$no_cache" != 1; then
4779 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4782 if test "$wxUSE_DEBUG_INFO" = yes; then
4783 { echo "$as_me:$LINENO: result: yes" >&5
4784 echo "${ECHO_T}yes" >&6; }
4786 { echo "$as_me:$LINENO: result: no" >&5
4787 echo "${ECHO_T}no" >&6; }
4792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4793 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4795 # Check whether --enable-debug_gdb was given.
4796 if test "${enable_debug_gdb+set}" = set; then
4797 enableval=$enable_debug_gdb;
4798 if test "$enableval" = yes; then
4799 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4801 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4806 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4807 if test "x$LINE" != x ; then
4808 eval "DEFAULT_$LINE"
4813 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4818 eval "$ac_cv_use_debug_gdb"
4819 if test "$no_cache" != 1; then
4820 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4823 if test "$wxUSE_DEBUG_GDB" = yes; then
4824 { echo "$as_me:$LINENO: result: yes" >&5
4825 echo "${ECHO_T}yes" >&6; }
4827 { echo "$as_me:$LINENO: result: no" >&5
4828 echo "${ECHO_T}no" >&6; }
4833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4834 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4836 # Check whether --enable-debug_cntxt was given.
4837 if test "${enable_debug_cntxt+set}" = set; then
4838 enableval=$enable_debug_cntxt;
4839 if test "$enableval" = yes; then
4840 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4842 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4847 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4848 if test "x$LINE" != x ; then
4849 eval "DEFAULT_$LINE"
4854 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4859 eval "$ac_cv_use_debug_cntxt"
4860 if test "$no_cache" != 1; then
4861 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4864 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4865 { echo "$as_me:$LINENO: result: yes" >&5
4866 echo "${ECHO_T}yes" >&6; }
4868 { echo "$as_me:$LINENO: result: no" >&5
4869 echo "${ECHO_T}no" >&6; }
4874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4875 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4877 # Check whether --enable-mem_tracing was given.
4878 if test "${enable_mem_tracing+set}" = set; then
4879 enableval=$enable_mem_tracing;
4880 if test "$enableval" = yes; then
4881 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4883 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4888 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4889 if test "x$LINE" != x ; then
4890 eval "DEFAULT_$LINE"
4895 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4900 eval "$ac_cv_use_mem_tracing"
4901 if test "$no_cache" != 1; then
4902 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4905 if test "$wxUSE_MEM_TRACING" = yes; then
4906 { echo "$as_me:$LINENO: result: yes" >&5
4907 echo "${ECHO_T}yes" >&6; }
4909 { echo "$as_me:$LINENO: result: no" >&5
4910 echo "${ECHO_T}no" >&6; }
4915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4916 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4918 # Check whether --enable-profile was given.
4919 if test "${enable_profile+set}" = set; then
4920 enableval=$enable_profile;
4921 if test "$enableval" = yes; then
4922 ac_cv_use_profile='wxUSE_PROFILE=yes'
4924 ac_cv_use_profile='wxUSE_PROFILE=no'
4929 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4930 if test "x$LINE" != x ; then
4931 eval "DEFAULT_$LINE"
4936 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4941 eval "$ac_cv_use_profile"
4942 if test "$no_cache" != 1; then
4943 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4946 if test "$wxUSE_PROFILE" = yes; then
4947 { echo "$as_me:$LINENO: result: yes" >&5
4948 echo "${ECHO_T}yes" >&6; }
4950 { echo "$as_me:$LINENO: result: no" >&5
4951 echo "${ECHO_T}no" >&6; }
4956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4957 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4959 # Check whether --enable-no_rtti was given.
4960 if test "${enable_no_rtti+set}" = set; then
4961 enableval=$enable_no_rtti;
4962 if test "$enableval" = yes; then
4963 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4965 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4970 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4971 if test "x$LINE" != x ; then
4972 eval "DEFAULT_$LINE"
4977 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4982 eval "$ac_cv_use_no_rtti"
4983 if test "$no_cache" != 1; then
4984 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4987 if test "$wxUSE_NO_RTTI" = yes; then
4988 { echo "$as_me:$LINENO: result: yes" >&5
4989 echo "${ECHO_T}yes" >&6; }
4991 { echo "$as_me:$LINENO: result: no" >&5
4992 echo "${ECHO_T}no" >&6; }
4997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4998 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5000 # Check whether --enable-no_exceptions was given.
5001 if test "${enable_no_exceptions+set}" = set; then
5002 enableval=$enable_no_exceptions;
5003 if test "$enableval" = yes; then
5004 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5006 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5011 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
5012 if test "x$LINE" != x ; then
5013 eval "DEFAULT_$LINE"
5018 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5023 eval "$ac_cv_use_no_exceptions"
5024 if test "$no_cache" != 1; then
5025 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5028 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5029 { echo "$as_me:$LINENO: result: yes" >&5
5030 echo "${ECHO_T}yes" >&6; }
5032 { echo "$as_me:$LINENO: result: no" >&5
5033 echo "${ECHO_T}no" >&6; }
5038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5039 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5041 # Check whether --enable-permissive was given.
5042 if test "${enable_permissive+set}" = set; then
5043 enableval=$enable_permissive;
5044 if test "$enableval" = yes; then
5045 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5047 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5052 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5053 if test "x$LINE" != x ; then
5054 eval "DEFAULT_$LINE"
5059 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5064 eval "$ac_cv_use_permissive"
5065 if test "$no_cache" != 1; then
5066 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5069 if test "$wxUSE_PERMISSIVE" = yes; then
5070 { echo "$as_me:$LINENO: result: yes" >&5
5071 echo "${ECHO_T}yes" >&6; }
5073 { echo "$as_me:$LINENO: result: no" >&5
5074 echo "${ECHO_T}no" >&6; }
5079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5080 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5082 # Check whether --enable-no_deps was given.
5083 if test "${enable_no_deps+set}" = set; then
5084 enableval=$enable_no_deps;
5085 if test "$enableval" = yes; then
5086 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5088 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5093 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5094 if test "x$LINE" != x ; then
5095 eval "DEFAULT_$LINE"
5100 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5105 eval "$ac_cv_use_no_deps"
5106 if test "$no_cache" != 1; then
5107 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5110 if test "$wxUSE_NO_DEPS" = yes; then
5111 { echo "$as_me:$LINENO: result: yes" >&5
5112 echo "${ECHO_T}yes" >&6; }
5114 { echo "$as_me:$LINENO: result: no" >&5
5115 echo "${ECHO_T}no" >&6; }
5120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5121 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5123 # Check whether --enable-vararg_macros was given.
5124 if test "${enable_vararg_macros+set}" = set; then
5125 enableval=$enable_vararg_macros;
5126 if test "$enableval" = yes; then
5127 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5129 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5134 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5135 if test "x$LINE" != x ; then
5136 eval "DEFAULT_$LINE"
5141 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5146 eval "$ac_cv_use_vararg_macros"
5147 if test "$no_cache" != 1; then
5148 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5151 if test "$wxUSE_VARARG_MACROS" = yes; then
5152 { echo "$as_me:$LINENO: result: yes" >&5
5153 echo "${ECHO_T}yes" >&6; }
5155 { echo "$as_me:$LINENO: result: no" >&5
5156 echo "${ECHO_T}no" >&6; }
5161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5162 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5164 # Check whether --enable-universal_binary was given.
5165 if test "${enable_universal_binary+set}" = set; then
5166 enableval=$enable_universal_binary;
5167 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5171 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5172 if test "x$LINE" != x ; then
5173 eval "DEFAULT_$LINE"
5174 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5177 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
5183 eval "$wx_cv_use_universal_binary"
5184 if test "$no_cache" != 1; then
5185 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5188 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5189 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
5195 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6; }
5197 # Check whether --enable-compat24 was given.
5198 if test "${enable_compat24+set}" = set; then
5199 enableval=$enable_compat24;
5200 if test "$enableval" = yes; then
5201 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
5203 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
5208 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
5209 if test "x$LINE" != x ; then
5210 eval "DEFAULT_$LINE"
5215 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
5220 eval "$ac_cv_use_compat24"
5221 if test "$no_cache" != 1; then
5222 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
5225 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
5226 { echo "$as_me:$LINENO: result: yes" >&5
5227 echo "${ECHO_T}yes" >&6; }
5229 { echo "$as_me:$LINENO: result: no" >&5
5230 echo "${ECHO_T}no" >&6; }
5235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5236 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5238 # Check whether --enable-compat26 was given.
5239 if test "${enable_compat26+set}" = set; then
5240 enableval=$enable_compat26;
5241 if test "$enableval" = yes; then
5242 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5244 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5249 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5250 if test "x$LINE" != x ; then
5251 eval "DEFAULT_$LINE"
5256 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5261 eval "$ac_cv_use_compat26"
5262 if test "$no_cache" != 1; then
5263 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5266 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5267 { echo "$as_me:$LINENO: result: yes" >&5
5268 echo "${ECHO_T}yes" >&6; }
5270 { echo "$as_me:$LINENO: result: no" >&5
5271 echo "${ECHO_T}no" >&6; }
5275 enablestring=disable
5276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5277 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5279 # Check whether --enable-compat28 was given.
5280 if test "${enable_compat28+set}" = set; then
5281 enableval=$enable_compat28;
5282 if test "$enableval" = yes; then
5283 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5285 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5290 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
5291 if test "x$LINE" != x ; then
5292 eval "DEFAULT_$LINE"
5297 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5302 eval "$ac_cv_use_compat28"
5303 if test "$no_cache" != 1; then
5304 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5307 if test "$WXWIN_COMPATIBILITY_2_8" = 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; }
5318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5319 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5321 # Check whether --enable-rpath was given.
5322 if test "${enable_rpath+set}" = set; then
5323 enableval=$enable_rpath;
5324 if test "$enableval" = yes; then
5325 ac_cv_use_rpath='wxUSE_RPATH=yes'
5327 ac_cv_use_rpath='wxUSE_RPATH=no'
5332 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5333 if test "x$LINE" != x ; then
5334 eval "DEFAULT_$LINE"
5339 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5344 eval "$ac_cv_use_rpath"
5345 if test "$no_cache" != 1; then
5346 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5349 if test "$wxUSE_RPATH" = yes; then
5350 { echo "$as_me:$LINENO: result: yes" >&5
5351 echo "${ECHO_T}yes" >&6; }
5353 { echo "$as_me:$LINENO: result: no" >&5
5354 echo "${ECHO_T}no" >&6; }
5362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5363 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5365 # Check whether --enable-intl was given.
5366 if test "${enable_intl+set}" = set; then
5367 enableval=$enable_intl;
5368 if test "$enableval" = yes; then
5369 ac_cv_use_intl='wxUSE_INTL=yes'
5371 ac_cv_use_intl='wxUSE_INTL=no'
5376 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5377 if test "x$LINE" != x ; then
5378 eval "DEFAULT_$LINE"
5383 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5388 eval "$ac_cv_use_intl"
5389 if test "$no_cache" != 1; then
5390 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5393 if test "$wxUSE_INTL" = yes; then
5394 { echo "$as_me:$LINENO: result: yes" >&5
5395 echo "${ECHO_T}yes" >&6; }
5397 { echo "$as_me:$LINENO: result: no" >&5
5398 echo "${ECHO_T}no" >&6; }
5403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5404 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5406 # Check whether --enable-config was given.
5407 if test "${enable_config+set}" = set; then
5408 enableval=$enable_config;
5409 if test "$enableval" = yes; then
5410 ac_cv_use_config='wxUSE_CONFIG=yes'
5412 ac_cv_use_config='wxUSE_CONFIG=no'
5417 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5418 if test "x$LINE" != x ; then
5419 eval "DEFAULT_$LINE"
5424 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5429 eval "$ac_cv_use_config"
5430 if test "$no_cache" != 1; then
5431 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5434 if test "$wxUSE_CONFIG" = 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; }
5445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5446 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5448 # Check whether --enable-protocols was given.
5449 if test "${enable_protocols+set}" = set; then
5450 enableval=$enable_protocols;
5451 if test "$enableval" = yes; then
5452 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5454 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5459 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5460 if test "x$LINE" != x ; then
5461 eval "DEFAULT_$LINE"
5466 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5471 eval "$ac_cv_use_protocols"
5472 if test "$no_cache" != 1; then
5473 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5476 if test "$wxUSE_PROTOCOL" = yes; then
5477 { echo "$as_me:$LINENO: result: yes" >&5
5478 echo "${ECHO_T}yes" >&6; }
5480 { echo "$as_me:$LINENO: result: no" >&5
5481 echo "${ECHO_T}no" >&6; }
5486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5487 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5489 # Check whether --enable-ftp was given.
5490 if test "${enable_ftp+set}" = set; then
5491 enableval=$enable_ftp;
5492 if test "$enableval" = yes; then
5493 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5495 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5500 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5501 if test "x$LINE" != x ; then
5502 eval "DEFAULT_$LINE"
5507 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5512 eval "$ac_cv_use_ftp"
5513 if test "$no_cache" != 1; then
5514 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5517 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5518 { echo "$as_me:$LINENO: result: yes" >&5
5519 echo "${ECHO_T}yes" >&6; }
5521 { echo "$as_me:$LINENO: result: no" >&5
5522 echo "${ECHO_T}no" >&6; }
5527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5528 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5530 # Check whether --enable-http was given.
5531 if test "${enable_http+set}" = set; then
5532 enableval=$enable_http;
5533 if test "$enableval" = yes; then
5534 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5536 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5541 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5542 if test "x$LINE" != x ; then
5543 eval "DEFAULT_$LINE"
5548 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5553 eval "$ac_cv_use_http"
5554 if test "$no_cache" != 1; then
5555 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5558 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5559 { echo "$as_me:$LINENO: result: yes" >&5
5560 echo "${ECHO_T}yes" >&6; }
5562 { echo "$as_me:$LINENO: result: no" >&5
5563 echo "${ECHO_T}no" >&6; }
5568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5569 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5571 # Check whether --enable-fileproto was given.
5572 if test "${enable_fileproto+set}" = set; then
5573 enableval=$enable_fileproto;
5574 if test "$enableval" = yes; then
5575 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5577 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5582 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5583 if test "x$LINE" != x ; then
5584 eval "DEFAULT_$LINE"
5589 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5594 eval "$ac_cv_use_fileproto"
5595 if test "$no_cache" != 1; then
5596 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5599 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5600 { echo "$as_me:$LINENO: result: yes" >&5
5601 echo "${ECHO_T}yes" >&6; }
5603 { echo "$as_me:$LINENO: result: no" >&5
5604 echo "${ECHO_T}no" >&6; }
5609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5610 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5612 # Check whether --enable-sockets was given.
5613 if test "${enable_sockets+set}" = set; then
5614 enableval=$enable_sockets;
5615 if test "$enableval" = yes; then
5616 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5618 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5623 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5624 if test "x$LINE" != x ; then
5625 eval "DEFAULT_$LINE"
5630 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5635 eval "$ac_cv_use_sockets"
5636 if test "$no_cache" != 1; then
5637 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5640 if test "$wxUSE_SOCKETS" = yes; then
5641 { echo "$as_me:$LINENO: result: yes" >&5
5642 echo "${ECHO_T}yes" >&6; }
5644 { echo "$as_me:$LINENO: result: no" >&5
5645 echo "${ECHO_T}no" >&6; }
5650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5651 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5653 # Check whether --enable-ole was given.
5654 if test "${enable_ole+set}" = set; then
5655 enableval=$enable_ole;
5656 if test "$enableval" = yes; then
5657 ac_cv_use_ole='wxUSE_OLE=yes'
5659 ac_cv_use_ole='wxUSE_OLE=no'
5664 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5665 if test "x$LINE" != x ; then
5666 eval "DEFAULT_$LINE"
5671 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5676 eval "$ac_cv_use_ole"
5677 if test "$no_cache" != 1; then
5678 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5681 if test "$wxUSE_OLE" = yes; then
5682 { echo "$as_me:$LINENO: result: yes" >&5
5683 echo "${ECHO_T}yes" >&6; }
5685 { echo "$as_me:$LINENO: result: no" >&5
5686 echo "${ECHO_T}no" >&6; }
5691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5692 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5694 # Check whether --enable-dataobj was given.
5695 if test "${enable_dataobj+set}" = set; then
5696 enableval=$enable_dataobj;
5697 if test "$enableval" = yes; then
5698 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5700 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5705 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5706 if test "x$LINE" != x ; then
5707 eval "DEFAULT_$LINE"
5712 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5717 eval "$ac_cv_use_dataobj"
5718 if test "$no_cache" != 1; then
5719 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5722 if test "$wxUSE_DATAOBJ" = 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}-ipc" >&5
5734 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5736 # Check whether --enable-ipc was given.
5737 if test "${enable_ipc+set}" = set; then
5738 enableval=$enable_ipc;
5739 if test "$enableval" = yes; then
5740 ac_cv_use_ipc='wxUSE_IPC=yes'
5742 ac_cv_use_ipc='wxUSE_IPC=no'
5747 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5748 if test "x$LINE" != x ; then
5749 eval "DEFAULT_$LINE"
5754 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5759 eval "$ac_cv_use_ipc"
5760 if test "$no_cache" != 1; then
5761 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5764 if test "$wxUSE_IPC" = 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; }
5775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5776 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5778 # Check whether --enable-apple_ieee was given.
5779 if test "${enable_apple_ieee+set}" = set; then
5780 enableval=$enable_apple_ieee;
5781 if test "$enableval" = yes; then
5782 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5784 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5789 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5790 if test "x$LINE" != x ; then
5791 eval "DEFAULT_$LINE"
5796 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5801 eval "$ac_cv_use_apple_ieee"
5802 if test "$no_cache" != 1; then
5803 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5806 if test "$wxUSE_APPLE_IEEE" = yes; then
5807 { echo "$as_me:$LINENO: result: yes" >&5
5808 echo "${ECHO_T}yes" >&6; }
5810 { echo "$as_me:$LINENO: result: no" >&5
5811 echo "${ECHO_T}no" >&6; }
5816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5817 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5819 # Check whether --enable-arcstream was given.
5820 if test "${enable_arcstream+set}" = set; then
5821 enableval=$enable_arcstream;
5822 if test "$enableval" = yes; then
5823 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5825 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5830 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5831 if test "x$LINE" != x ; then
5832 eval "DEFAULT_$LINE"
5837 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5842 eval "$ac_cv_use_arcstream"
5843 if test "$no_cache" != 1; then
5844 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5847 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5848 { echo "$as_me:$LINENO: result: yes" >&5
5849 echo "${ECHO_T}yes" >&6; }
5851 { echo "$as_me:$LINENO: result: no" >&5
5852 echo "${ECHO_T}no" >&6; }
5857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5858 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5860 # Check whether --enable-backtrace was given.
5861 if test "${enable_backtrace+set}" = set; then
5862 enableval=$enable_backtrace;
5863 if test "$enableval" = yes; then
5864 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5866 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5871 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5872 if test "x$LINE" != x ; then
5873 eval "DEFAULT_$LINE"
5878 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5883 eval "$ac_cv_use_backtrace"
5884 if test "$no_cache" != 1; then
5885 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5888 if test "$wxUSE_STACKWALKER" = yes; then
5889 { echo "$as_me:$LINENO: result: yes" >&5
5890 echo "${ECHO_T}yes" >&6; }
5892 { echo "$as_me:$LINENO: result: no" >&5
5893 echo "${ECHO_T}no" >&6; }
5898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5899 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5901 # Check whether --enable-catch_segvs was given.
5902 if test "${enable_catch_segvs+set}" = set; then
5903 enableval=$enable_catch_segvs;
5904 if test "$enableval" = yes; then
5905 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5907 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5912 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5913 if test "x$LINE" != x ; then
5914 eval "DEFAULT_$LINE"
5919 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5924 eval "$ac_cv_use_catch_segvs"
5925 if test "$no_cache" != 1; then
5926 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5929 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5930 { echo "$as_me:$LINENO: result: yes" >&5
5931 echo "${ECHO_T}yes" >&6; }
5933 { echo "$as_me:$LINENO: result: no" >&5
5934 echo "${ECHO_T}no" >&6; }
5939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5940 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5942 # Check whether --enable-cmdline was given.
5943 if test "${enable_cmdline+set}" = set; then
5944 enableval=$enable_cmdline;
5945 if test "$enableval" = yes; then
5946 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5948 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5953 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5954 if test "x$LINE" != x ; then
5955 eval "DEFAULT_$LINE"
5960 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5965 eval "$ac_cv_use_cmdline"
5966 if test "$no_cache" != 1; then
5967 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5970 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5971 { echo "$as_me:$LINENO: result: yes" >&5
5972 echo "${ECHO_T}yes" >&6; }
5974 { echo "$as_me:$LINENO: result: no" >&5
5975 echo "${ECHO_T}no" >&6; }
5980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5981 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
5983 # Check whether --enable-datetime was given.
5984 if test "${enable_datetime+set}" = set; then
5985 enableval=$enable_datetime;
5986 if test "$enableval" = yes; then
5987 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5989 ac_cv_use_datetime='wxUSE_DATETIME=no'
5994 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5995 if test "x$LINE" != x ; then
5996 eval "DEFAULT_$LINE"
6001 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
6006 eval "$ac_cv_use_datetime"
6007 if test "$no_cache" != 1; then
6008 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
6011 if test "$wxUSE_DATETIME" = yes; then
6012 { echo "$as_me:$LINENO: result: yes" >&5
6013 echo "${ECHO_T}yes" >&6; }
6015 { echo "$as_me:$LINENO: result: no" >&5
6016 echo "${ECHO_T}no" >&6; }
6021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6022 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6024 # Check whether --enable-debugreport was given.
6025 if test "${enable_debugreport+set}" = set; then
6026 enableval=$enable_debugreport;
6027 if test "$enableval" = yes; then
6028 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6030 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6035 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
6036 if test "x$LINE" != x ; then
6037 eval "DEFAULT_$LINE"
6042 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6047 eval "$ac_cv_use_debugreport"
6048 if test "$no_cache" != 1; then
6049 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6052 if test "$wxUSE_DEBUGREPORT" = yes; then
6053 { echo "$as_me:$LINENO: result: yes" >&5
6054 echo "${ECHO_T}yes" >&6; }
6056 { echo "$as_me:$LINENO: result: no" >&5
6057 echo "${ECHO_T}no" >&6; }
6062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6063 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6065 # Check whether --enable-dialupman was given.
6066 if test "${enable_dialupman+set}" = set; then
6067 enableval=$enable_dialupman;
6068 if test "$enableval" = yes; then
6069 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6071 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6076 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6077 if test "x$LINE" != x ; then
6078 eval "DEFAULT_$LINE"
6083 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6088 eval "$ac_cv_use_dialupman"
6089 if test "$no_cache" != 1; then
6090 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6093 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6094 { echo "$as_me:$LINENO: result: yes" >&5
6095 echo "${ECHO_T}yes" >&6; }
6097 { echo "$as_me:$LINENO: result: no" >&5
6098 echo "${ECHO_T}no" >&6; }
6103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6104 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6106 # Check whether --enable-dynlib was given.
6107 if test "${enable_dynlib+set}" = set; then
6108 enableval=$enable_dynlib;
6109 if test "$enableval" = yes; then
6110 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6112 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6117 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6118 if test "x$LINE" != x ; then
6119 eval "DEFAULT_$LINE"
6124 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6129 eval "$ac_cv_use_dynlib"
6130 if test "$no_cache" != 1; then
6131 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6134 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6135 { echo "$as_me:$LINENO: result: yes" >&5
6136 echo "${ECHO_T}yes" >&6; }
6138 { echo "$as_me:$LINENO: result: no" >&5
6139 echo "${ECHO_T}no" >&6; }
6144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6145 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6147 # Check whether --enable-dynamicloader was given.
6148 if test "${enable_dynamicloader+set}" = set; then
6149 enableval=$enable_dynamicloader;
6150 if test "$enableval" = yes; then
6151 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6153 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6158 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6159 if test "x$LINE" != x ; then
6160 eval "DEFAULT_$LINE"
6165 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6170 eval "$ac_cv_use_dynamicloader"
6171 if test "$no_cache" != 1; then
6172 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6175 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6176 { echo "$as_me:$LINENO: result: yes" >&5
6177 echo "${ECHO_T}yes" >&6; }
6179 { echo "$as_me:$LINENO: result: no" >&5
6180 echo "${ECHO_T}no" >&6; }
6185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6186 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6188 # Check whether --enable-exceptions was given.
6189 if test "${enable_exceptions+set}" = set; then
6190 enableval=$enable_exceptions;
6191 if test "$enableval" = yes; then
6192 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6194 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6199 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6200 if test "x$LINE" != x ; then
6201 eval "DEFAULT_$LINE"
6206 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6211 eval "$ac_cv_use_exceptions"
6212 if test "$no_cache" != 1; then
6213 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6216 if test "$wxUSE_EXCEPTIONS" = yes; then
6217 { echo "$as_me:$LINENO: result: yes" >&5
6218 echo "${ECHO_T}yes" >&6; }
6220 { echo "$as_me:$LINENO: result: no" >&5
6221 echo "${ECHO_T}no" >&6; }
6226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6227 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6229 # Check whether --enable-ffile was given.
6230 if test "${enable_ffile+set}" = set; then
6231 enableval=$enable_ffile;
6232 if test "$enableval" = yes; then
6233 ac_cv_use_ffile='wxUSE_FFILE=yes'
6235 ac_cv_use_ffile='wxUSE_FFILE=no'
6240 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6241 if test "x$LINE" != x ; then
6242 eval "DEFAULT_$LINE"
6247 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6252 eval "$ac_cv_use_ffile"
6253 if test "$no_cache" != 1; then
6254 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6257 if test "$wxUSE_FFILE" = yes; then
6258 { echo "$as_me:$LINENO: result: yes" >&5
6259 echo "${ECHO_T}yes" >&6; }
6261 { echo "$as_me:$LINENO: result: no" >&5
6262 echo "${ECHO_T}no" >&6; }
6267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6268 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6270 # Check whether --enable-file was given.
6271 if test "${enable_file+set}" = set; then
6272 enableval=$enable_file;
6273 if test "$enableval" = yes; then
6274 ac_cv_use_file='wxUSE_FILE=yes'
6276 ac_cv_use_file='wxUSE_FILE=no'
6281 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6282 if test "x$LINE" != x ; then
6283 eval "DEFAULT_$LINE"
6288 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6293 eval "$ac_cv_use_file"
6294 if test "$no_cache" != 1; then
6295 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6298 if test "$wxUSE_FILE" = yes; then
6299 { echo "$as_me:$LINENO: result: yes" >&5
6300 echo "${ECHO_T}yes" >&6; }
6302 { echo "$as_me:$LINENO: result: no" >&5
6303 echo "${ECHO_T}no" >&6; }
6308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6309 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6311 # Check whether --enable-filesystem was given.
6312 if test "${enable_filesystem+set}" = set; then
6313 enableval=$enable_filesystem;
6314 if test "$enableval" = yes; then
6315 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6317 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6322 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6323 if test "x$LINE" != x ; then
6324 eval "DEFAULT_$LINE"
6329 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6334 eval "$ac_cv_use_filesystem"
6335 if test "$no_cache" != 1; then
6336 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6339 if test "$wxUSE_FILESYSTEM" = yes; then
6340 { echo "$as_me:$LINENO: result: yes" >&5
6341 echo "${ECHO_T}yes" >&6; }
6343 { echo "$as_me:$LINENO: result: no" >&5
6344 echo "${ECHO_T}no" >&6; }
6349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6350 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6352 # Check whether --enable-fontmap was given.
6353 if test "${enable_fontmap+set}" = set; then
6354 enableval=$enable_fontmap;
6355 if test "$enableval" = yes; then
6356 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6358 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6363 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6364 if test "x$LINE" != x ; then
6365 eval "DEFAULT_$LINE"
6370 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6375 eval "$ac_cv_use_fontmap"
6376 if test "$no_cache" != 1; then
6377 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6380 if test "$wxUSE_FONTMAP" = yes; then
6381 { echo "$as_me:$LINENO: result: yes" >&5
6382 echo "${ECHO_T}yes" >&6; }
6384 { echo "$as_me:$LINENO: result: no" >&5
6385 echo "${ECHO_T}no" >&6; }
6390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6391 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6393 # Check whether --enable-fs_archive was given.
6394 if test "${enable_fs_archive+set}" = set; then
6395 enableval=$enable_fs_archive;
6396 if test "$enableval" = yes; then
6397 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6399 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6404 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6405 if test "x$LINE" != x ; then
6406 eval "DEFAULT_$LINE"
6411 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6416 eval "$ac_cv_use_fs_archive"
6417 if test "$no_cache" != 1; then
6418 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6421 if test "$wxUSE_FS_ARCHIVE" = yes; then
6422 { echo "$as_me:$LINENO: result: yes" >&5
6423 echo "${ECHO_T}yes" >&6; }
6425 { echo "$as_me:$LINENO: result: no" >&5
6426 echo "${ECHO_T}no" >&6; }
6431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6432 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6434 # Check whether --enable-fs_inet was given.
6435 if test "${enable_fs_inet+set}" = set; then
6436 enableval=$enable_fs_inet;
6437 if test "$enableval" = yes; then
6438 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6440 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6445 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6446 if test "x$LINE" != x ; then
6447 eval "DEFAULT_$LINE"
6452 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6457 eval "$ac_cv_use_fs_inet"
6458 if test "$no_cache" != 1; then
6459 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6462 if test "$wxUSE_FS_INET" = yes; then
6463 { echo "$as_me:$LINENO: result: yes" >&5
6464 echo "${ECHO_T}yes" >&6; }
6466 { echo "$as_me:$LINENO: result: no" >&5
6467 echo "${ECHO_T}no" >&6; }
6472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6473 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6475 # Check whether --enable-fs_zip was given.
6476 if test "${enable_fs_zip+set}" = set; then
6477 enableval=$enable_fs_zip;
6478 if test "$enableval" = yes; then
6479 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6481 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6486 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6487 if test "x$LINE" != x ; then
6488 eval "DEFAULT_$LINE"
6493 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6498 eval "$ac_cv_use_fs_zip"
6499 if test "$no_cache" != 1; then
6500 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6503 if test "$wxUSE_FS_ZIP" = yes; then
6504 { echo "$as_me:$LINENO: result: yes" >&5
6505 echo "${ECHO_T}yes" >&6; }
6507 { echo "$as_me:$LINENO: result: no" >&5
6508 echo "${ECHO_T}no" >&6; }
6513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6514 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6516 # Check whether --enable-geometry was given.
6517 if test "${enable_geometry+set}" = set; then
6518 enableval=$enable_geometry;
6519 if test "$enableval" = yes; then
6520 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6522 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6527 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6528 if test "x$LINE" != x ; then
6529 eval "DEFAULT_$LINE"
6534 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6539 eval "$ac_cv_use_geometry"
6540 if test "$no_cache" != 1; then
6541 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6544 if test "$wxUSE_GEOMETRY" = yes; then
6545 { echo "$as_me:$LINENO: result: yes" >&5
6546 echo "${ECHO_T}yes" >&6; }
6548 { echo "$as_me:$LINENO: result: no" >&5
6549 echo "${ECHO_T}no" >&6; }
6554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6555 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6557 # Check whether --enable-log was given.
6558 if test "${enable_log+set}" = set; then
6559 enableval=$enable_log;
6560 if test "$enableval" = yes; then
6561 ac_cv_use_log='wxUSE_LOG=yes'
6563 ac_cv_use_log='wxUSE_LOG=no'
6568 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6569 if test "x$LINE" != x ; then
6570 eval "DEFAULT_$LINE"
6575 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6580 eval "$ac_cv_use_log"
6581 if test "$no_cache" != 1; then
6582 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6585 if test "$wxUSE_LOG" = yes; then
6586 { echo "$as_me:$LINENO: result: yes" >&5
6587 echo "${ECHO_T}yes" >&6; }
6589 { echo "$as_me:$LINENO: result: no" >&5
6590 echo "${ECHO_T}no" >&6; }
6595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6596 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6598 # Check whether --enable-longlong was given.
6599 if test "${enable_longlong+set}" = set; then
6600 enableval=$enable_longlong;
6601 if test "$enableval" = yes; then
6602 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6604 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6609 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6610 if test "x$LINE" != x ; then
6611 eval "DEFAULT_$LINE"
6616 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6621 eval "$ac_cv_use_longlong"
6622 if test "$no_cache" != 1; then
6623 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6626 if test "$wxUSE_LONGLONG" = yes; then
6627 { echo "$as_me:$LINENO: result: yes" >&5
6628 echo "${ECHO_T}yes" >&6; }
6630 { echo "$as_me:$LINENO: result: no" >&5
6631 echo "${ECHO_T}no" >&6; }
6636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6637 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6639 # Check whether --enable-mimetype was given.
6640 if test "${enable_mimetype+set}" = set; then
6641 enableval=$enable_mimetype;
6642 if test "$enableval" = yes; then
6643 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6645 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6650 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6651 if test "x$LINE" != x ; then
6652 eval "DEFAULT_$LINE"
6657 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6662 eval "$ac_cv_use_mimetype"
6663 if test "$no_cache" != 1; then
6664 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6667 if test "$wxUSE_MIMETYPE" = yes; then
6668 { echo "$as_me:$LINENO: result: yes" >&5
6669 echo "${ECHO_T}yes" >&6; }
6671 { echo "$as_me:$LINENO: result: no" >&5
6672 echo "${ECHO_T}no" >&6; }
6677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6678 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6680 # Check whether --enable-mslu was given.
6681 if test "${enable_mslu+set}" = set; then
6682 enableval=$enable_mslu;
6683 if test "$enableval" = yes; then
6684 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6686 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6691 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6692 if test "x$LINE" != x ; then
6693 eval "DEFAULT_$LINE"
6698 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6703 eval "$ac_cv_use_mslu"
6704 if test "$no_cache" != 1; then
6705 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6708 if test "$wxUSE_UNICODE_MSLU" = yes; then
6709 { echo "$as_me:$LINENO: result: yes" >&5
6710 echo "${ECHO_T}yes" >&6; }
6712 { echo "$as_me:$LINENO: result: no" >&5
6713 echo "${ECHO_T}no" >&6; }
6718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6719 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6721 # Check whether --enable-snglinst was given.
6722 if test "${enable_snglinst+set}" = set; then
6723 enableval=$enable_snglinst;
6724 if test "$enableval" = yes; then
6725 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6727 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6732 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6733 if test "x$LINE" != x ; then
6734 eval "DEFAULT_$LINE"
6739 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6744 eval "$ac_cv_use_snglinst"
6745 if test "$no_cache" != 1; then
6746 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6749 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6750 { echo "$as_me:$LINENO: result: yes" >&5
6751 echo "${ECHO_T}yes" >&6; }
6753 { echo "$as_me:$LINENO: result: no" >&5
6754 echo "${ECHO_T}no" >&6; }
6759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6760 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6762 # Check whether --enable-std_iostreams was given.
6763 if test "${enable_std_iostreams+set}" = set; then
6764 enableval=$enable_std_iostreams;
6765 if test "$enableval" = yes; then
6766 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6768 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6773 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6774 if test "x$LINE" != x ; then
6775 eval "DEFAULT_$LINE"
6780 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6785 eval "$ac_cv_use_std_iostreams"
6786 if test "$no_cache" != 1; then
6787 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6790 if test "$wxUSE_STD_IOSTREAM" = yes; then
6791 { echo "$as_me:$LINENO: result: yes" >&5
6792 echo "${ECHO_T}yes" >&6; }
6794 { echo "$as_me:$LINENO: result: no" >&5
6795 echo "${ECHO_T}no" >&6; }
6800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6801 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6803 # Check whether --enable-std_string was given.
6804 if test "${enable_std_string+set}" = set; then
6805 enableval=$enable_std_string;
6806 if test "$enableval" = yes; then
6807 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6809 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6814 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6815 if test "x$LINE" != x ; then
6816 eval "DEFAULT_$LINE"
6821 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6826 eval "$ac_cv_use_std_string"
6827 if test "$no_cache" != 1; then
6828 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6831 if test "$wxUSE_STD_STRING" = yes; then
6832 { echo "$as_me:$LINENO: result: yes" >&5
6833 echo "${ECHO_T}yes" >&6; }
6835 { echo "$as_me:$LINENO: result: no" >&5
6836 echo "${ECHO_T}no" >&6; }
6841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6842 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6844 # Check whether --enable-stdpaths was given.
6845 if test "${enable_stdpaths+set}" = set; then
6846 enableval=$enable_stdpaths;
6847 if test "$enableval" = yes; then
6848 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6850 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6855 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6856 if test "x$LINE" != x ; then
6857 eval "DEFAULT_$LINE"
6862 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6867 eval "$ac_cv_use_stdpaths"
6868 if test "$no_cache" != 1; then
6869 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6872 if test "$wxUSE_STDPATHS" = yes; then
6873 { echo "$as_me:$LINENO: result: yes" >&5
6874 echo "${ECHO_T}yes" >&6; }
6876 { echo "$as_me:$LINENO: result: no" >&5
6877 echo "${ECHO_T}no" >&6; }
6882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6883 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6885 # Check whether --enable-stopwatch was given.
6886 if test "${enable_stopwatch+set}" = set; then
6887 enableval=$enable_stopwatch;
6888 if test "$enableval" = yes; then
6889 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6891 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6896 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6897 if test "x$LINE" != x ; then
6898 eval "DEFAULT_$LINE"
6903 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6908 eval "$ac_cv_use_stopwatch"
6909 if test "$no_cache" != 1; then
6910 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6913 if test "$wxUSE_STOPWATCH" = yes; then
6914 { echo "$as_me:$LINENO: result: yes" >&5
6915 echo "${ECHO_T}yes" >&6; }
6917 { echo "$as_me:$LINENO: result: no" >&5
6918 echo "${ECHO_T}no" >&6; }
6923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6924 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
6926 # Check whether --enable-streams was given.
6927 if test "${enable_streams+set}" = set; then
6928 enableval=$enable_streams;
6929 if test "$enableval" = yes; then
6930 ac_cv_use_streams='wxUSE_STREAMS=yes'
6932 ac_cv_use_streams='wxUSE_STREAMS=no'
6937 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6938 if test "x$LINE" != x ; then
6939 eval "DEFAULT_$LINE"
6944 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6949 eval "$ac_cv_use_streams"
6950 if test "$no_cache" != 1; then
6951 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6954 if test "$wxUSE_STREAMS" = yes; then
6955 { echo "$as_me:$LINENO: result: yes" >&5
6956 echo "${ECHO_T}yes" >&6; }
6958 { echo "$as_me:$LINENO: result: no" >&5
6959 echo "${ECHO_T}no" >&6; }
6964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6965 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
6967 # Check whether --enable-system_options was given.
6968 if test "${enable_system_options+set}" = set; then
6969 enableval=$enable_system_options;
6970 if test "$enableval" = yes; then
6971 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6973 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6978 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6979 if test "x$LINE" != x ; then
6980 eval "DEFAULT_$LINE"
6985 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6990 eval "$ac_cv_use_system_options"
6991 if test "$no_cache" != 1; then
6992 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6995 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6996 { echo "$as_me:$LINENO: result: yes" >&5
6997 echo "${ECHO_T}yes" >&6; }
6999 { echo "$as_me:$LINENO: result: no" >&5
7000 echo "${ECHO_T}no" >&6; }
7005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7006 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7008 # Check whether --enable-tarstream was given.
7009 if test "${enable_tarstream+set}" = set; then
7010 enableval=$enable_tarstream;
7011 if test "$enableval" = yes; then
7012 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7014 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
7019 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
7020 if test "x$LINE" != x ; then
7021 eval "DEFAULT_$LINE"
7026 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7031 eval "$ac_cv_use_tarstream"
7032 if test "$no_cache" != 1; then
7033 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7036 if test "$wxUSE_TARSTREAM" = yes; then
7037 { echo "$as_me:$LINENO: result: yes" >&5
7038 echo "${ECHO_T}yes" >&6; }
7040 { echo "$as_me:$LINENO: result: no" >&5
7041 echo "${ECHO_T}no" >&6; }
7046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7047 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7049 # Check whether --enable-textbuf was given.
7050 if test "${enable_textbuf+set}" = set; then
7051 enableval=$enable_textbuf;
7052 if test "$enableval" = yes; then
7053 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7055 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7060 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7061 if test "x$LINE" != x ; then
7062 eval "DEFAULT_$LINE"
7067 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7072 eval "$ac_cv_use_textbuf"
7073 if test "$no_cache" != 1; then
7074 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7077 if test "$wxUSE_TEXTBUFFER" = yes; then
7078 { echo "$as_me:$LINENO: result: yes" >&5
7079 echo "${ECHO_T}yes" >&6; }
7081 { echo "$as_me:$LINENO: result: no" >&5
7082 echo "${ECHO_T}no" >&6; }
7087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7088 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7090 # Check whether --enable-textfile was given.
7091 if test "${enable_textfile+set}" = set; then
7092 enableval=$enable_textfile;
7093 if test "$enableval" = yes; then
7094 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7096 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7101 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7102 if test "x$LINE" != x ; then
7103 eval "DEFAULT_$LINE"
7108 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7113 eval "$ac_cv_use_textfile"
7114 if test "$no_cache" != 1; then
7115 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7118 if test "$wxUSE_TEXTFILE" = yes; then
7119 { echo "$as_me:$LINENO: result: yes" >&5
7120 echo "${ECHO_T}yes" >&6; }
7122 { echo "$as_me:$LINENO: result: no" >&5
7123 echo "${ECHO_T}no" >&6; }
7128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7129 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7131 # Check whether --enable-timer was given.
7132 if test "${enable_timer+set}" = set; then
7133 enableval=$enable_timer;
7134 if test "$enableval" = yes; then
7135 ac_cv_use_timer='wxUSE_TIMER=yes'
7137 ac_cv_use_timer='wxUSE_TIMER=no'
7142 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7143 if test "x$LINE" != x ; then
7144 eval "DEFAULT_$LINE"
7149 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7154 eval "$ac_cv_use_timer"
7155 if test "$no_cache" != 1; then
7156 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7159 if test "$wxUSE_TIMER" = yes; then
7160 { echo "$as_me:$LINENO: result: yes" >&5
7161 echo "${ECHO_T}yes" >&6; }
7163 { echo "$as_me:$LINENO: result: no" >&5
7164 echo "${ECHO_T}no" >&6; }
7169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7170 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7172 # Check whether --enable-unicode was given.
7173 if test "${enable_unicode+set}" = set; then
7174 enableval=$enable_unicode;
7175 if test "$enableval" = yes; then
7176 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7178 ac_cv_use_unicode='wxUSE_UNICODE=no'
7183 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7184 if test "x$LINE" != x ; then
7185 eval "DEFAULT_$LINE"
7190 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7195 eval "$ac_cv_use_unicode"
7196 if test "$no_cache" != 1; then
7197 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7200 if test "$wxUSE_UNICODE" = yes; then
7201 { echo "$as_me:$LINENO: result: yes" >&5
7202 echo "${ECHO_T}yes" >&6; }
7204 { echo "$as_me:$LINENO: result: no" >&5
7205 echo "${ECHO_T}no" >&6; }
7210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7211 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7213 # Check whether --enable-sound was given.
7214 if test "${enable_sound+set}" = set; then
7215 enableval=$enable_sound;
7216 if test "$enableval" = yes; then
7217 ac_cv_use_sound='wxUSE_SOUND=yes'
7219 ac_cv_use_sound='wxUSE_SOUND=no'
7224 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7225 if test "x$LINE" != x ; then
7226 eval "DEFAULT_$LINE"
7231 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7236 eval "$ac_cv_use_sound"
7237 if test "$no_cache" != 1; then
7238 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7241 if test "$wxUSE_SOUND" = yes; then
7242 { echo "$as_me:$LINENO: result: yes" >&5
7243 echo "${ECHO_T}yes" >&6; }
7245 { echo "$as_me:$LINENO: result: no" >&5
7246 echo "${ECHO_T}no" >&6; }
7251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7252 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7254 # Check whether --enable-mediactrl was given.
7255 if test "${enable_mediactrl+set}" = set; then
7256 enableval=$enable_mediactrl;
7257 if test "$enableval" = yes; then
7258 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7260 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7265 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7266 if test "x$LINE" != x ; then
7267 eval "DEFAULT_$LINE"
7272 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7277 eval "$ac_cv_use_mediactrl"
7278 if test "$no_cache" != 1; then
7279 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7282 if test "$wxUSE_MEDIACTRL" = yes; then
7283 { echo "$as_me:$LINENO: result: yes" >&5
7284 echo "${ECHO_T}yes" >&6; }
7286 { echo "$as_me:$LINENO: result: no" >&5
7287 echo "${ECHO_T}no" >&6; }
7292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7293 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7295 # Check whether --enable-gstreamer8 was given.
7296 if test "${enable_gstreamer8+set}" = set; then
7297 enableval=$enable_gstreamer8;
7298 if test "$enableval" = yes; then
7299 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7301 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7306 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
7307 if test "x$LINE" != x ; then
7308 eval "DEFAULT_$LINE"
7313 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7318 eval "$ac_cv_use_gstreamer8"
7319 if test "$no_cache" != 1; then
7320 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7323 if test "$wxUSE_GSTREAMER8" = yes; then
7324 { echo "$as_me:$LINENO: result: yes" >&5
7325 echo "${ECHO_T}yes" >&6; }
7327 { echo "$as_me:$LINENO: result: no" >&5
7328 echo "${ECHO_T}no" >&6; }
7333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7334 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7336 # Check whether --enable-printfposparam was given.
7337 if test "${enable_printfposparam+set}" = set; then
7338 enableval=$enable_printfposparam;
7339 if test "$enableval" = yes; then
7340 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7342 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7347 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7348 if test "x$LINE" != x ; then
7349 eval "DEFAULT_$LINE"
7354 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7359 eval "$ac_cv_use_printfposparam"
7360 if test "$no_cache" != 1; then
7361 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7364 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7365 { echo "$as_me:$LINENO: result: yes" >&5
7366 echo "${ECHO_T}yes" >&6; }
7368 { echo "$as_me:$LINENO: result: no" >&5
7369 echo "${ECHO_T}no" >&6; }
7374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7375 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7377 # Check whether --enable-zipstream was given.
7378 if test "${enable_zipstream+set}" = set; then
7379 enableval=$enable_zipstream;
7380 if test "$enableval" = yes; then
7381 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7383 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7388 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7389 if test "x$LINE" != x ; then
7390 eval "DEFAULT_$LINE"
7395 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7400 eval "$ac_cv_use_zipstream"
7401 if test "$no_cache" != 1; then
7402 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7405 if test "$wxUSE_ZIPSTREAM" = 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; }
7416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7417 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7419 # Check whether --enable-url was given.
7420 if test "${enable_url+set}" = set; then
7421 enableval=$enable_url;
7422 if test "$enableval" = yes; then
7423 ac_cv_use_url='wxUSE_URL=yes'
7425 ac_cv_use_url='wxUSE_URL=no'
7430 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7431 if test "x$LINE" != x ; then
7432 eval "DEFAULT_$LINE"
7437 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7442 eval "$ac_cv_use_url"
7443 if test "$no_cache" != 1; then
7444 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7447 if test "$wxUSE_URL" = yes; then
7448 { echo "$as_me:$LINENO: result: yes" >&5
7449 echo "${ECHO_T}yes" >&6; }
7451 { echo "$as_me:$LINENO: result: no" >&5
7452 echo "${ECHO_T}no" >&6; }
7457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7458 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7460 # Check whether --enable-variant was given.
7461 if test "${enable_variant+set}" = set; then
7462 enableval=$enable_variant;
7463 if test "$enableval" = yes; then
7464 ac_cv_use_variant='wxUSE_VARIANT=yes'
7466 ac_cv_use_variant='wxUSE_VARIANT=no'
7471 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
7472 if test "x$LINE" != x ; then
7473 eval "DEFAULT_$LINE"
7478 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7483 eval "$ac_cv_use_variant"
7484 if test "$no_cache" != 1; then
7485 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7488 if test "$wxUSE_VARIANT" = yes; then
7489 { echo "$as_me:$LINENO: result: yes" >&5
7490 echo "${ECHO_T}yes" >&6; }
7492 { echo "$as_me:$LINENO: result: no" >&5
7493 echo "${ECHO_T}no" >&6; }
7498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7499 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7501 # Check whether --enable-protocol was given.
7502 if test "${enable_protocol+set}" = set; then
7503 enableval=$enable_protocol;
7504 if test "$enableval" = yes; then
7505 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7507 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7512 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7513 if test "x$LINE" != x ; then
7514 eval "DEFAULT_$LINE"
7519 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7524 eval "$ac_cv_use_protocol"
7525 if test "$no_cache" != 1; then
7526 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7529 if test "$wxUSE_PROTOCOL" = yes; then
7530 { echo "$as_me:$LINENO: result: yes" >&5
7531 echo "${ECHO_T}yes" >&6; }
7533 { echo "$as_me:$LINENO: result: no" >&5
7534 echo "${ECHO_T}no" >&6; }
7539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7540 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7542 # Check whether --enable-protocol_http was given.
7543 if test "${enable_protocol_http+set}" = set; then
7544 enableval=$enable_protocol_http;
7545 if test "$enableval" = yes; then
7546 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7548 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7553 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7554 if test "x$LINE" != x ; then
7555 eval "DEFAULT_$LINE"
7560 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7565 eval "$ac_cv_use_protocol_http"
7566 if test "$no_cache" != 1; then
7567 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7570 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7571 { echo "$as_me:$LINENO: result: yes" >&5
7572 echo "${ECHO_T}yes" >&6; }
7574 { echo "$as_me:$LINENO: result: no" >&5
7575 echo "${ECHO_T}no" >&6; }
7580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7581 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7583 # Check whether --enable-protocol_ftp was given.
7584 if test "${enable_protocol_ftp+set}" = set; then
7585 enableval=$enable_protocol_ftp;
7586 if test "$enableval" = yes; then
7587 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7589 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7594 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7595 if test "x$LINE" != x ; then
7596 eval "DEFAULT_$LINE"
7601 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7606 eval "$ac_cv_use_protocol_ftp"
7607 if test "$no_cache" != 1; then
7608 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7611 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7612 { echo "$as_me:$LINENO: result: yes" >&5
7613 echo "${ECHO_T}yes" >&6; }
7615 { echo "$as_me:$LINENO: result: no" >&5
7616 echo "${ECHO_T}no" >&6; }
7621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7622 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7624 # Check whether --enable-protocol_file was given.
7625 if test "${enable_protocol_file+set}" = set; then
7626 enableval=$enable_protocol_file;
7627 if test "$enableval" = yes; then
7628 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7630 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7635 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7636 if test "x$LINE" != x ; then
7637 eval "DEFAULT_$LINE"
7642 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7647 eval "$ac_cv_use_protocol_file"
7648 if test "$no_cache" != 1; then
7649 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7652 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7653 { echo "$as_me:$LINENO: result: yes" >&5
7654 echo "${ECHO_T}yes" >&6; }
7656 { echo "$as_me:$LINENO: result: no" >&5
7657 echo "${ECHO_T}no" >&6; }
7665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7666 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7668 # Check whether --enable-threads was given.
7669 if test "${enable_threads+set}" = set; then
7670 enableval=$enable_threads;
7671 if test "$enableval" = yes; then
7672 ac_cv_use_threads='wxUSE_THREADS=yes'
7674 ac_cv_use_threads='wxUSE_THREADS=no'
7679 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7680 if test "x$LINE" != x ; then
7681 eval "DEFAULT_$LINE"
7686 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7691 eval "$ac_cv_use_threads"
7692 if test "$no_cache" != 1; then
7693 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7696 if test "$wxUSE_THREADS" = yes; then
7697 { echo "$as_me:$LINENO: result: yes" >&5
7698 echo "${ECHO_T}yes" >&6; }
7700 { echo "$as_me:$LINENO: result: no" >&5
7701 echo "${ECHO_T}no" >&6; }
7705 if test "$wxUSE_GUI" = "yes"; then
7710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7711 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7713 # Check whether --enable-docview was given.
7714 if test "${enable_docview+set}" = set; then
7715 enableval=$enable_docview;
7716 if test "$enableval" = yes; then
7717 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7719 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7724 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7725 if test "x$LINE" != x ; then
7726 eval "DEFAULT_$LINE"
7731 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7736 eval "$ac_cv_use_docview"
7737 if test "$no_cache" != 1; then
7738 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7741 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7742 { echo "$as_me:$LINENO: result: yes" >&5
7743 echo "${ECHO_T}yes" >&6; }
7745 { echo "$as_me:$LINENO: result: no" >&5
7746 echo "${ECHO_T}no" >&6; }
7751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7752 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7754 # Check whether --enable-help was given.
7755 if test "${enable_help+set}" = set; then
7756 enableval=$enable_help;
7757 if test "$enableval" = yes; then
7758 ac_cv_use_help='wxUSE_HELP=yes'
7760 ac_cv_use_help='wxUSE_HELP=no'
7765 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7766 if test "x$LINE" != x ; then
7767 eval "DEFAULT_$LINE"
7772 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7777 eval "$ac_cv_use_help"
7778 if test "$no_cache" != 1; then
7779 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7782 if test "$wxUSE_HELP" = yes; then
7783 { echo "$as_me:$LINENO: result: yes" >&5
7784 echo "${ECHO_T}yes" >&6; }
7786 { echo "$as_me:$LINENO: result: no" >&5
7787 echo "${ECHO_T}no" >&6; }
7792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7793 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7795 # Check whether --enable-mshtmlhelp was given.
7796 if test "${enable_mshtmlhelp+set}" = set; then
7797 enableval=$enable_mshtmlhelp;
7798 if test "$enableval" = yes; then
7799 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7801 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7806 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7807 if test "x$LINE" != x ; then
7808 eval "DEFAULT_$LINE"
7813 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7818 eval "$ac_cv_use_mshtmlhelp"
7819 if test "$no_cache" != 1; then
7820 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7823 if test "$wxUSE_MS_HTML_HELP" = yes; then
7824 { echo "$as_me:$LINENO: result: yes" >&5
7825 echo "${ECHO_T}yes" >&6; }
7827 { echo "$as_me:$LINENO: result: no" >&5
7828 echo "${ECHO_T}no" >&6; }
7833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7834 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7836 # Check whether --enable-html was given.
7837 if test "${enable_html+set}" = set; then
7838 enableval=$enable_html;
7839 if test "$enableval" = yes; then
7840 ac_cv_use_html='wxUSE_HTML=yes'
7842 ac_cv_use_html='wxUSE_HTML=no'
7847 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7848 if test "x$LINE" != x ; then
7849 eval "DEFAULT_$LINE"
7854 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7859 eval "$ac_cv_use_html"
7860 if test "$no_cache" != 1; then
7861 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7864 if test "$wxUSE_HTML" = yes; then
7865 { echo "$as_me:$LINENO: result: yes" >&5
7866 echo "${ECHO_T}yes" >&6; }
7868 { echo "$as_me:$LINENO: result: no" >&5
7869 echo "${ECHO_T}no" >&6; }
7874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7875 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7877 # Check whether --enable-htmlhelp was given.
7878 if test "${enable_htmlhelp+set}" = set; then
7879 enableval=$enable_htmlhelp;
7880 if test "$enableval" = yes; then
7881 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7883 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7888 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7889 if test "x$LINE" != x ; then
7890 eval "DEFAULT_$LINE"
7895 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7900 eval "$ac_cv_use_htmlhelp"
7901 if test "$no_cache" != 1; then
7902 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7905 if test "$wxUSE_WXHTML_HELP" = yes; then
7906 { echo "$as_me:$LINENO: result: yes" >&5
7907 echo "${ECHO_T}yes" >&6; }
7909 { echo "$as_me:$LINENO: result: no" >&5
7910 echo "${ECHO_T}no" >&6; }
7915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7916 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
7918 # Check whether --enable-xrc was given.
7919 if test "${enable_xrc+set}" = set; then
7920 enableval=$enable_xrc;
7921 if test "$enableval" = yes; then
7922 ac_cv_use_xrc='wxUSE_XRC=yes'
7924 ac_cv_use_xrc='wxUSE_XRC=no'
7929 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7930 if test "x$LINE" != x ; then
7931 eval "DEFAULT_$LINE"
7936 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7941 eval "$ac_cv_use_xrc"
7942 if test "$no_cache" != 1; then
7943 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7946 if test "$wxUSE_XRC" = yes; then
7947 { echo "$as_me:$LINENO: result: yes" >&5
7948 echo "${ECHO_T}yes" >&6; }
7950 { echo "$as_me:$LINENO: result: no" >&5
7951 echo "${ECHO_T}no" >&6; }
7956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7957 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
7959 # Check whether --enable-aui was given.
7960 if test "${enable_aui+set}" = set; then
7961 enableval=$enable_aui;
7962 if test "$enableval" = yes; then
7963 ac_cv_use_aui='wxUSE_AUI=yes'
7965 ac_cv_use_aui='wxUSE_AUI=no'
7970 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7971 if test "x$LINE" != x ; then
7972 eval "DEFAULT_$LINE"
7977 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7982 eval "$ac_cv_use_aui"
7983 if test "$no_cache" != 1; then
7984 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7987 if test "$wxUSE_AUI" = yes; then
7988 { echo "$as_me:$LINENO: result: yes" >&5
7989 echo "${ECHO_T}yes" >&6; }
7991 { echo "$as_me:$LINENO: result: no" >&5
7992 echo "${ECHO_T}no" >&6; }
7997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7998 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8000 # Check whether --enable-constraints was given.
8001 if test "${enable_constraints+set}" = set; then
8002 enableval=$enable_constraints;
8003 if test "$enableval" = yes; then
8004 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8006 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8011 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
8012 if test "x$LINE" != x ; then
8013 eval "DEFAULT_$LINE"
8018 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
8023 eval "$ac_cv_use_constraints"
8024 if test "$no_cache" != 1; then
8025 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8028 if test "$wxUSE_CONSTRAINTS" = yes; then
8029 { echo "$as_me:$LINENO: result: yes" >&5
8030 echo "${ECHO_T}yes" >&6; }
8032 { echo "$as_me:$LINENO: result: no" >&5
8033 echo "${ECHO_T}no" >&6; }
8038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8039 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8041 # Check whether --enable-printarch was given.
8042 if test "${enable_printarch+set}" = set; then
8043 enableval=$enable_printarch;
8044 if test "$enableval" = yes; then
8045 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8047 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8052 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8053 if test "x$LINE" != x ; then
8054 eval "DEFAULT_$LINE"
8059 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8064 eval "$ac_cv_use_printarch"
8065 if test "$no_cache" != 1; then
8066 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8069 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8070 { echo "$as_me:$LINENO: result: yes" >&5
8071 echo "${ECHO_T}yes" >&6; }
8073 { echo "$as_me:$LINENO: result: no" >&5
8074 echo "${ECHO_T}no" >&6; }
8079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8080 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8082 # Check whether --enable-mdi was given.
8083 if test "${enable_mdi+set}" = set; then
8084 enableval=$enable_mdi;
8085 if test "$enableval" = yes; then
8086 ac_cv_use_mdi='wxUSE_MDI=yes'
8088 ac_cv_use_mdi='wxUSE_MDI=no'
8093 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8094 if test "x$LINE" != x ; then
8095 eval "DEFAULT_$LINE"
8100 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8105 eval "$ac_cv_use_mdi"
8106 if test "$no_cache" != 1; then
8107 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8110 if test "$wxUSE_MDI" = yes; then
8111 { echo "$as_me:$LINENO: result: yes" >&5
8112 echo "${ECHO_T}yes" >&6; }
8114 { echo "$as_me:$LINENO: result: no" >&5
8115 echo "${ECHO_T}no" >&6; }
8120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8121 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8123 # Check whether --enable-mdidoc was given.
8124 if test "${enable_mdidoc+set}" = set; then
8125 enableval=$enable_mdidoc;
8126 if test "$enableval" = yes; then
8127 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8129 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8134 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8135 if test "x$LINE" != x ; then
8136 eval "DEFAULT_$LINE"
8141 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8146 eval "$ac_cv_use_mdidoc"
8147 if test "$no_cache" != 1; then
8148 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8151 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8152 { echo "$as_me:$LINENO: result: yes" >&5
8153 echo "${ECHO_T}yes" >&6; }
8155 { echo "$as_me:$LINENO: result: no" >&5
8156 echo "${ECHO_T}no" >&6; }
8161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8162 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8164 # Check whether --enable-loggui was given.
8165 if test "${enable_loggui+set}" = set; then
8166 enableval=$enable_loggui;
8167 if test "$enableval" = yes; then
8168 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8170 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8175 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8176 if test "x$LINE" != x ; then
8177 eval "DEFAULT_$LINE"
8182 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8187 eval "$ac_cv_use_loggui"
8188 if test "$no_cache" != 1; then
8189 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8192 if test "$wxUSE_LOGGUI" = yes; then
8193 { echo "$as_me:$LINENO: result: yes" >&5
8194 echo "${ECHO_T}yes" >&6; }
8196 { echo "$as_me:$LINENO: result: no" >&5
8197 echo "${ECHO_T}no" >&6; }
8202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8203 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8205 # Check whether --enable-logwin was given.
8206 if test "${enable_logwin+set}" = set; then
8207 enableval=$enable_logwin;
8208 if test "$enableval" = yes; then
8209 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8211 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8216 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8217 if test "x$LINE" != x ; then
8218 eval "DEFAULT_$LINE"
8223 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8228 eval "$ac_cv_use_logwin"
8229 if test "$no_cache" != 1; then
8230 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8233 if test "$wxUSE_LOGWINDOW" = yes; then
8234 { echo "$as_me:$LINENO: result: yes" >&5
8235 echo "${ECHO_T}yes" >&6; }
8237 { echo "$as_me:$LINENO: result: no" >&5
8238 echo "${ECHO_T}no" >&6; }
8243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8244 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8246 # Check whether --enable-logdialog was given.
8247 if test "${enable_logdialog+set}" = set; then
8248 enableval=$enable_logdialog;
8249 if test "$enableval" = yes; then
8250 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8252 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8257 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8258 if test "x$LINE" != x ; then
8259 eval "DEFAULT_$LINE"
8264 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8269 eval "$ac_cv_use_logdialog"
8270 if test "$no_cache" != 1; then
8271 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8274 if test "$wxUSE_LOGDIALOG" = yes; then
8275 { echo "$as_me:$LINENO: result: yes" >&5
8276 echo "${ECHO_T}yes" >&6; }
8278 { echo "$as_me:$LINENO: result: no" >&5
8279 echo "${ECHO_T}no" >&6; }
8284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8285 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8287 # Check whether --enable-webkit was given.
8288 if test "${enable_webkit+set}" = set; then
8289 enableval=$enable_webkit;
8290 if test "$enableval" = yes; then
8291 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8293 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8298 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8299 if test "x$LINE" != x ; then
8300 eval "DEFAULT_$LINE"
8305 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8310 eval "$ac_cv_use_webkit"
8311 if test "$no_cache" != 1; then
8312 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8315 if test "$wxUSE_WEBKIT" = yes; then
8316 { echo "$as_me:$LINENO: result: yes" >&5
8317 echo "${ECHO_T}yes" >&6; }
8319 { echo "$as_me:$LINENO: result: no" >&5
8320 echo "${ECHO_T}no" >&6; }
8325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8326 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8328 # Check whether --enable-richtext was given.
8329 if test "${enable_richtext+set}" = set; then
8330 enableval=$enable_richtext;
8331 if test "$enableval" = yes; then
8332 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8334 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8339 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8340 if test "x$LINE" != x ; then
8341 eval "DEFAULT_$LINE"
8346 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8351 eval "$ac_cv_use_richtext"
8352 if test "$no_cache" != 1; then
8353 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8356 if test "$wxUSE_RICHTEXT" = yes; then
8357 { echo "$as_me:$LINENO: result: yes" >&5
8358 echo "${ECHO_T}yes" >&6; }
8360 { echo "$as_me:$LINENO: result: no" >&5
8361 echo "${ECHO_T}no" >&6; }
8366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8367 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8369 # Check whether --enable-graphics_ctx was given.
8370 if test "${enable_graphics_ctx+set}" = set; then
8371 enableval=$enable_graphics_ctx;
8372 if test "$enableval" = yes; then
8373 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8375 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8380 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
8381 if test "x$LINE" != x ; then
8382 eval "DEFAULT_$LINE"
8387 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8392 eval "$ac_cv_use_graphics_ctx"
8393 if test "$no_cache" != 1; then
8394 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8397 if test "$wxUSE_GRAPHICS_CONTEXT" = 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; }
8408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8409 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8411 # Check whether --enable-postscript was given.
8412 if test "${enable_postscript+set}" = set; then
8413 enableval=$enable_postscript;
8414 if test "$enableval" = yes; then
8415 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8417 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8422 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8423 if test "x$LINE" != x ; then
8424 eval "DEFAULT_$LINE"
8429 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8434 eval "$ac_cv_use_postscript"
8435 if test "$no_cache" != 1; then
8436 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8439 if test "$wxUSE_POSTSCRIPT" = yes; then
8440 { echo "$as_me:$LINENO: result: yes" >&5
8441 echo "${ECHO_T}yes" >&6; }
8443 { echo "$as_me:$LINENO: result: no" >&5
8444 echo "${ECHO_T}no" >&6; }
8452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
8453 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6; }
8455 # Check whether --enable-prologio was given.
8456 if test "${enable_prologio+set}" = set; then
8457 enableval=$enable_prologio;
8458 if test "$enableval" = yes; then
8459 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
8461 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
8466 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
8467 if test "x$LINE" != x ; then
8468 eval "DEFAULT_$LINE"
8473 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
8478 eval "$ac_cv_use_prologio"
8479 if test "$no_cache" != 1; then
8480 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
8483 if test "$wxUSE_PROLOGIO" = yes; then
8484 { echo "$as_me:$LINENO: result: yes" >&5
8485 echo "${ECHO_T}yes" >&6; }
8487 { echo "$as_me:$LINENO: result: no" >&5
8488 echo "${ECHO_T}no" >&6; }
8493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
8494 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6; }
8496 # Check whether --enable-resources was given.
8497 if test "${enable_resources+set}" = set; then
8498 enableval=$enable_resources;
8499 if test "$enableval" = yes; then
8500 ac_cv_use_resources='wxUSE_RESOURCES=yes'
8502 ac_cv_use_resources='wxUSE_RESOURCES=no'
8507 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
8508 if test "x$LINE" != x ; then
8509 eval "DEFAULT_$LINE"
8514 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
8519 eval "$ac_cv_use_resources"
8520 if test "$no_cache" != 1; then
8521 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
8524 if test "$wxUSE_RESOURCES" = yes; then
8525 { echo "$as_me:$LINENO: result: yes" >&5
8526 echo "${ECHO_T}yes" >&6; }
8528 { echo "$as_me:$LINENO: result: no" >&5
8529 echo "${ECHO_T}no" >&6; }
8536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8537 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8539 # Check whether --enable-clipboard was given.
8540 if test "${enable_clipboard+set}" = set; then
8541 enableval=$enable_clipboard;
8542 if test "$enableval" = yes; then
8543 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8545 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8550 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
8551 if test "x$LINE" != x ; then
8552 eval "DEFAULT_$LINE"
8557 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8562 eval "$ac_cv_use_clipboard"
8563 if test "$no_cache" != 1; then
8564 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8567 if test "$wxUSE_CLIPBOARD" = yes; then
8568 { echo "$as_me:$LINENO: result: yes" >&5
8569 echo "${ECHO_T}yes" >&6; }
8571 { echo "$as_me:$LINENO: result: no" >&5
8572 echo "${ECHO_T}no" >&6; }
8577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8578 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8580 # Check whether --enable-dnd was given.
8581 if test "${enable_dnd+set}" = set; then
8582 enableval=$enable_dnd;
8583 if test "$enableval" = yes; then
8584 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8586 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8591 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
8592 if test "x$LINE" != x ; then
8593 eval "DEFAULT_$LINE"
8598 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8603 eval "$ac_cv_use_dnd"
8604 if test "$no_cache" != 1; then
8605 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8608 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8609 { echo "$as_me:$LINENO: result: yes" >&5
8610 echo "${ECHO_T}yes" >&6; }
8612 { echo "$as_me:$LINENO: result: no" >&5
8613 echo "${ECHO_T}no" >&6; }
8618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8619 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8621 # Check whether --enable-metafile was given.
8622 if test "${enable_metafile+set}" = set; then
8623 enableval=$enable_metafile;
8624 if test "$enableval" = yes; then
8625 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8627 ac_cv_use_metafile='wxUSE_METAFILE=no'
8632 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8633 if test "x$LINE" != x ; then
8634 eval "DEFAULT_$LINE"
8639 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8644 eval "$ac_cv_use_metafile"
8645 if test "$no_cache" != 1; then
8646 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8649 if test "$wxUSE_METAFILE" = yes; then
8650 { echo "$as_me:$LINENO: result: yes" >&5
8651 echo "${ECHO_T}yes" >&6; }
8653 { echo "$as_me:$LINENO: result: no" >&5
8654 echo "${ECHO_T}no" >&6; }
8662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8663 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8665 # Check whether --enable-controls was given.
8666 if test "${enable_controls+set}" = set; then
8667 enableval=$enable_controls;
8668 if test "$enableval" = yes; then
8669 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8671 ac_cv_use_controls='wxUSE_CONTROLS=no'
8676 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8677 if test "x$LINE" != x ; then
8678 eval "DEFAULT_$LINE"
8683 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8688 eval "$ac_cv_use_controls"
8689 if test "$no_cache" != 1; then
8690 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8693 if test "$wxUSE_CONTROLS" = yes; then
8694 { echo "$as_me:$LINENO: result: yes" >&5
8695 echo "${ECHO_T}yes" >&6; }
8697 { echo "$as_me:$LINENO: result: no" >&5
8698 echo "${ECHO_T}no" >&6; }
8702 if test "$wxUSE_CONTROLS" = "yes"; then
8703 DEFAULT_wxUSE_ACCEL=yes
8704 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8705 DEFAULT_wxUSE_BMPBUTTON=yes
8706 DEFAULT_wxUSE_BUTTON=yes
8707 DEFAULT_wxUSE_CALCTRL=yes
8708 DEFAULT_wxUSE_CARET=yes
8709 DEFAULT_wxUSE_COMBOBOX=yes
8710 DEFAULT_wxUSE_CHECKBOX=yes
8711 DEFAULT_wxUSE_CHECKLISTBOX=yes
8712 DEFAULT_wxUSE_CHOICE=yes
8713 DEFAULT_wxUSE_CHOICEBOOK=yes
8714 DEFAULT_wxUSE_COLLPANE=yes
8715 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8716 DEFAULT_wxUSE_COMBOBOX=yes
8717 DEFAULT_wxUSE_DATEPICKCTRL=yes
8718 DEFAULT_wxUSE_DISPLAY=yes
8719 DEFAULT_wxUSE_DETECT_SM=yes
8720 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8721 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8722 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8723 DEFAULT_wxUSE_GAUGE=yes
8724 DEFAULT_wxUSE_GRID=yes
8725 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8726 DEFAULT_wxUSE_DATAVIEWCTRL=no
8727 DEFAULT_wxUSE_IMAGLIST=yes
8728 DEFAULT_wxUSE_LISTBOOK=yes
8729 DEFAULT_wxUSE_LISTBOX=yes
8730 DEFAULT_wxUSE_LISTCTRL=yes
8731 DEFAULT_wxUSE_NOTEBOOK=yes
8732 DEFAULT_wxUSE_RADIOBOX=yes
8733 DEFAULT_wxUSE_RADIOBTN=yes
8734 DEFAULT_wxUSE_SASH=yes
8735 DEFAULT_wxUSE_SCROLLBAR=yes
8736 DEFAULT_wxUSE_SEARCHCTRL=yes
8737 DEFAULT_wxUSE_SLIDER=yes
8738 DEFAULT_wxUSE_SPINBTN=yes
8739 DEFAULT_wxUSE_SPINCTRL=yes
8740 DEFAULT_wxUSE_SPLITTER=yes
8741 DEFAULT_wxUSE_STATBMP=yes
8742 DEFAULT_wxUSE_STATBOX=yes
8743 DEFAULT_wxUSE_STATLINE=yes
8744 DEFAULT_wxUSE_STATUSBAR=yes
8745 DEFAULT_wxUSE_TAB_DIALOG=yes
8746 DEFAULT_wxUSE_TOGGLEBTN=yes
8747 DEFAULT_wxUSE_TOOLBAR=yes
8748 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8749 DEFAULT_wxUSE_TOOLTIPS=yes
8750 DEFAULT_wxUSE_TREEBOOK=yes
8751 DEFAULT_wxUSE_TOOLBOOK=yes
8752 DEFAULT_wxUSE_TREECTRL=yes
8753 DEFAULT_wxUSE_POPUPWIN=yes
8754 DEFAULT_wxUSE_TIPWINDOW=yes
8755 elif test "$wxUSE_CONTROLS" = "no"; then
8756 DEFAULT_wxUSE_ACCEL=no
8757 DEFAULT_wxUSE_ANIMATIONCTRL=no
8758 DEFAULT_wxUSE_BMPBUTTON=no
8759 DEFAULT_wxUSE_BUTTON=no
8760 DEFAULT_wxUSE_CALCTRL=no
8761 DEFAULT_wxUSE_CARET=no
8762 DEFAULT_wxUSE_COLLPANE=no
8763 DEFAULT_wxUSE_COMBOBOX=no
8764 DEFAULT_wxUSE_CHECKBOX=no
8765 DEFAULT_wxUSE_CHECKLISTBOX=no
8766 DEFAULT_wxUSE_CHOICE=no
8767 DEFAULT_wxUSE_CHOICEBOOK=no
8768 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8769 DEFAULT_wxUSE_COMBOBOX=no
8770 DEFAULT_wxUSE_DATEPICKCTRL=no
8771 DEFAULT_wxUSE_DISPLAY=no
8772 DEFAULT_wxUSE_DETECT_SM=no
8773 DEFAULT_wxUSE_DIRPICKERCTRL=no
8774 DEFAULT_wxUSE_FILEPICKERCTRL=no
8775 DEFAULT_wxUSE_FONTPICKERCTRL=no
8776 DEFAULT_wxUSE_GAUGE=no
8777 DEFAULT_wxUSE_GRID=no
8778 DEFAULT_wxUSE_HYPERLINKCTRL=no
8779 DEFAULT_wxUSE_DATAVIEWCTRL=no
8780 DEFAULT_wxUSE_IMAGLIST=no
8781 DEFAULT_wxUSE_LISTBOOK=no
8782 DEFAULT_wxUSE_LISTBOX=no
8783 DEFAULT_wxUSE_LISTCTRL=no
8784 DEFAULT_wxUSE_NOTEBOOK=no
8785 DEFAULT_wxUSE_RADIOBOX=no
8786 DEFAULT_wxUSE_RADIOBTN=no
8787 DEFAULT_wxUSE_SASH=no
8788 DEFAULT_wxUSE_SCROLLBAR=no
8789 DEFAULT_wxUSE_SEARCHCTRL=no
8790 DEFAULT_wxUSE_SLIDER=no
8791 DEFAULT_wxUSE_SPINBTN=no
8792 DEFAULT_wxUSE_SPINCTRL=no
8793 DEFAULT_wxUSE_SPLITTER=no
8794 DEFAULT_wxUSE_STATBMP=no
8795 DEFAULT_wxUSE_STATBOX=no
8796 DEFAULT_wxUSE_STATLINE=no
8797 DEFAULT_wxUSE_STATUSBAR=no
8798 DEFAULT_wxUSE_TAB_DIALOG=no
8799 DEFAULT_wxUSE_TOGGLEBTN=no
8800 DEFAULT_wxUSE_TOOLBAR=no
8801 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8802 DEFAULT_wxUSE_TOOLTIPS=no
8803 DEFAULT_wxUSE_TREEBOOK=no
8804 DEFAULT_wxUSE_TOOLBOOK=no
8805 DEFAULT_wxUSE_TREECTRL=no
8806 DEFAULT_wxUSE_POPUPWIN=no
8807 DEFAULT_wxUSE_TIPWINDOW=no
8812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8813 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8815 # Check whether --enable-accel was given.
8816 if test "${enable_accel+set}" = set; then
8817 enableval=$enable_accel;
8818 if test "$enableval" = yes; then
8819 ac_cv_use_accel='wxUSE_ACCEL=yes'
8821 ac_cv_use_accel='wxUSE_ACCEL=no'
8826 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8827 if test "x$LINE" != x ; then
8828 eval "DEFAULT_$LINE"
8833 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8838 eval "$ac_cv_use_accel"
8839 if test "$no_cache" != 1; then
8840 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8843 if test "$wxUSE_ACCEL" = yes; then
8844 { echo "$as_me:$LINENO: result: yes" >&5
8845 echo "${ECHO_T}yes" >&6; }
8847 { echo "$as_me:$LINENO: result: no" >&5
8848 echo "${ECHO_T}no" >&6; }
8853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8854 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8856 # Check whether --enable-animatectrl was given.
8857 if test "${enable_animatectrl+set}" = set; then
8858 enableval=$enable_animatectrl;
8859 if test "$enableval" = yes; then
8860 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8862 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8867 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8868 if test "x$LINE" != x ; then
8869 eval "DEFAULT_$LINE"
8874 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8879 eval "$ac_cv_use_animatectrl"
8880 if test "$no_cache" != 1; then
8881 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8884 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8885 { echo "$as_me:$LINENO: result: yes" >&5
8886 echo "${ECHO_T}yes" >&6; }
8888 { echo "$as_me:$LINENO: result: no" >&5
8889 echo "${ECHO_T}no" >&6; }
8894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8895 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8897 # Check whether --enable-button was given.
8898 if test "${enable_button+set}" = set; then
8899 enableval=$enable_button;
8900 if test "$enableval" = yes; then
8901 ac_cv_use_button='wxUSE_BUTTON=yes'
8903 ac_cv_use_button='wxUSE_BUTTON=no'
8908 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8909 if test "x$LINE" != x ; then
8910 eval "DEFAULT_$LINE"
8915 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8920 eval "$ac_cv_use_button"
8921 if test "$no_cache" != 1; then
8922 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8925 if test "$wxUSE_BUTTON" = yes; then
8926 { echo "$as_me:$LINENO: result: yes" >&5
8927 echo "${ECHO_T}yes" >&6; }
8929 { echo "$as_me:$LINENO: result: no" >&5
8930 echo "${ECHO_T}no" >&6; }
8935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8936 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
8938 # Check whether --enable-bmpbutton was given.
8939 if test "${enable_bmpbutton+set}" = set; then
8940 enableval=$enable_bmpbutton;
8941 if test "$enableval" = yes; then
8942 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8944 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8949 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8950 if test "x$LINE" != x ; then
8951 eval "DEFAULT_$LINE"
8956 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8961 eval "$ac_cv_use_bmpbutton"
8962 if test "$no_cache" != 1; then
8963 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8966 if test "$wxUSE_BMPBUTTON" = yes; then
8967 { echo "$as_me:$LINENO: result: yes" >&5
8968 echo "${ECHO_T}yes" >&6; }
8970 { echo "$as_me:$LINENO: result: no" >&5
8971 echo "${ECHO_T}no" >&6; }
8976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8977 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
8979 # Check whether --enable-bmpcombobox was given.
8980 if test "${enable_bmpcombobox+set}" = set; then
8981 enableval=$enable_bmpcombobox;
8982 if test "$enableval" = yes; then
8983 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8985 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8990 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8991 if test "x$LINE" != x ; then
8992 eval "DEFAULT_$LINE"
8997 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
9002 eval "$ac_cv_use_bmpcombobox"
9003 if test "$no_cache" != 1; then
9004 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
9007 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
9008 { echo "$as_me:$LINENO: result: yes" >&5
9009 echo "${ECHO_T}yes" >&6; }
9011 { echo "$as_me:$LINENO: result: no" >&5
9012 echo "${ECHO_T}no" >&6; }
9017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9018 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9020 # Check whether --enable-calendar was given.
9021 if test "${enable_calendar+set}" = set; then
9022 enableval=$enable_calendar;
9023 if test "$enableval" = yes; then
9024 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
9026 ac_cv_use_calendar='wxUSE_CALCTRL=no'
9031 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
9032 if test "x$LINE" != x ; then
9033 eval "DEFAULT_$LINE"
9038 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
9043 eval "$ac_cv_use_calendar"
9044 if test "$no_cache" != 1; then
9045 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9048 if test "$wxUSE_CALCTRL" = yes; then
9049 { echo "$as_me:$LINENO: result: yes" >&5
9050 echo "${ECHO_T}yes" >&6; }
9052 { echo "$as_me:$LINENO: result: no" >&5
9053 echo "${ECHO_T}no" >&6; }
9058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9059 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9061 # Check whether --enable-caret was given.
9062 if test "${enable_caret+set}" = set; then
9063 enableval=$enable_caret;
9064 if test "$enableval" = yes; then
9065 ac_cv_use_caret='wxUSE_CARET=yes'
9067 ac_cv_use_caret='wxUSE_CARET=no'
9072 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
9073 if test "x$LINE" != x ; then
9074 eval "DEFAULT_$LINE"
9079 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9084 eval "$ac_cv_use_caret"
9085 if test "$no_cache" != 1; then
9086 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9089 if test "$wxUSE_CARET" = yes; then
9090 { echo "$as_me:$LINENO: result: yes" >&5
9091 echo "${ECHO_T}yes" >&6; }
9093 { echo "$as_me:$LINENO: result: no" >&5
9094 echo "${ECHO_T}no" >&6; }
9099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9100 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9102 # Check whether --enable-checkbox was given.
9103 if test "${enable_checkbox+set}" = set; then
9104 enableval=$enable_checkbox;
9105 if test "$enableval" = yes; then
9106 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9108 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9113 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9114 if test "x$LINE" != x ; then
9115 eval "DEFAULT_$LINE"
9120 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9125 eval "$ac_cv_use_checkbox"
9126 if test "$no_cache" != 1; then
9127 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9130 if test "$wxUSE_CHECKBOX" = yes; then
9131 { echo "$as_me:$LINENO: result: yes" >&5
9132 echo "${ECHO_T}yes" >&6; }
9134 { echo "$as_me:$LINENO: result: no" >&5
9135 echo "${ECHO_T}no" >&6; }
9140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9141 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9143 # Check whether --enable-checklst was given.
9144 if test "${enable_checklst+set}" = set; then
9145 enableval=$enable_checklst;
9146 if test "$enableval" = yes; then
9147 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9149 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9154 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9155 if test "x$LINE" != x ; then
9156 eval "DEFAULT_$LINE"
9161 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9166 eval "$ac_cv_use_checklst"
9167 if test "$no_cache" != 1; then
9168 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9171 if test "$wxUSE_CHECKLST" = yes; then
9172 { echo "$as_me:$LINENO: result: yes" >&5
9173 echo "${ECHO_T}yes" >&6; }
9175 { echo "$as_me:$LINENO: result: no" >&5
9176 echo "${ECHO_T}no" >&6; }
9181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9182 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9184 # Check whether --enable-choice was given.
9185 if test "${enable_choice+set}" = set; then
9186 enableval=$enable_choice;
9187 if test "$enableval" = yes; then
9188 ac_cv_use_choice='wxUSE_CHOICE=yes'
9190 ac_cv_use_choice='wxUSE_CHOICE=no'
9195 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9196 if test "x$LINE" != x ; then
9197 eval "DEFAULT_$LINE"
9202 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9207 eval "$ac_cv_use_choice"
9208 if test "$no_cache" != 1; then
9209 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9212 if test "$wxUSE_CHOICE" = yes; then
9213 { echo "$as_me:$LINENO: result: yes" >&5
9214 echo "${ECHO_T}yes" >&6; }
9216 { echo "$as_me:$LINENO: result: no" >&5
9217 echo "${ECHO_T}no" >&6; }
9222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9223 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9225 # Check whether --enable-choicebook was given.
9226 if test "${enable_choicebook+set}" = set; then
9227 enableval=$enable_choicebook;
9228 if test "$enableval" = yes; then
9229 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9231 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9236 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9237 if test "x$LINE" != x ; then
9238 eval "DEFAULT_$LINE"
9243 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9248 eval "$ac_cv_use_choicebook"
9249 if test "$no_cache" != 1; then
9250 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9253 if test "$wxUSE_CHOICEBOOK" = yes; then
9254 { echo "$as_me:$LINENO: result: yes" >&5
9255 echo "${ECHO_T}yes" >&6; }
9257 { echo "$as_me:$LINENO: result: no" >&5
9258 echo "${ECHO_T}no" >&6; }
9263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9264 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9266 # Check whether --enable-collpane was given.
9267 if test "${enable_collpane+set}" = set; then
9268 enableval=$enable_collpane;
9269 if test "$enableval" = yes; then
9270 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9272 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9277 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9278 if test "x$LINE" != x ; then
9279 eval "DEFAULT_$LINE"
9284 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9289 eval "$ac_cv_use_collpane"
9290 if test "$no_cache" != 1; then
9291 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9294 if test "$wxUSE_COLLPANE" = yes; then
9295 { echo "$as_me:$LINENO: result: yes" >&5
9296 echo "${ECHO_T}yes" >&6; }
9298 { echo "$as_me:$LINENO: result: no" >&5
9299 echo "${ECHO_T}no" >&6; }
9304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9305 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9307 # Check whether --enable-colourpicker was given.
9308 if test "${enable_colourpicker+set}" = set; then
9309 enableval=$enable_colourpicker;
9310 if test "$enableval" = yes; then
9311 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9313 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9318 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9319 if test "x$LINE" != x ; then
9320 eval "DEFAULT_$LINE"
9325 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9330 eval "$ac_cv_use_colourpicker"
9331 if test "$no_cache" != 1; then
9332 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9335 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9336 { echo "$as_me:$LINENO: result: yes" >&5
9337 echo "${ECHO_T}yes" >&6; }
9339 { echo "$as_me:$LINENO: result: no" >&5
9340 echo "${ECHO_T}no" >&6; }
9345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9346 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9348 # Check whether --enable-combobox was given.
9349 if test "${enable_combobox+set}" = set; then
9350 enableval=$enable_combobox;
9351 if test "$enableval" = yes; then
9352 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9354 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9359 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9360 if test "x$LINE" != x ; then
9361 eval "DEFAULT_$LINE"
9366 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9371 eval "$ac_cv_use_combobox"
9372 if test "$no_cache" != 1; then
9373 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9376 if test "$wxUSE_COMBOBOX" = yes; then
9377 { echo "$as_me:$LINENO: result: yes" >&5
9378 echo "${ECHO_T}yes" >&6; }
9380 { echo "$as_me:$LINENO: result: no" >&5
9381 echo "${ECHO_T}no" >&6; }
9386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9387 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9389 # Check whether --enable-comboctrl was given.
9390 if test "${enable_comboctrl+set}" = set; then
9391 enableval=$enable_comboctrl;
9392 if test "$enableval" = yes; then
9393 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9395 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9400 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9401 if test "x$LINE" != x ; then
9402 eval "DEFAULT_$LINE"
9407 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9412 eval "$ac_cv_use_comboctrl"
9413 if test "$no_cache" != 1; then
9414 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9417 if test "$wxUSE_COMBOCTRL" = yes; then
9418 { echo "$as_me:$LINENO: result: yes" >&5
9419 echo "${ECHO_T}yes" >&6; }
9421 { echo "$as_me:$LINENO: result: no" >&5
9422 echo "${ECHO_T}no" >&6; }
9427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9428 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9430 # Check whether --enable-datepick was given.
9431 if test "${enable_datepick+set}" = set; then
9432 enableval=$enable_datepick;
9433 if test "$enableval" = yes; then
9434 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9436 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9441 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9442 if test "x$LINE" != x ; then
9443 eval "DEFAULT_$LINE"
9448 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9453 eval "$ac_cv_use_datepick"
9454 if test "$no_cache" != 1; then
9455 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9458 if test "$wxUSE_DATEPICKCTRL" = yes; then
9459 { echo "$as_me:$LINENO: result: yes" >&5
9460 echo "${ECHO_T}yes" >&6; }
9462 { echo "$as_me:$LINENO: result: no" >&5
9463 echo "${ECHO_T}no" >&6; }
9468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9469 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9471 # Check whether --enable-dirpicker was given.
9472 if test "${enable_dirpicker+set}" = set; then
9473 enableval=$enable_dirpicker;
9474 if test "$enableval" = yes; then
9475 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9477 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9482 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9483 if test "x$LINE" != x ; then
9484 eval "DEFAULT_$LINE"
9489 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9494 eval "$ac_cv_use_dirpicker"
9495 if test "$no_cache" != 1; then
9496 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9499 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9500 { echo "$as_me:$LINENO: result: yes" >&5
9501 echo "${ECHO_T}yes" >&6; }
9503 { echo "$as_me:$LINENO: result: no" >&5
9504 echo "${ECHO_T}no" >&6; }
9509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9510 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9512 # Check whether --enable-display was given.
9513 if test "${enable_display+set}" = set; then
9514 enableval=$enable_display;
9515 if test "$enableval" = yes; then
9516 ac_cv_use_display='wxUSE_DISPLAY=yes'
9518 ac_cv_use_display='wxUSE_DISPLAY=no'
9523 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9524 if test "x$LINE" != x ; then
9525 eval "DEFAULT_$LINE"
9530 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9535 eval "$ac_cv_use_display"
9536 if test "$no_cache" != 1; then
9537 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9540 if test "$wxUSE_DISPLAY" = yes; then
9541 { echo "$as_me:$LINENO: result: yes" >&5
9542 echo "${ECHO_T}yes" >&6; }
9544 { echo "$as_me:$LINENO: result: no" >&5
9545 echo "${ECHO_T}no" >&6; }
9550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9551 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9553 # Check whether --enable-detect_sm was given.
9554 if test "${enable_detect_sm+set}" = set; then
9555 enableval=$enable_detect_sm;
9556 if test "$enableval" = yes; then
9557 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9559 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9564 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9565 if test "x$LINE" != x ; then
9566 eval "DEFAULT_$LINE"
9571 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9576 eval "$ac_cv_use_detect_sm"
9577 if test "$no_cache" != 1; then
9578 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9581 if test "$wxUSE_DETECT_SM" = yes; then
9582 { echo "$as_me:$LINENO: result: yes" >&5
9583 echo "${ECHO_T}yes" >&6; }
9585 { echo "$as_me:$LINENO: result: no" >&5
9586 echo "${ECHO_T}no" >&6; }
9591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9592 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9594 # Check whether --enable-filepicker was given.
9595 if test "${enable_filepicker+set}" = set; then
9596 enableval=$enable_filepicker;
9597 if test "$enableval" = yes; then
9598 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9600 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9605 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9606 if test "x$LINE" != x ; then
9607 eval "DEFAULT_$LINE"
9612 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9617 eval "$ac_cv_use_filepicker"
9618 if test "$no_cache" != 1; then
9619 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9622 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9623 { echo "$as_me:$LINENO: result: yes" >&5
9624 echo "${ECHO_T}yes" >&6; }
9626 { echo "$as_me:$LINENO: result: no" >&5
9627 echo "${ECHO_T}no" >&6; }
9632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9633 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9635 # Check whether --enable-fontpicker was given.
9636 if test "${enable_fontpicker+set}" = set; then
9637 enableval=$enable_fontpicker;
9638 if test "$enableval" = yes; then
9639 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9641 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9646 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9647 if test "x$LINE" != x ; then
9648 eval "DEFAULT_$LINE"
9653 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9658 eval "$ac_cv_use_fontpicker"
9659 if test "$no_cache" != 1; then
9660 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9663 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9664 { echo "$as_me:$LINENO: result: yes" >&5
9665 echo "${ECHO_T}yes" >&6; }
9667 { echo "$as_me:$LINENO: result: no" >&5
9668 echo "${ECHO_T}no" >&6; }
9673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9674 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9676 # Check whether --enable-gauge was given.
9677 if test "${enable_gauge+set}" = set; then
9678 enableval=$enable_gauge;
9679 if test "$enableval" = yes; then
9680 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9682 ac_cv_use_gauge='wxUSE_GAUGE=no'
9687 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9688 if test "x$LINE" != x ; then
9689 eval "DEFAULT_$LINE"
9694 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9699 eval "$ac_cv_use_gauge"
9700 if test "$no_cache" != 1; then
9701 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9704 if test "$wxUSE_GAUGE" = yes; then
9705 { echo "$as_me:$LINENO: result: yes" >&5
9706 echo "${ECHO_T}yes" >&6; }
9708 { echo "$as_me:$LINENO: result: no" >&5
9709 echo "${ECHO_T}no" >&6; }
9714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9715 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9717 # Check whether --enable-grid was given.
9718 if test "${enable_grid+set}" = set; then
9719 enableval=$enable_grid;
9720 if test "$enableval" = yes; then
9721 ac_cv_use_grid='wxUSE_GRID=yes'
9723 ac_cv_use_grid='wxUSE_GRID=no'
9728 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9729 if test "x$LINE" != x ; then
9730 eval "DEFAULT_$LINE"
9735 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9740 eval "$ac_cv_use_grid"
9741 if test "$no_cache" != 1; then
9742 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9745 if test "$wxUSE_GRID" = yes; then
9746 { echo "$as_me:$LINENO: result: yes" >&5
9747 echo "${ECHO_T}yes" >&6; }
9749 { echo "$as_me:$LINENO: result: no" >&5
9750 echo "${ECHO_T}no" >&6; }
9755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9756 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9758 # Check whether --enable-dataviewctrl was given.
9759 if test "${enable_dataviewctrl+set}" = set; then
9760 enableval=$enable_dataviewctrl;
9761 if test "$enableval" = yes; then
9762 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9764 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9769 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9770 if test "x$LINE" != x ; then
9771 eval "DEFAULT_$LINE"
9776 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9781 eval "$ac_cv_use_dataviewctrl"
9782 if test "$no_cache" != 1; then
9783 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9786 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9787 { echo "$as_me:$LINENO: result: yes" >&5
9788 echo "${ECHO_T}yes" >&6; }
9790 { echo "$as_me:$LINENO: result: no" >&5
9791 echo "${ECHO_T}no" >&6; }
9796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9797 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9799 # Check whether --enable-hyperlink was given.
9800 if test "${enable_hyperlink+set}" = set; then
9801 enableval=$enable_hyperlink;
9802 if test "$enableval" = yes; then
9803 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9805 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9810 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9811 if test "x$LINE" != x ; then
9812 eval "DEFAULT_$LINE"
9817 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9822 eval "$ac_cv_use_hyperlink"
9823 if test "$no_cache" != 1; then
9824 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9827 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9828 { echo "$as_me:$LINENO: result: yes" >&5
9829 echo "${ECHO_T}yes" >&6; }
9831 { echo "$as_me:$LINENO: result: no" >&5
9832 echo "${ECHO_T}no" >&6; }
9837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9838 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9840 # Check whether --enable-imaglist was given.
9841 if test "${enable_imaglist+set}" = set; then
9842 enableval=$enable_imaglist;
9843 if test "$enableval" = yes; then
9844 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9846 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9851 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9852 if test "x$LINE" != x ; then
9853 eval "DEFAULT_$LINE"
9858 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9863 eval "$ac_cv_use_imaglist"
9864 if test "$no_cache" != 1; then
9865 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9868 if test "$wxUSE_IMAGLIST" = yes; then
9869 { echo "$as_me:$LINENO: result: yes" >&5
9870 echo "${ECHO_T}yes" >&6; }
9872 { echo "$as_me:$LINENO: result: no" >&5
9873 echo "${ECHO_T}no" >&6; }
9878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9879 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9881 # Check whether --enable-listbook was given.
9882 if test "${enable_listbook+set}" = set; then
9883 enableval=$enable_listbook;
9884 if test "$enableval" = yes; then
9885 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9887 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9892 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9893 if test "x$LINE" != x ; then
9894 eval "DEFAULT_$LINE"
9899 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9904 eval "$ac_cv_use_listbook"
9905 if test "$no_cache" != 1; then
9906 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9909 if test "$wxUSE_LISTBOOK" = yes; then
9910 { echo "$as_me:$LINENO: result: yes" >&5
9911 echo "${ECHO_T}yes" >&6; }
9913 { echo "$as_me:$LINENO: result: no" >&5
9914 echo "${ECHO_T}no" >&6; }
9919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9920 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
9922 # Check whether --enable-listbox was given.
9923 if test "${enable_listbox+set}" = set; then
9924 enableval=$enable_listbox;
9925 if test "$enableval" = yes; then
9926 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9928 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9933 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9934 if test "x$LINE" != x ; then
9935 eval "DEFAULT_$LINE"
9940 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9945 eval "$ac_cv_use_listbox"
9946 if test "$no_cache" != 1; then
9947 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9950 if test "$wxUSE_LISTBOX" = yes; then
9951 { echo "$as_me:$LINENO: result: yes" >&5
9952 echo "${ECHO_T}yes" >&6; }
9954 { echo "$as_me:$LINENO: result: no" >&5
9955 echo "${ECHO_T}no" >&6; }
9960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9961 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
9963 # Check whether --enable-listctrl was given.
9964 if test "${enable_listctrl+set}" = set; then
9965 enableval=$enable_listctrl;
9966 if test "$enableval" = yes; then
9967 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9969 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9974 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9975 if test "x$LINE" != x ; then
9976 eval "DEFAULT_$LINE"
9981 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9986 eval "$ac_cv_use_listctrl"
9987 if test "$no_cache" != 1; then
9988 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9991 if test "$wxUSE_LISTCTRL" = yes; then
9992 { echo "$as_me:$LINENO: result: yes" >&5
9993 echo "${ECHO_T}yes" >&6; }
9995 { echo "$as_me:$LINENO: result: no" >&5
9996 echo "${ECHO_T}no" >&6; }
10001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10002 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10004 # Check whether --enable-notebook was given.
10005 if test "${enable_notebook+set}" = set; then
10006 enableval=$enable_notebook;
10007 if test "$enableval" = yes; then
10008 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10010 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
10015 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
10016 if test "x$LINE" != x ; then
10017 eval "DEFAULT_$LINE"
10022 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
10027 eval "$ac_cv_use_notebook"
10028 if test "$no_cache" != 1; then
10029 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
10032 if test "$wxUSE_NOTEBOOK" = yes; then
10033 { echo "$as_me:$LINENO: result: yes" >&5
10034 echo "${ECHO_T}yes" >&6; }
10036 { echo "$as_me:$LINENO: result: no" >&5
10037 echo "${ECHO_T}no" >&6; }
10042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10043 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10045 # Check whether --enable-odcombobox was given.
10046 if test "${enable_odcombobox+set}" = set; then
10047 enableval=$enable_odcombobox;
10048 if test "$enableval" = yes; then
10049 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10051 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10056 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
10057 if test "x$LINE" != x ; then
10058 eval "DEFAULT_$LINE"
10063 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10068 eval "$ac_cv_use_odcombobox"
10069 if test "$no_cache" != 1; then
10070 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10073 if test "$wxUSE_ODCOMBOBOX" = yes; then
10074 { echo "$as_me:$LINENO: result: yes" >&5
10075 echo "${ECHO_T}yes" >&6; }
10077 { echo "$as_me:$LINENO: result: no" >&5
10078 echo "${ECHO_T}no" >&6; }
10083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10084 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10086 # Check whether --enable-radiobox was given.
10087 if test "${enable_radiobox+set}" = set; then
10088 enableval=$enable_radiobox;
10089 if test "$enableval" = yes; then
10090 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10092 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10097 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10098 if test "x$LINE" != x ; then
10099 eval "DEFAULT_$LINE"
10104 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10109 eval "$ac_cv_use_radiobox"
10110 if test "$no_cache" != 1; then
10111 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10114 if test "$wxUSE_RADIOBOX" = yes; then
10115 { echo "$as_me:$LINENO: result: yes" >&5
10116 echo "${ECHO_T}yes" >&6; }
10118 { echo "$as_me:$LINENO: result: no" >&5
10119 echo "${ECHO_T}no" >&6; }
10124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10125 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10127 # Check whether --enable-radiobtn was given.
10128 if test "${enable_radiobtn+set}" = set; then
10129 enableval=$enable_radiobtn;
10130 if test "$enableval" = yes; then
10131 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10133 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10138 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10139 if test "x$LINE" != x ; then
10140 eval "DEFAULT_$LINE"
10145 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10150 eval "$ac_cv_use_radiobtn"
10151 if test "$no_cache" != 1; then
10152 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10155 if test "$wxUSE_RADIOBTN" = yes; then
10156 { echo "$as_me:$LINENO: result: yes" >&5
10157 echo "${ECHO_T}yes" >&6; }
10159 { echo "$as_me:$LINENO: result: no" >&5
10160 echo "${ECHO_T}no" >&6; }
10165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10166 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10168 # Check whether --enable-sash was given.
10169 if test "${enable_sash+set}" = set; then
10170 enableval=$enable_sash;
10171 if test "$enableval" = yes; then
10172 ac_cv_use_sash='wxUSE_SASH=yes'
10174 ac_cv_use_sash='wxUSE_SASH=no'
10179 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10180 if test "x$LINE" != x ; then
10181 eval "DEFAULT_$LINE"
10186 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10191 eval "$ac_cv_use_sash"
10192 if test "$no_cache" != 1; then
10193 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10196 if test "$wxUSE_SASH" = yes; then
10197 { echo "$as_me:$LINENO: result: yes" >&5
10198 echo "${ECHO_T}yes" >&6; }
10200 { echo "$as_me:$LINENO: result: no" >&5
10201 echo "${ECHO_T}no" >&6; }
10206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10207 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10209 # Check whether --enable-scrollbar was given.
10210 if test "${enable_scrollbar+set}" = set; then
10211 enableval=$enable_scrollbar;
10212 if test "$enableval" = yes; then
10213 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10215 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10220 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10221 if test "x$LINE" != x ; then
10222 eval "DEFAULT_$LINE"
10227 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10232 eval "$ac_cv_use_scrollbar"
10233 if test "$no_cache" != 1; then
10234 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10237 if test "$wxUSE_SCROLLBAR" = yes; then
10238 { echo "$as_me:$LINENO: result: yes" >&5
10239 echo "${ECHO_T}yes" >&6; }
10241 { echo "$as_me:$LINENO: result: no" >&5
10242 echo "${ECHO_T}no" >&6; }
10247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10248 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10250 # Check whether --enable-searchctrl was given.
10251 if test "${enable_searchctrl+set}" = set; then
10252 enableval=$enable_searchctrl;
10253 if test "$enableval" = yes; then
10254 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10256 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10261 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10262 if test "x$LINE" != x ; then
10263 eval "DEFAULT_$LINE"
10268 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10273 eval "$ac_cv_use_searchctrl"
10274 if test "$no_cache" != 1; then
10275 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10278 if test "$wxUSE_SEARCHCTRL" = yes; then
10279 { echo "$as_me:$LINENO: result: yes" >&5
10280 echo "${ECHO_T}yes" >&6; }
10282 { echo "$as_me:$LINENO: result: no" >&5
10283 echo "${ECHO_T}no" >&6; }
10288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10289 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10291 # Check whether --enable-slider was given.
10292 if test "${enable_slider+set}" = set; then
10293 enableval=$enable_slider;
10294 if test "$enableval" = yes; then
10295 ac_cv_use_slider='wxUSE_SLIDER=yes'
10297 ac_cv_use_slider='wxUSE_SLIDER=no'
10302 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10303 if test "x$LINE" != x ; then
10304 eval "DEFAULT_$LINE"
10309 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10314 eval "$ac_cv_use_slider"
10315 if test "$no_cache" != 1; then
10316 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10319 if test "$wxUSE_SLIDER" = yes; then
10320 { echo "$as_me:$LINENO: result: yes" >&5
10321 echo "${ECHO_T}yes" >&6; }
10323 { echo "$as_me:$LINENO: result: no" >&5
10324 echo "${ECHO_T}no" >&6; }
10329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10330 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10332 # Check whether --enable-spinbtn was given.
10333 if test "${enable_spinbtn+set}" = set; then
10334 enableval=$enable_spinbtn;
10335 if test "$enableval" = yes; then
10336 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10338 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10343 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10344 if test "x$LINE" != x ; then
10345 eval "DEFAULT_$LINE"
10350 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10355 eval "$ac_cv_use_spinbtn"
10356 if test "$no_cache" != 1; then
10357 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10360 if test "$wxUSE_SPINBTN" = yes; then
10361 { echo "$as_me:$LINENO: result: yes" >&5
10362 echo "${ECHO_T}yes" >&6; }
10364 { echo "$as_me:$LINENO: result: no" >&5
10365 echo "${ECHO_T}no" >&6; }
10370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10371 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10373 # Check whether --enable-spinctrl was given.
10374 if test "${enable_spinctrl+set}" = set; then
10375 enableval=$enable_spinctrl;
10376 if test "$enableval" = yes; then
10377 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10379 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10384 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10385 if test "x$LINE" != x ; then
10386 eval "DEFAULT_$LINE"
10391 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10396 eval "$ac_cv_use_spinctrl"
10397 if test "$no_cache" != 1; then
10398 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10401 if test "$wxUSE_SPINCTRL" = yes; then
10402 { echo "$as_me:$LINENO: result: yes" >&5
10403 echo "${ECHO_T}yes" >&6; }
10405 { echo "$as_me:$LINENO: result: no" >&5
10406 echo "${ECHO_T}no" >&6; }
10411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10412 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10414 # Check whether --enable-splitter was given.
10415 if test "${enable_splitter+set}" = set; then
10416 enableval=$enable_splitter;
10417 if test "$enableval" = yes; then
10418 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10420 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10425 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10426 if test "x$LINE" != x ; then
10427 eval "DEFAULT_$LINE"
10432 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10437 eval "$ac_cv_use_splitter"
10438 if test "$no_cache" != 1; then
10439 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10442 if test "$wxUSE_SPLITTER" = yes; then
10443 { echo "$as_me:$LINENO: result: yes" >&5
10444 echo "${ECHO_T}yes" >&6; }
10446 { echo "$as_me:$LINENO: result: no" >&5
10447 echo "${ECHO_T}no" >&6; }
10452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10453 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10455 # Check whether --enable-statbmp was given.
10456 if test "${enable_statbmp+set}" = set; then
10457 enableval=$enable_statbmp;
10458 if test "$enableval" = yes; then
10459 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10461 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10466 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10467 if test "x$LINE" != x ; then
10468 eval "DEFAULT_$LINE"
10473 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10478 eval "$ac_cv_use_statbmp"
10479 if test "$no_cache" != 1; then
10480 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10483 if test "$wxUSE_STATBMP" = yes; then
10484 { echo "$as_me:$LINENO: result: yes" >&5
10485 echo "${ECHO_T}yes" >&6; }
10487 { echo "$as_me:$LINENO: result: no" >&5
10488 echo "${ECHO_T}no" >&6; }
10493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10494 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10496 # Check whether --enable-statbox was given.
10497 if test "${enable_statbox+set}" = set; then
10498 enableval=$enable_statbox;
10499 if test "$enableval" = yes; then
10500 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10502 ac_cv_use_statbox='wxUSE_STATBOX=no'
10507 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10508 if test "x$LINE" != x ; then
10509 eval "DEFAULT_$LINE"
10514 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10519 eval "$ac_cv_use_statbox"
10520 if test "$no_cache" != 1; then
10521 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10524 if test "$wxUSE_STATBOX" = yes; then
10525 { echo "$as_me:$LINENO: result: yes" >&5
10526 echo "${ECHO_T}yes" >&6; }
10528 { echo "$as_me:$LINENO: result: no" >&5
10529 echo "${ECHO_T}no" >&6; }
10534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10535 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10537 # Check whether --enable-statline was given.
10538 if test "${enable_statline+set}" = set; then
10539 enableval=$enable_statline;
10540 if test "$enableval" = yes; then
10541 ac_cv_use_statline='wxUSE_STATLINE=yes'
10543 ac_cv_use_statline='wxUSE_STATLINE=no'
10548 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10549 if test "x$LINE" != x ; then
10550 eval "DEFAULT_$LINE"
10555 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10560 eval "$ac_cv_use_statline"
10561 if test "$no_cache" != 1; then
10562 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10565 if test "$wxUSE_STATLINE" = yes; then
10566 { echo "$as_me:$LINENO: result: yes" >&5
10567 echo "${ECHO_T}yes" >&6; }
10569 { echo "$as_me:$LINENO: result: no" >&5
10570 echo "${ECHO_T}no" >&6; }
10575 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10576 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10578 # Check whether --enable-stattext was given.
10579 if test "${enable_stattext+set}" = set; then
10580 enableval=$enable_stattext;
10581 if test "$enableval" = yes; then
10582 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10584 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10589 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10590 if test "x$LINE" != x ; then
10591 eval "DEFAULT_$LINE"
10596 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10601 eval "$ac_cv_use_stattext"
10602 if test "$no_cache" != 1; then
10603 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10606 if test "$wxUSE_STATTEXT" = yes; then
10607 { echo "$as_me:$LINENO: result: yes" >&5
10608 echo "${ECHO_T}yes" >&6; }
10610 { echo "$as_me:$LINENO: result: no" >&5
10611 echo "${ECHO_T}no" >&6; }
10616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10617 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10619 # Check whether --enable-statusbar was given.
10620 if test "${enable_statusbar+set}" = set; then
10621 enableval=$enable_statusbar;
10622 if test "$enableval" = yes; then
10623 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10625 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10630 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10631 if test "x$LINE" != x ; then
10632 eval "DEFAULT_$LINE"
10637 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10642 eval "$ac_cv_use_statusbar"
10643 if test "$no_cache" != 1; then
10644 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10647 if test "$wxUSE_STATUSBAR" = yes; then
10648 { echo "$as_me:$LINENO: result: yes" >&5
10649 echo "${ECHO_T}yes" >&6; }
10651 { echo "$as_me:$LINENO: result: no" >&5
10652 echo "${ECHO_T}no" >&6; }
10657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10658 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10660 # Check whether --enable-tabdialog was given.
10661 if test "${enable_tabdialog+set}" = set; then
10662 enableval=$enable_tabdialog;
10663 if test "$enableval" = yes; then
10664 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10666 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10671 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10672 if test "x$LINE" != x ; then
10673 eval "DEFAULT_$LINE"
10678 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10683 eval "$ac_cv_use_tabdialog"
10684 if test "$no_cache" != 1; then
10685 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10688 if test "$wxUSE_TAB_DIALOG" = yes; then
10689 { echo "$as_me:$LINENO: result: yes" >&5
10690 echo "${ECHO_T}yes" >&6; }
10692 { echo "$as_me:$LINENO: result: no" >&5
10693 echo "${ECHO_T}no" >&6; }
10698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10699 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10701 # Check whether --enable-textctrl was given.
10702 if test "${enable_textctrl+set}" = set; then
10703 enableval=$enable_textctrl;
10704 if test "$enableval" = yes; then
10705 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10707 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10712 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10713 if test "x$LINE" != x ; then
10714 eval "DEFAULT_$LINE"
10719 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10724 eval "$ac_cv_use_textctrl"
10725 if test "$no_cache" != 1; then
10726 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10729 if test "$wxUSE_TEXTCTRL" = yes; then
10730 { echo "$as_me:$LINENO: result: yes" >&5
10731 echo "${ECHO_T}yes" >&6; }
10733 { echo "$as_me:$LINENO: result: no" >&5
10734 echo "${ECHO_T}no" >&6; }
10739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10740 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10742 # Check whether --enable-togglebtn was given.
10743 if test "${enable_togglebtn+set}" = set; then
10744 enableval=$enable_togglebtn;
10745 if test "$enableval" = yes; then
10746 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10748 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10753 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10754 if test "x$LINE" != x ; then
10755 eval "DEFAULT_$LINE"
10760 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10765 eval "$ac_cv_use_togglebtn"
10766 if test "$no_cache" != 1; then
10767 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10770 if test "$wxUSE_TOGGLEBTN" = yes; then
10771 { echo "$as_me:$LINENO: result: yes" >&5
10772 echo "${ECHO_T}yes" >&6; }
10774 { echo "$as_me:$LINENO: result: no" >&5
10775 echo "${ECHO_T}no" >&6; }
10780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10781 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10783 # Check whether --enable-toolbar was given.
10784 if test "${enable_toolbar+set}" = set; then
10785 enableval=$enable_toolbar;
10786 if test "$enableval" = yes; then
10787 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10789 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10794 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10795 if test "x$LINE" != x ; then
10796 eval "DEFAULT_$LINE"
10801 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10806 eval "$ac_cv_use_toolbar"
10807 if test "$no_cache" != 1; then
10808 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10811 if test "$wxUSE_TOOLBAR" = yes; then
10812 { echo "$as_me:$LINENO: result: yes" >&5
10813 echo "${ECHO_T}yes" >&6; }
10815 { echo "$as_me:$LINENO: result: no" >&5
10816 echo "${ECHO_T}no" >&6; }
10821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10822 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10824 # Check whether --enable-tbarnative was given.
10825 if test "${enable_tbarnative+set}" = set; then
10826 enableval=$enable_tbarnative;
10827 if test "$enableval" = yes; then
10828 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10830 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10835 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10836 if test "x$LINE" != x ; then
10837 eval "DEFAULT_$LINE"
10842 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10847 eval "$ac_cv_use_tbarnative"
10848 if test "$no_cache" != 1; then
10849 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10852 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10853 { echo "$as_me:$LINENO: result: yes" >&5
10854 echo "${ECHO_T}yes" >&6; }
10856 { echo "$as_me:$LINENO: result: no" >&5
10857 echo "${ECHO_T}no" >&6; }
10862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10863 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10865 # Check whether --enable-treebook was given.
10866 if test "${enable_treebook+set}" = set; then
10867 enableval=$enable_treebook;
10868 if test "$enableval" = yes; then
10869 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10871 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10876 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10877 if test "x$LINE" != x ; then
10878 eval "DEFAULT_$LINE"
10883 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10888 eval "$ac_cv_use_treebook"
10889 if test "$no_cache" != 1; then
10890 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10893 if test "$wxUSE_TREEBOOK" = yes; then
10894 { echo "$as_me:$LINENO: result: yes" >&5
10895 echo "${ECHO_T}yes" >&6; }
10897 { echo "$as_me:$LINENO: result: no" >&5
10898 echo "${ECHO_T}no" >&6; }
10903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10904 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
10906 # Check whether --enable-toolbook was given.
10907 if test "${enable_toolbook+set}" = set; then
10908 enableval=$enable_toolbook;
10909 if test "$enableval" = yes; then
10910 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10912 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10917 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10918 if test "x$LINE" != x ; then
10919 eval "DEFAULT_$LINE"
10924 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10929 eval "$ac_cv_use_toolbook"
10930 if test "$no_cache" != 1; then
10931 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10934 if test "$wxUSE_TOOLBOOK" = yes; then
10935 { echo "$as_me:$LINENO: result: yes" >&5
10936 echo "${ECHO_T}yes" >&6; }
10938 { echo "$as_me:$LINENO: result: no" >&5
10939 echo "${ECHO_T}no" >&6; }
10944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10945 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
10947 # Check whether --enable-treectrl was given.
10948 if test "${enable_treectrl+set}" = set; then
10949 enableval=$enable_treectrl;
10950 if test "$enableval" = yes; then
10951 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10953 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10958 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10959 if test "x$LINE" != x ; then
10960 eval "DEFAULT_$LINE"
10965 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10970 eval "$ac_cv_use_treectrl"
10971 if test "$no_cache" != 1; then
10972 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10975 if test "$wxUSE_TREECTRL" = yes; then
10976 { echo "$as_me:$LINENO: result: yes" >&5
10977 echo "${ECHO_T}yes" >&6; }
10979 { echo "$as_me:$LINENO: result: no" >&5
10980 echo "${ECHO_T}no" >&6; }
10985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10986 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
10988 # Check whether --enable-tipwindow was given.
10989 if test "${enable_tipwindow+set}" = set; then
10990 enableval=$enable_tipwindow;
10991 if test "$enableval" = yes; then
10992 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10994 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10999 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
11000 if test "x$LINE" != x ; then
11001 eval "DEFAULT_$LINE"
11006 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
11011 eval "$ac_cv_use_tipwindow"
11012 if test "$no_cache" != 1; then
11013 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
11016 if test "$wxUSE_TIPWINDOW" = yes; then
11017 { echo "$as_me:$LINENO: result: yes" >&5
11018 echo "${ECHO_T}yes" >&6; }
11020 { echo "$as_me:$LINENO: result: no" >&5
11021 echo "${ECHO_T}no" >&6; }
11026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11027 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11029 # Check whether --enable-popupwin was given.
11030 if test "${enable_popupwin+set}" = set; then
11031 enableval=$enable_popupwin;
11032 if test "$enableval" = yes; then
11033 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11035 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
11040 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
11041 if test "x$LINE" != x ; then
11042 eval "DEFAULT_$LINE"
11047 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
11052 eval "$ac_cv_use_popupwin"
11053 if test "$no_cache" != 1; then
11054 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
11057 if test "$wxUSE_POPUPWIN" = yes; then
11058 { echo "$as_me:$LINENO: result: yes" >&5
11059 echo "${ECHO_T}yes" >&6; }
11061 { echo "$as_me:$LINENO: result: no" >&5
11062 echo "${ECHO_T}no" >&6; }
11069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11070 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11072 # Check whether --enable-commondlg was given.
11073 if test "${enable_commondlg+set}" = set; then
11074 enableval=$enable_commondlg;
11075 if test "$enableval" = yes; then
11076 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11078 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11083 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11084 if test "x$LINE" != x ; then
11085 eval "DEFAULT_$LINE"
11090 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11095 eval "$ac_cv_use_commondlg"
11096 if test "$no_cache" != 1; then
11097 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11100 if test "$wxUSE_COMMONDLGS" = yes; then
11101 { echo "$as_me:$LINENO: result: yes" >&5
11102 echo "${ECHO_T}yes" >&6; }
11104 { echo "$as_me:$LINENO: result: no" >&5
11105 echo "${ECHO_T}no" >&6; }
11110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11111 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11113 # Check whether --enable-aboutdlg was given.
11114 if test "${enable_aboutdlg+set}" = set; then
11115 enableval=$enable_aboutdlg;
11116 if test "$enableval" = yes; then
11117 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11119 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11124 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11125 if test "x$LINE" != x ; then
11126 eval "DEFAULT_$LINE"
11131 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11136 eval "$ac_cv_use_aboutdlg"
11137 if test "$no_cache" != 1; then
11138 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11141 if test "$wxUSE_ABOUTDLG" = yes; then
11142 { echo "$as_me:$LINENO: result: yes" >&5
11143 echo "${ECHO_T}yes" >&6; }
11145 { echo "$as_me:$LINENO: result: no" >&5
11146 echo "${ECHO_T}no" >&6; }
11151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11152 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11154 # Check whether --enable-choicedlg was given.
11155 if test "${enable_choicedlg+set}" = set; then
11156 enableval=$enable_choicedlg;
11157 if test "$enableval" = yes; then
11158 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11160 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11165 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11166 if test "x$LINE" != x ; then
11167 eval "DEFAULT_$LINE"
11172 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11177 eval "$ac_cv_use_choicedlg"
11178 if test "$no_cache" != 1; then
11179 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11182 if test "$wxUSE_CHOICEDLG" = yes; then
11183 { echo "$as_me:$LINENO: result: yes" >&5
11184 echo "${ECHO_T}yes" >&6; }
11186 { echo "$as_me:$LINENO: result: no" >&5
11187 echo "${ECHO_T}no" >&6; }
11192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11193 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11195 # Check whether --enable-coldlg was given.
11196 if test "${enable_coldlg+set}" = set; then
11197 enableval=$enable_coldlg;
11198 if test "$enableval" = yes; then
11199 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11201 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11206 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11207 if test "x$LINE" != x ; then
11208 eval "DEFAULT_$LINE"
11213 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11218 eval "$ac_cv_use_coldlg"
11219 if test "$no_cache" != 1; then
11220 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11223 if test "$wxUSE_COLOURDLG" = yes; then
11224 { echo "$as_me:$LINENO: result: yes" >&5
11225 echo "${ECHO_T}yes" >&6; }
11227 { echo "$as_me:$LINENO: result: no" >&5
11228 echo "${ECHO_T}no" >&6; }
11233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11234 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11236 # Check whether --enable-filedlg was given.
11237 if test "${enable_filedlg+set}" = set; then
11238 enableval=$enable_filedlg;
11239 if test "$enableval" = yes; then
11240 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11242 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11247 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11248 if test "x$LINE" != x ; then
11249 eval "DEFAULT_$LINE"
11254 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11259 eval "$ac_cv_use_filedlg"
11260 if test "$no_cache" != 1; then
11261 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11264 if test "$wxUSE_FILEDLG" = yes; then
11265 { echo "$as_me:$LINENO: result: yes" >&5
11266 echo "${ECHO_T}yes" >&6; }
11268 { echo "$as_me:$LINENO: result: no" >&5
11269 echo "${ECHO_T}no" >&6; }
11274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11275 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11277 # Check whether --enable-finddlg was given.
11278 if test "${enable_finddlg+set}" = set; then
11279 enableval=$enable_finddlg;
11280 if test "$enableval" = yes; then
11281 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11283 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11288 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11289 if test "x$LINE" != x ; then
11290 eval "DEFAULT_$LINE"
11295 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11300 eval "$ac_cv_use_finddlg"
11301 if test "$no_cache" != 1; then
11302 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11305 if test "$wxUSE_FINDREPLDLG" = yes; then
11306 { echo "$as_me:$LINENO: result: yes" >&5
11307 echo "${ECHO_T}yes" >&6; }
11309 { echo "$as_me:$LINENO: result: no" >&5
11310 echo "${ECHO_T}no" >&6; }
11315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11316 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11318 # Check whether --enable-fontdlg was given.
11319 if test "${enable_fontdlg+set}" = set; then
11320 enableval=$enable_fontdlg;
11321 if test "$enableval" = yes; then
11322 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11324 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11329 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11330 if test "x$LINE" != x ; then
11331 eval "DEFAULT_$LINE"
11336 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11341 eval "$ac_cv_use_fontdlg"
11342 if test "$no_cache" != 1; then
11343 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11346 if test "$wxUSE_FONTDLG" = yes; then
11347 { echo "$as_me:$LINENO: result: yes" >&5
11348 echo "${ECHO_T}yes" >&6; }
11350 { echo "$as_me:$LINENO: result: no" >&5
11351 echo "${ECHO_T}no" >&6; }
11356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11357 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11359 # Check whether --enable-dirdlg was given.
11360 if test "${enable_dirdlg+set}" = set; then
11361 enableval=$enable_dirdlg;
11362 if test "$enableval" = yes; then
11363 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11365 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11370 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11371 if test "x$LINE" != x ; then
11372 eval "DEFAULT_$LINE"
11377 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11382 eval "$ac_cv_use_dirdlg"
11383 if test "$no_cache" != 1; then
11384 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11387 if test "$wxUSE_DIRDLG" = yes; then
11388 { echo "$as_me:$LINENO: result: yes" >&5
11389 echo "${ECHO_T}yes" >&6; }
11391 { echo "$as_me:$LINENO: result: no" >&5
11392 echo "${ECHO_T}no" >&6; }
11397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11398 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11400 # Check whether --enable-msgdlg was given.
11401 if test "${enable_msgdlg+set}" = set; then
11402 enableval=$enable_msgdlg;
11403 if test "$enableval" = yes; then
11404 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11406 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11411 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11412 if test "x$LINE" != x ; then
11413 eval "DEFAULT_$LINE"
11418 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11423 eval "$ac_cv_use_msgdlg"
11424 if test "$no_cache" != 1; then
11425 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11428 if test "$wxUSE_MSGDLG" = yes; then
11429 { echo "$as_me:$LINENO: result: yes" >&5
11430 echo "${ECHO_T}yes" >&6; }
11432 { echo "$as_me:$LINENO: result: no" >&5
11433 echo "${ECHO_T}no" >&6; }
11438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11439 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11441 # Check whether --enable-numberdlg was given.
11442 if test "${enable_numberdlg+set}" = set; then
11443 enableval=$enable_numberdlg;
11444 if test "$enableval" = yes; then
11445 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11447 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11452 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11453 if test "x$LINE" != x ; then
11454 eval "DEFAULT_$LINE"
11459 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11464 eval "$ac_cv_use_numberdlg"
11465 if test "$no_cache" != 1; then
11466 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11469 if test "$wxUSE_NUMBERDLG" = yes; then
11470 { echo "$as_me:$LINENO: result: yes" >&5
11471 echo "${ECHO_T}yes" >&6; }
11473 { echo "$as_me:$LINENO: result: no" >&5
11474 echo "${ECHO_T}no" >&6; }
11479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11480 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11482 # Check whether --enable-splash was given.
11483 if test "${enable_splash+set}" = set; then
11484 enableval=$enable_splash;
11485 if test "$enableval" = yes; then
11486 ac_cv_use_splash='wxUSE_SPLASH=yes'
11488 ac_cv_use_splash='wxUSE_SPLASH=no'
11493 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11494 if test "x$LINE" != x ; then
11495 eval "DEFAULT_$LINE"
11500 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11505 eval "$ac_cv_use_splash"
11506 if test "$no_cache" != 1; then
11507 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11510 if test "$wxUSE_SPLASH" = yes; then
11511 { echo "$as_me:$LINENO: result: yes" >&5
11512 echo "${ECHO_T}yes" >&6; }
11514 { echo "$as_me:$LINENO: result: no" >&5
11515 echo "${ECHO_T}no" >&6; }
11520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11521 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11523 # Check whether --enable-textdlg was given.
11524 if test "${enable_textdlg+set}" = set; then
11525 enableval=$enable_textdlg;
11526 if test "$enableval" = yes; then
11527 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11529 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11534 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11535 if test "x$LINE" != x ; then
11536 eval "DEFAULT_$LINE"
11541 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11546 eval "$ac_cv_use_textdlg"
11547 if test "$no_cache" != 1; then
11548 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11551 if test "$wxUSE_TEXTDLG" = yes; then
11552 { echo "$as_me:$LINENO: result: yes" >&5
11553 echo "${ECHO_T}yes" >&6; }
11555 { echo "$as_me:$LINENO: result: no" >&5
11556 echo "${ECHO_T}no" >&6; }
11561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11562 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11564 # Check whether --enable-tipdlg was given.
11565 if test "${enable_tipdlg+set}" = set; then
11566 enableval=$enable_tipdlg;
11567 if test "$enableval" = yes; then
11568 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11570 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11575 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11576 if test "x$LINE" != x ; then
11577 eval "DEFAULT_$LINE"
11582 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11587 eval "$ac_cv_use_tipdlg"
11588 if test "$no_cache" != 1; then
11589 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11592 if test "$wxUSE_STARTUP_TIPS" = yes; then
11593 { echo "$as_me:$LINENO: result: yes" >&5
11594 echo "${ECHO_T}yes" >&6; }
11596 { echo "$as_me:$LINENO: result: no" >&5
11597 echo "${ECHO_T}no" >&6; }
11602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11603 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11605 # Check whether --enable-progressdlg was given.
11606 if test "${enable_progressdlg+set}" = set; then
11607 enableval=$enable_progressdlg;
11608 if test "$enableval" = yes; then
11609 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11611 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11616 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11617 if test "x$LINE" != x ; then
11618 eval "DEFAULT_$LINE"
11623 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11628 eval "$ac_cv_use_progressdlg"
11629 if test "$no_cache" != 1; then
11630 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11633 if test "$wxUSE_PROGRESSDLG" = yes; then
11634 { echo "$as_me:$LINENO: result: yes" >&5
11635 echo "${ECHO_T}yes" >&6; }
11637 { echo "$as_me:$LINENO: result: no" >&5
11638 echo "${ECHO_T}no" >&6; }
11643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11644 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11646 # Check whether --enable-wizarddlg was given.
11647 if test "${enable_wizarddlg+set}" = set; then
11648 enableval=$enable_wizarddlg;
11649 if test "$enableval" = yes; then
11650 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11652 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11657 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11658 if test "x$LINE" != x ; then
11659 eval "DEFAULT_$LINE"
11664 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11669 eval "$ac_cv_use_wizarddlg"
11670 if test "$no_cache" != 1; then
11671 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11674 if test "$wxUSE_WIZARDDLG" = yes; then
11675 { echo "$as_me:$LINENO: result: yes" >&5
11676 echo "${ECHO_T}yes" >&6; }
11678 { echo "$as_me:$LINENO: result: no" >&5
11679 echo "${ECHO_T}no" >&6; }
11686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11687 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11689 # Check whether --enable-menus was given.
11690 if test "${enable_menus+set}" = set; then
11691 enableval=$enable_menus;
11692 if test "$enableval" = yes; then
11693 ac_cv_use_menus='wxUSE_MENUS=yes'
11695 ac_cv_use_menus='wxUSE_MENUS=no'
11700 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11701 if test "x$LINE" != x ; then
11702 eval "DEFAULT_$LINE"
11707 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11712 eval "$ac_cv_use_menus"
11713 if test "$no_cache" != 1; then
11714 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11717 if test "$wxUSE_MENUS" = yes; then
11718 { echo "$as_me:$LINENO: result: yes" >&5
11719 echo "${ECHO_T}yes" >&6; }
11721 { echo "$as_me:$LINENO: result: no" >&5
11722 echo "${ECHO_T}no" >&6; }
11727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11728 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11730 # Check whether --enable-miniframe was given.
11731 if test "${enable_miniframe+set}" = set; then
11732 enableval=$enable_miniframe;
11733 if test "$enableval" = yes; then
11734 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11736 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11741 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11742 if test "x$LINE" != x ; then
11743 eval "DEFAULT_$LINE"
11748 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11753 eval "$ac_cv_use_miniframe"
11754 if test "$no_cache" != 1; then
11755 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11758 if test "$wxUSE_MINIFRAME" = yes; then
11759 { echo "$as_me:$LINENO: result: yes" >&5
11760 echo "${ECHO_T}yes" >&6; }
11762 { echo "$as_me:$LINENO: result: no" >&5
11763 echo "${ECHO_T}no" >&6; }
11768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11769 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11771 # Check whether --enable-tooltips was given.
11772 if test "${enable_tooltips+set}" = set; then
11773 enableval=$enable_tooltips;
11774 if test "$enableval" = yes; then
11775 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11777 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11782 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11783 if test "x$LINE" != x ; then
11784 eval "DEFAULT_$LINE"
11789 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11794 eval "$ac_cv_use_tooltips"
11795 if test "$no_cache" != 1; then
11796 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11799 if test "$wxUSE_TOOLTIPS" = yes; then
11800 { echo "$as_me:$LINENO: result: yes" >&5
11801 echo "${ECHO_T}yes" >&6; }
11803 { echo "$as_me:$LINENO: result: no" >&5
11804 echo "${ECHO_T}no" >&6; }
11809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11810 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11812 # Check whether --enable-splines was given.
11813 if test "${enable_splines+set}" = set; then
11814 enableval=$enable_splines;
11815 if test "$enableval" = yes; then
11816 ac_cv_use_splines='wxUSE_SPLINES=yes'
11818 ac_cv_use_splines='wxUSE_SPLINES=no'
11823 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11824 if test "x$LINE" != x ; then
11825 eval "DEFAULT_$LINE"
11830 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11835 eval "$ac_cv_use_splines"
11836 if test "$no_cache" != 1; then
11837 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11840 if test "$wxUSE_SPLINES" = yes; then
11841 { echo "$as_me:$LINENO: result: yes" >&5
11842 echo "${ECHO_T}yes" >&6; }
11844 { echo "$as_me:$LINENO: result: no" >&5
11845 echo "${ECHO_T}no" >&6; }
11850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11851 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11853 # Check whether --enable-mousewheel was given.
11854 if test "${enable_mousewheel+set}" = set; then
11855 enableval=$enable_mousewheel;
11856 if test "$enableval" = yes; then
11857 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11859 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11864 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11865 if test "x$LINE" != x ; then
11866 eval "DEFAULT_$LINE"
11871 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11876 eval "$ac_cv_use_mousewheel"
11877 if test "$no_cache" != 1; then
11878 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11881 if test "$wxUSE_MOUSEWHEEL" = yes; then
11882 { echo "$as_me:$LINENO: result: yes" >&5
11883 echo "${ECHO_T}yes" >&6; }
11885 { echo "$as_me:$LINENO: result: no" >&5
11886 echo "${ECHO_T}no" >&6; }
11891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11892 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
11894 # Check whether --enable-validators was given.
11895 if test "${enable_validators+set}" = set; then
11896 enableval=$enable_validators;
11897 if test "$enableval" = yes; then
11898 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11900 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11905 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11906 if test "x$LINE" != x ; then
11907 eval "DEFAULT_$LINE"
11912 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11917 eval "$ac_cv_use_validators"
11918 if test "$no_cache" != 1; then
11919 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11922 if test "$wxUSE_VALIDATORS" = yes; then
11923 { echo "$as_me:$LINENO: result: yes" >&5
11924 echo "${ECHO_T}yes" >&6; }
11926 { echo "$as_me:$LINENO: result: no" >&5
11927 echo "${ECHO_T}no" >&6; }
11932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11933 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
11935 # Check whether --enable-busyinfo was given.
11936 if test "${enable_busyinfo+set}" = set; then
11937 enableval=$enable_busyinfo;
11938 if test "$enableval" = yes; then
11939 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11941 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11946 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11947 if test "x$LINE" != x ; then
11948 eval "DEFAULT_$LINE"
11953 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11958 eval "$ac_cv_use_busyinfo"
11959 if test "$no_cache" != 1; then
11960 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11963 if test "$wxUSE_BUSYINFO" = yes; then
11964 { echo "$as_me:$LINENO: result: yes" >&5
11965 echo "${ECHO_T}yes" >&6; }
11967 { echo "$as_me:$LINENO: result: no" >&5
11968 echo "${ECHO_T}no" >&6; }
11973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11974 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
11976 # Check whether --enable-joystick was given.
11977 if test "${enable_joystick+set}" = set; then
11978 enableval=$enable_joystick;
11979 if test "$enableval" = yes; then
11980 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11982 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11987 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11988 if test "x$LINE" != x ; then
11989 eval "DEFAULT_$LINE"
11994 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11999 eval "$ac_cv_use_joystick"
12000 if test "$no_cache" != 1; then
12001 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
12004 if test "$wxUSE_JOYSTICK" = yes; then
12005 { echo "$as_me:$LINENO: result: yes" >&5
12006 echo "${ECHO_T}yes" >&6; }
12008 { echo "$as_me:$LINENO: result: no" >&5
12009 echo "${ECHO_T}no" >&6; }
12014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
12015 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
12017 # Check whether --enable-metafile was given.
12018 if test "${enable_metafile+set}" = set; then
12019 enableval=$enable_metafile;
12020 if test "$enableval" = yes; then
12021 ac_cv_use_metafile='wxUSE_METAFILE=yes'
12023 ac_cv_use_metafile='wxUSE_METAFILE=no'
12028 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
12029 if test "x$LINE" != x ; then
12030 eval "DEFAULT_$LINE"
12035 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
12040 eval "$ac_cv_use_metafile"
12041 if test "$no_cache" != 1; then
12042 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
12045 if test "$wxUSE_METAFILE" = yes; then
12046 { echo "$as_me:$LINENO: result: yes" >&5
12047 echo "${ECHO_T}yes" >&6; }
12049 { echo "$as_me:$LINENO: result: no" >&5
12050 echo "${ECHO_T}no" >&6; }
12055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12056 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12058 # Check whether --enable-dragimage was given.
12059 if test "${enable_dragimage+set}" = set; then
12060 enableval=$enable_dragimage;
12061 if test "$enableval" = yes; then
12062 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12064 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12069 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
12070 if test "x$LINE" != x ; then
12071 eval "DEFAULT_$LINE"
12076 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12081 eval "$ac_cv_use_dragimage"
12082 if test "$no_cache" != 1; then
12083 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12086 if test "$wxUSE_DRAGIMAGE" = yes; then
12087 { echo "$as_me:$LINENO: result: yes" >&5
12088 echo "${ECHO_T}yes" >&6; }
12090 { echo "$as_me:$LINENO: result: no" >&5
12091 echo "${ECHO_T}no" >&6; }
12096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12097 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12099 # Check whether --enable-accessibility was given.
12100 if test "${enable_accessibility+set}" = set; then
12101 enableval=$enable_accessibility;
12102 if test "$enableval" = yes; then
12103 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12105 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12110 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12111 if test "x$LINE" != x ; then
12112 eval "DEFAULT_$LINE"
12117 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12122 eval "$ac_cv_use_accessibility"
12123 if test "$no_cache" != 1; then
12124 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12127 if test "$wxUSE_ACCESSIBILITY" = yes; then
12128 { echo "$as_me:$LINENO: result: yes" >&5
12129 echo "${ECHO_T}yes" >&6; }
12131 { echo "$as_me:$LINENO: result: no" >&5
12132 echo "${ECHO_T}no" >&6; }
12136 if test "$wxUSE_MSW" = "1"; then
12139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12140 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12142 # Check whether --enable-dccache was given.
12143 if test "${enable_dccache+set}" = set; then
12144 enableval=$enable_dccache;
12145 if test "$enableval" = yes; then
12146 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12148 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12153 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12154 if test "x$LINE" != x ; then
12155 eval "DEFAULT_$LINE"
12160 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12165 eval "$ac_cv_use_dccache"
12166 if test "$no_cache" != 1; then
12167 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12170 if test "$wxUSE_DC_CACHEING" = yes; then
12171 { echo "$as_me:$LINENO: result: yes" >&5
12172 echo "${ECHO_T}yes" >&6; }
12174 { echo "$as_me:$LINENO: result: no" >&5
12175 echo "${ECHO_T}no" >&6; }
12183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12184 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12186 # Check whether --enable-palette was given.
12187 if test "${enable_palette+set}" = set; then
12188 enableval=$enable_palette;
12189 if test "$enableval" = yes; then
12190 ac_cv_use_palette='wxUSE_PALETTE=yes'
12192 ac_cv_use_palette='wxUSE_PALETTE=no'
12197 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
12198 if test "x$LINE" != x ; then
12199 eval "DEFAULT_$LINE"
12204 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12209 eval "$ac_cv_use_palette"
12210 if test "$no_cache" != 1; then
12211 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12214 if test "$wxUSE_PALETTE" = yes; then
12215 { echo "$as_me:$LINENO: result: yes" >&5
12216 echo "${ECHO_T}yes" >&6; }
12218 { echo "$as_me:$LINENO: result: no" >&5
12219 echo "${ECHO_T}no" >&6; }
12224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12225 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12227 # Check whether --enable-image was given.
12228 if test "${enable_image+set}" = set; then
12229 enableval=$enable_image;
12230 if test "$enableval" = yes; then
12231 ac_cv_use_image='wxUSE_IMAGE=yes'
12233 ac_cv_use_image='wxUSE_IMAGE=no'
12238 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12239 if test "x$LINE" != x ; then
12240 eval "DEFAULT_$LINE"
12245 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12250 eval "$ac_cv_use_image"
12251 if test "$no_cache" != 1; then
12252 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12255 if test "$wxUSE_IMAGE" = yes; then
12256 { echo "$as_me:$LINENO: result: yes" >&5
12257 echo "${ECHO_T}yes" >&6; }
12259 { echo "$as_me:$LINENO: result: no" >&5
12260 echo "${ECHO_T}no" >&6; }
12265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12266 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12268 # Check whether --enable-gif was given.
12269 if test "${enable_gif+set}" = set; then
12270 enableval=$enable_gif;
12271 if test "$enableval" = yes; then
12272 ac_cv_use_gif='wxUSE_GIF=yes'
12274 ac_cv_use_gif='wxUSE_GIF=no'
12279 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12280 if test "x$LINE" != x ; then
12281 eval "DEFAULT_$LINE"
12286 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12291 eval "$ac_cv_use_gif"
12292 if test "$no_cache" != 1; then
12293 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12296 if test "$wxUSE_GIF" = yes; then
12297 { echo "$as_me:$LINENO: result: yes" >&5
12298 echo "${ECHO_T}yes" >&6; }
12300 { echo "$as_me:$LINENO: result: no" >&5
12301 echo "${ECHO_T}no" >&6; }
12306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12307 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12309 # Check whether --enable-pcx was given.
12310 if test "${enable_pcx+set}" = set; then
12311 enableval=$enable_pcx;
12312 if test "$enableval" = yes; then
12313 ac_cv_use_pcx='wxUSE_PCX=yes'
12315 ac_cv_use_pcx='wxUSE_PCX=no'
12320 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12321 if test "x$LINE" != x ; then
12322 eval "DEFAULT_$LINE"
12327 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12332 eval "$ac_cv_use_pcx"
12333 if test "$no_cache" != 1; then
12334 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12337 if test "$wxUSE_PCX" = yes; then
12338 { echo "$as_me:$LINENO: result: yes" >&5
12339 echo "${ECHO_T}yes" >&6; }
12341 { echo "$as_me:$LINENO: result: no" >&5
12342 echo "${ECHO_T}no" >&6; }
12347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12348 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12350 # Check whether --enable-tga was given.
12351 if test "${enable_tga+set}" = set; then
12352 enableval=$enable_tga;
12353 if test "$enableval" = yes; then
12354 ac_cv_use_tga='wxUSE_TGA=yes'
12356 ac_cv_use_tga='wxUSE_TGA=no'
12361 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12362 if test "x$LINE" != x ; then
12363 eval "DEFAULT_$LINE"
12368 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12373 eval "$ac_cv_use_tga"
12374 if test "$no_cache" != 1; then
12375 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12378 if test "$wxUSE_TGA" = yes; then
12379 { echo "$as_me:$LINENO: result: yes" >&5
12380 echo "${ECHO_T}yes" >&6; }
12382 { echo "$as_me:$LINENO: result: no" >&5
12383 echo "${ECHO_T}no" >&6; }
12388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12389 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12391 # Check whether --enable-iff was given.
12392 if test "${enable_iff+set}" = set; then
12393 enableval=$enable_iff;
12394 if test "$enableval" = yes; then
12395 ac_cv_use_iff='wxUSE_IFF=yes'
12397 ac_cv_use_iff='wxUSE_IFF=no'
12402 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12403 if test "x$LINE" != x ; then
12404 eval "DEFAULT_$LINE"
12409 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12414 eval "$ac_cv_use_iff"
12415 if test "$no_cache" != 1; then
12416 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12419 if test "$wxUSE_IFF" = yes; then
12420 { echo "$as_me:$LINENO: result: yes" >&5
12421 echo "${ECHO_T}yes" >&6; }
12423 { echo "$as_me:$LINENO: result: no" >&5
12424 echo "${ECHO_T}no" >&6; }
12429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12430 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12432 # Check whether --enable-pnm was given.
12433 if test "${enable_pnm+set}" = set; then
12434 enableval=$enable_pnm;
12435 if test "$enableval" = yes; then
12436 ac_cv_use_pnm='wxUSE_PNM=yes'
12438 ac_cv_use_pnm='wxUSE_PNM=no'
12443 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12444 if test "x$LINE" != x ; then
12445 eval "DEFAULT_$LINE"
12450 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12455 eval "$ac_cv_use_pnm"
12456 if test "$no_cache" != 1; then
12457 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12460 if test "$wxUSE_PNM" = yes; then
12461 { echo "$as_me:$LINENO: result: yes" >&5
12462 echo "${ECHO_T}yes" >&6; }
12464 { echo "$as_me:$LINENO: result: no" >&5
12465 echo "${ECHO_T}no" >&6; }
12470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12471 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12473 # Check whether --enable-xpm was given.
12474 if test "${enable_xpm+set}" = set; then
12475 enableval=$enable_xpm;
12476 if test "$enableval" = yes; then
12477 ac_cv_use_xpm='wxUSE_XPM=yes'
12479 ac_cv_use_xpm='wxUSE_XPM=no'
12484 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12485 if test "x$LINE" != x ; then
12486 eval "DEFAULT_$LINE"
12491 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12496 eval "$ac_cv_use_xpm"
12497 if test "$no_cache" != 1; then
12498 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12501 if test "$wxUSE_XPM" = yes; then
12502 { echo "$as_me:$LINENO: result: yes" >&5
12503 echo "${ECHO_T}yes" >&6; }
12505 { echo "$as_me:$LINENO: result: no" >&5
12506 echo "${ECHO_T}no" >&6; }
12511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12512 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12514 # Check whether --enable-ico_cur was given.
12515 if test "${enable_ico_cur+set}" = set; then
12516 enableval=$enable_ico_cur;
12517 if test "$enableval" = yes; then
12518 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12520 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12525 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12526 if test "x$LINE" != x ; then
12527 eval "DEFAULT_$LINE"
12532 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12537 eval "$ac_cv_use_ico_cur"
12538 if test "$no_cache" != 1; then
12539 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12542 if test "$wxUSE_ICO_CUR" = yes; then
12543 { echo "$as_me:$LINENO: result: yes" >&5
12544 echo "${ECHO_T}yes" >&6; }
12546 { echo "$as_me:$LINENO: result: no" >&5
12547 echo "${ECHO_T}no" >&6; }
12555 # Check whether --with-flavour was given.
12556 if test "${with_flavour+set}" = set; then
12557 withval=$with_flavour; WX_FLAVOUR="$withval"
12564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12565 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12567 # Check whether --enable-official_build was given.
12568 if test "${enable_official_build+set}" = set; then
12569 enableval=$enable_official_build;
12570 if test "$enableval" = yes; then
12571 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12573 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12578 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12579 if test "x$LINE" != x ; then
12580 eval "DEFAULT_$LINE"
12585 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12590 eval "$ac_cv_use_official_build"
12591 if test "$no_cache" != 1; then
12592 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12595 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12596 { echo "$as_me:$LINENO: result: yes" >&5
12597 echo "${ECHO_T}yes" >&6; }
12599 { echo "$as_me:$LINENO: result: no" >&5
12600 echo "${ECHO_T}no" >&6; }
12603 # Check whether --enable-vendor was given.
12604 if test "${enable_vendor+set}" = set; then
12605 enableval=$enable_vendor; VENDOR="$enableval"
12608 if test "x$VENDOR" = "x"; then
12615 echo "saving argument cache $wx_arg_cache_file"
12616 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12620 { echo "$as_me:$LINENO: checking for toolkit" >&5
12621 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12623 # In Wine, we need to default to MSW, not GTK or MOTIF
12624 if test "$wxUSE_WINE" = "yes"; then
12625 DEFAULT_DEFAULT_wxUSE_GTK=0
12626 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12627 DEFAULT_DEFAULT_wxUSE_MSW=1
12630 CXX=${CXX:-wineg++}
12634 if test "$wxUSE_GUI" = "yes"; then
12636 if test "$USE_BEOS" = 1; then
12637 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12638 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12639 { (exit 1); exit 1; }; }
12642 if test "$TOOLKIT_GIVEN" = 1; then
12643 for toolkit in `echo $ALL_TOOLKITS`; do
12645 eval "value=\$${var}"
12646 if test "x$value" = "xno"; then
12648 elif test "x$value" != "x"; then
12652 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12653 eval "wx${toolkit}_VERSION=$value"
12657 for toolkit in `echo $ALL_TOOLKITS`; do
12658 if test "$has_toolkit_in_cache" != 1; then
12659 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12661 var=DEFAULT_wxUSE_$toolkit
12663 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12664 if test "x$version" != "x"; then
12665 eval "wx${toolkit}_VERSION=$version"
12668 eval "wxUSE_$toolkit=\$${var}"
12672 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12673 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12674 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12677 *-pc-os2_emx | *-pc-os2-emx )
12678 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12681 case "$NUM_TOOLKITS" in
12685 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12686 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12687 { (exit 1); exit 1; }; }
12690 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12691 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12692 { (exit 1); exit 1; }; }
12695 # to be removed when --disable-gtk2 isn't needed
12696 if test "x$wxUSE_GTK2" = "xyes"; then
12698 elif test "x$wxUSE_GTK2" = "xno"; then
12702 for toolkit in `echo $ALL_TOOLKITS`; do
12704 eval "value=\$${var}"
12705 if test "x$value" != x; then
12706 cache_var=CACHE_$toolkit
12707 eval "cache=\$${cache_var}"
12708 if test "$cache" = 1; then
12709 echo "$var=$value" >> ${wx_arg_cache_file}
12710 eval "version=\$wx${toolkit}_VERSION"
12711 if test "x$version" != "x"; then
12712 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12715 if test "$value" = 1; then
12716 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12717 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12718 echo "${ECHO_T}$toolkit_echo" >&6; }
12723 if test "x$host_alias" != "x"; then
12724 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12725 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12727 { echo "$as_me:$LINENO: result: base only" >&5
12728 echo "${ECHO_T}base only" >&6; }
12733 cat >confcache <<\_ACEOF
12734 # This file is a shell script that caches the results of configure
12735 # tests run on this system so they can be shared between configure
12736 # scripts and configure runs, see configure's option --config-cache.
12737 # It is not useful on other systems. If it contains results you don't
12738 # want to keep, you may remove or edit it.
12740 # config.status only pays attention to the cache file if you give it
12741 # the --recheck option to rerun configure.
12743 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
12744 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12745 # following values.
12749 # The following way of writing the cache mishandles newlines in values,
12750 # but we know of no workaround that is simple, portable, and efficient.
12751 # So, we kill variables containing newlines.
12752 # Ultrix sh set writes to stderr and can't be redirected directly,
12753 # and sets the high bit in the cache file unless we assign to the vars.
12755 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12756 eval ac_val
=\$
$ac_var
12760 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12761 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12764 _
| IFS
| as_nl
) ;; #(
12765 *) $as_unset $ac_var ;;
12771 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12772 *${as_nl}ac_space
=\
*)
12773 # `set' does not quote correctly, so add quotes (double-quote
12774 # substitution turns \\\\ into \\, and sed turns \\ into \).
12777 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12780 # `set' quotes correctly as required by POSIX, so do not add quotes.
12781 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12790 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12792 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12794 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12795 if test -w "$cache_file"; then
12796 test "x$cache_file" != "x/dev/null" &&
12797 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12798 echo "$as_me: updating cache $cache_file" >&6;}
12799 cat confcache
>$cache_file
12801 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12802 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12812 ac_cpp
='$CPP $CPPFLAGS'
12813 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12814 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12815 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12816 if test -n "$ac_tool_prefix"; then
12817 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12818 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
12819 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12821 if test "${ac_cv_prog_CC+set}" = set; then
12822 echo $ECHO_N "(cached) $ECHO_C" >&6
12824 if test -n "$CC"; then
12825 ac_cv_prog_CC
="$CC" # Let the user override the test.
12827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12828 for as_dir
in $PATH
12831 test -z "$as_dir" && as_dir
=.
12832 for ac_exec_ext
in '' $ac_executable_extensions; do
12833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12834 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
12835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12845 if test -n "$CC"; then
12846 { echo "$as_me:$LINENO: result: $CC" >&5
12847 echo "${ECHO_T}$CC" >&6; }
12849 { echo "$as_me:$LINENO: result: no" >&5
12850 echo "${ECHO_T}no" >&6; }
12855 if test -z "$ac_cv_prog_CC"; then
12857 # Extract the first word of "gcc", so it can be a program name with args.
12858 set dummy gcc
; ac_word
=$2
12859 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12861 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12862 echo $ECHO_N "(cached) $ECHO_C" >&6
12864 if test -n "$ac_ct_CC"; then
12865 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12868 for as_dir
in $PATH
12871 test -z "$as_dir" && as_dir
=.
12872 for ac_exec_ext
in '' $ac_executable_extensions; do
12873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12874 ac_cv_prog_ac_ct_CC
="gcc"
12875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12884 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12885 if test -n "$ac_ct_CC"; then
12886 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12887 echo "${ECHO_T}$ac_ct_CC" >&6; }
12889 { echo "$as_me:$LINENO: result: no" >&5
12890 echo "${ECHO_T}no" >&6; }
12893 if test "x$ac_ct_CC" = x
; then
12896 case $cross_compiling:$ac_tool_warned in
12898 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12899 whose name does not start with the host triplet. If you think this
12900 configuration is useful to you, please write to autoconf@gnu.org." >&5
12901 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12902 whose name does not start with the host triplet. If you think this
12903 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12904 ac_tool_warned
=yes ;;
12909 CC
="$ac_cv_prog_CC"
12912 if test -z "$CC"; then
12913 if test -n "$ac_tool_prefix"; then
12914 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12915 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
12916 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12918 if test "${ac_cv_prog_CC+set}" = set; then
12919 echo $ECHO_N "(cached) $ECHO_C" >&6
12921 if test -n "$CC"; then
12922 ac_cv_prog_CC
="$CC" # Let the user override the test.
12924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12925 for as_dir
in $PATH
12928 test -z "$as_dir" && as_dir
=.
12929 for ac_exec_ext
in '' $ac_executable_extensions; do
12930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12931 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12942 if test -n "$CC"; then
12943 { echo "$as_me:$LINENO: result: $CC" >&5
12944 echo "${ECHO_T}$CC" >&6; }
12946 { echo "$as_me:$LINENO: result: no" >&5
12947 echo "${ECHO_T}no" >&6; }
12953 if test -z "$CC"; then
12954 # Extract the first word of "cc", so it can be a program name with args.
12955 set dummy cc
; ac_word
=$2
12956 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12958 if test "${ac_cv_prog_CC+set}" = set; then
12959 echo $ECHO_N "(cached) $ECHO_C" >&6
12961 if test -n "$CC"; then
12962 ac_cv_prog_CC
="$CC" # Let the user override the test.
12964 ac_prog_rejected
=no
12965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12966 for as_dir
in $PATH
12969 test -z "$as_dir" && as_dir
=.
12970 for ac_exec_ext
in '' $ac_executable_extensions; do
12971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12972 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12973 ac_prog_rejected
=yes
12977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12984 if test $ac_prog_rejected = yes; then
12985 # We found a bogon in the path, so make sure we never use it.
12986 set dummy
$ac_cv_prog_CC
12988 if test $# != 0; then
12989 # We chose a different compiler from the bogus one.
12990 # However, it has the same basename, so the bogon will be chosen
12991 # first if we set CC to just the basename; use the full file name.
12993 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
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; }
13009 if test -z "$CC"; then
13010 if test -n "$ac_tool_prefix"; then
13011 for ac_prog
in cl.exe
13013 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13014 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13015 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13017 if test "${ac_cv_prog_CC+set}" = set; then
13018 echo $ECHO_N "(cached) $ECHO_C" >&6
13020 if test -n "$CC"; then
13021 ac_cv_prog_CC
="$CC" # Let the user override the test.
13023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13024 for as_dir
in $PATH
13027 test -z "$as_dir" && as_dir
=.
13028 for ac_exec_ext
in '' $ac_executable_extensions; do
13029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13030 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
13031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13041 if test -n "$CC"; then
13042 { echo "$as_me:$LINENO: result: $CC" >&5
13043 echo "${ECHO_T}$CC" >&6; }
13045 { echo "$as_me:$LINENO: result: no" >&5
13046 echo "${ECHO_T}no" >&6; }
13050 test -n "$CC" && break
13053 if test -z "$CC"; then
13055 for ac_prog
in cl.exe
13057 # Extract the first word of "$ac_prog", so it can be a program name with args.
13058 set dummy
$ac_prog; ac_word
=$2
13059 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13061 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13062 echo $ECHO_N "(cached) $ECHO_C" >&6
13064 if test -n "$ac_ct_CC"; then
13065 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13068 for as_dir
in $PATH
13071 test -z "$as_dir" && as_dir
=.
13072 for ac_exec_ext
in '' $ac_executable_extensions; do
13073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13074 ac_cv_prog_ac_ct_CC
="$ac_prog"
13075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13084 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13085 if test -n "$ac_ct_CC"; then
13086 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13087 echo "${ECHO_T}$ac_ct_CC" >&6; }
13089 { echo "$as_me:$LINENO: result: no" >&5
13090 echo "${ECHO_T}no" >&6; }
13094 test -n "$ac_ct_CC" && break
13097 if test "x$ac_ct_CC" = x
; then
13100 case $cross_compiling:$ac_tool_warned in
13102 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13103 whose name does not start with the host triplet. If you think this
13104 configuration is useful to you, please write to autoconf@gnu.org." >&5
13105 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13106 whose name does not start with the host triplet. If you think this
13107 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13108 ac_tool_warned
=yes ;;
13117 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13118 See \`config.log' for more details." >&5
13119 echo "$as_me: error: no acceptable C compiler found in \$PATH
13120 See \`config.log' for more details." >&2;}
13121 { (exit 1); exit 1; }; }
13123 # Provide some information about the compiler.
13124 echo "$as_me:$LINENO: checking for C compiler version" >&5
13125 ac_compiler
=`set X $ac_compile; echo $2`
13126 { (ac_try
="$ac_compiler --version >&5"
13127 case "(($ac_try" in
13128 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13129 *) ac_try_echo=$ac_try;;
13131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13132 (eval "$ac_compiler --version >&5") 2>&5
13134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13135 (exit $ac_status); }
13136 { (ac_try="$ac_compiler -v >&5"
13137 case "(($ac_try" in
13138 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
13139 *) ac_try_echo
=$ac_try;;
13141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13142 (eval "$ac_compiler -v >&5") 2>&5
13144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145 (exit $ac_status); }
13146 { (ac_try
="$ac_compiler -V >&5"
13147 case "(($ac_try" in
13148 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13149 *) ac_try_echo=$ac_try;;
13151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13152 (eval "$ac_compiler -V >&5") 2>&5
13154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13155 (exit $ac_status); }
13157 cat >conftest.$ac_ext <<_ACEOF
13160 cat confdefs.h >>conftest.$ac_ext
13161 cat >>conftest.$ac_ext <<_ACEOF
13162 /* end confdefs.h. */
13172 ac_clean_files_save=$ac_clean_files
13173 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13174 # Try to create an executable without -o first, disregard a.out.
13175 # It will help us diagnose broken compilers, and finding out an intuition
13177 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13178 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13179 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13181 # List of possible output files, starting from the most likely.
13182 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
13183 # only as a last resort. b.out is created by i960 compilers.
13184 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
13186 # The IRIX 6 linker writes into existing files which may not be
13187 # executable, retaining their permissions. Remove them first so a
13188 # subsequent execution test works.
13190 for ac_file in $ac_files
13193 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13194 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13199 if { (ac_try="$ac_link_default"
13200 case "(($ac_try" in
13201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13202 *) ac_try_echo=$ac_try;;
13204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13205 (eval "$ac_link_default") 2>&5
13207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13208 (exit $ac_status); }; then
13209 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13210 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13211 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13212 # so that the user can short-circuit this test for compilers unknown to
13214 for ac_file
in $ac_files
13216 test -f "$ac_file" || continue
13218 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
13221 # We found the default executable, but exeext='' is most
13225 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
13227 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
13229 # We set ac_cv_exeext here because the later test for it is not
13230 # safe: cross compilers may not add the suffix if given an `-o'
13231 # argument, so we may need to know it at that point already.
13232 # Even if this section looks crufty: it has the advantage of
13233 # actually working.
13239 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
13242 echo "$as_me: failed program was:" >&5
13243 sed 's/^/| /' conftest.
$ac_ext >&5
13245 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13246 See \`config.log' for more details." >&5
13247 echo "$as_me: error: C compiler cannot create executables
13248 See \`config.log' for more details." >&2;}
13249 { (exit 77); exit 77; }; }
13252 ac_exeext
=$ac_cv_exeext
13253 { echo "$as_me:$LINENO: result: $ac_file" >&5
13254 echo "${ECHO_T}$ac_file" >&6; }
13256 # Check that the compiler produces executables we can run. If not, either
13257 # the compiler is broken, or we cross compile.
13258 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13259 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13260 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13261 # If not cross compiling, check that we can run a simple program.
13262 if test "$cross_compiling" != yes; then
13263 if { ac_try
='./$ac_file'
13264 { (case "(($ac_try" in
13265 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13266 *) ac_try_echo=$ac_try;;
13268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13269 (eval "$ac_try") 2>&5
13271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272 (exit $ac_status); }; }; then
13275 if test "$cross_compiling" = maybe; then
13276 cross_compiling=yes
13278 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13279 If you meant to cross compile, use \`--host'.
13280 See \`config.log' for more details.
" >&5
13281 echo "$as_me: error
: cannot run C compiled programs.
13282 If you meant to cross compile
, use \
`--host'.
13283 See \`config.log
' for more details." >&2;}
13284 { (exit 1); exit 1; }; }
13288 { echo "$as_me:$LINENO: result: yes" >&5
13289 echo "${ECHO_T}yes" >&6; }
13291 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13292 ac_clean_files=$ac_clean_files_save
13293 # Check that the compiler produces executables we can run. If not, either
13294 # the compiler is broken, or we cross compile.
13295 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13296 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13297 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13298 echo "${ECHO_T}$cross_compiling" >&6; }
13300 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13301 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13302 if { (ac_try="$ac_link"
13303 case "(($ac_try" in
13304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13305 *) ac_try_echo=$ac_try;;
13307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13308 (eval "$ac_link") 2>&5
13310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13311 (exit $ac_status); }; then
13312 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
13313 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
13314 # work properly (i.e., refer to `conftest.exe
'), while it won't with
13316 for ac_file
in conftest.exe conftest conftest.
*; do
13317 test -f "$ac_file" || continue
13319 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
13320 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
13326 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13327 See \`config.log' for more details." >&5
13328 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13329 See \`config.log' for more details." >&2;}
13330 { (exit 1); exit 1; }; }
13333 rm -f conftest
$ac_cv_exeext
13334 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13335 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13337 rm -f conftest.
$ac_ext
13338 EXEEXT
=$ac_cv_exeext
13340 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13341 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13342 if test "${ac_cv_objext+set}" = set; then
13343 echo $ECHO_N "(cached) $ECHO_C" >&6
13345 cat >conftest.
$ac_ext <<_ACEOF
13348 cat confdefs.h
>>conftest.
$ac_ext
13349 cat >>conftest.
$ac_ext <<_ACEOF
13350 /* end confdefs.h. */
13360 rm -f conftest.o conftest.obj
13361 if { (ac_try
="$ac_compile"
13362 case "(($ac_try" in
13363 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13364 *) ac_try_echo=$ac_try;;
13366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13367 (eval "$ac_compile") 2>&5
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 (exit $ac_status); }; then
13371 for ac_file in conftest.o conftest.obj conftest.*; do
13372 test -f "$ac_file" || continue;
13374 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13375 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13380 echo "$as_me: failed program was:" >&5
13381 sed 's/^/| /' conftest.$ac_ext >&5
13383 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13384 See \`config.log
' for more details." >&5
13385 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13386 See \`config.log' for more details.
" >&2;}
13387 { (exit 1); exit 1; }; }
13390 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13392 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
13393 echo "${ECHO_T}$ac_cv_objext" >&6; }
13394 OBJEXT=$ac_cv_objext
13396 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
13397 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
13398 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13399 echo $ECHO_N "(cached
) $ECHO_C" >&6
13401 cat >conftest.$ac_ext <<_ACEOF
13404 cat confdefs.h >>conftest.$ac_ext
13405 cat >>conftest.$ac_ext <<_ACEOF
13406 /* end confdefs.h. */
13419 rm -f conftest.$ac_objext
13420 if { (ac_try="$ac_compile"
13421 case "(($ac_try" in
13422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13423 *) ac_try_echo=$ac_try;;
13425 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13426 (eval "$ac_compile") 2>conftest.er1
13428 grep -v '^ *+' conftest.er1 >conftest.err
13430 cat conftest.err >&5
13431 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13432 (exit $ac_status); } &&
13433 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13434 { (case "(($ac_try" in
13435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13436 *) ac_try_echo=$ac_try;;
13438 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13439 (eval "$ac_try") 2>&5
13441 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13442 (exit $ac_status); }; } &&
13443 { ac_try='test -s conftest.$ac_objext'
13444 { (case "(($ac_try" in
13445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13446 *) ac_try_echo=$ac_try;;
13448 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13449 (eval "$ac_try") 2>&5
13451 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13452 (exit $ac_status); }; }; then
13453 ac_compiler_gnu=yes
13455 echo "$as_me: failed program was
:" >&5
13456 sed 's/^/| /' conftest.$ac_ext >&5
13461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13462 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13465 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
13466 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13467 GCC=`test $ac_compiler_gnu = yes && echo yes`
13468 ac_test_CFLAGS=${CFLAGS+set}
13469 ac_save_CFLAGS=$CFLAGS
13470 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
13471 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
13472 if test "${ac_cv_prog_cc_g+set}" = set; then
13473 echo $ECHO_N "(cached
) $ECHO_C" >&6
13475 ac_save_c_werror_flag=$ac_c_werror_flag
13476 ac_c_werror_flag=yes
13479 cat >conftest.$ac_ext <<_ACEOF
13482 cat confdefs.h >>conftest.$ac_ext
13483 cat >>conftest.$ac_ext <<_ACEOF
13484 /* end confdefs.h. */
13494 rm -f conftest.$ac_objext
13495 if { (ac_try="$ac_compile"
13496 case "(($ac_try" in
13497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13498 *) ac_try_echo=$ac_try;;
13500 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13501 (eval "$ac_compile") 2>conftest.er1
13503 grep -v '^ *+' conftest.er1 >conftest.err
13505 cat conftest.err >&5
13506 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13507 (exit $ac_status); } &&
13508 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
13516 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13517 (exit $ac_status); }; } &&
13518 { ac_try='test -s conftest.$ac_objext'
13519 { (case "(($ac_try" in
13520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13521 *) ac_try_echo=$ac_try;;
13523 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13524 (eval "$ac_try") 2>&5
13526 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13527 (exit $ac_status); }; }; then
13528 ac_cv_prog_cc_g=yes
13530 echo "$as_me: failed program was
:" >&5
13531 sed 's/^/| /' conftest.$ac_ext >&5
13534 cat >conftest.$ac_ext <<_ACEOF
13537 cat confdefs.h >>conftest.$ac_ext
13538 cat >>conftest.$ac_ext <<_ACEOF
13539 /* end confdefs.h. */
13549 rm -f conftest.$ac_objext
13550 if { (ac_try="$ac_compile"
13551 case "(($ac_try" in
13552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13553 *) ac_try_echo=$ac_try;;
13555 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13556 (eval "$ac_compile") 2>conftest.er1
13558 grep -v '^ *+' conftest.er1 >conftest.err
13560 cat conftest.err >&5
13561 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13562 (exit $ac_status); } &&
13563 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13564 { (case "(($ac_try" in
13565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13566 *) ac_try_echo=$ac_try;;
13568 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13569 (eval "$ac_try") 2>&5
13571 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13572 (exit $ac_status); }; } &&
13573 { ac_try='test -s conftest.$ac_objext'
13574 { (case "(($ac_try" in
13575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13576 *) ac_try_echo=$ac_try;;
13578 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13579 (eval "$ac_try") 2>&5
13581 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13582 (exit $ac_status); }; }; then
13585 echo "$as_me: failed program was
:" >&5
13586 sed 's/^/| /' conftest.$ac_ext >&5
13588 ac_c_werror_flag=$ac_save_c_werror_flag
13590 cat >conftest.$ac_ext <<_ACEOF
13593 cat confdefs.h >>conftest.$ac_ext
13594 cat >>conftest.$ac_ext <<_ACEOF
13595 /* end confdefs.h. */
13605 rm -f conftest.$ac_objext
13606 if { (ac_try="$ac_compile"
13607 case "(($ac_try" in
13608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13609 *) ac_try_echo=$ac_try;;
13611 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13612 (eval "$ac_compile") 2>conftest.er1
13614 grep -v '^ *+' conftest.er1 >conftest.err
13616 cat conftest.err >&5
13617 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13618 (exit $ac_status); } &&
13619 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13620 { (case "(($ac_try" in
13621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13622 *) ac_try_echo=$ac_try;;
13624 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13625 (eval "$ac_try") 2>&5
13627 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13628 (exit $ac_status); }; } &&
13629 { ac_try='test -s conftest.$ac_objext'
13630 { (case "(($ac_try" in
13631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13632 *) ac_try_echo=$ac_try;;
13634 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13635 (eval "$ac_try") 2>&5
13637 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13638 (exit $ac_status); }; }; then
13639 ac_cv_prog_cc_g=yes
13641 echo "$as_me: failed program was
:" >&5
13642 sed 's/^/| /' conftest.$ac_ext >&5
13647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13654 ac_c_werror_flag=$ac_save_c_werror_flag
13656 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
13657 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13658 if test "$ac_test_CFLAGS" = set; then
13659 CFLAGS=$ac_save_CFLAGS
13660 elif test $ac_cv_prog_cc_g = yes; then
13661 if test "$GCC" = yes; then
13667 if test "$GCC" = yes; then
13673 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
13674 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
13675 if test "${ac_cv_prog_cc_c89+set}" = set; then
13676 echo $ECHO_N "(cached
) $ECHO_C" >&6
13678 ac_cv_prog_cc_c89=no
13680 cat >conftest.$ac_ext <<_ACEOF
13683 cat confdefs.h >>conftest.$ac_ext
13684 cat >>conftest.$ac_ext <<_ACEOF
13685 /* end confdefs.h. */
13686 #include <stdarg.h>
13688 #include <sys/types.h>
13689 #include <sys/stat.h>
13690 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13691 struct buf { int x; };
13692 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13693 static char *e (p, i)
13699 static char *f (char * (*g) (char **, int), char **p, ...)
13704 s = g (p, va_arg (v,int));
13709 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13710 function prototypes and stuff, but not '\xHH' hex character constants.
13711 These don't provoke an error unfortunately, instead are silently treated
13712 as 'x'. The following induces an error, until -std is added to get
13713 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13714 array size at least. It's necessary to write '\x00'==0 to get something
13715 that's true only with -std. */
13716 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13718 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13719 inside strings and character constants. */
13721 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13723 int test (int i, double x);
13724 struct s1 {int (*f) (int a);};
13725 struct s2 {int (*f) (double a);};
13726 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13732 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13737 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13738 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13740 CC="$ac_save_CC $ac_arg"
13741 rm -f conftest.$ac_objext
13742 if { (ac_try="$ac_compile"
13743 case "(($ac_try" in
13744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13745 *) ac_try_echo=$ac_try;;
13747 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13748 (eval "$ac_compile") 2>conftest.er1
13750 grep -v '^ *+' conftest.er1 >conftest.err
13752 cat conftest.err >&5
13753 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13754 (exit $ac_status); } &&
13755 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13756 { (case "(($ac_try" in
13757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13758 *) ac_try_echo=$ac_try;;
13760 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13761 (eval "$ac_try") 2>&5
13763 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13764 (exit $ac_status); }; } &&
13765 { ac_try='test -s conftest.$ac_objext'
13766 { (case "(($ac_try" in
13767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13768 *) ac_try_echo=$ac_try;;
13770 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13771 (eval "$ac_try") 2>&5
13773 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13774 (exit $ac_status); }; }; then
13775 ac_cv_prog_cc_c89=$ac_arg
13777 echo "$as_me: failed program was
:" >&5
13778 sed 's/^/| /' conftest.$ac_ext >&5
13783 rm -f core conftest.err conftest.$ac_objext
13784 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
13786 rm -f conftest.$ac_ext
13791 case "x
$ac_cv_prog_cc_c89" in
13793 { echo "$as_me:$LINENO: result
: none needed
" >&5
13794 echo "${ECHO_T}none needed
" >&6; } ;;
13796 { echo "$as_me:$LINENO: result
: unsupported
" >&5
13797 echo "${ECHO_T}unsupported
" >&6; } ;;
13799 CC="$CC $ac_cv_prog_cc_c89"
13800 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
13801 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13806 ac_cpp='$CPP $CPPFLAGS'
13807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13814 ac_cpp='$CPP $CPPFLAGS'
13815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13819 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
13820 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
13821 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13822 echo $ECHO_N "(cached
) $ECHO_C" >&6
13824 cat >conftest.$ac_ext <<_ACEOF
13827 cat confdefs.h >>conftest.$ac_ext
13828 cat >>conftest.$ac_ext <<_ACEOF
13829 /* end confdefs.h. */
13835 #ifndef __INTEL_COMPILER
13843 rm -f conftest.$ac_objext
13844 if { (ac_try="$ac_compile"
13845 case "(($ac_try" in
13846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13847 *) ac_try_echo=$ac_try;;
13849 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13850 (eval "$ac_compile") 2>conftest.er1
13852 grep -v '^ *+' conftest.er1 >conftest.err
13854 cat conftest.err >&5
13855 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13856 (exit $ac_status); } &&
13857 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13858 { (case "(($ac_try" in
13859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13860 *) ac_try_echo=$ac_try;;
13862 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13863 (eval "$ac_try") 2>&5
13865 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13866 (exit $ac_status); }; } &&
13867 { ac_try='test -s conftest.$ac_objext'
13868 { (case "(($ac_try" in
13869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13870 *) ac_try_echo=$ac_try;;
13872 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13873 (eval "$ac_try") 2>&5
13875 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13876 (exit $ac_status); }; }; then
13877 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13879 echo "$as_me: failed program was
:" >&5
13880 sed 's/^/| /' conftest.$ac_ext >&5
13882 bakefile_cv_c_compiler___INTEL_COMPILER=no
13886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13890 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13891 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13892 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
13898 ac_cpp='$CPP $CPPFLAGS'
13899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13905 if test "x
$GCC" != "xyes
"; then
13906 if test "xCC
" = "xC
"; then
13907 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
13908 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
13909 if test "${bakefile_cv_c_exto+set}" = set; then
13910 echo $ECHO_N "(cached
) $ECHO_C" >&6
13912 cat >conftest.$ac_ext <<_ACEOF
13915 cat confdefs.h >>conftest.$ac_ext
13916 cat >>conftest.$ac_ext <<_ACEOF
13917 /* end confdefs.h. */
13927 rm -f conftest.$ac_objext conftest.$ac_ext.o
13928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13929 (eval $ac_compile) 2>&5
13931 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13932 (exit $ac_status); }; then
13933 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13935 conftest.$ac_ext.o)
13936 bakefile_cv_c_exto="-ext o
"
13943 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
13944 See \
`config.log' for more details." >&5
13945 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13946 See \`config.log
' for more details." >&2;}
13947 { (exit 1); exit 1; }; }
13951 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13954 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13955 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13956 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13957 if test "c" = "c"; then
13958 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13960 if test "c" = "cxx"; then
13961 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13965 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13966 unset ac_cv_prog_cc_g
13967 ac_test_CFLAGS=${CFLAGS+set}
13968 ac_save_CFLAGS=$CFLAGS
13969 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13970 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13971 if test "${ac_cv_prog_cc_g+set}" = set; then
13972 echo $ECHO_N "(cached) $ECHO_C" >&6
13974 ac_save_c_werror_flag=$ac_c_werror_flag
13975 ac_c_werror_flag=yes
13978 cat >conftest.$ac_ext <<_ACEOF
13981 cat confdefs.h >>conftest.$ac_ext
13982 cat >>conftest.$ac_ext <<_ACEOF
13983 /* end confdefs.h. */
13993 rm -f conftest.$ac_objext
13994 if { (ac_try="$ac_compile"
13995 case "(($ac_try" in
13996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13997 *) ac_try_echo=$ac_try;;
13999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14000 (eval "$ac_compile") 2>conftest.er1
14002 grep -v '^
*+' conftest.er1 >conftest.err
14004 cat conftest.err >&5
14005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14006 (exit $ac_status); } &&
14007 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
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_try") 2>&5
14015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14016 (exit $ac_status); }; } &&
14017 { ac_try='test -s conftest.
$ac_objext'
14018 { (case "(($ac_try" in
14019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14020 *) ac_try_echo=$ac_try;;
14022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14023 (eval "$ac_try") 2>&5
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); }; }; then
14027 ac_cv_prog_cc_g=yes
14029 echo "$as_me: failed program was:" >&5
14030 sed 's
/^
/| /' conftest.$ac_ext >&5
14033 cat >conftest.$ac_ext <<_ACEOF
14036 cat confdefs.h >>conftest.$ac_ext
14037 cat >>conftest.$ac_ext <<_ACEOF
14038 /* end confdefs.h. */
14048 rm -f conftest.$ac_objext
14049 if { (ac_try="$ac_compile"
14050 case "(($ac_try" in
14051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14052 *) ac_try_echo=$ac_try;;
14054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14055 (eval "$ac_compile") 2>conftest.er1
14057 grep -v '^
*+' conftest.er1 >conftest.err
14059 cat conftest.err >&5
14060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14061 (exit $ac_status); } &&
14062 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14063 { (case "(($ac_try" in
14064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14065 *) ac_try_echo=$ac_try;;
14067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14068 (eval "$ac_try") 2>&5
14070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14071 (exit $ac_status); }; } &&
14072 { ac_try='test -s conftest.
$ac_objext'
14073 { (case "(($ac_try" in
14074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14075 *) ac_try_echo=$ac_try;;
14077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14078 (eval "$ac_try") 2>&5
14080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14081 (exit $ac_status); }; }; then
14084 echo "$as_me: failed program was:" >&5
14085 sed 's
/^
/| /' conftest.$ac_ext >&5
14087 ac_c_werror_flag=$ac_save_c_werror_flag
14089 cat >conftest.$ac_ext <<_ACEOF
14092 cat confdefs.h >>conftest.$ac_ext
14093 cat >>conftest.$ac_ext <<_ACEOF
14094 /* end confdefs.h. */
14104 rm -f conftest.$ac_objext
14105 if { (ac_try="$ac_compile"
14106 case "(($ac_try" in
14107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14108 *) ac_try_echo=$ac_try;;
14110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14111 (eval "$ac_compile") 2>conftest.er1
14113 grep -v '^
*+' conftest.er1 >conftest.err
14115 cat conftest.err >&5
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); } &&
14118 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14119 { (case "(($ac_try" in
14120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14121 *) ac_try_echo=$ac_try;;
14123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14124 (eval "$ac_try") 2>&5
14126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14127 (exit $ac_status); }; } &&
14128 { ac_try='test -s conftest.
$ac_objext'
14129 { (case "(($ac_try" in
14130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14131 *) ac_try_echo=$ac_try;;
14133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14134 (eval "$ac_try") 2>&5
14136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14137 (exit $ac_status); }; }; then
14138 ac_cv_prog_cc_g=yes
14140 echo "$as_me: failed program was:" >&5
14141 sed 's
/^
/| /' conftest.$ac_ext >&5
14146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14153 ac_c_werror_flag=$ac_save_c_werror_flag
14155 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14156 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14157 if test "$ac_test_CFLAGS" = set; then
14158 CFLAGS=$ac_save_CFLAGS
14159 elif test $ac_cv_prog_cc_g = yes; then
14160 if test "$GCC" = yes; then
14166 if test "$GCC" = yes; then
14178 ac_cpp='$CPP $CPPFLAGS'
14179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14180 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14183 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14184 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14185 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14186 echo $ECHO_N "(cached) $ECHO_C" >&6
14188 cat >conftest.$ac_ext <<_ACEOF
14191 cat confdefs.h >>conftest.$ac_ext
14192 cat >>conftest.$ac_ext <<_ACEOF
14193 /* end confdefs.h. */
14206 rm -f conftest.$ac_objext
14207 if { (ac_try="$ac_compile"
14208 case "(($ac_try" in
14209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14210 *) ac_try_echo=$ac_try;;
14212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14213 (eval "$ac_compile") 2>conftest.er1
14215 grep -v '^
*+' conftest.er1 >conftest.err
14217 cat conftest.err >&5
14218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14219 (exit $ac_status); } &&
14220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14221 { (case "(($ac_try" in
14222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14223 *) ac_try_echo=$ac_try;;
14225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14226 (eval "$ac_try") 2>&5
14228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14229 (exit $ac_status); }; } &&
14230 { ac_try='test -s conftest.
$ac_objext'
14231 { (case "(($ac_try" in
14232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14233 *) ac_try_echo=$ac_try;;
14235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14236 (eval "$ac_try") 2>&5
14238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14239 (exit $ac_status); }; }; then
14240 bakefile_compiler_xlc=yes
14242 echo "$as_me: failed program was:" >&5
14243 sed 's
/^
/| /' conftest.$ac_ext >&5
14245 bakefile_compiler_xlc=no
14248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14249 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14252 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14253 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14255 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14257 ac_cpp='$CPP $CPPFLAGS'
14258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14259 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14267 ac_cpp='$CPP $CPPFLAGS'
14268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14269 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14272 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14273 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14274 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14275 echo $ECHO_N "(cached) $ECHO_C" >&6
14277 cat >conftest.$ac_ext <<_ACEOF
14280 cat confdefs.h >>conftest.$ac_ext
14281 cat >>conftest.$ac_ext <<_ACEOF
14282 /* end confdefs.h. */
14295 rm -f conftest.$ac_objext
14296 if { (ac_try="$ac_compile"
14297 case "(($ac_try" in
14298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14299 *) ac_try_echo=$ac_try;;
14301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14302 (eval "$ac_compile") 2>conftest.er1
14304 grep -v '^
*+' conftest.er1 >conftest.err
14306 cat conftest.err >&5
14307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14308 (exit $ac_status); } &&
14309 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14310 { (case "(($ac_try" in
14311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14312 *) ac_try_echo=$ac_try;;
14314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14315 (eval "$ac_try") 2>&5
14317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14318 (exit $ac_status); }; } &&
14319 { ac_try='test -s conftest.
$ac_objext'
14320 { (case "(($ac_try" in
14321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14322 *) ac_try_echo=$ac_try;;
14324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14325 (eval "$ac_try") 2>&5
14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 (exit $ac_status); }; }; then
14329 bakefile_compiler_mwerks=yes
14331 echo "$as_me: failed program was:" >&5
14332 sed 's
/^
/| /' conftest.$ac_ext >&5
14334 bakefile_compiler_mwerks=no
14337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14338 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14341 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14342 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14344 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14346 ac_cpp='$CPP $CPPFLAGS'
14347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14348 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14353 ac_cpp='$CPP $CPPFLAGS'
14354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14355 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14358 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14359 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14360 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14361 echo $ECHO_N "(cached) $ECHO_C" >&6
14363 cat >conftest.$ac_ext <<_ACEOF
14366 cat confdefs.h >>conftest.$ac_ext
14367 cat >>conftest.$ac_ext <<_ACEOF
14368 /* end confdefs.h. */
14381 rm -f conftest.$ac_objext
14382 if { (ac_try="$ac_compile"
14383 case "(($ac_try" in
14384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14385 *) ac_try_echo=$ac_try;;
14387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14388 (eval "$ac_compile") 2>conftest.er1
14390 grep -v '^
*+' conftest.er1 >conftest.err
14392 cat conftest.err >&5
14393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14394 (exit $ac_status); } &&
14395 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14396 { (case "(($ac_try" in
14397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14398 *) ac_try_echo=$ac_try;;
14400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14401 (eval "$ac_try") 2>&5
14403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14404 (exit $ac_status); }; } &&
14405 { ac_try='test -s conftest.
$ac_objext'
14406 { (case "(($ac_try" in
14407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14408 *) ac_try_echo=$ac_try;;
14410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14411 (eval "$ac_try") 2>&5
14413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14414 (exit $ac_status); }; }; then
14415 bakefile_compiler_xlc=yes
14417 echo "$as_me: failed program was:" >&5
14418 sed 's
/^
/| /' conftest.$ac_ext >&5
14420 bakefile_compiler_xlc=no
14423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14424 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14427 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14428 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14430 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14432 ac_cpp='$CPP $CPPFLAGS'
14433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14434 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14444 ac_cpp='$CPP $CPPFLAGS'
14445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14446 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14449 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14450 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14451 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14452 echo $ECHO_N "(cached) $ECHO_C" >&6
14454 cat >conftest.$ac_ext <<_ACEOF
14457 cat confdefs.h >>conftest.$ac_ext
14458 cat >>conftest.$ac_ext <<_ACEOF
14459 /* end confdefs.h. */
14465 #ifndef _SGI_COMPILER_VERSION
14473 rm -f conftest.$ac_objext
14474 if { (ac_try="$ac_compile"
14475 case "(($ac_try" in
14476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14477 *) ac_try_echo=$ac_try;;
14479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14480 (eval "$ac_compile") 2>conftest.er1
14482 grep -v '^
*+' conftest.er1 >conftest.err
14484 cat conftest.err >&5
14485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486 (exit $ac_status); } &&
14487 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14488 { (case "(($ac_try" in
14489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14490 *) ac_try_echo=$ac_try;;
14492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14493 (eval "$ac_try") 2>&5
14495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14496 (exit $ac_status); }; } &&
14497 { ac_try='test -s conftest.
$ac_objext'
14498 { (case "(($ac_try" in
14499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14500 *) ac_try_echo=$ac_try;;
14502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14503 (eval "$ac_try") 2>&5
14505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14506 (exit $ac_status); }; }; then
14507 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14509 echo "$as_me: failed program was:" >&5
14510 sed 's
/^
/| /' conftest.$ac_ext >&5
14512 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14520 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14521 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14522 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14528 ac_cpp='$CPP $CPPFLAGS'
14529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14530 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14541 ac_cpp='$CPP $CPPFLAGS'
14542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14543 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14546 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14547 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14548 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14549 echo $ECHO_N "(cached) $ECHO_C" >&6
14551 cat >conftest.$ac_ext <<_ACEOF
14554 cat confdefs.h >>conftest.$ac_ext
14555 cat >>conftest.$ac_ext <<_ACEOF
14556 /* end confdefs.h. */
14570 rm -f conftest.$ac_objext
14571 if { (ac_try="$ac_compile"
14572 case "(($ac_try" in
14573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14574 *) ac_try_echo=$ac_try;;
14576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14577 (eval "$ac_compile") 2>conftest.er1
14579 grep -v '^
*+' conftest.er1 >conftest.err
14581 cat conftest.err >&5
14582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14583 (exit $ac_status); } &&
14584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14585 { (case "(($ac_try" in
14586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14587 *) ac_try_echo=$ac_try;;
14589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14590 (eval "$ac_try") 2>&5
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); }; } &&
14594 { ac_try='test -s conftest.
$ac_objext'
14595 { (case "(($ac_try" in
14596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14597 *) ac_try_echo=$ac_try;;
14599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14600 (eval "$ac_try") 2>&5
14602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603 (exit $ac_status); }; }; then
14604 bakefile_cv_c_compiler___HP_cc=yes
14606 echo "$as_me: failed program was:" >&5
14607 sed 's
/^
/| /' conftest.$ac_ext >&5
14609 bakefile_cv_c_compiler___HP_cc=no
14613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14617 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14618 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14619 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14625 ac_cpp='$CPP $CPPFLAGS'
14626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14627 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14638 ac_cpp='$CPP $CPPFLAGS'
14639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14640 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14643 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14644 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14645 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14646 echo $ECHO_N "(cached) $ECHO_C" >&6
14648 cat >conftest.$ac_ext <<_ACEOF
14651 cat confdefs.h >>conftest.$ac_ext
14652 cat >>conftest.$ac_ext <<_ACEOF
14653 /* end confdefs.h. */
14667 rm -f conftest.$ac_objext
14668 if { (ac_try="$ac_compile"
14669 case "(($ac_try" in
14670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14671 *) ac_try_echo=$ac_try;;
14673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14674 (eval "$ac_compile") 2>conftest.er1
14676 grep -v '^
*+' conftest.er1 >conftest.err
14678 cat conftest.err >&5
14679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14680 (exit $ac_status); } &&
14681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14682 { (case "(($ac_try" in
14683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14684 *) ac_try_echo=$ac_try;;
14686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14687 (eval "$ac_try") 2>&5
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); }; } &&
14691 { ac_try='test -s conftest.
$ac_objext'
14692 { (case "(($ac_try" in
14693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14694 *) ac_try_echo=$ac_try;;
14696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14697 (eval "$ac_try") 2>&5
14699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14700 (exit $ac_status); }; }; then
14701 bakefile_cv_c_compiler___DECC=yes
14703 echo "$as_me: failed program was:" >&5
14704 sed 's
/^
/| /' conftest.$ac_ext >&5
14706 bakefile_cv_c_compiler___DECC=no
14710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14714 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14715 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14716 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14722 ac_cpp='$CPP $CPPFLAGS'
14723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14724 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14735 ac_cpp='$CPP $CPPFLAGS'
14736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14737 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14740 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14741 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14742 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14743 echo $ECHO_N "(cached) $ECHO_C" >&6
14745 cat >conftest.$ac_ext <<_ACEOF
14748 cat confdefs.h >>conftest.$ac_ext
14749 cat >>conftest.$ac_ext <<_ACEOF
14750 /* end confdefs.h. */
14764 rm -f conftest.$ac_objext
14765 if { (ac_try="$ac_compile"
14766 case "(($ac_try" in
14767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14768 *) ac_try_echo=$ac_try;;
14770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14771 (eval "$ac_compile") 2>conftest.er1
14773 grep -v '^
*+' conftest.er1 >conftest.err
14775 cat conftest.err >&5
14776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14777 (exit $ac_status); } &&
14778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14779 { (case "(($ac_try" in
14780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14781 *) ac_try_echo=$ac_try;;
14783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14784 (eval "$ac_try") 2>&5
14786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14787 (exit $ac_status); }; } &&
14788 { ac_try='test -s conftest.
$ac_objext'
14789 { (case "(($ac_try" in
14790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14791 *) ac_try_echo=$ac_try;;
14793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14794 (eval "$ac_try") 2>&5
14796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14797 (exit $ac_status); }; }; then
14798 bakefile_cv_c_compiler___SUNPRO_C=yes
14800 echo "$as_me: failed program was:" >&5
14801 sed 's
/^
/| /' conftest.$ac_ext >&5
14803 bakefile_cv_c_compiler___SUNPRO_C=no
14807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14811 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14812 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14813 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14819 ac_cpp='$CPP $CPPFLAGS'
14820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14821 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14833 ac_cpp='$CPP $CPPFLAGS'
14834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14835 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14837 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14838 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14839 # On Suns, sometimes $CPP names a directory.
14840 if test -n "$CPP" && test -d "$CPP"; then
14843 if test -z "$CPP"; then
14844 if test "${ac_cv_prog_CPP+set}" = set; then
14845 echo $ECHO_N "(cached) $ECHO_C" >&6
14847 # Double quotes because CPP needs to be expanded
14848 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14850 ac_preproc_ok=false
14851 for ac_c_preproc_warn_flag in '' yes
14853 # Use a header file that comes with gcc, so configuring glibc
14854 # with a fresh cross-compiler works.
14855 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14856 # <limits.h> exists even on freestanding compilers.
14857 # On the NeXT, cc -E runs the code through the compiler's parser
,
14858 # not just through cpp. "Syntax error" is here to catch this case.
14859 cat >conftest.
$ac_ext <<_ACEOF
14862 cat confdefs.h
>>conftest.
$ac_ext
14863 cat >>conftest.
$ac_ext <<_ACEOF
14864 /* end confdefs.h. */
14866 # include <limits.h>
14868 # include <assert.h>
14872 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14873 case "(($ac_try" in
14874 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14875 *) ac_try_echo=$ac_try;;
14877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14878 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14880 grep -v '^ *+' conftest.er1 >conftest.err
14882 cat conftest.err >&5
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 (exit $ac_status); } >/dev/null; then
14885 if test -s conftest.err; then
14886 ac_cpp_err=$ac_c_preproc_warn_flag
14887 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14894 if test -z "$ac_cpp_err"; then
14897 echo "$as_me: failed program was:" >&5
14898 sed 's/^/| /' conftest.$ac_ext >&5
14900 # Broken: fails on valid input.
14904 rm -f conftest.err conftest.$ac_ext
14906 # OK, works on sane cases. Now check whether nonexistent headers
14907 # can be detected and how.
14908 cat >conftest.$ac_ext <<_ACEOF
14911 cat confdefs.h >>conftest.$ac_ext
14912 cat >>conftest.$ac_ext <<_ACEOF
14913 /* end confdefs.h. */
14914 #include <ac_nonexistent.h>
14916 if { (ac_try="$ac_cpp conftest.$ac_ext"
14917 case "(($ac_try" in
14918 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14919 *) ac_try_echo
=$ac_try;;
14921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14922 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14924 grep -v '^ *+' conftest.er1
>conftest.err
14926 cat conftest.err
>&5
14927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14928 (exit $ac_status); } >/dev
/null
; then
14929 if test -s conftest.err
; then
14930 ac_cpp_err
=$ac_c_preproc_warn_flag
14931 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14938 if test -z "$ac_cpp_err"; then
14939 # Broken: success on invalid input.
14942 echo "$as_me: failed program was:" >&5
14943 sed 's/^/| /' conftest.
$ac_ext >&5
14945 # Passes both tests.
14950 rm -f conftest.err conftest.
$ac_ext
14953 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14954 rm -f conftest.err conftest.
$ac_ext
14955 if $ac_preproc_ok; then
14960 ac_cv_prog_CPP
=$CPP
14963 CPP
=$ac_cv_prog_CPP
14965 ac_cv_prog_CPP
=$CPP
14967 { echo "$as_me:$LINENO: result: $CPP" >&5
14968 echo "${ECHO_T}$CPP" >&6; }
14969 ac_preproc_ok
=false
14970 for ac_c_preproc_warn_flag
in '' yes
14972 # Use a header file that comes with gcc, so configuring glibc
14973 # with a fresh cross-compiler works.
14974 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14975 # <limits.h> exists even on freestanding compilers.
14976 # On the NeXT, cc -E runs the code through the compiler's parser,
14977 # not just through cpp. "Syntax error" is here to catch this case.
14978 cat >conftest.
$ac_ext <<_ACEOF
14981 cat confdefs.h
>>conftest.
$ac_ext
14982 cat >>conftest.
$ac_ext <<_ACEOF
14983 /* end confdefs.h. */
14985 # include <limits.h>
14987 # include <assert.h>
14991 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14992 case "(($ac_try" in
14993 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14994 *) ac_try_echo=$ac_try;;
14996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14997 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14999 grep -v '^ *+' conftest.er1 >conftest.err
15001 cat conftest.err >&5
15002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15003 (exit $ac_status); } >/dev/null; then
15004 if test -s conftest.err; then
15005 ac_cpp_err=$ac_c_preproc_warn_flag
15006 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15013 if test -z "$ac_cpp_err"; then
15016 echo "$as_me: failed program was:" >&5
15017 sed 's/^/| /' conftest.$ac_ext >&5
15019 # Broken: fails on valid input.
15023 rm -f conftest.err conftest.$ac_ext
15025 # OK, works on sane cases. Now check whether nonexistent headers
15026 # can be detected and how.
15027 cat >conftest.$ac_ext <<_ACEOF
15030 cat confdefs.h >>conftest.$ac_ext
15031 cat >>conftest.$ac_ext <<_ACEOF
15032 /* end confdefs.h. */
15033 #include <ac_nonexistent.h>
15035 if { (ac_try="$ac_cpp conftest.$ac_ext"
15036 case "(($ac_try" in
15037 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15038 *) ac_try_echo
=$ac_try;;
15040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15041 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15043 grep -v '^ *+' conftest.er1
>conftest.err
15045 cat conftest.err
>&5
15046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15047 (exit $ac_status); } >/dev
/null
; then
15048 if test -s conftest.err
; then
15049 ac_cpp_err
=$ac_c_preproc_warn_flag
15050 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15057 if test -z "$ac_cpp_err"; then
15058 # Broken: success on invalid input.
15061 echo "$as_me: failed program was:" >&5
15062 sed 's/^/| /' conftest.
$ac_ext >&5
15064 # Passes both tests.
15069 rm -f conftest.err conftest.
$ac_ext
15072 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15073 rm -f conftest.err conftest.
$ac_ext
15074 if $ac_preproc_ok; then
15077 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15078 See \`config.log' for more details." >&5
15079 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15080 See \`config.log' for more details." >&2;}
15081 { (exit 1); exit 1; }; }
15085 ac_cpp
='$CPP $CPPFLAGS'
15086 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15087 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15088 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15091 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15092 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15093 if test "${ac_cv_path_GREP+set}" = set; then
15094 echo $ECHO_N "(cached) $ECHO_C" >&6
15096 # Extract the first word of "grep ggrep" to use in msg output
15097 if test -z "$GREP"; then
15098 set dummy
grep ggrep
; ac_prog_name
=$2
15099 if test "${ac_cv_path_GREP+set}" = set; then
15100 echo $ECHO_N "(cached) $ECHO_C" >&6
15102 ac_path_GREP_found
=false
15103 # Loop through the user's path and test for each of PROGNAME-LIST
15104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15105 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
15108 test -z "$as_dir" && as_dir
=.
15109 for ac_prog
in grep ggrep
; do
15110 for ac_exec_ext
in '' $ac_executable_extensions; do
15111 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
15112 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
15113 # Check for GNU ac_path_GREP and select it if it is found.
15114 # Check for GNU $ac_path_GREP
15115 case `"$ac_path_GREP" --version 2>&1` in
15117 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
15120 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15123 cat "conftest.in" "conftest.in" >"conftest.tmp"
15124 mv "conftest.tmp" "conftest.in"
15125 cp "conftest.in" "conftest.nl"
15126 echo 'GREP' >> "conftest.nl"
15127 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
15128 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
15129 ac_count
=`expr $ac_count + 1`
15130 if test $ac_count -gt ${ac_path_GREP_max-0}; then
15131 # Best one so far, save it but keep looking for a better one
15132 ac_cv_path_GREP
="$ac_path_GREP"
15133 ac_path_GREP_max
=$ac_count
15135 # 10*(2^10) chars as input seems more than enough
15136 test $ac_count -gt 10 && break
15138 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
15142 $ac_path_GREP_found && break 3
15152 GREP
="$ac_cv_path_GREP"
15153 if test -z "$GREP"; then
15154 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15155 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15156 { (exit 1); exit 1; }; }
15160 ac_cv_path_GREP
=$GREP
15165 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
15166 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
15167 GREP
="$ac_cv_path_GREP"
15170 { echo "$as_me:$LINENO: checking for egrep" >&5
15171 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
15172 if test "${ac_cv_path_EGREP+set}" = set; then
15173 echo $ECHO_N "(cached) $ECHO_C" >&6
15175 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
15176 then ac_cv_path_EGREP
="$GREP -E"
15178 # Extract the first word of "egrep" to use in msg output
15179 if test -z "$EGREP"; then
15180 set dummy
egrep; ac_prog_name
=$2
15181 if test "${ac_cv_path_EGREP+set}" = set; then
15182 echo $ECHO_N "(cached) $ECHO_C" >&6
15184 ac_path_EGREP_found
=false
15185 # Loop through the user's path and test for each of PROGNAME-LIST
15186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15187 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
15190 test -z "$as_dir" && as_dir
=.
15191 for ac_prog
in egrep; do
15192 for ac_exec_ext
in '' $ac_executable_extensions; do
15193 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
15194 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
15195 # Check for GNU ac_path_EGREP and select it if it is found.
15196 # Check for GNU $ac_path_EGREP
15197 case `"$ac_path_EGREP" --version 2>&1` in
15199 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
15202 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15205 cat "conftest.in" "conftest.in" >"conftest.tmp"
15206 mv "conftest.tmp" "conftest.in"
15207 cp "conftest.in" "conftest.nl"
15208 echo 'EGREP' >> "conftest.nl"
15209 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
15210 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
15211 ac_count
=`expr $ac_count + 1`
15212 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
15213 # Best one so far, save it but keep looking for a better one
15214 ac_cv_path_EGREP
="$ac_path_EGREP"
15215 ac_path_EGREP_max
=$ac_count
15217 # 10*(2^10) chars as input seems more than enough
15218 test $ac_count -gt 10 && break
15220 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
15224 $ac_path_EGREP_found && break 3
15234 EGREP
="$ac_cv_path_EGREP"
15235 if test -z "$EGREP"; then
15236 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15237 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15238 { (exit 1); exit 1; }; }
15242 ac_cv_path_EGREP
=$EGREP
15248 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
15249 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
15250 EGREP
="$ac_cv_path_EGREP"
15253 if test $ac_cv_c_compiler_gnu = yes; then
15254 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
15255 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
15256 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
15257 echo $ECHO_N "(cached) $ECHO_C" >&6
15259 ac_pattern
="Autoconf.*'x'"
15260 cat >conftest.
$ac_ext <<_ACEOF
15263 cat confdefs.h
>>conftest.
$ac_ext
15264 cat >>conftest.
$ac_ext <<_ACEOF
15265 /* end confdefs.h. */
15269 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15270 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
15271 ac_cv_prog_gcc_traditional
=yes
15273 ac_cv_prog_gcc_traditional
=no
15278 if test $ac_cv_prog_gcc_traditional = no
; then
15279 cat >conftest.
$ac_ext <<_ACEOF
15282 cat confdefs.h
>>conftest.
$ac_ext
15283 cat >>conftest.
$ac_ext <<_ACEOF
15284 /* end confdefs.h. */
15285 #include <termio.h>
15288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15289 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
15290 ac_cv_prog_gcc_traditional
=yes
15296 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
15297 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
15298 if test $ac_cv_prog_gcc_traditional = yes; then
15299 CC
="$CC -traditional"
15304 CXXFLAGS
=${CXXFLAGS:=}
15309 ac_cpp
='$CXXCPP $CPPFLAGS'
15310 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15311 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15312 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15313 if test -z "$CXX"; then
15314 if test -n "$CCC"; then
15317 if test -n "$ac_tool_prefix"; then
15318 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
15320 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15321 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
15322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15324 if test "${ac_cv_prog_CXX+set}" = set; then
15325 echo $ECHO_N "(cached) $ECHO_C" >&6
15327 if test -n "$CXX"; then
15328 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
15330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15331 for as_dir
in $PATH
15334 test -z "$as_dir" && as_dir
=.
15335 for ac_exec_ext
in '' $ac_executable_extensions; do
15336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15337 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
15338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15347 CXX
=$ac_cv_prog_CXX
15348 if test -n "$CXX"; then
15349 { echo "$as_me:$LINENO: result: $CXX" >&5
15350 echo "${ECHO_T}$CXX" >&6; }
15352 { echo "$as_me:$LINENO: result: no" >&5
15353 echo "${ECHO_T}no" >&6; }
15357 test -n "$CXX" && break
15360 if test -z "$CXX"; then
15362 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
15364 # Extract the first word of "$ac_prog", so it can be a program name with args.
15365 set dummy
$ac_prog; ac_word
=$2
15366 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15368 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15369 echo $ECHO_N "(cached) $ECHO_C" >&6
15371 if test -n "$ac_ct_CXX"; then
15372 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
15374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15375 for as_dir
in $PATH
15378 test -z "$as_dir" && as_dir
=.
15379 for ac_exec_ext
in '' $ac_executable_extensions; do
15380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15381 ac_cv_prog_ac_ct_CXX
="$ac_prog"
15382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15391 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
15392 if test -n "$ac_ct_CXX"; then
15393 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15394 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15396 { echo "$as_me:$LINENO: result: no" >&5
15397 echo "${ECHO_T}no" >&6; }
15401 test -n "$ac_ct_CXX" && break
15404 if test "x$ac_ct_CXX" = x
; then
15407 case $cross_compiling:$ac_tool_warned in
15409 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15410 whose name does not start with the host triplet. If you think this
15411 configuration is useful to you, please write to autoconf@gnu.org." >&5
15412 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15413 whose name does not start with the host triplet. If you think this
15414 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15415 ac_tool_warned
=yes ;;
15423 # Provide some information about the compiler.
15424 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15425 ac_compiler
=`set X $ac_compile; echo $2`
15426 { (ac_try
="$ac_compiler --version >&5"
15427 case "(($ac_try" in
15428 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15429 *) ac_try_echo=$ac_try;;
15431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15432 (eval "$ac_compiler --version >&5") 2>&5
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); }
15436 { (ac_try="$ac_compiler -v >&5"
15437 case "(($ac_try" in
15438 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15439 *) ac_try_echo
=$ac_try;;
15441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15442 (eval "$ac_compiler -v >&5") 2>&5
15444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445 (exit $ac_status); }
15446 { (ac_try
="$ac_compiler -V >&5"
15447 case "(($ac_try" in
15448 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15449 *) ac_try_echo=$ac_try;;
15451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15452 (eval "$ac_compiler -V >&5") 2>&5
15454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455 (exit $ac_status); }
15457 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15458 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15459 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15460 echo $ECHO_N "(cached) $ECHO_C" >&6
15462 cat >conftest.$ac_ext <<_ACEOF
15465 cat confdefs.h >>conftest.$ac_ext
15466 cat >>conftest.$ac_ext <<_ACEOF
15467 /* end confdefs.h. */
15480 rm -f conftest.$ac_objext
15481 if { (ac_try="$ac_compile"
15482 case "(($ac_try" in
15483 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15484 *) ac_try_echo
=$ac_try;;
15486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15487 (eval "$ac_compile") 2>conftest.er1
15489 grep -v '^ *+' conftest.er1
>conftest.err
15491 cat conftest.err
>&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); } &&
15494 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15495 { (case "(($ac_try" in
15496 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15497 *) ac_try_echo=$ac_try;;
15499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15500 (eval "$ac_try") 2>&5
15502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503 (exit $ac_status); }; } &&
15504 { ac_try='test -s conftest.$ac_objext'
15505 { (case "(($ac_try" in
15506 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15507 *) ac_try_echo
=$ac_try;;
15509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15510 (eval "$ac_try") 2>&5
15512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15513 (exit $ac_status); }; }; then
15514 ac_compiler_gnu
=yes
15516 echo "$as_me: failed program was:" >&5
15517 sed 's/^/| /' conftest.
$ac_ext >&5
15522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15523 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
15526 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15527 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15528 GXX
=`test $ac_compiler_gnu = yes && echo yes`
15529 ac_test_CXXFLAGS
=${CXXFLAGS+set}
15530 ac_save_CXXFLAGS
=$CXXFLAGS
15531 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15532 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15533 if test "${ac_cv_prog_cxx_g+set}" = set; then
15534 echo $ECHO_N "(cached) $ECHO_C" >&6
15536 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
15537 ac_cxx_werror_flag
=yes
15538 ac_cv_prog_cxx_g
=no
15540 cat >conftest.
$ac_ext <<_ACEOF
15543 cat confdefs.h
>>conftest.
$ac_ext
15544 cat >>conftest.
$ac_ext <<_ACEOF
15545 /* end confdefs.h. */
15555 rm -f conftest.
$ac_objext
15556 if { (ac_try
="$ac_compile"
15557 case "(($ac_try" in
15558 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15559 *) ac_try_echo=$ac_try;;
15561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15562 (eval "$ac_compile") 2>conftest.er1
15564 grep -v '^ *+' conftest.er1 >conftest.err
15566 cat conftest.err >&5
15567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15568 (exit $ac_status); } &&
15569 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
15577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15578 (exit $ac_status); }; } &&
15579 { ac_try
='test -s conftest.$ac_objext'
15580 { (case "(($ac_try" in
15581 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15582 *) ac_try_echo=$ac_try;;
15584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15585 (eval "$ac_try") 2>&5
15587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15588 (exit $ac_status); }; }; then
15589 ac_cv_prog_cxx_g=yes
15591 echo "$as_me: failed program was:" >&5
15592 sed 's/^/| /' conftest.$ac_ext >&5
15595 cat >conftest.$ac_ext <<_ACEOF
15598 cat confdefs.h >>conftest.$ac_ext
15599 cat >>conftest.$ac_ext <<_ACEOF
15600 /* end confdefs.h. */
15610 rm -f conftest.$ac_objext
15611 if { (ac_try="$ac_compile"
15612 case "(($ac_try" in
15613 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15614 *) ac_try_echo
=$ac_try;;
15616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15617 (eval "$ac_compile") 2>conftest.er1
15619 grep -v '^ *+' conftest.er1
>conftest.err
15621 cat conftest.err
>&5
15622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15623 (exit $ac_status); } &&
15624 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15625 { (case "(($ac_try" in
15626 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15627 *) ac_try_echo=$ac_try;;
15629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15630 (eval "$ac_try") 2>&5
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); }; } &&
15634 { ac_try='test -s conftest.$ac_objext'
15635 { (case "(($ac_try" in
15636 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15637 *) ac_try_echo
=$ac_try;;
15639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15640 (eval "$ac_try") 2>&5
15642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15643 (exit $ac_status); }; }; then
15646 echo "$as_me: failed program was:" >&5
15647 sed 's/^/| /' conftest.
$ac_ext >&5
15649 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
15651 cat >conftest.
$ac_ext <<_ACEOF
15654 cat confdefs.h
>>conftest.
$ac_ext
15655 cat >>conftest.
$ac_ext <<_ACEOF
15656 /* end confdefs.h. */
15666 rm -f conftest.
$ac_objext
15667 if { (ac_try
="$ac_compile"
15668 case "(($ac_try" in
15669 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15670 *) ac_try_echo=$ac_try;;
15672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15673 (eval "$ac_compile") 2>conftest.er1
15675 grep -v '^ *+' conftest.er1 >conftest.err
15677 cat conftest.err >&5
15678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15679 (exit $ac_status); } &&
15680 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15681 { (case "(($ac_try" in
15682 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15683 *) ac_try_echo
=$ac_try;;
15685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15686 (eval "$ac_try") 2>&5
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689 (exit $ac_status); }; } &&
15690 { ac_try
='test -s conftest.$ac_objext'
15691 { (case "(($ac_try" in
15692 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15693 *) ac_try_echo=$ac_try;;
15695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15696 (eval "$ac_try") 2>&5
15698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15699 (exit $ac_status); }; }; then
15700 ac_cv_prog_cxx_g=yes
15702 echo "$as_me: failed program was:" >&5
15703 sed 's/^/| /' conftest.$ac_ext >&5
15708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15715 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15717 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15718 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15719 if test "$ac_test_CXXFLAGS" = set; then
15720 CXXFLAGS=$ac_save_CXXFLAGS
15721 elif test $ac_cv_prog_cxx_g = yes; then
15722 if test "$GXX" = yes; then
15728 if test "$GXX" = yes; then
15735 ac_cpp='$CPP $CPPFLAGS'
15736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15743 ac_cpp='$CXXCPP $CPPFLAGS'
15744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15748 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15749 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15750 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15751 echo $ECHO_N "(cached) $ECHO_C" >&6
15753 cat >conftest.$ac_ext <<_ACEOF
15756 cat confdefs.h >>conftest.$ac_ext
15757 cat >>conftest.$ac_ext <<_ACEOF
15758 /* end confdefs.h. */
15764 #ifndef __INTEL_COMPILER
15772 rm -f conftest.$ac_objext
15773 if { (ac_try="$ac_compile"
15774 case "(($ac_try" in
15775 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15776 *) ac_try_echo
=$ac_try;;
15778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15779 (eval "$ac_compile") 2>conftest.er1
15781 grep -v '^ *+' conftest.er1
>conftest.err
15783 cat conftest.err
>&5
15784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15785 (exit $ac_status); } &&
15786 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15787 { (case "(($ac_try" in
15788 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15789 *) ac_try_echo=$ac_try;;
15791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15792 (eval "$ac_try") 2>&5
15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795 (exit $ac_status); }; } &&
15796 { ac_try='test -s conftest.$ac_objext'
15797 { (case "(($ac_try" in
15798 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15799 *) ac_try_echo
=$ac_try;;
15801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15802 (eval "$ac_try") 2>&5
15804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15805 (exit $ac_status); }; }; then
15806 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
15808 echo "$as_me: failed program was:" >&5
15809 sed 's/^/| /' conftest.
$ac_ext >&5
15811 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
15815 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15819 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15820 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15821 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
15827 ac_cpp
='$CPP $CPPFLAGS'
15828 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15829 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15830 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15834 if test "x$GCXX" != "xyes"; then
15835 if test "xCXX" = "xC"; then
15836 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15837 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15838 if test "${bakefile_cv_c_exto+set}" = set; then
15839 echo $ECHO_N "(cached) $ECHO_C" >&6
15841 cat >conftest.
$ac_ext <<_ACEOF
15844 cat confdefs.h
>>conftest.
$ac_ext
15845 cat >>conftest.
$ac_ext <<_ACEOF
15846 /* end confdefs.h. */
15856 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
15857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15858 (eval $ac_compile) 2>&5
15860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15861 (exit $ac_status); }; then
15862 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
15864 conftest.
$ac_ext.o
)
15865 bakefile_cv_c_exto
="-ext o"
15872 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15873 See \`config.log' for more details." >&5
15874 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15875 See \`config.log' for more details." >&2;}
15876 { (exit 1); exit 1; }; }
15880 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
15883 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15884 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15885 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15886 if test "c" = "c"; then
15887 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
15889 if test "c" = "cxx"; then
15890 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
15894 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15895 unset ac_cv_prog_cc_g
15896 ac_test_CFLAGS
=${CFLAGS+set}
15897 ac_save_CFLAGS
=$CFLAGS
15898 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15899 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15900 if test "${ac_cv_prog_cc_g+set}" = set; then
15901 echo $ECHO_N "(cached) $ECHO_C" >&6
15903 ac_save_c_werror_flag
=$ac_c_werror_flag
15904 ac_c_werror_flag
=yes
15907 cat >conftest.
$ac_ext <<_ACEOF
15910 cat confdefs.h
>>conftest.
$ac_ext
15911 cat >>conftest.
$ac_ext <<_ACEOF
15912 /* end confdefs.h. */
15922 rm -f conftest.
$ac_objext
15923 if { (ac_try
="$ac_compile"
15924 case "(($ac_try" in
15925 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15926 *) ac_try_echo=$ac_try;;
15928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15929 (eval "$ac_compile") 2>conftest.er1
15931 grep -v '^ *+' conftest.er1 >conftest.err
15933 cat conftest.err >&5
15934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15935 (exit $ac_status); } &&
15936 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); }; } &&
15946 { ac_try
='test -s conftest.$ac_objext'
15947 { (case "(($ac_try" in
15948 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15949 *) ac_try_echo=$ac_try;;
15951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15952 (eval "$ac_try") 2>&5
15954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955 (exit $ac_status); }; }; then
15956 ac_cv_prog_cc_g=yes
15958 echo "$as_me: failed program was:" >&5
15959 sed 's/^/| /' conftest.$ac_ext >&5
15962 cat >conftest.$ac_ext <<_ACEOF
15965 cat confdefs.h >>conftest.$ac_ext
15966 cat >>conftest.$ac_ext <<_ACEOF
15967 /* end confdefs.h. */
15977 rm -f conftest.$ac_objext
15978 if { (ac_try="$ac_compile"
15979 case "(($ac_try" in
15980 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15981 *) ac_try_echo
=$ac_try;;
15983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15984 (eval "$ac_compile") 2>conftest.er1
15986 grep -v '^ *+' conftest.er1
>conftest.err
15988 cat conftest.err
>&5
15989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15990 (exit $ac_status); } &&
15991 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15992 { (case "(($ac_try" in
15993 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15994 *) ac_try_echo=$ac_try;;
15996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15997 (eval "$ac_try") 2>&5
15999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16000 (exit $ac_status); }; } &&
16001 { ac_try='test -s conftest.$ac_objext'
16002 { (case "(($ac_try" in
16003 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16004 *) ac_try_echo
=$ac_try;;
16006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16007 (eval "$ac_try") 2>&5
16009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16010 (exit $ac_status); }; }; then
16013 echo "$as_me: failed program was:" >&5
16014 sed 's/^/| /' conftest.
$ac_ext >&5
16016 ac_c_werror_flag
=$ac_save_c_werror_flag
16018 cat >conftest.
$ac_ext <<_ACEOF
16021 cat confdefs.h
>>conftest.
$ac_ext
16022 cat >>conftest.
$ac_ext <<_ACEOF
16023 /* end confdefs.h. */
16033 rm -f conftest.
$ac_objext
16034 if { (ac_try
="$ac_compile"
16035 case "(($ac_try" in
16036 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16037 *) ac_try_echo=$ac_try;;
16039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16040 (eval "$ac_compile") 2>conftest.er1
16042 grep -v '^ *+' conftest.er1 >conftest.err
16044 cat conftest.err >&5
16045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16046 (exit $ac_status); } &&
16047 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16048 { (case "(($ac_try" in
16049 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16050 *) ac_try_echo
=$ac_try;;
16052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16053 (eval "$ac_try") 2>&5
16055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16056 (exit $ac_status); }; } &&
16057 { ac_try
='test -s conftest.$ac_objext'
16058 { (case "(($ac_try" in
16059 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16060 *) ac_try_echo=$ac_try;;
16062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16063 (eval "$ac_try") 2>&5
16065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16066 (exit $ac_status); }; }; then
16067 ac_cv_prog_cc_g=yes
16069 echo "$as_me: failed program was:" >&5
16070 sed 's/^/| /' conftest.$ac_ext >&5
16075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16082 ac_c_werror_flag=$ac_save_c_werror_flag
16084 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16085 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16086 if test "$ac_test_CFLAGS" = set; then
16087 CFLAGS=$ac_save_CFLAGS
16088 elif test $ac_cv_prog_cc_g = yes; then
16089 if test "$GCC" = yes; then
16095 if test "$GCC" = yes; then
16107 ac_cpp='$CXXCPP $CPPFLAGS'
16108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16112 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16113 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16114 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
16115 echo $ECHO_N "(cached) $ECHO_C" >&6
16117 cat >conftest.$ac_ext <<_ACEOF
16120 cat confdefs.h >>conftest.$ac_ext
16121 cat >>conftest.$ac_ext <<_ACEOF
16122 /* end confdefs.h. */
16135 rm -f conftest.$ac_objext
16136 if { (ac_try="$ac_compile"
16137 case "(($ac_try" in
16138 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16139 *) ac_try_echo
=$ac_try;;
16141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16142 (eval "$ac_compile") 2>conftest.er1
16144 grep -v '^ *+' conftest.er1
>conftest.err
16146 cat conftest.err
>&5
16147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16148 (exit $ac_status); } &&
16149 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16150 { (case "(($ac_try" in
16151 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16152 *) ac_try_echo=$ac_try;;
16154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16155 (eval "$ac_try") 2>&5
16157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16158 (exit $ac_status); }; } &&
16159 { ac_try='test -s conftest.$ac_objext'
16160 { (case "(($ac_try" in
16161 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16162 *) ac_try_echo
=$ac_try;;
16164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16165 (eval "$ac_try") 2>&5
16167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16168 (exit $ac_status); }; }; then
16169 bakefile_compiler_xlc
=yes
16171 echo "$as_me: failed program was:" >&5
16172 sed 's/^/| /' conftest.
$ac_ext >&5
16174 bakefile_compiler_xlc
=no
16177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16178 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
16181 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
16182 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
16184 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
16186 ac_cpp
='$CPP $CPPFLAGS'
16187 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16188 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16189 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16196 ac_cpp
='$CXXCPP $CPPFLAGS'
16197 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16198 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16199 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16201 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16202 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16203 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
16204 echo $ECHO_N "(cached) $ECHO_C" >&6
16206 cat >conftest.
$ac_ext <<_ACEOF
16209 cat confdefs.h
>>conftest.
$ac_ext
16210 cat >>conftest.
$ac_ext <<_ACEOF
16211 /* end confdefs.h. */
16224 rm -f conftest.
$ac_objext
16225 if { (ac_try
="$ac_compile"
16226 case "(($ac_try" in
16227 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16228 *) ac_try_echo=$ac_try;;
16230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16231 (eval "$ac_compile") 2>conftest.er1
16233 grep -v '^ *+' conftest.er1 >conftest.err
16235 cat conftest.err >&5
16236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16237 (exit $ac_status); } &&
16238 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16239 { (case "(($ac_try" in
16240 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16241 *) ac_try_echo
=$ac_try;;
16243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16244 (eval "$ac_try") 2>&5
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); }; } &&
16248 { ac_try
='test -s conftest.$ac_objext'
16249 { (case "(($ac_try" in
16250 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16251 *) ac_try_echo=$ac_try;;
16253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16254 (eval "$ac_try") 2>&5
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); }; }; then
16258 bakefile_compiler_mwerks=yes
16260 echo "$as_me: failed program was:" >&5
16261 sed 's/^/| /' conftest.$ac_ext >&5
16263 bakefile_compiler_mwerks=no
16266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16267 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
16270 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
16271 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
16273 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
16275 ac_cpp='$CPP $CPPFLAGS'
16276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16282 ac_cpp='$CXXCPP $CPPFLAGS'
16283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16287 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16288 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16289 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
16290 echo $ECHO_N "(cached) $ECHO_C" >&6
16292 cat >conftest.$ac_ext <<_ACEOF
16295 cat confdefs.h >>conftest.$ac_ext
16296 cat >>conftest.$ac_ext <<_ACEOF
16297 /* end confdefs.h. */
16310 rm -f conftest.$ac_objext
16311 if { (ac_try="$ac_compile"
16312 case "(($ac_try" in
16313 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16314 *) ac_try_echo
=$ac_try;;
16316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16317 (eval "$ac_compile") 2>conftest.er1
16319 grep -v '^ *+' conftest.er1
>conftest.err
16321 cat conftest.err
>&5
16322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16323 (exit $ac_status); } &&
16324 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16325 { (case "(($ac_try" in
16326 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16327 *) ac_try_echo=$ac_try;;
16329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16330 (eval "$ac_try") 2>&5
16332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16333 (exit $ac_status); }; } &&
16334 { ac_try='test -s conftest.$ac_objext'
16335 { (case "(($ac_try" in
16336 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16337 *) ac_try_echo
=$ac_try;;
16339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16340 (eval "$ac_try") 2>&5
16342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343 (exit $ac_status); }; }; then
16344 bakefile_compiler_xlc
=yes
16346 echo "$as_me: failed program was:" >&5
16347 sed 's/^/| /' conftest.
$ac_ext >&5
16349 bakefile_compiler_xlc
=no
16352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16353 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
16356 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
16357 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
16359 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
16361 ac_cpp
='$CPP $CPPFLAGS'
16362 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16363 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16364 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16373 ac_cpp
='$CXXCPP $CPPFLAGS'
16374 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16375 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16376 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16378 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
16379 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
16380 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
16381 echo $ECHO_N "(cached) $ECHO_C" >&6
16383 cat >conftest.
$ac_ext <<_ACEOF
16386 cat confdefs.h
>>conftest.
$ac_ext
16387 cat >>conftest.
$ac_ext <<_ACEOF
16388 /* end confdefs.h. */
16394 #ifndef _SGI_COMPILER_VERSION
16402 rm -f conftest.
$ac_objext
16403 if { (ac_try
="$ac_compile"
16404 case "(($ac_try" in
16405 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16406 *) ac_try_echo=$ac_try;;
16408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16409 (eval "$ac_compile") 2>conftest.er1
16411 grep -v '^ *+' conftest.er1 >conftest.err
16413 cat conftest.err >&5
16414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16415 (exit $ac_status); } &&
16416 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16417 { (case "(($ac_try" in
16418 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16419 *) ac_try_echo
=$ac_try;;
16421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16422 (eval "$ac_try") 2>&5
16424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16425 (exit $ac_status); }; } &&
16426 { ac_try
='test -s conftest.$ac_objext'
16427 { (case "(($ac_try" in
16428 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16429 *) ac_try_echo=$ac_try;;
16431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16432 (eval "$ac_try") 2>&5
16434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16435 (exit $ac_status); }; }; then
16436 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
16438 echo "$as_me: failed program was:" >&5
16439 sed 's/^/| /' conftest.$ac_ext >&5
16441 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
16445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16449 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
16450 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
16451 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16457 ac_cpp='$CPP $CPPFLAGS'
16458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16470 ac_cpp='$CXXCPP $CPPFLAGS'
16471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16475 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
16476 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
16477 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
16478 echo $ECHO_N "(cached) $ECHO_C" >&6
16480 cat >conftest.$ac_ext <<_ACEOF
16483 cat confdefs.h >>conftest.$ac_ext
16484 cat >>conftest.$ac_ext <<_ACEOF
16485 /* end confdefs.h. */
16499 rm -f conftest.$ac_objext
16500 if { (ac_try="$ac_compile"
16501 case "(($ac_try" in
16502 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16503 *) ac_try_echo
=$ac_try;;
16505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16506 (eval "$ac_compile") 2>conftest.er1
16508 grep -v '^ *+' conftest.er1
>conftest.err
16510 cat conftest.err
>&5
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); } &&
16513 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16514 { (case "(($ac_try" in
16515 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16516 *) ac_try_echo=$ac_try;;
16518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16519 (eval "$ac_try") 2>&5
16521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16522 (exit $ac_status); }; } &&
16523 { ac_try='test -s conftest.$ac_objext'
16524 { (case "(($ac_try" in
16525 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16526 *) ac_try_echo
=$ac_try;;
16528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16529 (eval "$ac_try") 2>&5
16531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16532 (exit $ac_status); }; }; then
16533 bakefile_cv_cxx_compiler___HP_aCC
=yes
16535 echo "$as_me: failed program was:" >&5
16536 sed 's/^/| /' conftest.
$ac_ext >&5
16538 bakefile_cv_cxx_compiler___HP_aCC
=no
16542 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16546 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16547 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16548 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
16554 ac_cpp
='$CPP $CPPFLAGS'
16555 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16556 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16557 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16567 ac_cpp
='$CXXCPP $CPPFLAGS'
16568 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16569 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16570 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16572 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16573 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16574 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16575 echo $ECHO_N "(cached) $ECHO_C" >&6
16577 cat >conftest.
$ac_ext <<_ACEOF
16580 cat confdefs.h
>>conftest.
$ac_ext
16581 cat >>conftest.
$ac_ext <<_ACEOF
16582 /* end confdefs.h. */
16596 rm -f conftest.
$ac_objext
16597 if { (ac_try
="$ac_compile"
16598 case "(($ac_try" in
16599 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16600 *) ac_try_echo=$ac_try;;
16602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16603 (eval "$ac_compile") 2>conftest.er1
16605 grep -v '^ *+' conftest.er1 >conftest.err
16607 cat conftest.err >&5
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); } &&
16610 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16611 { (case "(($ac_try" in
16612 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16613 *) ac_try_echo
=$ac_try;;
16615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16616 (eval "$ac_try") 2>&5
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); }; } &&
16620 { ac_try
='test -s conftest.$ac_objext'
16621 { (case "(($ac_try" in
16622 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16623 *) ac_try_echo=$ac_try;;
16625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16626 (eval "$ac_try") 2>&5
16628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629 (exit $ac_status); }; }; then
16630 bakefile_cv_cxx_compiler___DECCXX=yes
16632 echo "$as_me: failed program was:" >&5
16633 sed 's/^/| /' conftest.$ac_ext >&5
16635 bakefile_cv_cxx_compiler___DECCXX=no
16639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16643 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16644 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16645 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
16651 ac_cpp='$CPP $CPPFLAGS'
16652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16664 ac_cpp='$CXXCPP $CPPFLAGS'
16665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16669 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16670 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16671 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16672 echo $ECHO_N "(cached) $ECHO_C" >&6
16674 cat >conftest.$ac_ext <<_ACEOF
16677 cat confdefs.h >>conftest.$ac_ext
16678 cat >>conftest.$ac_ext <<_ACEOF
16679 /* end confdefs.h. */
16685 #ifndef __SUNPRO_CC
16693 rm -f conftest.$ac_objext
16694 if { (ac_try="$ac_compile"
16695 case "(($ac_try" in
16696 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16697 *) ac_try_echo
=$ac_try;;
16699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16700 (eval "$ac_compile") 2>conftest.er1
16702 grep -v '^ *+' conftest.er1
>conftest.err
16704 cat conftest.err
>&5
16705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16706 (exit $ac_status); } &&
16707 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16708 { (case "(($ac_try" in
16709 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16710 *) ac_try_echo=$ac_try;;
16712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16713 (eval "$ac_try") 2>&5
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 (exit $ac_status); }; } &&
16717 { ac_try='test -s conftest.$ac_objext'
16718 { (case "(($ac_try" in
16719 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16720 *) ac_try_echo
=$ac_try;;
16722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16723 (eval "$ac_try") 2>&5
16725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16726 (exit $ac_status); }; }; then
16727 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
16729 echo "$as_me: failed program was:" >&5
16730 sed 's/^/| /' conftest.
$ac_ext >&5
16732 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
16736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16740 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16741 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16742 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
16748 ac_cpp
='$CPP $CPPFLAGS'
16749 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16750 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16751 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16761 if test -n "$ac_tool_prefix"; then
16762 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16763 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
16764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16766 if test "${ac_cv_prog_RANLIB+set}" = set; then
16767 echo $ECHO_N "(cached) $ECHO_C" >&6
16769 if test -n "$RANLIB"; then
16770 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
16772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16773 for as_dir
in $PATH
16776 test -z "$as_dir" && as_dir
=.
16777 for ac_exec_ext
in '' $ac_executable_extensions; do
16778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16779 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
16780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16789 RANLIB
=$ac_cv_prog_RANLIB
16790 if test -n "$RANLIB"; then
16791 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16792 echo "${ECHO_T}$RANLIB" >&6; }
16794 { echo "$as_me:$LINENO: result: no" >&5
16795 echo "${ECHO_T}no" >&6; }
16800 if test -z "$ac_cv_prog_RANLIB"; then
16801 ac_ct_RANLIB
=$RANLIB
16802 # Extract the first word of "ranlib", so it can be a program name with args.
16803 set dummy ranlib
; ac_word
=$2
16804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16806 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16807 echo $ECHO_N "(cached) $ECHO_C" >&6
16809 if test -n "$ac_ct_RANLIB"; then
16810 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
16812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16813 for as_dir
in $PATH
16816 test -z "$as_dir" && as_dir
=.
16817 for ac_exec_ext
in '' $ac_executable_extensions; do
16818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16819 ac_cv_prog_ac_ct_RANLIB
="ranlib"
16820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16829 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
16830 if test -n "$ac_ct_RANLIB"; then
16831 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16832 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16834 { echo "$as_me:$LINENO: result: no" >&5
16835 echo "${ECHO_T}no" >&6; }
16838 if test "x$ac_ct_RANLIB" = x
; then
16841 case $cross_compiling:$ac_tool_warned in
16843 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16844 whose name does not start with the host triplet. If you think this
16845 configuration is useful to you, please write to autoconf@gnu.org." >&5
16846 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16847 whose name does not start with the host triplet. If you think this
16848 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16849 ac_tool_warned
=yes ;;
16851 RANLIB
=$ac_ct_RANLIB
16854 RANLIB
="$ac_cv_prog_RANLIB"
16858 if test "x$SUNCXX" != xyes
; then
16859 if test -n "$ac_tool_prefix"; then
16860 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16861 set dummy
${ac_tool_prefix}ar; ac_word
=$2
16862 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16864 if test "${ac_cv_prog_AR+set}" = set; then
16865 echo $ECHO_N "(cached) $ECHO_C" >&6
16867 if test -n "$AR"; then
16868 ac_cv_prog_AR
="$AR" # Let the user override the test.
16870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16871 for as_dir
in $PATH
16874 test -z "$as_dir" && as_dir
=.
16875 for ac_exec_ext
in '' $ac_executable_extensions; do
16876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16877 ac_cv_prog_AR
="${ac_tool_prefix}ar"
16878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16888 if test -n "$AR"; then
16889 { echo "$as_me:$LINENO: result: $AR" >&5
16890 echo "${ECHO_T}$AR" >&6; }
16892 { echo "$as_me:$LINENO: result: no" >&5
16893 echo "${ECHO_T}no" >&6; }
16898 if test -z "$ac_cv_prog_AR"; then
16900 # Extract the first word of "ar", so it can be a program name with args.
16901 set dummy
ar; ac_word
=$2
16902 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16904 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16905 echo $ECHO_N "(cached) $ECHO_C" >&6
16907 if test -n "$ac_ct_AR"; then
16908 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
16910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16911 for as_dir
in $PATH
16914 test -z "$as_dir" && as_dir
=.
16915 for ac_exec_ext
in '' $ac_executable_extensions; do
16916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16917 ac_cv_prog_ac_ct_AR
="ar"
16918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16927 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
16928 if test -n "$ac_ct_AR"; then
16929 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16930 echo "${ECHO_T}$ac_ct_AR" >&6; }
16932 { echo "$as_me:$LINENO: result: no" >&5
16933 echo "${ECHO_T}no" >&6; }
16936 if test "x$ac_ct_AR" = x
; then
16939 case $cross_compiling:$ac_tool_warned in
16941 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16942 whose name does not start with the host triplet. If you think this
16943 configuration is useful to you, please write to autoconf@gnu.org." >&5
16944 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16945 whose name does not start with the host triplet. If you think this
16946 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16947 ac_tool_warned
=yes ;;
16952 AR
="$ac_cv_prog_AR"
16955 if test "x$AR" = "x" ; then
16956 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16957 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16958 { (exit 1); exit 1; }; }
16962 # Find a good install program. We prefer a C program (faster),
16963 # so one script is as good as another. But avoid the broken or
16964 # incompatible versions:
16965 # SysV /etc/install, /usr/sbin/install
16966 # SunOS /usr/etc/install
16967 # IRIX /sbin/install
16969 # AmigaOS /C/install, which installs bootblocks on floppy discs
16970 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16971 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16972 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16973 # OS/2's system install, which has a completely different semantic
16974 # ./install, which can be erroneously created by make from ./install.sh.
16975 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16976 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16977 if test -z "$INSTALL"; then
16978 if test "${ac_cv_path_install+set}" = set; then
16979 echo $ECHO_N "(cached) $ECHO_C" >&6
16981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16982 for as_dir
in $PATH
16985 test -z "$as_dir" && as_dir
=.
16986 # Account for people who put trailing slashes in PATH elements.
16988 .
/ | .
// | /cC
/* | \
16989 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
16990 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
16993 # OSF1 and SCO ODT 3.0 have their own names for install.
16994 # Don't use installbsd from OSF since it installs stuff as root
16996 for ac_prog
in ginstall scoinst
install; do
16997 for ac_exec_ext
in '' $ac_executable_extensions; do
16998 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
16999 if test $ac_prog = install &&
17000 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
17001 # AIX install. It has an incompatible calling convention.
17003 elif test $ac_prog = install &&
17004 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
17005 # program-specific install script used by HP pwplus--don't use.
17008 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
17021 if test "${ac_cv_path_install+set}" = set; then
17022 INSTALL
=$ac_cv_path_install
17024 # As a last resort, use the slow shell script. Don't cache a
17025 # value for INSTALL within a source directory, because that will
17026 # break other packages using the cache if that directory is
17027 # removed, or if the value is a relative name.
17028 INSTALL
=$ac_install_sh
17031 { echo "$as_me:$LINENO: result: $INSTALL" >&5
17032 echo "${ECHO_T}$INSTALL" >&6; }
17034 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
17035 # It thinks the first close brace ends the variable substitution.
17036 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
17038 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
17040 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
17046 ?
:* ) # Drive letter, considered as absolute.
17049 INSTALL
=`pwd`/${INSTALL} ;;
17056 INSTALL_PROGRAM
="cp -fp"
17057 INSTALL_DATA
="cp -fp"
17063 if test -n "$ac_tool_prefix"; then
17064 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
17065 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
17066 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17068 if test "${ac_cv_prog_STRIP+set}" = set; then
17069 echo $ECHO_N "(cached) $ECHO_C" >&6
17071 if test -n "$STRIP"; then
17072 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
17074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17075 for as_dir
in $PATH
17078 test -z "$as_dir" && as_dir
=.
17079 for ac_exec_ext
in '' $ac_executable_extensions; do
17080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17081 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
17082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17091 STRIP
=$ac_cv_prog_STRIP
17092 if test -n "$STRIP"; then
17093 { echo "$as_me:$LINENO: result: $STRIP" >&5
17094 echo "${ECHO_T}$STRIP" >&6; }
17096 { echo "$as_me:$LINENO: result: no" >&5
17097 echo "${ECHO_T}no" >&6; }
17102 if test -z "$ac_cv_prog_STRIP"; then
17104 # Extract the first word of "strip", so it can be a program name with args.
17105 set dummy strip
; ac_word
=$2
17106 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17108 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
17109 echo $ECHO_N "(cached) $ECHO_C" >&6
17111 if test -n "$ac_ct_STRIP"; then
17112 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
17114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17115 for as_dir
in $PATH
17118 test -z "$as_dir" && as_dir
=.
17119 for ac_exec_ext
in '' $ac_executable_extensions; do
17120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17121 ac_cv_prog_ac_ct_STRIP
="strip"
17122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17131 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
17132 if test -n "$ac_ct_STRIP"; then
17133 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
17134 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
17136 { echo "$as_me:$LINENO: result: no" >&5
17137 echo "${ECHO_T}no" >&6; }
17140 if test "x$ac_ct_STRIP" = x
; then
17143 case $cross_compiling:$ac_tool_warned in
17145 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17146 whose name does not start with the host triplet. If you think this
17147 configuration is useful to you, please write to autoconf@gnu.org." >&5
17148 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17149 whose name does not start with the host triplet. If you think this
17150 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17151 ac_tool_warned
=yes ;;
17156 STRIP
="$ac_cv_prog_STRIP"
17160 if test "$wxUSE_WINE" = "yes"; then
17161 if test -n "$ac_tool_prefix"; then
17162 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
17163 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
17164 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17166 if test "${ac_cv_prog_WINDRES+set}" = set; then
17167 echo $ECHO_N "(cached) $ECHO_C" >&6
17169 if test -n "$WINDRES"; then
17170 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
17172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17173 for as_dir
in $PATH
17176 test -z "$as_dir" && as_dir
=.
17177 for ac_exec_ext
in '' $ac_executable_extensions; do
17178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17179 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
17180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17189 WINDRES
=$ac_cv_prog_WINDRES
17190 if test -n "$WINDRES"; then
17191 { echo "$as_me:$LINENO: result: $WINDRES" >&5
17192 echo "${ECHO_T}$WINDRES" >&6; }
17194 { echo "$as_me:$LINENO: result: no" >&5
17195 echo "${ECHO_T}no" >&6; }
17200 if test -z "$ac_cv_prog_WINDRES"; then
17201 ac_ct_WINDRES
=$WINDRES
17202 # Extract the first word of "wrc", so it can be a program name with args.
17203 set dummy wrc
; ac_word
=$2
17204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17206 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
17207 echo $ECHO_N "(cached) $ECHO_C" >&6
17209 if test -n "$ac_ct_WINDRES"; then
17210 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
17212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17213 for as_dir
in $PATH
17216 test -z "$as_dir" && as_dir
=.
17217 for ac_exec_ext
in '' $ac_executable_extensions; do
17218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17219 ac_cv_prog_ac_ct_WINDRES
="wrc"
17220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17229 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
17230 if test -n "$ac_ct_WINDRES"; then
17231 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
17232 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
17234 { echo "$as_me:$LINENO: result: no" >&5
17235 echo "${ECHO_T}no" >&6; }
17238 if test "x$ac_ct_WINDRES" = x
; then
17241 case $cross_compiling:$ac_tool_warned in
17243 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17244 whose name does not start with the host triplet. If you think this
17245 configuration is useful to you, please write to autoconf@gnu.org." >&5
17246 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17247 whose name does not start with the host triplet. If you think this
17248 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17249 ac_tool_warned
=yes ;;
17251 WINDRES
=$ac_ct_WINDRES
17254 WINDRES
="$ac_cv_prog_WINDRES"
17260 *-*-cygwin* | *-*-mingw32* )
17261 if test -n "$ac_tool_prefix"; then
17262 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
17263 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
17264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17266 if test "${ac_cv_prog_WINDRES+set}" = set; then
17267 echo $ECHO_N "(cached) $ECHO_C" >&6
17269 if test -n "$WINDRES"; then
17270 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
17272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17273 for as_dir
in $PATH
17276 test -z "$as_dir" && as_dir
=.
17277 for ac_exec_ext
in '' $ac_executable_extensions; do
17278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17279 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
17280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17289 WINDRES
=$ac_cv_prog_WINDRES
17290 if test -n "$WINDRES"; then
17291 { echo "$as_me:$LINENO: result: $WINDRES" >&5
17292 echo "${ECHO_T}$WINDRES" >&6; }
17294 { echo "$as_me:$LINENO: result: no" >&5
17295 echo "${ECHO_T}no" >&6; }
17300 if test -z "$ac_cv_prog_WINDRES"; then
17301 ac_ct_WINDRES
=$WINDRES
17302 # Extract the first word of "windres", so it can be a program name with args.
17303 set dummy windres
; ac_word
=$2
17304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17306 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
17307 echo $ECHO_N "(cached) $ECHO_C" >&6
17309 if test -n "$ac_ct_WINDRES"; then
17310 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
17312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17313 for as_dir
in $PATH
17316 test -z "$as_dir" && as_dir
=.
17317 for ac_exec_ext
in '' $ac_executable_extensions; do
17318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17319 ac_cv_prog_ac_ct_WINDRES
="windres"
17320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17329 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
17330 if test -n "$ac_ct_WINDRES"; then
17331 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
17332 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
17334 { echo "$as_me:$LINENO: result: no" >&5
17335 echo "${ECHO_T}no" >&6; }
17338 if test "x$ac_ct_WINDRES" = x
; then
17341 case $cross_compiling:$ac_tool_warned in
17343 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17344 whose name does not start with the host triplet. If you think this
17345 configuration is useful to you, please write to autoconf@gnu.org." >&5
17346 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17347 whose name does not start with the host triplet. If you think this
17348 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17349 ac_tool_warned
=yes ;;
17351 WINDRES
=$ac_ct_WINDRES
17354 WINDRES
="$ac_cv_prog_WINDRES"
17358 if test -n "$ac_tool_prefix"; then
17359 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
17360 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
17361 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17363 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
17364 echo $ECHO_N "(cached) $ECHO_C" >&6
17366 if test -n "$DLLTOOL"; then
17367 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
17369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17370 for as_dir
in $PATH
17373 test -z "$as_dir" && as_dir
=.
17374 for ac_exec_ext
in '' $ac_executable_extensions; do
17375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17376 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
17377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17386 DLLTOOL
=$ac_cv_prog_DLLTOOL
17387 if test -n "$DLLTOOL"; then
17388 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
17389 echo "${ECHO_T}$DLLTOOL" >&6; }
17391 { echo "$as_me:$LINENO: result: no" >&5
17392 echo "${ECHO_T}no" >&6; }
17397 if test -z "$ac_cv_prog_DLLTOOL"; then
17398 ac_ct_DLLTOOL
=$DLLTOOL
17399 # Extract the first word of "dlltool", so it can be a program name with args.
17400 set dummy dlltool
; ac_word
=$2
17401 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17403 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
17404 echo $ECHO_N "(cached) $ECHO_C" >&6
17406 if test -n "$ac_ct_DLLTOOL"; then
17407 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
17409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17410 for as_dir
in $PATH
17413 test -z "$as_dir" && as_dir
=.
17414 for ac_exec_ext
in '' $ac_executable_extensions; do
17415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17416 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
17417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17426 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
17427 if test -n "$ac_ct_DLLTOOL"; then
17428 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
17429 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
17431 { echo "$as_me:$LINENO: result: no" >&5
17432 echo "${ECHO_T}no" >&6; }
17435 if test "x$ac_ct_DLLTOOL" = x
; then
17438 case $cross_compiling:$ac_tool_warned in
17440 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17441 whose name does not start with the host triplet. If you think this
17442 configuration is useful to you, please write to autoconf@gnu.org." >&5
17443 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17444 whose name does not start with the host triplet. If you think this
17445 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17446 ac_tool_warned
=yes ;;
17448 DLLTOOL
=$ac_ct_DLLTOOL
17451 DLLTOOL
="$ac_cv_prog_DLLTOOL"
17458 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
17459 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
17460 if test "${wx_cv_prog_makeisgnu+set}" = set; then
17461 echo $ECHO_N "(cached) $ECHO_C" >&6
17464 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
17465 $EGREP -s GNU
> /dev
/null
); then
17466 wx_cv_prog_makeisgnu
="yes"
17468 wx_cv_prog_makeisgnu
="no"
17472 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
17473 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
17475 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
17483 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
17484 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
17485 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
17486 if test "${wx_cv_prog_makevpath+set}" = set; then
17487 echo $ECHO_N "(cached) $ECHO_C" >&6
17490 cat - << EOF > confMake
17496 if test ! -d sub
; then
17499 echo dummy
> sub
/file
17500 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
17502 rm -f sub
/file check final_file confMake
17504 if test "$RESULT" = 0; then
17505 wx_cv_prog_makevpath
="yes"
17507 wx_cv_prog_makevpath
="no"
17511 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
17512 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
17514 if test "x$wx_cv_prog_makevpath" != "xyes"; then
17515 { { echo "$as_me:$LINENO: error:
17516 You need a make-utility that is able to use the variable
17518 If your version of make does not support VPATH correctly,
17519 please install GNU-make (possibly as gmake), and start
17520 configure with the following command:
17521 export MAKE=gmake; ./configure for sh-type shells
17522 setenv MAKE gmake; ./configure for csh-type shells
17523 Also please do remember to use gmake in this case every time
17524 you are trying to compile.
17526 echo "$as_me: error:
17527 You need a make-utility that is able to use the variable
17529 If your version of make does not support VPATH correctly,
17530 please install GNU-make (possibly as gmake), and start
17531 configure with the following command:
17532 export MAKE=gmake; ./configure for sh-type shells
17533 setenv MAKE gmake; ./configure for csh-type shells
17534 Also please do remember to use gmake in this case every time
17535 you are trying to compile.
17537 { (exit 1); exit 1; }; }
17539 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
17540 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
17542 if test "$LN_S" = "ln -s"; then
17543 { echo "$as_me:$LINENO: result: yes" >&5
17544 echo "${ECHO_T}yes" >&6; }
17546 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
17547 echo "${ECHO_T}no, using $LN_S" >&6; }
17553 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17554 CXXFLAGS
="-qunique $CXXFLAGS"
17558 powerpc
-*-darwin* )
17559 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17560 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17561 cat >conftest.
$ac_ext <<_ACEOF
17564 cat confdefs.h
>>conftest.
$ac_ext
17565 cat >>conftest.
$ac_ext <<_ACEOF
17566 /* end confdefs.h. */
17571 #ifndef __POWERPC__
17572 choke me for lack of PowerPC
17579 rm -f conftest.
$ac_objext
17580 if { (ac_try
="$ac_compile"
17581 case "(($ac_try" in
17582 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17583 *) ac_try_echo=$ac_try;;
17585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17586 (eval "$ac_compile") 2>conftest.er1
17588 grep -v '^ *+' conftest.er1 >conftest.err
17590 cat conftest.err >&5
17591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17592 (exit $ac_status); } &&
17593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17594 { (case "(($ac_try" in
17595 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17596 *) ac_try_echo
=$ac_try;;
17598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17599 (eval "$ac_try") 2>&5
17601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602 (exit $ac_status); }; } &&
17603 { ac_try
='test -s conftest.$ac_objext'
17604 { (case "(($ac_try" in
17605 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17606 *) ac_try_echo=$ac_try;;
17608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17609 (eval "$ac_try") 2>&5
17611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17612 (exit $ac_status); }; }; then
17613 { echo "$as_me:$LINENO: result: yes" >&5
17614 echo "${ECHO_T}yes" >&6; }
17616 echo "$as_me: failed program was:" >&5
17617 sed 's/^/| /' conftest.$ac_ext >&5
17619 { echo "$as_me:$LINENO: result: no" >&5
17620 echo "${ECHO_T}no" >&6; }
17621 cat >>confdefs.h <<\_ACEOF
17622 #define __POWERPC__ 1
17628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17634 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17635 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17636 cat >conftest.$ac_ext <<_ACEOF
17639 cat confdefs.h >>conftest.$ac_ext
17640 cat >>conftest.$ac_ext <<_ACEOF
17641 /* end confdefs.h. */
17642 #include <CoreFoundation/CFBase.h>
17652 rm -f conftest.$ac_objext
17653 if { (ac_try="$ac_compile"
17654 case "(($ac_try" in
17655 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17656 *) ac_try_echo
=$ac_try;;
17658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17659 (eval "$ac_compile") 2>conftest.er1
17661 grep -v '^ *+' conftest.er1
>conftest.err
17663 cat conftest.err
>&5
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); } &&
17666 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17667 { (case "(($ac_try" in
17668 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17669 *) ac_try_echo=$ac_try;;
17671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17672 (eval "$ac_try") 2>&5
17674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17675 (exit $ac_status); }; } &&
17676 { ac_try='test -s conftest.$ac_objext'
17677 { (case "(($ac_try" in
17678 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17679 *) ac_try_echo
=$ac_try;;
17681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17682 (eval "$ac_try") 2>&5
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); }; }; then
17686 { echo "$as_me:$LINENO: result: yes" >&5
17687 echo "${ECHO_T}yes" >&6; }
17689 echo "$as_me: failed program was:" >&5
17690 sed 's/^/| /' conftest.
$ac_ext >&5
17692 { echo "$as_me:$LINENO: result: no" >&5
17693 echo "${ECHO_T}no" >&6; }
17694 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17695 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17696 cat >conftest.
$ac_ext <<_ACEOF
17699 cat confdefs.h
>>conftest.
$ac_ext
17700 cat >>conftest.
$ac_ext <<_ACEOF
17701 /* end confdefs.h. */
17702 #define __CF_USE_FRAMEWORK_INCLUDES__
17703 #include <CoreFoundation/CFBase.h>
17713 rm -f conftest.
$ac_objext
17714 if { (ac_try
="$ac_compile"
17715 case "(($ac_try" in
17716 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17717 *) ac_try_echo=$ac_try;;
17719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17720 (eval "$ac_compile") 2>conftest.er1
17722 grep -v '^ *+' conftest.er1 >conftest.err
17724 cat conftest.err >&5
17725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17726 (exit $ac_status); } &&
17727 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17728 { (case "(($ac_try" in
17729 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17730 *) ac_try_echo
=$ac_try;;
17732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17733 (eval "$ac_try") 2>&5
17735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17736 (exit $ac_status); }; } &&
17737 { ac_try
='test -s conftest.$ac_objext'
17738 { (case "(($ac_try" in
17739 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17740 *) ac_try_echo=$ac_try;;
17742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17743 (eval "$ac_try") 2>&5
17745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17746 (exit $ac_status); }; }; then
17747 { echo "$as_me:$LINENO: result: yes" >&5
17748 echo "${ECHO_T}yes" >&6; }
17749 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17751 echo "$as_me: failed program was:" >&5
17752 sed 's/^/| /' conftest.$ac_ext >&5
17754 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17755 See \`config.log
' for more details." >&5
17756 echo "$as_me: error: no. CoreFoundation not available.
17757 See \`config.log' for more details.
" >&2;}
17758 { (exit 1); exit 1; }; }
17762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17772 doesnt_want_win32=0
17775 if test "$wxUSE_MSW" = 1 ; then
17778 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
17779 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
17780 if test "${wx_cv_nocygwin+set}" = set; then
17781 echo $ECHO_N "(cached
) $ECHO_C" >&6
17784 cat >conftest.$ac_ext <<_ACEOF
17787 cat confdefs.h >>conftest.$ac_ext
17788 cat >>conftest.$ac_ext <<_ACEOF
17789 /* end confdefs.h. */
17803 rm -f conftest.$ac_objext
17804 if { (ac_try="$ac_compile"
17805 case "(($ac_try" in
17806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17807 *) ac_try_echo=$ac_try;;
17809 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17810 (eval "$ac_compile") 2>conftest.er1
17812 grep -v '^ *+' conftest.er1 >conftest.err
17814 cat conftest.err >&5
17815 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17816 (exit $ac_status); } &&
17817 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17818 { (case "(($ac_try" in
17819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17820 *) ac_try_echo=$ac_try;;
17822 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17823 (eval "$ac_try") 2>&5
17825 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17826 (exit $ac_status); }; } &&
17827 { ac_try='test -s conftest.$ac_objext'
17828 { (case "(($ac_try" in
17829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17830 *) ac_try_echo=$ac_try;;
17832 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17833 (eval "$ac_try") 2>&5
17835 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17836 (exit $ac_status); }; }; then
17839 echo "$as_me: failed program was
:" >&5
17840 sed 's/^/| /' conftest.$ac_ext >&5
17846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17850 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
17851 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17853 if test "$wx_cv_nocygwin" = "yes"; then
17856 doesnt_want_win32=1
17859 if test "$wants_win32" = 1 ; then
17860 BAKEFILE_FORCE_PLATFORM=win32
17868 if test "$wxUSE_WINE" = "yes"; then
17870 LDFLAGS_GUI="-mwindows"
17873 if test "$wants_win32" = 1 ; then
17876 cat >>confdefs.h <<\_ACEOF
17877 #define __WIN32__ 1
17880 cat >>confdefs.h <<\_ACEOF
17881 #define __WIN95__ 1
17884 cat >>confdefs.h <<\_ACEOF
17885 #define __WINDOWS__ 1
17888 cat >>confdefs.h <<\_ACEOF
17889 #define __GNUWIN32__ 1
17892 cat >>confdefs.h <<\_ACEOF
17897 if test "$doesnt_want_win32" = 1 ; then
17902 if test "$USE_UNIX" = 1 ; then
17904 cat >>confdefs.h <<\_ACEOF
17911 *-pc-os2_emx | *-pc-os2-emx )
17912 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17913 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
17914 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
17915 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17916 echo $ECHO_N "(cached
) $ECHO_C" >&6
17918 ac_check_lib_save_LIBS=$LIBS
17919 LIBS="-lcExt $LIBS"
17920 cat >conftest.$ac_ext <<_ACEOF
17923 cat confdefs.h >>conftest.$ac_ext
17924 cat >>conftest.$ac_ext <<_ACEOF
17925 /* end confdefs.h. */
17927 /* Override any GCC internal prototype to avoid an error.
17928 Use char because int might match the return type of a GCC
17929 builtin and then its argument prototype would still apply. */
17942 rm -f conftest.$ac_objext conftest$ac_exeext
17943 if { (ac_try="$ac_link"
17944 case "(($ac_try" in
17945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17946 *) ac_try_echo=$ac_try;;
17948 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17949 (eval "$ac_link") 2>conftest.er1
17951 grep -v '^ *+' conftest.er1 >conftest.err
17953 cat conftest.err >&5
17954 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17955 (exit $ac_status); } &&
17956 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17957 { (case "(($ac_try" in
17958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17959 *) ac_try_echo=$ac_try;;
17961 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17962 (eval "$ac_try") 2>&5
17964 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17965 (exit $ac_status); }; } &&
17966 { ac_try='test -s conftest$ac_exeext'
17967 { (case "(($ac_try" in
17968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17969 *) ac_try_echo=$ac_try;;
17971 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17972 (eval "$ac_try") 2>&5
17974 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17975 (exit $ac_status); }; }; then
17976 ac_cv_lib_cExt_drand48=yes
17978 echo "$as_me: failed program was
:" >&5
17979 sed 's/^/| /' conftest.$ac_ext >&5
17981 ac_cv_lib_cExt_drand48=no
17984 rm -f core conftest.err conftest.$ac_objext \
17985 conftest$ac_exeext conftest.$ac_ext
17986 LIBS=$ac_check_lib_save_LIBS
17988 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
17989 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17990 if test $ac_cv_lib_cExt_drand48 = yes; then
17991 LIBS="$LIBS -lcExt"
17995 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
17997 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
17998 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
17999 if test "${wx_cv_gccversion+set}" = set; then
18000 echo $ECHO_N "(cached
) $ECHO_C" >&6
18003 if test "$cross_compiling" = yes; then
18004 wx_cv_gccversion="EMX2
"
18007 cat >conftest.$ac_ext <<_ACEOF
18010 cat confdefs.h >>conftest.$ac_ext
18011 cat >>conftest.$ac_ext <<_ACEOF
18012 /* end confdefs.h. */
18018 FILE *f=fopen("conftestval
", "w
");
18023 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18025 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18035 rm -f conftest$ac_exeext
18036 if { (ac_try="$ac_link"
18037 case "(($ac_try" in
18038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18039 *) ac_try_echo=$ac_try;;
18041 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18042 (eval "$ac_link") 2>&5
18044 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18045 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18046 { (case "(($ac_try" in
18047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18048 *) ac_try_echo=$ac_try;;
18050 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18051 (eval "$ac_try") 2>&5
18053 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18054 (exit $ac_status); }; }; then
18055 wx_cv_gccversion=`cat conftestval`
18057 echo "$as_me: program exited with status
$ac_status" >&5
18058 echo "$as_me: failed program was
:" >&5
18059 sed 's/^/| /' conftest.$ac_ext >&5
18061 ( exit $ac_status )
18062 wx_cv_gccversion="EMX2
"
18064 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18070 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18071 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18072 if test "$wx_cv_gccversion" = "EMX2
"; then
18073 LIBS="$LIBS -lstdcpp"
18074 LDFLAGS="$LDFLAGS -Zsysv-signals"
18076 if test "$wx_cv_gccversion" = "EMX3
"; then
18077 LIBS="$LIBS -lstdcxx -lgcc"
18078 LDFLAGS="$LDFLAGS -Zsysv-signals"
18080 LIBS="$LIBS -lstdc++"
18083 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18084 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18085 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18092 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18093 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18094 if test "${ac_cv_string_strcasecmp+set}" = set; then
18095 echo $ECHO_N "(cached
) $ECHO_C" >&6
18098 cat >conftest.$ac_ext <<_ACEOF
18101 cat confdefs.h >>conftest.$ac_ext
18102 cat >>conftest.$ac_ext <<_ACEOF
18103 /* end confdefs.h. */
18105 #include <string.h>
18111 strcasecmp("foo
", "bar
");
18117 rm -f conftest.$ac_objext conftest$ac_exeext
18118 if { (ac_try="$ac_link"
18119 case "(($ac_try" in
18120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18121 *) ac_try_echo=$ac_try;;
18123 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18124 (eval "$ac_link") 2>conftest.er1
18126 grep -v '^ *+' conftest.er1 >conftest.err
18128 cat conftest.err >&5
18129 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18130 (exit $ac_status); } &&
18131 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18132 { (case "(($ac_try" in
18133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18134 *) ac_try_echo=$ac_try;;
18136 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18137 (eval "$ac_try") 2>&5
18139 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18140 (exit $ac_status); }; } &&
18141 { ac_try='test -s conftest$ac_exeext'
18142 { (case "(($ac_try" in
18143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18144 *) ac_try_echo=$ac_try;;
18146 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18147 (eval "$ac_try") 2>&5
18149 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18150 (exit $ac_status); }; }; then
18151 ac_cv_string_strcasecmp=yes
18153 echo "$as_me: failed program was
:" >&5
18154 sed 's/^/| /' conftest.$ac_ext >&5
18156 ac_cv_string_strcasecmp=no
18160 rm -f core conftest.err conftest.$ac_objext \
18161 conftest$ac_exeext conftest.$ac_ext
18164 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18165 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18167 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18168 cat >>confdefs.h <<\_ACEOF
18169 #define HAVE_STRCASECMP_IN_STRING_H 1
18173 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18174 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18175 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18176 echo $ECHO_N "(cached
) $ECHO_C" >&6
18179 cat >conftest.$ac_ext <<_ACEOF
18182 cat confdefs.h >>conftest.$ac_ext
18183 cat >>conftest.$ac_ext <<_ACEOF
18184 /* end confdefs.h. */
18186 #include <strings.h>
18192 strcasecmp("foo
", "bar
");
18198 rm -f conftest.$ac_objext conftest$ac_exeext
18199 if { (ac_try="$ac_link"
18200 case "(($ac_try" in
18201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18202 *) ac_try_echo=$ac_try;;
18204 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18205 (eval "$ac_link") 2>conftest.er1
18207 grep -v '^ *+' conftest.er1 >conftest.err
18209 cat conftest.err >&5
18210 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18211 (exit $ac_status); } &&
18212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18213 { (case "(($ac_try" in
18214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18215 *) ac_try_echo=$ac_try;;
18217 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18218 (eval "$ac_try") 2>&5
18220 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18221 (exit $ac_status); }; } &&
18222 { ac_try='test -s conftest$ac_exeext'
18223 { (case "(($ac_try" in
18224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18225 *) ac_try_echo=$ac_try;;
18227 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18228 (eval "$ac_try") 2>&5
18230 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18231 (exit $ac_status); }; }; then
18232 ac_cv_strings_strcasecmp=yes
18234 echo "$as_me: failed program was
:" >&5
18235 sed 's/^/| /' conftest.$ac_ext >&5
18237 ac_cv_strings_strcasecmp=no
18241 rm -f core conftest.err conftest.$ac_objext \
18242 conftest$ac_exeext conftest.$ac_ext
18245 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18246 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18248 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18249 cat >>confdefs.h <<\_ACEOF
18250 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18254 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18255 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18256 { (exit 1); exit 1; }; }
18264 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18265 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18266 if test "${ac_cv_header_stdc+set}" = set; then
18267 echo $ECHO_N "(cached
) $ECHO_C" >&6
18269 cat >conftest.$ac_ext <<_ACEOF
18272 cat confdefs.h >>conftest.$ac_ext
18273 cat >>conftest.$ac_ext <<_ACEOF
18274 /* end confdefs.h. */
18275 #include <stdlib.h>
18276 #include <stdarg.h>
18277 #include <string.h>
18288 rm -f conftest.$ac_objext
18289 if { (ac_try="$ac_compile"
18290 case "(($ac_try" in
18291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18292 *) ac_try_echo=$ac_try;;
18294 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18295 (eval "$ac_compile") 2>conftest.er1
18297 grep -v '^ *+' conftest.er1 >conftest.err
18299 cat conftest.err >&5
18300 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18301 (exit $ac_status); } &&
18302 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18303 { (case "(($ac_try" in
18304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18305 *) ac_try_echo=$ac_try;;
18307 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18308 (eval "$ac_try") 2>&5
18310 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18311 (exit $ac_status); }; } &&
18312 { ac_try='test -s conftest.$ac_objext'
18313 { (case "(($ac_try" in
18314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18315 *) ac_try_echo=$ac_try;;
18317 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18318 (eval "$ac_try") 2>&5
18320 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18321 (exit $ac_status); }; }; then
18322 ac_cv_header_stdc=yes
18324 echo "$as_me: failed program was
:" >&5
18325 sed 's/^/| /' conftest.$ac_ext >&5
18327 ac_cv_header_stdc=no
18330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18332 if test $ac_cv_header_stdc = yes; then
18333 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18334 cat >conftest.$ac_ext <<_ACEOF
18337 cat confdefs.h >>conftest.$ac_ext
18338 cat >>conftest.$ac_ext <<_ACEOF
18339 /* end confdefs.h. */
18340 #include <string.h>
18343 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18344 $EGREP "memchr
" >/dev/null 2>&1; then
18347 ac_cv_header_stdc=no
18353 if test $ac_cv_header_stdc = yes; then
18354 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18355 cat >conftest.$ac_ext <<_ACEOF
18358 cat confdefs.h >>conftest.$ac_ext
18359 cat >>conftest.$ac_ext <<_ACEOF
18360 /* end confdefs.h. */
18361 #include <stdlib.h>
18364 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18365 $EGREP "free
" >/dev/null 2>&1; then
18368 ac_cv_header_stdc=no
18374 if test $ac_cv_header_stdc = yes; then
18375 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18376 if test "$cross_compiling" = yes; then
18379 cat >conftest.$ac_ext <<_ACEOF
18382 cat confdefs.h >>conftest.$ac_ext
18383 cat >>conftest.$ac_ext <<_ACEOF
18384 /* end confdefs.h. */
18386 #include <stdlib.h>
18387 #if ((' ' & 0x0FF) == 0x020)
18388 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18389 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18391 # define ISLOWER(c) \
18392 (('a' <= (c) && (c) <= 'i') \
18393 || ('j' <= (c) && (c) <= 'r') \
18394 || ('s' <= (c) && (c) <= 'z'))
18395 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18398 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18403 for (i = 0; i < 256; i++)
18404 if (XOR (islower (i), ISLOWER (i))
18405 || toupper (i) != TOUPPER (i))
18410 rm -f conftest$ac_exeext
18411 if { (ac_try="$ac_link"
18412 case "(($ac_try" in
18413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18414 *) ac_try_echo=$ac_try;;
18416 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18417 (eval "$ac_link") 2>&5
18419 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18420 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18421 { (case "(($ac_try" in
18422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18423 *) ac_try_echo=$ac_try;;
18425 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18426 (eval "$ac_try") 2>&5
18428 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18429 (exit $ac_status); }; }; then
18432 echo "$as_me: program exited with status
$ac_status" >&5
18433 echo "$as_me: failed program was
:" >&5
18434 sed 's/^/| /' conftest.$ac_ext >&5
18436 ( exit $ac_status )
18437 ac_cv_header_stdc=no
18439 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18445 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
18446 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18447 if test $ac_cv_header_stdc = yes; then
18449 cat >>confdefs.h <<\_ACEOF
18450 #define STDC_HEADERS 1
18455 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18465 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18466 inttypes.h stdint.h unistd.h
18468 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18469 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18470 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18471 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18472 echo $ECHO_N "(cached
) $ECHO_C" >&6
18474 cat >conftest.$ac_ext <<_ACEOF
18477 cat confdefs.h >>conftest.$ac_ext
18478 cat >>conftest.$ac_ext <<_ACEOF
18479 /* end confdefs.h. */
18480 $ac_includes_default
18482 #include <$ac_header>
18484 rm -f conftest.$ac_objext
18485 if { (ac_try="$ac_compile"
18486 case "(($ac_try" in
18487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18488 *) ac_try_echo=$ac_try;;
18490 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18491 (eval "$ac_compile") 2>conftest.er1
18493 grep -v '^ *+' conftest.er1 >conftest.err
18495 cat conftest.err >&5
18496 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18497 (exit $ac_status); } &&
18498 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18499 { (case "(($ac_try" in
18500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18501 *) ac_try_echo=$ac_try;;
18503 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18504 (eval "$ac_try") 2>&5
18506 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18507 (exit $ac_status); }; } &&
18508 { ac_try='test -s conftest.$ac_objext'
18509 { (case "(($ac_try" in
18510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18511 *) ac_try_echo=$ac_try;;
18513 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18514 (eval "$ac_try") 2>&5
18516 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18517 (exit $ac_status); }; }; then
18518 eval "$as_ac_Header=yes"
18520 echo "$as_me: failed program was
:" >&5
18521 sed 's/^/| /' conftest.$ac_ext >&5
18523 eval "$as_ac_Header=no
"
18526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18528 ac_res=`eval echo '${'$as_ac_Header'}'`
18529 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18530 echo "${ECHO_T}$ac_res" >&6; }
18531 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18532 cat >>confdefs.h <<_ACEOF
18533 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18547 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
18549 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18550 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18551 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18552 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18553 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18554 echo $ECHO_N "(cached
) $ECHO_C" >&6
18556 ac_res=`eval echo '${'$as_ac_Header'}'`
18557 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18558 echo "${ECHO_T}$ac_res" >&6; }
18560 # Is the header compilable?
18561 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
18562 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
18563 cat >conftest.$ac_ext <<_ACEOF
18566 cat confdefs.h >>conftest.$ac_ext
18567 cat >>conftest.$ac_ext <<_ACEOF
18568 /* end confdefs.h. */
18569 $ac_includes_default
18570 #include <$ac_header>
18572 rm -f conftest.$ac_objext
18573 if { (ac_try="$ac_compile"
18574 case "(($ac_try" in
18575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18576 *) ac_try_echo=$ac_try;;
18578 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18579 (eval "$ac_compile") 2>conftest.er1
18581 grep -v '^ *+' conftest.er1 >conftest.err
18583 cat conftest.err >&5
18584 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18585 (exit $ac_status); } &&
18586 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18587 { (case "(($ac_try" in
18588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18589 *) ac_try_echo=$ac_try;;
18591 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18592 (eval "$ac_try") 2>&5
18594 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18595 (exit $ac_status); }; } &&
18596 { ac_try='test -s conftest.$ac_objext'
18597 { (case "(($ac_try" in
18598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18599 *) ac_try_echo=$ac_try;;
18601 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18602 (eval "$ac_try") 2>&5
18604 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18605 (exit $ac_status); }; }; then
18606 ac_header_compiler=yes
18608 echo "$as_me: failed program was
:" >&5
18609 sed 's/^/| /' conftest.$ac_ext >&5
18611 ac_header_compiler=no
18614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18615 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
18616 echo "${ECHO_T}$ac_header_compiler" >&6; }
18618 # Is the header present?
18619 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
18620 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
18621 cat >conftest.$ac_ext <<_ACEOF
18624 cat confdefs.h >>conftest.$ac_ext
18625 cat >>conftest.$ac_ext <<_ACEOF
18626 /* end confdefs.h. */
18627 #include <$ac_header>
18629 if { (ac_try="$ac_cpp conftest.
$ac_ext"
18630 case "(($ac_try" in
18631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18632 *) ac_try_echo=$ac_try;;
18634 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18635 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
18637 grep -v '^ *+' conftest.er1 >conftest.err
18639 cat conftest.err >&5
18640 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18641 (exit $ac_status); } >/dev/null; then
18642 if test -s conftest.err; then
18643 ac_cpp_err=$ac_c_preproc_warn_flag
18644 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18651 if test -z "$ac_cpp_err"; then
18652 ac_header_preproc=yes
18654 echo "$as_me: failed program was
:" >&5
18655 sed 's/^/| /' conftest.$ac_ext >&5
18657 ac_header_preproc=no
18660 rm -f conftest.err conftest.$ac_ext
18661 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
18662 echo "${ECHO_T}$ac_header_preproc" >&6; }
18664 # So? What about this header?
18665 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18667 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
18668 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
18669 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
18670 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
18671 ac_header_preproc=yes
18674 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
18675 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
18676 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
18677 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
18678 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
18679 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
18680 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
18681 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
18682 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
18683 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
18684 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
18685 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
18687 ## ----------------------------------------- ##
18688 ## Report this to wx-dev@lists.wxwidgets.org ##
18689 ## ----------------------------------------- ##
18691 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
18694 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18695 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18696 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18697 echo $ECHO_N "(cached
) $ECHO_C" >&6
18699 eval "$as_ac_Header=\
$ac_header_preproc"
18701 ac_res=`eval echo '${'$as_ac_Header'}'`
18702 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18703 echo "${ECHO_T}$ac_res" >&6; }
18706 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18707 cat >>confdefs.h <<_ACEOF
18708 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18716 if test "$ac_cv_header_wchar_h" != "yes"; then
18718 for ac_header in wcstr.h
18720 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18721 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18722 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18723 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18724 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18725 echo $ECHO_N "(cached
) $ECHO_C" >&6
18727 ac_res=`eval echo '${'$as_ac_Header'}'`
18728 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18729 echo "${ECHO_T}$ac_res" >&6; }
18731 # Is the header compilable?
18732 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
18733 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
18734 cat >conftest.$ac_ext <<_ACEOF
18737 cat confdefs.h >>conftest.$ac_ext
18738 cat >>conftest.$ac_ext <<_ACEOF
18739 /* end confdefs.h. */
18740 $ac_includes_default
18741 #include <$ac_header>
18743 rm -f conftest.$ac_objext
18744 if { (ac_try="$ac_compile"
18745 case "(($ac_try" in
18746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18747 *) ac_try_echo=$ac_try;;
18749 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18750 (eval "$ac_compile") 2>conftest.er1
18752 grep -v '^ *+' conftest.er1 >conftest.err
18754 cat conftest.err >&5
18755 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18756 (exit $ac_status); } &&
18757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18758 { (case "(($ac_try" in
18759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18760 *) ac_try_echo=$ac_try;;
18762 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18763 (eval "$ac_try") 2>&5
18765 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18766 (exit $ac_status); }; } &&
18767 { ac_try='test -s conftest.$ac_objext'
18768 { (case "(($ac_try" in
18769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18770 *) ac_try_echo=$ac_try;;
18772 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18773 (eval "$ac_try") 2>&5
18775 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18776 (exit $ac_status); }; }; then
18777 ac_header_compiler=yes
18779 echo "$as_me: failed program was
:" >&5
18780 sed 's/^/| /' conftest.$ac_ext >&5
18782 ac_header_compiler=no
18785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18786 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
18787 echo "${ECHO_T}$ac_header_compiler" >&6; }
18789 # Is the header present?
18790 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
18791 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
18792 cat >conftest.$ac_ext <<_ACEOF
18795 cat confdefs.h >>conftest.$ac_ext
18796 cat >>conftest.$ac_ext <<_ACEOF
18797 /* end confdefs.h. */
18798 #include <$ac_header>
18800 if { (ac_try="$ac_cpp conftest.
$ac_ext"
18801 case "(($ac_try" in
18802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18803 *) ac_try_echo=$ac_try;;
18805 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18806 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
18808 grep -v '^ *+' conftest.er1 >conftest.err
18810 cat conftest.err >&5
18811 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18812 (exit $ac_status); } >/dev/null; then
18813 if test -s conftest.err; then
18814 ac_cpp_err=$ac_c_preproc_warn_flag
18815 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18822 if test -z "$ac_cpp_err"; then
18823 ac_header_preproc=yes
18825 echo "$as_me: failed program was
:" >&5
18826 sed 's/^/| /' conftest.$ac_ext >&5
18828 ac_header_preproc=no
18831 rm -f conftest.err conftest.$ac_ext
18832 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
18833 echo "${ECHO_T}$ac_header_preproc" >&6; }
18835 # So? What about this header?
18836 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18838 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
18839 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
18840 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
18841 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
18842 ac_header_preproc=yes
18845 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
18846 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
18847 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
18848 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
18849 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
18850 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
18851 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
18852 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
18853 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
18854 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
18855 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
18856 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
18858 ## ----------------------------------------- ##
18859 ## Report this to wx-dev@lists.wxwidgets.org ##
18860 ## ----------------------------------------- ##
18862 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
18865 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18866 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18867 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18868 echo $ECHO_N "(cached
) $ECHO_C" >&6
18870 eval "$as_ac_Header=\
$ac_header_preproc"
18872 ac_res=`eval echo '${'$as_ac_Header'}'`
18873 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18874 echo "${ECHO_T}$ac_res" >&6; }
18877 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18878 cat >>confdefs.h <<_ACEOF
18879 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18889 *-pc-os2_emx | *-pc-os2-emx )
18890 if test $ac_cv_header_langinfo_h = "yes" \
18891 -a \( "$wx_cv_gccversion" = "EMX2
" \
18892 -o "$wx_cv_gccversion" = "EMX3
" \
18893 -o "$wx_cv_gccversion" = "Innotek5
" \); then
18894 LIBS="$LIBS -lintl"
18899 if test "$USE_UNIX" = 1 ; then
18901 for ac_header in sys/select.h
18903 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18904 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18905 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18906 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18907 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18908 echo $ECHO_N "(cached
) $ECHO_C" >&6
18910 ac_res=`eval echo '${'$as_ac_Header'}'`
18911 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18912 echo "${ECHO_T}$ac_res" >&6; }
18914 # Is the header compilable?
18915 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
18916 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
18917 cat >conftest.$ac_ext <<_ACEOF
18920 cat confdefs.h >>conftest.$ac_ext
18921 cat >>conftest.$ac_ext <<_ACEOF
18922 /* end confdefs.h. */
18923 $ac_includes_default
18924 #include <$ac_header>
18926 rm -f conftest.$ac_objext
18927 if { (ac_try="$ac_compile"
18928 case "(($ac_try" in
18929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18930 *) ac_try_echo=$ac_try;;
18932 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18933 (eval "$ac_compile") 2>conftest.er1
18935 grep -v '^ *+' conftest.er1 >conftest.err
18937 cat conftest.err >&5
18938 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18939 (exit $ac_status); } &&
18940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18941 { (case "(($ac_try" in
18942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18943 *) ac_try_echo=$ac_try;;
18945 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18946 (eval "$ac_try") 2>&5
18948 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18949 (exit $ac_status); }; } &&
18950 { ac_try='test -s conftest.$ac_objext'
18951 { (case "(($ac_try" in
18952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18953 *) ac_try_echo=$ac_try;;
18955 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18956 (eval "$ac_try") 2>&5
18958 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18959 (exit $ac_status); }; }; then
18960 ac_header_compiler=yes
18962 echo "$as_me: failed program was
:" >&5
18963 sed 's/^/| /' conftest.$ac_ext >&5
18965 ac_header_compiler=no
18968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18969 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
18970 echo "${ECHO_T}$ac_header_compiler" >&6; }
18972 # Is the header present?
18973 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
18974 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
18975 cat >conftest.$ac_ext <<_ACEOF
18978 cat confdefs.h >>conftest.$ac_ext
18979 cat >>conftest.$ac_ext <<_ACEOF
18980 /* end confdefs.h. */
18981 #include <$ac_header>
18983 if { (ac_try="$ac_cpp conftest.
$ac_ext"
18984 case "(($ac_try" in
18985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18986 *) ac_try_echo=$ac_try;;
18988 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18989 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
18991 grep -v '^ *+' conftest.er1 >conftest.err
18993 cat conftest.err >&5
18994 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18995 (exit $ac_status); } >/dev/null; then
18996 if test -s conftest.err; then
18997 ac_cpp_err=$ac_c_preproc_warn_flag
18998 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19005 if test -z "$ac_cpp_err"; then
19006 ac_header_preproc=yes
19008 echo "$as_me: failed program was
:" >&5
19009 sed 's/^/| /' conftest.$ac_ext >&5
19011 ac_header_preproc=no
19014 rm -f conftest.err conftest.$ac_ext
19015 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
19016 echo "${ECHO_T}$ac_header_preproc" >&6; }
19018 # So? What about this header?
19019 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19021 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
19022 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
19023 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
19024 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
19025 ac_header_preproc=yes
19028 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
19029 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
19030 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
19031 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
19032 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
19033 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
19034 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
19035 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
19036 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
19037 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
19038 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
19039 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
19041 ## ----------------------------------------- ##
19042 ## Report this to wx-dev@lists.wxwidgets.org ##
19043 ## ----------------------------------------- ##
19045 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
19048 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19049 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19050 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19051 echo $ECHO_N "(cached
) $ECHO_C" >&6
19053 eval "$as_ac_Header=\
$ac_header_preproc"
19055 ac_res=`eval echo '${'$as_ac_Header'}'`
19056 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19057 echo "${ECHO_T}$ac_res" >&6; }
19060 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19061 cat >>confdefs.h <<_ACEOF
19062 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19072 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19073 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19074 if test "${ac_cv_c_const+set}" = set; then
19075 echo $ECHO_N "(cached
) $ECHO_C" >&6
19077 cat >conftest.$ac_ext <<_ACEOF
19080 cat confdefs.h >>conftest.$ac_ext
19081 cat >>conftest.$ac_ext <<_ACEOF
19082 /* end confdefs.h. */
19087 /* FIXME: Include the comments suggested by Paul. */
19088 #ifndef __cplusplus
19089 /* Ultrix mips cc rejects this. */
19090 typedef int charset[2];
19092 /* SunOS 4.1.1 cc rejects this. */
19093 char const *const *ccp;
19095 /* NEC SVR4.0.2 mips cc rejects this. */
19096 struct point {int x, y;};
19097 static struct point const zero = {0,0};
19098 /* AIX XL C 1.02.0.0 rejects this.
19099 It does not let you subtract one const X* pointer from another in
19100 an arm of an if-expression whose if-part is not a constant
19102 const char *g = "string
";
19103 ccp = &g + (g ? g-g : 0);
19104 /* HPUX 7.0 cc rejects these. */
19107 ccp = (char const *const *) p;
19108 { /* SCO 3.2v4 cc rejects this. */
19110 char const *s = 0 ? (char *) 0 : (char const *) 0;
19115 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19116 int x[] = {25, 17};
19117 const int *foo = &x[0];
19120 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19121 typedef const int *iptr;
19125 { /* AIX XL C 1.02.0.0 rejects this saying
19126 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19127 struct s { int j; const int *ap[3]; };
19128 struct s *b; b->j = 5;
19130 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19131 const int foo = 10;
19132 if (!foo) return 0;
19134 return !x[0] && !zero.x;
19141 rm -f conftest.$ac_objext
19142 if { (ac_try="$ac_compile"
19143 case "(($ac_try" in
19144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19145 *) ac_try_echo=$ac_try;;
19147 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19148 (eval "$ac_compile") 2>conftest.er1
19150 grep -v '^ *+' conftest.er1 >conftest.err
19152 cat conftest.err >&5
19153 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19154 (exit $ac_status); } &&
19155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19156 { (case "(($ac_try" in
19157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19158 *) ac_try_echo=$ac_try;;
19160 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19161 (eval "$ac_try") 2>&5
19163 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19164 (exit $ac_status); }; } &&
19165 { ac_try='test -s conftest.$ac_objext'
19166 { (case "(($ac_try" in
19167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19168 *) ac_try_echo=$ac_try;;
19170 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19171 (eval "$ac_try") 2>&5
19173 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19174 (exit $ac_status); }; }; then
19177 echo "$as_me: failed program was
:" >&5
19178 sed 's/^/| /' conftest.$ac_ext >&5
19183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19185 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19186 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19187 if test $ac_cv_c_const = no; then
19189 cat >>confdefs.h <<\_ACEOF
19195 { echo "$as_me:$LINENO: checking
for inline
" >&5
19196 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19197 if test "${ac_cv_c_inline+set}" = set; then
19198 echo $ECHO_N "(cached
) $ECHO_C" >&6
19201 for ac_kw in inline __inline__ __inline; do
19202 cat >conftest.$ac_ext <<_ACEOF
19205 cat confdefs.h >>conftest.$ac_ext
19206 cat >>conftest.$ac_ext <<_ACEOF
19207 /* end confdefs.h. */
19208 #ifndef __cplusplus
19210 static $ac_kw foo_t static_foo () {return 0; }
19211 $ac_kw foo_t foo () {return 0; }
19215 rm -f conftest.$ac_objext
19216 if { (ac_try="$ac_compile"
19217 case "(($ac_try" in
19218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19219 *) ac_try_echo=$ac_try;;
19221 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19222 (eval "$ac_compile") 2>conftest.er1
19224 grep -v '^ *+' conftest.er1 >conftest.err
19226 cat conftest.err >&5
19227 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19228 (exit $ac_status); } &&
19229 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19230 { (case "(($ac_try" in
19231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19232 *) ac_try_echo=$ac_try;;
19234 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19235 (eval "$ac_try") 2>&5
19237 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19238 (exit $ac_status); }; } &&
19239 { ac_try='test -s conftest.$ac_objext'
19240 { (case "(($ac_try" in
19241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19242 *) ac_try_echo=$ac_try;;
19244 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19245 (eval "$ac_try") 2>&5
19247 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19248 (exit $ac_status); }; }; then
19249 ac_cv_c_inline=$ac_kw
19251 echo "$as_me: failed program was
:" >&5
19252 sed 's/^/| /' conftest.$ac_ext >&5
19257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19258 test "$ac_cv_c_inline" != no && break
19262 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19263 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19266 case $ac_cv_c_inline in
19269 case $ac_cv_c_inline in
19271 *) ac_val=$ac_cv_c_inline;;
19273 cat >>confdefs.h <<_ACEOF
19274 #ifndef __cplusplus
19275 #define inline $ac_val
19282 { echo "$as_me:$LINENO: checking
for char
" >&5
19283 echo $ECHO_N "checking
for char...
$ECHO_C" >&6; }
19284 if test "${ac_cv_type_char+set}" = set; then
19285 echo $ECHO_N "(cached
) $ECHO_C" >&6
19287 cat >conftest.$ac_ext <<_ACEOF
19290 cat confdefs.h >>conftest.$ac_ext
19291 cat >>conftest.$ac_ext <<_ACEOF
19292 /* end confdefs.h. */
19293 $ac_includes_default
19294 typedef char ac__type_new_;
19298 if ((ac__type_new_ *) 0)
19300 if (sizeof (ac__type_new_))
19306 rm -f conftest.$ac_objext
19307 if { (ac_try="$ac_compile"
19308 case "(($ac_try" in
19309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19310 *) ac_try_echo=$ac_try;;
19312 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19313 (eval "$ac_compile") 2>conftest.er1
19315 grep -v '^ *+' conftest.er1 >conftest.err
19317 cat conftest.err >&5
19318 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19319 (exit $ac_status); } &&
19320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19321 { (case "(($ac_try" in
19322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19323 *) ac_try_echo=$ac_try;;
19325 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19326 (eval "$ac_try") 2>&5
19328 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19329 (exit $ac_status); }; } &&
19330 { ac_try='test -s conftest.$ac_objext'
19331 { (case "(($ac_try" in
19332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19333 *) ac_try_echo=$ac_try;;
19335 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19336 (eval "$ac_try") 2>&5
19338 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19339 (exit $ac_status); }; }; then
19340 ac_cv_type_char=yes
19342 echo "$as_me: failed program was
:" >&5
19343 sed 's/^/| /' conftest.$ac_ext >&5
19348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19350 { echo "$as_me:$LINENO: result
: $ac_cv_type_char" >&5
19351 echo "${ECHO_T}$ac_cv_type_char" >&6; }
19353 { echo "$as_me:$LINENO: checking size of char
" >&5
19354 echo $ECHO_N "checking size of char...
$ECHO_C" >&6; }
19355 if test "${ac_cv_sizeof_char+set}" = set; then
19356 echo $ECHO_N "(cached
) $ECHO_C" >&6
19358 if test "$ac_cv_type_char" = yes; then
19359 # The cast to long int works around a bug in the HP C Compiler
19360 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19361 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19362 # This bug is HP SR number 8606223364.
19363 if test "$cross_compiling" = yes; then
19364 # Depending upon the size, compute the lo and hi bounds.
19365 cat >conftest.$ac_ext <<_ACEOF
19368 cat confdefs.h >>conftest.$ac_ext
19369 cat >>conftest.$ac_ext <<_ACEOF
19370 /* end confdefs.h. */
19371 $ac_includes_default
19372 typedef char ac__type_sizeof_;
19376 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19383 rm -f conftest.$ac_objext
19384 if { (ac_try="$ac_compile"
19385 case "(($ac_try" in
19386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19387 *) ac_try_echo=$ac_try;;
19389 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19390 (eval "$ac_compile") 2>conftest.er1
19392 grep -v '^ *+' conftest.er1 >conftest.err
19394 cat conftest.err >&5
19395 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19396 (exit $ac_status); } &&
19397 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19398 { (case "(($ac_try" in
19399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19400 *) ac_try_echo=$ac_try;;
19402 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19403 (eval "$ac_try") 2>&5
19405 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19406 (exit $ac_status); }; } &&
19407 { ac_try='test -s conftest.$ac_objext'
19408 { (case "(($ac_try" in
19409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19410 *) ac_try_echo=$ac_try;;
19412 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19413 (eval "$ac_try") 2>&5
19415 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19416 (exit $ac_status); }; }; then
19419 cat >conftest.$ac_ext <<_ACEOF
19422 cat confdefs.h >>conftest.$ac_ext
19423 cat >>conftest.$ac_ext <<_ACEOF
19424 /* end confdefs.h. */
19425 $ac_includes_default
19426 typedef char ac__type_sizeof_;
19430 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19437 rm -f conftest.$ac_objext
19438 if { (ac_try="$ac_compile"
19439 case "(($ac_try" in
19440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19441 *) ac_try_echo=$ac_try;;
19443 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19444 (eval "$ac_compile") 2>conftest.er1
19446 grep -v '^ *+' conftest.er1 >conftest.err
19448 cat conftest.err >&5
19449 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19450 (exit $ac_status); } &&
19451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19452 { (case "(($ac_try" in
19453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19454 *) ac_try_echo=$ac_try;;
19456 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19457 (eval "$ac_try") 2>&5
19459 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19460 (exit $ac_status); }; } &&
19461 { ac_try='test -s conftest.$ac_objext'
19462 { (case "(($ac_try" in
19463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19464 *) ac_try_echo=$ac_try;;
19466 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19467 (eval "$ac_try") 2>&5
19469 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19470 (exit $ac_status); }; }; then
19471 ac_hi=$ac_mid; break
19473 echo "$as_me: failed program was
:" >&5
19474 sed 's/^/| /' conftest.$ac_ext >&5
19476 ac_lo=`expr $ac_mid + 1`
19477 if test $ac_lo -le $ac_mid; then
19481 ac_mid=`expr 2 '*' $ac_mid + 1`
19484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19487 echo "$as_me: failed program was
:" >&5
19488 sed 's/^/| /' conftest.$ac_ext >&5
19490 cat >conftest.$ac_ext <<_ACEOF
19493 cat confdefs.h >>conftest.$ac_ext
19494 cat >>conftest.$ac_ext <<_ACEOF
19495 /* end confdefs.h. */
19496 $ac_includes_default
19497 typedef char ac__type_sizeof_;
19501 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19508 rm -f conftest.$ac_objext
19509 if { (ac_try="$ac_compile"
19510 case "(($ac_try" in
19511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19512 *) ac_try_echo=$ac_try;;
19514 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19515 (eval "$ac_compile") 2>conftest.er1
19517 grep -v '^ *+' conftest.er1 >conftest.err
19519 cat conftest.err >&5
19520 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19521 (exit $ac_status); } &&
19522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19523 { (case "(($ac_try" in
19524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19525 *) ac_try_echo=$ac_try;;
19527 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19528 (eval "$ac_try") 2>&5
19530 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19531 (exit $ac_status); }; } &&
19532 { ac_try='test -s conftest.$ac_objext'
19533 { (case "(($ac_try" in
19534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19535 *) ac_try_echo=$ac_try;;
19537 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19538 (eval "$ac_try") 2>&5
19540 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19541 (exit $ac_status); }; }; then
19544 cat >conftest.$ac_ext <<_ACEOF
19547 cat confdefs.h >>conftest.$ac_ext
19548 cat >>conftest.$ac_ext <<_ACEOF
19549 /* end confdefs.h. */
19550 $ac_includes_default
19551 typedef char ac__type_sizeof_;
19555 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19562 rm -f conftest.$ac_objext
19563 if { (ac_try="$ac_compile"
19564 case "(($ac_try" in
19565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19566 *) ac_try_echo=$ac_try;;
19568 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19569 (eval "$ac_compile") 2>conftest.er1
19571 grep -v '^ *+' conftest.er1 >conftest.err
19573 cat conftest.err >&5
19574 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19575 (exit $ac_status); } &&
19576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19577 { (case "(($ac_try" in
19578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19579 *) ac_try_echo=$ac_try;;
19581 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19582 (eval "$ac_try") 2>&5
19584 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19585 (exit $ac_status); }; } &&
19586 { ac_try='test -s conftest.$ac_objext'
19587 { (case "(($ac_try" in
19588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19589 *) ac_try_echo=$ac_try;;
19591 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19592 (eval "$ac_try") 2>&5
19594 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19595 (exit $ac_status); }; }; then
19596 ac_lo=$ac_mid; break
19598 echo "$as_me: failed program was
:" >&5
19599 sed 's/^/| /' conftest.$ac_ext >&5
19601 ac_hi=`expr '(' $ac_mid ')' - 1`
19602 if test $ac_mid -le $ac_hi; then
19606 ac_mid=`expr 2 '*' $ac_mid`
19609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19612 echo "$as_me: failed program was
:" >&5
19613 sed 's/^/| /' conftest.$ac_ext >&5
19618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19622 # Binary search between lo and hi bounds.
19623 while test "x
$ac_lo" != "x
$ac_hi"; do
19624 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19625 cat >conftest.$ac_ext <<_ACEOF
19628 cat confdefs.h >>conftest.$ac_ext
19629 cat >>conftest.$ac_ext <<_ACEOF
19630 /* end confdefs.h. */
19631 $ac_includes_default
19632 typedef char ac__type_sizeof_;
19636 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19643 rm -f conftest.$ac_objext
19644 if { (ac_try="$ac_compile"
19645 case "(($ac_try" in
19646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19647 *) ac_try_echo=$ac_try;;
19649 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19650 (eval "$ac_compile") 2>conftest.er1
19652 grep -v '^ *+' conftest.er1 >conftest.err
19654 cat conftest.err >&5
19655 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19656 (exit $ac_status); } &&
19657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19658 { (case "(($ac_try" in
19659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19660 *) ac_try_echo=$ac_try;;
19662 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19663 (eval "$ac_try") 2>&5
19665 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19666 (exit $ac_status); }; } &&
19667 { ac_try='test -s conftest.$ac_objext'
19668 { (case "(($ac_try" in
19669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19670 *) ac_try_echo=$ac_try;;
19672 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19673 (eval "$ac_try") 2>&5
19675 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19676 (exit $ac_status); }; }; then
19679 echo "$as_me: failed program was
:" >&5
19680 sed 's/^/| /' conftest.$ac_ext >&5
19682 ac_lo=`expr '(' $ac_mid ')' + 1`
19685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19688 ?*) ac_cv_sizeof_char=$ac_lo;;
19689 '') { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(char
)
19690 See \
`config.log' for more details." >&5
19691 echo "$as_me: error: cannot compute sizeof (char)
19692 See \`config.log
' for more details." >&2;}
19693 { (exit 77); exit 77; }; } ;;
19696 cat >conftest.$ac_ext <<_ACEOF
19699 cat confdefs.h >>conftest.$ac_ext
19700 cat >>conftest.$ac_ext <<_ACEOF
19701 /* end confdefs.h. */
19702 $ac_includes_default
19703 typedef char ac__type_sizeof_;
19704 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19705 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19707 #include <stdlib.h>
19712 FILE *f = fopen ("conftest.val", "w");
19715 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19717 long int i = longval ();
19718 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19720 fprintf (f, "%ld\n", i);
19724 unsigned long int i = ulongval ();
19725 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19727 fprintf (f, "%lu\n", i);
19729 return ferror (f) || fclose (f) != 0;
19735 rm -f conftest$ac_exeext
19736 if { (ac_try="$ac_link"
19737 case "(($ac_try" in
19738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19739 *) ac_try_echo=$ac_try;;
19741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19742 (eval "$ac_link") 2>&5
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19746 { (case "(($ac_try" in
19747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19748 *) ac_try_echo=$ac_try;;
19750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19751 (eval "$ac_try") 2>&5
19753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19754 (exit $ac_status); }; }; then
19755 ac_cv_sizeof_char=`cat conftest.val`
19757 echo "$as_me: program exited with status $ac_status" >&5
19758 echo "$as_me: failed program was:" >&5
19759 sed 's
/^
/| /' conftest.$ac_ext >&5
19761 ( exit $ac_status )
19762 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
19763 See \`config.log' for more details.
" >&5
19764 echo "$as_me: error
: cannot compute sizeof
(char
)
19765 See \
`config.log' for more details." >&2;}
19766 { (exit 77); exit 77; }; }
19768 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19772 ac_cv_sizeof_char=0
19775 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
19776 echo "${ECHO_T}$ac_cv_sizeof_char" >&6; }
19777 cat >>confdefs.h <<_ACEOF
19778 #define SIZEOF_CHAR $ac_cv_sizeof_char
19782 { echo "$as_me:$LINENO: checking for short" >&5
19783 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19784 if test "${ac_cv_type_short+set}" = set; then
19785 echo $ECHO_N "(cached) $ECHO_C" >&6
19787 cat >conftest.$ac_ext <<_ACEOF
19790 cat confdefs.h >>conftest.$ac_ext
19791 cat >>conftest.$ac_ext <<_ACEOF
19792 /* end confdefs.h. */
19793 $ac_includes_default
19794 typedef short ac__type_new_;
19798 if ((ac__type_new_ *) 0)
19800 if (sizeof (ac__type_new_))
19806 rm -f conftest.$ac_objext
19807 if { (ac_try="$ac_compile"
19808 case "(($ac_try" in
19809 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19810 *) ac_try_echo
=$ac_try;;
19812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19813 (eval "$ac_compile") 2>conftest.er1
19815 grep -v '^ *+' conftest.er1
>conftest.err
19817 cat conftest.err
>&5
19818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19819 (exit $ac_status); } &&
19820 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19821 { (case "(($ac_try" in
19822 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19823 *) ac_try_echo=$ac_try;;
19825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19826 (eval "$ac_try") 2>&5
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); }; } &&
19830 { ac_try='test -s conftest.$ac_objext'
19831 { (case "(($ac_try" in
19832 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19833 *) ac_try_echo
=$ac_try;;
19835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19836 (eval "$ac_try") 2>&5
19838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839 (exit $ac_status); }; }; then
19840 ac_cv_type_short
=yes
19842 echo "$as_me: failed program was:" >&5
19843 sed 's/^/| /' conftest.
$ac_ext >&5
19845 ac_cv_type_short
=no
19848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19850 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19851 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19853 { echo "$as_me:$LINENO: checking size of short" >&5
19854 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19855 if test "${ac_cv_sizeof_short+set}" = set; then
19856 echo $ECHO_N "(cached) $ECHO_C" >&6
19858 if test "$ac_cv_type_short" = yes; then
19859 # The cast to long int works around a bug in the HP C Compiler
19860 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19861 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19862 # This bug is HP SR number 8606223364.
19863 if test "$cross_compiling" = yes; then
19864 # Depending upon the size, compute the lo and hi bounds.
19865 cat >conftest.
$ac_ext <<_ACEOF
19868 cat confdefs.h
>>conftest.
$ac_ext
19869 cat >>conftest.
$ac_ext <<_ACEOF
19870 /* end confdefs.h. */
19871 $ac_includes_default
19872 typedef short ac__type_sizeof_;
19876 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19883 rm -f conftest.
$ac_objext
19884 if { (ac_try
="$ac_compile"
19885 case "(($ac_try" in
19886 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19887 *) ac_try_echo=$ac_try;;
19889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19890 (eval "$ac_compile") 2>conftest.er1
19892 grep -v '^ *+' conftest.er1 >conftest.err
19894 cat conftest.err >&5
19895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19896 (exit $ac_status); } &&
19897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19898 { (case "(($ac_try" in
19899 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19900 *) ac_try_echo
=$ac_try;;
19902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19903 (eval "$ac_try") 2>&5
19905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19906 (exit $ac_status); }; } &&
19907 { ac_try
='test -s conftest.$ac_objext'
19908 { (case "(($ac_try" in
19909 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19910 *) ac_try_echo=$ac_try;;
19912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19913 (eval "$ac_try") 2>&5
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); }; }; then
19919 cat >conftest.$ac_ext <<_ACEOF
19922 cat confdefs.h >>conftest.$ac_ext
19923 cat >>conftest.$ac_ext <<_ACEOF
19924 /* end confdefs.h. */
19925 $ac_includes_default
19926 typedef short ac__type_sizeof_;
19930 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19937 rm -f conftest.$ac_objext
19938 if { (ac_try="$ac_compile"
19939 case "(($ac_try" in
19940 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19941 *) ac_try_echo
=$ac_try;;
19943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19944 (eval "$ac_compile") 2>conftest.er1
19946 grep -v '^ *+' conftest.er1
>conftest.err
19948 cat conftest.err
>&5
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); } &&
19951 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19952 { (case "(($ac_try" in
19953 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19954 *) ac_try_echo=$ac_try;;
19956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19957 (eval "$ac_try") 2>&5
19959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19960 (exit $ac_status); }; } &&
19961 { ac_try='test -s conftest.$ac_objext'
19962 { (case "(($ac_try" in
19963 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19964 *) ac_try_echo
=$ac_try;;
19966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19967 (eval "$ac_try") 2>&5
19969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19970 (exit $ac_status); }; }; then
19971 ac_hi
=$ac_mid; break
19973 echo "$as_me: failed program was:" >&5
19974 sed 's/^/| /' conftest.
$ac_ext >&5
19976 ac_lo
=`expr $ac_mid + 1`
19977 if test $ac_lo -le $ac_mid; then
19981 ac_mid
=`expr 2 '*' $ac_mid + 1`
19984 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19987 echo "$as_me: failed program was:" >&5
19988 sed 's/^/| /' conftest.
$ac_ext >&5
19990 cat >conftest.
$ac_ext <<_ACEOF
19993 cat confdefs.h
>>conftest.
$ac_ext
19994 cat >>conftest.
$ac_ext <<_ACEOF
19995 /* end confdefs.h. */
19996 $ac_includes_default
19997 typedef short ac__type_sizeof_;
20001 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20008 rm -f conftest.
$ac_objext
20009 if { (ac_try
="$ac_compile"
20010 case "(($ac_try" in
20011 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20012 *) ac_try_echo=$ac_try;;
20014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20015 (eval "$ac_compile") 2>conftest.er1
20017 grep -v '^ *+' conftest.er1 >conftest.err
20019 cat conftest.err >&5
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); } &&
20022 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20023 { (case "(($ac_try" in
20024 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20025 *) ac_try_echo
=$ac_try;;
20027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20028 (eval "$ac_try") 2>&5
20030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031 (exit $ac_status); }; } &&
20032 { ac_try
='test -s conftest.$ac_objext'
20033 { (case "(($ac_try" in
20034 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20035 *) ac_try_echo=$ac_try;;
20037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20038 (eval "$ac_try") 2>&5
20040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041 (exit $ac_status); }; }; then
20044 cat >conftest.$ac_ext <<_ACEOF
20047 cat confdefs.h >>conftest.$ac_ext
20048 cat >>conftest.$ac_ext <<_ACEOF
20049 /* end confdefs.h. */
20050 $ac_includes_default
20051 typedef short ac__type_sizeof_;
20055 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20062 rm -f conftest.$ac_objext
20063 if { (ac_try="$ac_compile"
20064 case "(($ac_try" in
20065 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20066 *) ac_try_echo
=$ac_try;;
20068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20069 (eval "$ac_compile") 2>conftest.er1
20071 grep -v '^ *+' conftest.er1
>conftest.err
20073 cat conftest.err
>&5
20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075 (exit $ac_status); } &&
20076 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20077 { (case "(($ac_try" in
20078 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20079 *) ac_try_echo=$ac_try;;
20081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20082 (eval "$ac_try") 2>&5
20084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20085 (exit $ac_status); }; } &&
20086 { ac_try='test -s conftest.$ac_objext'
20087 { (case "(($ac_try" in
20088 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20089 *) ac_try_echo
=$ac_try;;
20091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20092 (eval "$ac_try") 2>&5
20094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20095 (exit $ac_status); }; }; then
20096 ac_lo
=$ac_mid; break
20098 echo "$as_me: failed program was:" >&5
20099 sed 's/^/| /' conftest.
$ac_ext >&5
20101 ac_hi
=`expr '(' $ac_mid ')' - 1`
20102 if test $ac_mid -le $ac_hi; then
20106 ac_mid
=`expr 2 '*' $ac_mid`
20109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20112 echo "$as_me: failed program was:" >&5
20113 sed 's/^/| /' conftest.
$ac_ext >&5
20118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20122 # Binary search between lo and hi bounds.
20123 while test "x$ac_lo" != "x$ac_hi"; do
20124 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20125 cat >conftest.
$ac_ext <<_ACEOF
20128 cat confdefs.h
>>conftest.
$ac_ext
20129 cat >>conftest.
$ac_ext <<_ACEOF
20130 /* end confdefs.h. */
20131 $ac_includes_default
20132 typedef short ac__type_sizeof_;
20136 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20143 rm -f conftest.
$ac_objext
20144 if { (ac_try
="$ac_compile"
20145 case "(($ac_try" in
20146 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20147 *) ac_try_echo=$ac_try;;
20149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20150 (eval "$ac_compile") 2>conftest.er1
20152 grep -v '^ *+' conftest.er1 >conftest.err
20154 cat conftest.err >&5
20155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20156 (exit $ac_status); } &&
20157 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20158 { (case "(($ac_try" in
20159 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20160 *) ac_try_echo
=$ac_try;;
20162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20163 (eval "$ac_try") 2>&5
20165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20166 (exit $ac_status); }; } &&
20167 { ac_try
='test -s conftest.$ac_objext'
20168 { (case "(($ac_try" in
20169 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20170 *) ac_try_echo=$ac_try;;
20172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20173 (eval "$ac_try") 2>&5
20175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20176 (exit $ac_status); }; }; then
20179 echo "$as_me: failed program was:" >&5
20180 sed 's/^/| /' conftest.$ac_ext >&5
20182 ac_lo=`expr '(' $ac_mid ')' + 1`
20185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20188 ?*) ac_cv_sizeof_short=$ac_lo;;
20189 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20190 See \`config.log
' for more details." >&5
20191 echo "$as_me: error: cannot compute sizeof (short)
20192 See \`config.log' for more details.
" >&2;}
20193 { (exit 77); exit 77; }; } ;;
20196 cat >conftest.$ac_ext <<_ACEOF
20199 cat confdefs.h >>conftest.$ac_ext
20200 cat >>conftest.$ac_ext <<_ACEOF
20201 /* end confdefs.h. */
20202 $ac_includes_default
20203 typedef short ac__type_sizeof_;
20204 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20205 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20207 #include <stdlib.h>
20212 FILE *f = fopen ("conftest.val
", "w
");
20215 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20217 long int i = longval ();
20218 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20220 fprintf (f, "%ld
\n", i);
20224 unsigned long int i = ulongval ();
20225 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20227 fprintf (f, "%lu
\n", i);
20229 return ferror (f) || fclose (f) != 0;
20235 rm -f conftest$ac_exeext
20236 if { (ac_try="$ac_link"
20237 case "(($ac_try" in
20238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20239 *) ac_try_echo=$ac_try;;
20241 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20242 (eval "$ac_link") 2>&5
20244 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20245 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20246 { (case "(($ac_try" in
20247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20248 *) ac_try_echo=$ac_try;;
20250 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20251 (eval "$ac_try") 2>&5
20253 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20254 (exit $ac_status); }; }; then
20255 ac_cv_sizeof_short=`cat conftest.val`
20257 echo "$as_me: program exited with status
$ac_status" >&5
20258 echo "$as_me: failed program was
:" >&5
20259 sed 's/^/| /' conftest.$ac_ext >&5
20261 ( exit $ac_status )
20262 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
20263 See \
`config.log' for more details." >&5
20264 echo "$as_me: error: cannot compute sizeof (short)
20265 See \`config.log
' for more details." >&2;}
20266 { (exit 77); exit 77; }; }
20268 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20272 ac_cv_sizeof_short=0
20275 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20276 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20277 cat >>confdefs.h <<_ACEOF
20278 #define SIZEOF_SHORT $ac_cv_sizeof_short
20282 { echo "$as_me:$LINENO: checking for void *" >&5
20283 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20284 if test "${ac_cv_type_void_p+set}" = set; then
20285 echo $ECHO_N "(cached) $ECHO_C" >&6
20287 cat >conftest.$ac_ext <<_ACEOF
20290 cat confdefs.h >>conftest.$ac_ext
20291 cat >>conftest.$ac_ext <<_ACEOF
20292 /* end confdefs.h. */
20293 $ac_includes_default
20294 typedef void * ac__type_new_;
20298 if ((ac__type_new_ *) 0)
20300 if (sizeof (ac__type_new_))
20306 rm -f conftest.$ac_objext
20307 if { (ac_try="$ac_compile"
20308 case "(($ac_try" in
20309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20310 *) ac_try_echo=$ac_try;;
20312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20313 (eval "$ac_compile") 2>conftest.er1
20315 grep -v '^
*+' conftest.er1 >conftest.err
20317 cat conftest.err >&5
20318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20319 (exit $ac_status); } &&
20320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
20321 { (case "(($ac_try" in
20322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20323 *) ac_try_echo=$ac_try;;
20325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20326 (eval "$ac_try") 2>&5
20328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20329 (exit $ac_status); }; } &&
20330 { ac_try='test -s conftest.
$ac_objext'
20331 { (case "(($ac_try" in
20332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20333 *) ac_try_echo=$ac_try;;
20335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20336 (eval "$ac_try") 2>&5
20338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20339 (exit $ac_status); }; }; then
20340 ac_cv_type_void_p=yes
20342 echo "$as_me: failed program was:" >&5
20343 sed 's
/^
/| /' conftest.$ac_ext >&5
20345 ac_cv_type_void_p=no
20348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20350 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20351 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20353 { echo "$as_me:$LINENO: checking size of void *" >&5
20354 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20355 if test "${ac_cv_sizeof_void_p+set}" = set; then
20356 echo $ECHO_N "(cached) $ECHO_C" >&6
20358 if test "$ac_cv_type_void_p" = yes; then
20359 # The cast to long int works around a bug in the HP C Compiler
20360 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20361 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20362 # This bug is HP SR number 8606223364.
20363 if test "$cross_compiling" = yes; then
20364 # Depending upon the size, compute the lo and hi bounds.
20365 cat >conftest.
$ac_ext <<_ACEOF
20368 cat confdefs.h
>>conftest.
$ac_ext
20369 cat >>conftest.
$ac_ext <<_ACEOF
20370 /* end confdefs.h. */
20371 $ac_includes_default
20372 typedef void * ac__type_sizeof_;
20376 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20383 rm -f conftest.
$ac_objext
20384 if { (ac_try
="$ac_compile"
20385 case "(($ac_try" in
20386 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20387 *) ac_try_echo=$ac_try;;
20389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20390 (eval "$ac_compile") 2>conftest.er1
20392 grep -v '^ *+' conftest.er1 >conftest.err
20394 cat conftest.err >&5
20395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396 (exit $ac_status); } &&
20397 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20398 { (case "(($ac_try" in
20399 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20400 *) ac_try_echo
=$ac_try;;
20402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20403 (eval "$ac_try") 2>&5
20405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20406 (exit $ac_status); }; } &&
20407 { ac_try
='test -s conftest.$ac_objext'
20408 { (case "(($ac_try" in
20409 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20410 *) ac_try_echo=$ac_try;;
20412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20413 (eval "$ac_try") 2>&5
20415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20416 (exit $ac_status); }; }; then
20419 cat >conftest.$ac_ext <<_ACEOF
20422 cat confdefs.h >>conftest.$ac_ext
20423 cat >>conftest.$ac_ext <<_ACEOF
20424 /* end confdefs.h. */
20425 $ac_includes_default
20426 typedef void * ac__type_sizeof_;
20430 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20437 rm -f conftest.$ac_objext
20438 if { (ac_try="$ac_compile"
20439 case "(($ac_try" in
20440 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20441 *) ac_try_echo
=$ac_try;;
20443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20444 (eval "$ac_compile") 2>conftest.er1
20446 grep -v '^ *+' conftest.er1
>conftest.err
20448 cat conftest.err
>&5
20449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20450 (exit $ac_status); } &&
20451 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20452 { (case "(($ac_try" in
20453 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20454 *) ac_try_echo=$ac_try;;
20456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20457 (eval "$ac_try") 2>&5
20459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20460 (exit $ac_status); }; } &&
20461 { ac_try='test -s conftest.$ac_objext'
20462 { (case "(($ac_try" in
20463 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20464 *) ac_try_echo
=$ac_try;;
20466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20467 (eval "$ac_try") 2>&5
20469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20470 (exit $ac_status); }; }; then
20471 ac_hi
=$ac_mid; break
20473 echo "$as_me: failed program was:" >&5
20474 sed 's/^/| /' conftest.
$ac_ext >&5
20476 ac_lo
=`expr $ac_mid + 1`
20477 if test $ac_lo -le $ac_mid; then
20481 ac_mid
=`expr 2 '*' $ac_mid + 1`
20484 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20487 echo "$as_me: failed program was:" >&5
20488 sed 's/^/| /' conftest.
$ac_ext >&5
20490 cat >conftest.
$ac_ext <<_ACEOF
20493 cat confdefs.h
>>conftest.
$ac_ext
20494 cat >>conftest.
$ac_ext <<_ACEOF
20495 /* end confdefs.h. */
20496 $ac_includes_default
20497 typedef void * ac__type_sizeof_;
20501 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20508 rm -f conftest.
$ac_objext
20509 if { (ac_try
="$ac_compile"
20510 case "(($ac_try" in
20511 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20512 *) ac_try_echo=$ac_try;;
20514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20515 (eval "$ac_compile") 2>conftest.er1
20517 grep -v '^ *+' conftest.er1 >conftest.err
20519 cat conftest.err >&5
20520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20521 (exit $ac_status); } &&
20522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20523 { (case "(($ac_try" in
20524 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20525 *) ac_try_echo
=$ac_try;;
20527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20528 (eval "$ac_try") 2>&5
20530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20531 (exit $ac_status); }; } &&
20532 { ac_try
='test -s conftest.$ac_objext'
20533 { (case "(($ac_try" in
20534 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20535 *) ac_try_echo=$ac_try;;
20537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20538 (eval "$ac_try") 2>&5
20540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20541 (exit $ac_status); }; }; then
20544 cat >conftest.$ac_ext <<_ACEOF
20547 cat confdefs.h >>conftest.$ac_ext
20548 cat >>conftest.$ac_ext <<_ACEOF
20549 /* end confdefs.h. */
20550 $ac_includes_default
20551 typedef void * ac__type_sizeof_;
20555 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20562 rm -f conftest.$ac_objext
20563 if { (ac_try="$ac_compile"
20564 case "(($ac_try" in
20565 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20566 *) ac_try_echo
=$ac_try;;
20568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20569 (eval "$ac_compile") 2>conftest.er1
20571 grep -v '^ *+' conftest.er1
>conftest.err
20573 cat conftest.err
>&5
20574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20575 (exit $ac_status); } &&
20576 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20577 { (case "(($ac_try" in
20578 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20579 *) ac_try_echo=$ac_try;;
20581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20582 (eval "$ac_try") 2>&5
20584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20585 (exit $ac_status); }; } &&
20586 { ac_try='test -s conftest.$ac_objext'
20587 { (case "(($ac_try" in
20588 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20589 *) ac_try_echo
=$ac_try;;
20591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20592 (eval "$ac_try") 2>&5
20594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20595 (exit $ac_status); }; }; then
20596 ac_lo
=$ac_mid; break
20598 echo "$as_me: failed program was:" >&5
20599 sed 's/^/| /' conftest.
$ac_ext >&5
20601 ac_hi
=`expr '(' $ac_mid ')' - 1`
20602 if test $ac_mid -le $ac_hi; then
20606 ac_mid
=`expr 2 '*' $ac_mid`
20609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20612 echo "$as_me: failed program was:" >&5
20613 sed 's/^/| /' conftest.
$ac_ext >&5
20618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20622 # Binary search between lo and hi bounds.
20623 while test "x$ac_lo" != "x$ac_hi"; do
20624 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20625 cat >conftest.
$ac_ext <<_ACEOF
20628 cat confdefs.h
>>conftest.
$ac_ext
20629 cat >>conftest.
$ac_ext <<_ACEOF
20630 /* end confdefs.h. */
20631 $ac_includes_default
20632 typedef void * ac__type_sizeof_;
20636 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20643 rm -f conftest.
$ac_objext
20644 if { (ac_try
="$ac_compile"
20645 case "(($ac_try" in
20646 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20647 *) ac_try_echo=$ac_try;;
20649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20650 (eval "$ac_compile") 2>conftest.er1
20652 grep -v '^ *+' conftest.er1 >conftest.err
20654 cat conftest.err >&5
20655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656 (exit $ac_status); } &&
20657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20658 { (case "(($ac_try" in
20659 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20660 *) ac_try_echo
=$ac_try;;
20662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20663 (eval "$ac_try") 2>&5
20665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20666 (exit $ac_status); }; } &&
20667 { ac_try
='test -s conftest.$ac_objext'
20668 { (case "(($ac_try" in
20669 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20670 *) ac_try_echo=$ac_try;;
20672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20673 (eval "$ac_try") 2>&5
20675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20676 (exit $ac_status); }; }; then
20679 echo "$as_me: failed program was:" >&5
20680 sed 's/^/| /' conftest.$ac_ext >&5
20682 ac_lo=`expr '(' $ac_mid ')' + 1`
20685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20688 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20689 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20690 See \`config.log
' for more details." >&5
20691 echo "$as_me: error: cannot compute sizeof (void *)
20692 See \`config.log' for more details.
" >&2;}
20693 { (exit 77); exit 77; }; } ;;
20696 cat >conftest.$ac_ext <<_ACEOF
20699 cat confdefs.h >>conftest.$ac_ext
20700 cat >>conftest.$ac_ext <<_ACEOF
20701 /* end confdefs.h. */
20702 $ac_includes_default
20703 typedef void * ac__type_sizeof_;
20704 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20705 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20707 #include <stdlib.h>
20712 FILE *f = fopen ("conftest.val
", "w
");
20715 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20717 long int i = longval ();
20718 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20720 fprintf (f, "%ld
\n", i);
20724 unsigned long int i = ulongval ();
20725 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20727 fprintf (f, "%lu
\n", i);
20729 return ferror (f) || fclose (f) != 0;
20735 rm -f conftest$ac_exeext
20736 if { (ac_try="$ac_link"
20737 case "(($ac_try" in
20738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20739 *) ac_try_echo=$ac_try;;
20741 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20742 (eval "$ac_link") 2>&5
20744 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20745 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20746 { (case "(($ac_try" in
20747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20748 *) ac_try_echo=$ac_try;;
20750 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20751 (eval "$ac_try") 2>&5
20753 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20754 (exit $ac_status); }; }; then
20755 ac_cv_sizeof_void_p=`cat conftest.val`
20757 echo "$as_me: program exited with status
$ac_status" >&5
20758 echo "$as_me: failed program was
:" >&5
20759 sed 's/^/| /' conftest.$ac_ext >&5
20761 ( exit $ac_status )
20762 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20763 See \
`config.log' for more details." >&5
20764 echo "$as_me: error: cannot compute sizeof (void *)
20765 See \`config.log
' for more details." >&2;}
20766 { (exit 77); exit 77; }; }
20768 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20772 ac_cv_sizeof_void_p=0
20775 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20776 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20777 cat >>confdefs.h <<_ACEOF
20778 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20782 { echo "$as_me:$LINENO: checking for int" >&5
20783 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20784 if test "${ac_cv_type_int+set}" = set; then
20785 echo $ECHO_N "(cached) $ECHO_C" >&6
20787 cat >conftest.$ac_ext <<_ACEOF
20790 cat confdefs.h >>conftest.$ac_ext
20791 cat >>conftest.$ac_ext <<_ACEOF
20792 /* end confdefs.h. */
20793 $ac_includes_default
20794 typedef int ac__type_new_;
20798 if ((ac__type_new_ *) 0)
20800 if (sizeof (ac__type_new_))
20806 rm -f conftest.$ac_objext
20807 if { (ac_try="$ac_compile"
20808 case "(($ac_try" in
20809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20810 *) ac_try_echo=$ac_try;;
20812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20813 (eval "$ac_compile") 2>conftest.er1
20815 grep -v '^
*+' conftest.er1 >conftest.err
20817 cat conftest.err >&5
20818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20819 (exit $ac_status); } &&
20820 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
20821 { (case "(($ac_try" in
20822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20823 *) ac_try_echo=$ac_try;;
20825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20826 (eval "$ac_try") 2>&5
20828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20829 (exit $ac_status); }; } &&
20830 { ac_try='test -s conftest.
$ac_objext'
20831 { (case "(($ac_try" in
20832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20833 *) ac_try_echo=$ac_try;;
20835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20836 (eval "$ac_try") 2>&5
20838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20839 (exit $ac_status); }; }; then
20842 echo "$as_me: failed program was:" >&5
20843 sed 's
/^
/| /' conftest.$ac_ext >&5
20848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20850 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20851 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20853 { echo "$as_me:$LINENO: checking size of int" >&5
20854 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20855 if test "${ac_cv_sizeof_int+set}" = set; then
20856 echo $ECHO_N "(cached) $ECHO_C" >&6
20858 if test "$ac_cv_type_int" = yes; then
20859 # The cast to long int works around a bug in the HP C Compiler
20860 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20861 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20862 # This bug is HP SR number 8606223364.
20863 if test "$cross_compiling" = yes; then
20864 # Depending upon the size, compute the lo and hi bounds.
20865 cat >conftest.
$ac_ext <<_ACEOF
20868 cat confdefs.h
>>conftest.
$ac_ext
20869 cat >>conftest.
$ac_ext <<_ACEOF
20870 /* end confdefs.h. */
20871 $ac_includes_default
20872 typedef int ac__type_sizeof_;
20876 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20883 rm -f conftest.
$ac_objext
20884 if { (ac_try
="$ac_compile"
20885 case "(($ac_try" in
20886 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20887 *) ac_try_echo=$ac_try;;
20889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20890 (eval "$ac_compile") 2>conftest.er1
20892 grep -v '^ *+' conftest.er1 >conftest.err
20894 cat conftest.err >&5
20895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20896 (exit $ac_status); } &&
20897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20898 { (case "(($ac_try" in
20899 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20900 *) ac_try_echo
=$ac_try;;
20902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20903 (eval "$ac_try") 2>&5
20905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20906 (exit $ac_status); }; } &&
20907 { ac_try
='test -s conftest.$ac_objext'
20908 { (case "(($ac_try" in
20909 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20910 *) ac_try_echo=$ac_try;;
20912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20913 (eval "$ac_try") 2>&5
20915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20916 (exit $ac_status); }; }; then
20919 cat >conftest.$ac_ext <<_ACEOF
20922 cat confdefs.h >>conftest.$ac_ext
20923 cat >>conftest.$ac_ext <<_ACEOF
20924 /* end confdefs.h. */
20925 $ac_includes_default
20926 typedef int ac__type_sizeof_;
20930 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20937 rm -f conftest.$ac_objext
20938 if { (ac_try="$ac_compile"
20939 case "(($ac_try" in
20940 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20941 *) ac_try_echo
=$ac_try;;
20943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20944 (eval "$ac_compile") 2>conftest.er1
20946 grep -v '^ *+' conftest.er1
>conftest.err
20948 cat conftest.err
>&5
20949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20950 (exit $ac_status); } &&
20951 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20952 { (case "(($ac_try" in
20953 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20954 *) ac_try_echo=$ac_try;;
20956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20957 (eval "$ac_try") 2>&5
20959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20960 (exit $ac_status); }; } &&
20961 { ac_try='test -s conftest.$ac_objext'
20962 { (case "(($ac_try" in
20963 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20964 *) ac_try_echo
=$ac_try;;
20966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20967 (eval "$ac_try") 2>&5
20969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20970 (exit $ac_status); }; }; then
20971 ac_hi
=$ac_mid; break
20973 echo "$as_me: failed program was:" >&5
20974 sed 's/^/| /' conftest.
$ac_ext >&5
20976 ac_lo
=`expr $ac_mid + 1`
20977 if test $ac_lo -le $ac_mid; then
20981 ac_mid
=`expr 2 '*' $ac_mid + 1`
20984 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20987 echo "$as_me: failed program was:" >&5
20988 sed 's/^/| /' conftest.
$ac_ext >&5
20990 cat >conftest.
$ac_ext <<_ACEOF
20993 cat confdefs.h
>>conftest.
$ac_ext
20994 cat >>conftest.
$ac_ext <<_ACEOF
20995 /* end confdefs.h. */
20996 $ac_includes_default
20997 typedef int ac__type_sizeof_;
21001 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21008 rm -f conftest.
$ac_objext
21009 if { (ac_try
="$ac_compile"
21010 case "(($ac_try" in
21011 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21012 *) ac_try_echo=$ac_try;;
21014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21015 (eval "$ac_compile") 2>conftest.er1
21017 grep -v '^ *+' conftest.er1 >conftest.err
21019 cat conftest.err >&5
21020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21021 (exit $ac_status); } &&
21022 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21023 { (case "(($ac_try" in
21024 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21025 *) ac_try_echo
=$ac_try;;
21027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21028 (eval "$ac_try") 2>&5
21030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21031 (exit $ac_status); }; } &&
21032 { ac_try
='test -s conftest.$ac_objext'
21033 { (case "(($ac_try" in
21034 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21035 *) ac_try_echo=$ac_try;;
21037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21038 (eval "$ac_try") 2>&5
21040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21041 (exit $ac_status); }; }; then
21044 cat >conftest.$ac_ext <<_ACEOF
21047 cat confdefs.h >>conftest.$ac_ext
21048 cat >>conftest.$ac_ext <<_ACEOF
21049 /* end confdefs.h. */
21050 $ac_includes_default
21051 typedef int ac__type_sizeof_;
21055 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21062 rm -f conftest.$ac_objext
21063 if { (ac_try="$ac_compile"
21064 case "(($ac_try" in
21065 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21066 *) ac_try_echo
=$ac_try;;
21068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21069 (eval "$ac_compile") 2>conftest.er1
21071 grep -v '^ *+' conftest.er1
>conftest.err
21073 cat conftest.err
>&5
21074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075 (exit $ac_status); } &&
21076 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21077 { (case "(($ac_try" in
21078 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21079 *) ac_try_echo=$ac_try;;
21081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21082 (eval "$ac_try") 2>&5
21084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21085 (exit $ac_status); }; } &&
21086 { ac_try='test -s conftest.$ac_objext'
21087 { (case "(($ac_try" in
21088 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21089 *) ac_try_echo
=$ac_try;;
21091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21092 (eval "$ac_try") 2>&5
21094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21095 (exit $ac_status); }; }; then
21096 ac_lo
=$ac_mid; break
21098 echo "$as_me: failed program was:" >&5
21099 sed 's/^/| /' conftest.
$ac_ext >&5
21101 ac_hi
=`expr '(' $ac_mid ')' - 1`
21102 if test $ac_mid -le $ac_hi; then
21106 ac_mid
=`expr 2 '*' $ac_mid`
21109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21112 echo "$as_me: failed program was:" >&5
21113 sed 's/^/| /' conftest.
$ac_ext >&5
21118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21122 # Binary search between lo and hi bounds.
21123 while test "x$ac_lo" != "x$ac_hi"; do
21124 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21125 cat >conftest.
$ac_ext <<_ACEOF
21128 cat confdefs.h
>>conftest.
$ac_ext
21129 cat >>conftest.
$ac_ext <<_ACEOF
21130 /* end confdefs.h. */
21131 $ac_includes_default
21132 typedef int ac__type_sizeof_;
21136 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21143 rm -f conftest.
$ac_objext
21144 if { (ac_try
="$ac_compile"
21145 case "(($ac_try" in
21146 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21147 *) ac_try_echo=$ac_try;;
21149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21150 (eval "$ac_compile") 2>conftest.er1
21152 grep -v '^ *+' conftest.er1 >conftest.err
21154 cat conftest.err >&5
21155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21156 (exit $ac_status); } &&
21157 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21158 { (case "(($ac_try" in
21159 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21160 *) ac_try_echo
=$ac_try;;
21162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21163 (eval "$ac_try") 2>&5
21165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21166 (exit $ac_status); }; } &&
21167 { ac_try
='test -s conftest.$ac_objext'
21168 { (case "(($ac_try" in
21169 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21170 *) ac_try_echo=$ac_try;;
21172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21173 (eval "$ac_try") 2>&5
21175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21176 (exit $ac_status); }; }; then
21179 echo "$as_me: failed program was:" >&5
21180 sed 's/^/| /' conftest.$ac_ext >&5
21182 ac_lo=`expr '(' $ac_mid ')' + 1`
21185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21188 ?*) ac_cv_sizeof_int=$ac_lo;;
21189 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21190 See \`config.log
' for more details." >&5
21191 echo "$as_me: error: cannot compute sizeof (int)
21192 See \`config.log' for more details.
" >&2;}
21193 { (exit 77); exit 77; }; } ;;
21196 cat >conftest.$ac_ext <<_ACEOF
21199 cat confdefs.h >>conftest.$ac_ext
21200 cat >>conftest.$ac_ext <<_ACEOF
21201 /* end confdefs.h. */
21202 $ac_includes_default
21203 typedef int ac__type_sizeof_;
21204 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21205 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21207 #include <stdlib.h>
21212 FILE *f = fopen ("conftest.val
", "w
");
21215 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21217 long int i = longval ();
21218 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21220 fprintf (f, "%ld
\n", i);
21224 unsigned long int i = ulongval ();
21225 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21227 fprintf (f, "%lu
\n", i);
21229 return ferror (f) || fclose (f) != 0;
21235 rm -f conftest$ac_exeext
21236 if { (ac_try="$ac_link"
21237 case "(($ac_try" in
21238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21239 *) ac_try_echo=$ac_try;;
21241 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21242 (eval "$ac_link") 2>&5
21244 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21245 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21246 { (case "(($ac_try" in
21247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21248 *) ac_try_echo=$ac_try;;
21250 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21251 (eval "$ac_try") 2>&5
21253 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21254 (exit $ac_status); }; }; then
21255 ac_cv_sizeof_int=`cat conftest.val`
21257 echo "$as_me: program exited with status
$ac_status" >&5
21258 echo "$as_me: failed program was
:" >&5
21259 sed 's/^/| /' conftest.$ac_ext >&5
21261 ( exit $ac_status )
21262 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
21263 See \
`config.log' for more details." >&5
21264 echo "$as_me: error: cannot compute sizeof (int)
21265 See \`config.log
' for more details." >&2;}
21266 { (exit 77); exit 77; }; }
21268 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21275 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21276 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21277 cat >>confdefs.h <<_ACEOF
21278 #define SIZEOF_INT $ac_cv_sizeof_int
21282 { echo "$as_me:$LINENO: checking for long" >&5
21283 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21284 if test "${ac_cv_type_long+set}" = set; then
21285 echo $ECHO_N "(cached) $ECHO_C" >&6
21287 cat >conftest.$ac_ext <<_ACEOF
21290 cat confdefs.h >>conftest.$ac_ext
21291 cat >>conftest.$ac_ext <<_ACEOF
21292 /* end confdefs.h. */
21293 $ac_includes_default
21294 typedef long ac__type_new_;
21298 if ((ac__type_new_ *) 0)
21300 if (sizeof (ac__type_new_))
21306 rm -f conftest.$ac_objext
21307 if { (ac_try="$ac_compile"
21308 case "(($ac_try" in
21309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21310 *) ac_try_echo=$ac_try;;
21312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21313 (eval "$ac_compile") 2>conftest.er1
21315 grep -v '^
*+' conftest.er1 >conftest.err
21317 cat conftest.err >&5
21318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21319 (exit $ac_status); } &&
21320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
21321 { (case "(($ac_try" in
21322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21323 *) ac_try_echo=$ac_try;;
21325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21326 (eval "$ac_try") 2>&5
21328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21329 (exit $ac_status); }; } &&
21330 { ac_try='test -s conftest.
$ac_objext'
21331 { (case "(($ac_try" in
21332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21333 *) ac_try_echo=$ac_try;;
21335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21336 (eval "$ac_try") 2>&5
21338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21339 (exit $ac_status); }; }; then
21340 ac_cv_type_long=yes
21342 echo "$as_me: failed program was:" >&5
21343 sed 's
/^
/| /' conftest.$ac_ext >&5
21348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21350 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21351 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21353 { echo "$as_me:$LINENO: checking size of long" >&5
21354 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21355 if test "${ac_cv_sizeof_long+set}" = set; then
21356 echo $ECHO_N "(cached) $ECHO_C" >&6
21358 if test "$ac_cv_type_long" = yes; then
21359 # The cast to long int works around a bug in the HP C Compiler
21360 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21361 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21362 # This bug is HP SR number 8606223364.
21363 if test "$cross_compiling" = yes; then
21364 # Depending upon the size, compute the lo and hi bounds.
21365 cat >conftest.
$ac_ext <<_ACEOF
21368 cat confdefs.h
>>conftest.
$ac_ext
21369 cat >>conftest.
$ac_ext <<_ACEOF
21370 /* end confdefs.h. */
21371 $ac_includes_default
21372 typedef long ac__type_sizeof_;
21376 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21383 rm -f conftest.
$ac_objext
21384 if { (ac_try
="$ac_compile"
21385 case "(($ac_try" in
21386 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21387 *) ac_try_echo=$ac_try;;
21389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21390 (eval "$ac_compile") 2>conftest.er1
21392 grep -v '^ *+' conftest.er1 >conftest.err
21394 cat conftest.err >&5
21395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21396 (exit $ac_status); } &&
21397 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21398 { (case "(($ac_try" in
21399 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21400 *) ac_try_echo
=$ac_try;;
21402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21403 (eval "$ac_try") 2>&5
21405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21406 (exit $ac_status); }; } &&
21407 { ac_try
='test -s conftest.$ac_objext'
21408 { (case "(($ac_try" in
21409 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21410 *) ac_try_echo=$ac_try;;
21412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21413 (eval "$ac_try") 2>&5
21415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21416 (exit $ac_status); }; }; then
21419 cat >conftest.$ac_ext <<_ACEOF
21422 cat confdefs.h >>conftest.$ac_ext
21423 cat >>conftest.$ac_ext <<_ACEOF
21424 /* end confdefs.h. */
21425 $ac_includes_default
21426 typedef long ac__type_sizeof_;
21430 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21437 rm -f conftest.$ac_objext
21438 if { (ac_try="$ac_compile"
21439 case "(($ac_try" in
21440 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21441 *) ac_try_echo
=$ac_try;;
21443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21444 (eval "$ac_compile") 2>conftest.er1
21446 grep -v '^ *+' conftest.er1
>conftest.err
21448 cat conftest.err
>&5
21449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21450 (exit $ac_status); } &&
21451 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21452 { (case "(($ac_try" in
21453 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21454 *) ac_try_echo=$ac_try;;
21456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21457 (eval "$ac_try") 2>&5
21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460 (exit $ac_status); }; } &&
21461 { ac_try='test -s conftest.$ac_objext'
21462 { (case "(($ac_try" in
21463 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21464 *) ac_try_echo
=$ac_try;;
21466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21467 (eval "$ac_try") 2>&5
21469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21470 (exit $ac_status); }; }; then
21471 ac_hi
=$ac_mid; break
21473 echo "$as_me: failed program was:" >&5
21474 sed 's/^/| /' conftest.
$ac_ext >&5
21476 ac_lo
=`expr $ac_mid + 1`
21477 if test $ac_lo -le $ac_mid; then
21481 ac_mid
=`expr 2 '*' $ac_mid + 1`
21484 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21487 echo "$as_me: failed program was:" >&5
21488 sed 's/^/| /' conftest.
$ac_ext >&5
21490 cat >conftest.
$ac_ext <<_ACEOF
21493 cat confdefs.h
>>conftest.
$ac_ext
21494 cat >>conftest.
$ac_ext <<_ACEOF
21495 /* end confdefs.h. */
21496 $ac_includes_default
21497 typedef long ac__type_sizeof_;
21501 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21508 rm -f conftest.
$ac_objext
21509 if { (ac_try
="$ac_compile"
21510 case "(($ac_try" in
21511 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21512 *) ac_try_echo=$ac_try;;
21514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21515 (eval "$ac_compile") 2>conftest.er1
21517 grep -v '^ *+' conftest.er1 >conftest.err
21519 cat conftest.err >&5
21520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21521 (exit $ac_status); } &&
21522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21523 { (case "(($ac_try" in
21524 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21525 *) ac_try_echo
=$ac_try;;
21527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21528 (eval "$ac_try") 2>&5
21530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21531 (exit $ac_status); }; } &&
21532 { ac_try
='test -s conftest.$ac_objext'
21533 { (case "(($ac_try" in
21534 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21535 *) ac_try_echo=$ac_try;;
21537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21538 (eval "$ac_try") 2>&5
21540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21541 (exit $ac_status); }; }; then
21544 cat >conftest.$ac_ext <<_ACEOF
21547 cat confdefs.h >>conftest.$ac_ext
21548 cat >>conftest.$ac_ext <<_ACEOF
21549 /* end confdefs.h. */
21550 $ac_includes_default
21551 typedef long ac__type_sizeof_;
21555 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21562 rm -f conftest.$ac_objext
21563 if { (ac_try="$ac_compile"
21564 case "(($ac_try" in
21565 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21566 *) ac_try_echo
=$ac_try;;
21568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21569 (eval "$ac_compile") 2>conftest.er1
21571 grep -v '^ *+' conftest.er1
>conftest.err
21573 cat conftest.err
>&5
21574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21575 (exit $ac_status); } &&
21576 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21577 { (case "(($ac_try" in
21578 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21579 *) ac_try_echo=$ac_try;;
21581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21582 (eval "$ac_try") 2>&5
21584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21585 (exit $ac_status); }; } &&
21586 { ac_try='test -s conftest.$ac_objext'
21587 { (case "(($ac_try" in
21588 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21589 *) ac_try_echo
=$ac_try;;
21591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21592 (eval "$ac_try") 2>&5
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); }; }; then
21596 ac_lo
=$ac_mid; break
21598 echo "$as_me: failed program was:" >&5
21599 sed 's/^/| /' conftest.
$ac_ext >&5
21601 ac_hi
=`expr '(' $ac_mid ')' - 1`
21602 if test $ac_mid -le $ac_hi; then
21606 ac_mid
=`expr 2 '*' $ac_mid`
21609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21612 echo "$as_me: failed program was:" >&5
21613 sed 's/^/| /' conftest.
$ac_ext >&5
21618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21622 # Binary search between lo and hi bounds.
21623 while test "x$ac_lo" != "x$ac_hi"; do
21624 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21625 cat >conftest.
$ac_ext <<_ACEOF
21628 cat confdefs.h
>>conftest.
$ac_ext
21629 cat >>conftest.
$ac_ext <<_ACEOF
21630 /* end confdefs.h. */
21631 $ac_includes_default
21632 typedef long ac__type_sizeof_;
21636 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21643 rm -f conftest.
$ac_objext
21644 if { (ac_try
="$ac_compile"
21645 case "(($ac_try" in
21646 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21647 *) ac_try_echo=$ac_try;;
21649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21650 (eval "$ac_compile") 2>conftest.er1
21652 grep -v '^ *+' conftest.er1 >conftest.err
21654 cat conftest.err >&5
21655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21656 (exit $ac_status); } &&
21657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21658 { (case "(($ac_try" in
21659 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21660 *) ac_try_echo
=$ac_try;;
21662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21663 (eval "$ac_try") 2>&5
21665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21666 (exit $ac_status); }; } &&
21667 { ac_try
='test -s conftest.$ac_objext'
21668 { (case "(($ac_try" in
21669 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21670 *) ac_try_echo=$ac_try;;
21672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21673 (eval "$ac_try") 2>&5
21675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21676 (exit $ac_status); }; }; then
21679 echo "$as_me: failed program was:" >&5
21680 sed 's/^/| /' conftest.$ac_ext >&5
21682 ac_lo=`expr '(' $ac_mid ')' + 1`
21685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21688 ?*) ac_cv_sizeof_long=$ac_lo;;
21689 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21690 See \`config.log
' for more details." >&5
21691 echo "$as_me: error: cannot compute sizeof (long)
21692 See \`config.log' for more details.
" >&2;}
21693 { (exit 77); exit 77; }; } ;;
21696 cat >conftest.$ac_ext <<_ACEOF
21699 cat confdefs.h >>conftest.$ac_ext
21700 cat >>conftest.$ac_ext <<_ACEOF
21701 /* end confdefs.h. */
21702 $ac_includes_default
21703 typedef long ac__type_sizeof_;
21704 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21705 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21707 #include <stdlib.h>
21712 FILE *f = fopen ("conftest.val
", "w
");
21715 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21717 long int i = longval ();
21718 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21720 fprintf (f, "%ld
\n", i);
21724 unsigned long int i = ulongval ();
21725 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21727 fprintf (f, "%lu
\n", i);
21729 return ferror (f) || fclose (f) != 0;
21735 rm -f conftest$ac_exeext
21736 if { (ac_try="$ac_link"
21737 case "(($ac_try" in
21738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21739 *) ac_try_echo=$ac_try;;
21741 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21742 (eval "$ac_link") 2>&5
21744 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21745 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21746 { (case "(($ac_try" in
21747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21748 *) ac_try_echo=$ac_try;;
21750 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21751 (eval "$ac_try") 2>&5
21753 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21754 (exit $ac_status); }; }; then
21755 ac_cv_sizeof_long=`cat conftest.val`
21757 echo "$as_me: program exited with status
$ac_status" >&5
21758 echo "$as_me: failed program was
:" >&5
21759 sed 's/^/| /' conftest.$ac_ext >&5
21761 ( exit $ac_status )
21762 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21763 See \
`config.log' for more details." >&5
21764 echo "$as_me: error: cannot compute sizeof (long)
21765 See \`config.log
' for more details." >&2;}
21766 { (exit 77); exit 77; }; }
21768 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21772 ac_cv_sizeof_long=0
21775 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21776 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21777 cat >>confdefs.h <<_ACEOF
21778 #define SIZEOF_LONG $ac_cv_sizeof_long
21782 { echo "$as_me:$LINENO: checking for size_t" >&5
21783 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21784 if test "${ac_cv_type_size_t+set}" = set; then
21785 echo $ECHO_N "(cached) $ECHO_C" >&6
21787 cat >conftest.$ac_ext <<_ACEOF
21790 cat confdefs.h >>conftest.$ac_ext
21791 cat >>conftest.$ac_ext <<_ACEOF
21792 /* end confdefs.h. */
21793 $ac_includes_default
21794 typedef size_t ac__type_new_;
21798 if ((ac__type_new_ *) 0)
21800 if (sizeof (ac__type_new_))
21806 rm -f conftest.$ac_objext
21807 if { (ac_try="$ac_compile"
21808 case "(($ac_try" in
21809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21810 *) ac_try_echo=$ac_try;;
21812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21813 (eval "$ac_compile") 2>conftest.er1
21815 grep -v '^
*+' conftest.er1 >conftest.err
21817 cat conftest.err >&5
21818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21819 (exit $ac_status); } &&
21820 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
21821 { (case "(($ac_try" in
21822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21823 *) ac_try_echo=$ac_try;;
21825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21826 (eval "$ac_try") 2>&5
21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829 (exit $ac_status); }; } &&
21830 { ac_try='test -s conftest.
$ac_objext'
21831 { (case "(($ac_try" in
21832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21833 *) ac_try_echo=$ac_try;;
21835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21836 (eval "$ac_try") 2>&5
21838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21839 (exit $ac_status); }; }; then
21840 ac_cv_type_size_t=yes
21842 echo "$as_me: failed program was:" >&5
21843 sed 's
/^
/| /' conftest.$ac_ext >&5
21845 ac_cv_type_size_t=no
21848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21850 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21851 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21853 { echo "$as_me:$LINENO: checking size of size_t" >&5
21854 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21855 if test "${ac_cv_sizeof_size_t+set}" = set; then
21856 echo $ECHO_N "(cached) $ECHO_C" >&6
21858 if test "$ac_cv_type_size_t" = yes; then
21859 # The cast to long int works around a bug in the HP C Compiler
21860 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21861 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21862 # This bug is HP SR number 8606223364.
21863 if test "$cross_compiling" = yes; then
21864 # Depending upon the size, compute the lo and hi bounds.
21865 cat >conftest.
$ac_ext <<_ACEOF
21868 cat confdefs.h
>>conftest.
$ac_ext
21869 cat >>conftest.
$ac_ext <<_ACEOF
21870 /* end confdefs.h. */
21871 $ac_includes_default
21872 typedef size_t ac__type_sizeof_;
21876 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21883 rm -f conftest.
$ac_objext
21884 if { (ac_try
="$ac_compile"
21885 case "(($ac_try" in
21886 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21887 *) ac_try_echo=$ac_try;;
21889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21890 (eval "$ac_compile") 2>conftest.er1
21892 grep -v '^ *+' conftest.er1 >conftest.err
21894 cat conftest.err >&5
21895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21896 (exit $ac_status); } &&
21897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21898 { (case "(($ac_try" in
21899 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21900 *) ac_try_echo
=$ac_try;;
21902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21903 (eval "$ac_try") 2>&5
21905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21906 (exit $ac_status); }; } &&
21907 { ac_try
='test -s conftest.$ac_objext'
21908 { (case "(($ac_try" in
21909 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21910 *) ac_try_echo=$ac_try;;
21912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21913 (eval "$ac_try") 2>&5
21915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21916 (exit $ac_status); }; }; then
21919 cat >conftest.$ac_ext <<_ACEOF
21922 cat confdefs.h >>conftest.$ac_ext
21923 cat >>conftest.$ac_ext <<_ACEOF
21924 /* end confdefs.h. */
21925 $ac_includes_default
21926 typedef size_t ac__type_sizeof_;
21930 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21937 rm -f conftest.$ac_objext
21938 if { (ac_try="$ac_compile"
21939 case "(($ac_try" in
21940 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21941 *) ac_try_echo
=$ac_try;;
21943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21944 (eval "$ac_compile") 2>conftest.er1
21946 grep -v '^ *+' conftest.er1
>conftest.err
21948 cat conftest.err
>&5
21949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21950 (exit $ac_status); } &&
21951 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21952 { (case "(($ac_try" in
21953 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21954 *) ac_try_echo=$ac_try;;
21956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21957 (eval "$ac_try") 2>&5
21959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21960 (exit $ac_status); }; } &&
21961 { ac_try='test -s conftest.$ac_objext'
21962 { (case "(($ac_try" in
21963 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21964 *) ac_try_echo
=$ac_try;;
21966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21967 (eval "$ac_try") 2>&5
21969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970 (exit $ac_status); }; }; then
21971 ac_hi
=$ac_mid; break
21973 echo "$as_me: failed program was:" >&5
21974 sed 's/^/| /' conftest.
$ac_ext >&5
21976 ac_lo
=`expr $ac_mid + 1`
21977 if test $ac_lo -le $ac_mid; then
21981 ac_mid
=`expr 2 '*' $ac_mid + 1`
21984 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21987 echo "$as_me: failed program was:" >&5
21988 sed 's/^/| /' conftest.
$ac_ext >&5
21990 cat >conftest.
$ac_ext <<_ACEOF
21993 cat confdefs.h
>>conftest.
$ac_ext
21994 cat >>conftest.
$ac_ext <<_ACEOF
21995 /* end confdefs.h. */
21996 $ac_includes_default
21997 typedef size_t ac__type_sizeof_;
22001 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22008 rm -f conftest.
$ac_objext
22009 if { (ac_try
="$ac_compile"
22010 case "(($ac_try" in
22011 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22012 *) ac_try_echo=$ac_try;;
22014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22015 (eval "$ac_compile") 2>conftest.er1
22017 grep -v '^ *+' conftest.er1 >conftest.err
22019 cat conftest.err >&5
22020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22021 (exit $ac_status); } &&
22022 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22023 { (case "(($ac_try" in
22024 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22025 *) ac_try_echo
=$ac_try;;
22027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22028 (eval "$ac_try") 2>&5
22030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22031 (exit $ac_status); }; } &&
22032 { ac_try
='test -s conftest.$ac_objext'
22033 { (case "(($ac_try" in
22034 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22035 *) ac_try_echo=$ac_try;;
22037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22038 (eval "$ac_try") 2>&5
22040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22041 (exit $ac_status); }; }; then
22044 cat >conftest.$ac_ext <<_ACEOF
22047 cat confdefs.h >>conftest.$ac_ext
22048 cat >>conftest.$ac_ext <<_ACEOF
22049 /* end confdefs.h. */
22050 $ac_includes_default
22051 typedef size_t ac__type_sizeof_;
22055 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22062 rm -f conftest.$ac_objext
22063 if { (ac_try="$ac_compile"
22064 case "(($ac_try" in
22065 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22066 *) ac_try_echo
=$ac_try;;
22068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22069 (eval "$ac_compile") 2>conftest.er1
22071 grep -v '^ *+' conftest.er1
>conftest.err
22073 cat conftest.err
>&5
22074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22075 (exit $ac_status); } &&
22076 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22077 { (case "(($ac_try" in
22078 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22079 *) ac_try_echo=$ac_try;;
22081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22082 (eval "$ac_try") 2>&5
22084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22085 (exit $ac_status); }; } &&
22086 { ac_try='test -s conftest.$ac_objext'
22087 { (case "(($ac_try" in
22088 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22089 *) ac_try_echo
=$ac_try;;
22091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22092 (eval "$ac_try") 2>&5
22094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22095 (exit $ac_status); }; }; then
22096 ac_lo
=$ac_mid; break
22098 echo "$as_me: failed program was:" >&5
22099 sed 's/^/| /' conftest.
$ac_ext >&5
22101 ac_hi
=`expr '(' $ac_mid ')' - 1`
22102 if test $ac_mid -le $ac_hi; then
22106 ac_mid
=`expr 2 '*' $ac_mid`
22109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22112 echo "$as_me: failed program was:" >&5
22113 sed 's/^/| /' conftest.
$ac_ext >&5
22118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22122 # Binary search between lo and hi bounds.
22123 while test "x$ac_lo" != "x$ac_hi"; do
22124 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22125 cat >conftest.
$ac_ext <<_ACEOF
22128 cat confdefs.h
>>conftest.
$ac_ext
22129 cat >>conftest.
$ac_ext <<_ACEOF
22130 /* end confdefs.h. */
22131 $ac_includes_default
22132 typedef size_t ac__type_sizeof_;
22136 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22143 rm -f conftest.
$ac_objext
22144 if { (ac_try
="$ac_compile"
22145 case "(($ac_try" in
22146 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22147 *) ac_try_echo=$ac_try;;
22149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22150 (eval "$ac_compile") 2>conftest.er1
22152 grep -v '^ *+' conftest.er1 >conftest.err
22154 cat conftest.err >&5
22155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22156 (exit $ac_status); } &&
22157 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22158 { (case "(($ac_try" in
22159 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22160 *) ac_try_echo
=$ac_try;;
22162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22163 (eval "$ac_try") 2>&5
22165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22166 (exit $ac_status); }; } &&
22167 { ac_try
='test -s conftest.$ac_objext'
22168 { (case "(($ac_try" in
22169 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22170 *) ac_try_echo=$ac_try;;
22172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22173 (eval "$ac_try") 2>&5
22175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22176 (exit $ac_status); }; }; then
22179 echo "$as_me: failed program was:" >&5
22180 sed 's/^/| /' conftest.$ac_ext >&5
22182 ac_lo=`expr '(' $ac_mid ')' + 1`
22185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22188 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22189 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22190 See \`config.log
' for more details." >&5
22191 echo "$as_me: error: cannot compute sizeof (size_t)
22192 See \`config.log' for more details.
" >&2;}
22193 { (exit 77); exit 77; }; } ;;
22196 cat >conftest.$ac_ext <<_ACEOF
22199 cat confdefs.h >>conftest.$ac_ext
22200 cat >>conftest.$ac_ext <<_ACEOF
22201 /* end confdefs.h. */
22202 $ac_includes_default
22203 typedef size_t ac__type_sizeof_;
22204 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22205 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22207 #include <stdlib.h>
22212 FILE *f = fopen ("conftest.val
", "w
");
22215 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22217 long int i = longval ();
22218 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22220 fprintf (f, "%ld
\n", i);
22224 unsigned long int i = ulongval ();
22225 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22227 fprintf (f, "%lu
\n", i);
22229 return ferror (f) || fclose (f) != 0;
22235 rm -f conftest$ac_exeext
22236 if { (ac_try="$ac_link"
22237 case "(($ac_try" in
22238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22239 *) ac_try_echo=$ac_try;;
22241 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22242 (eval "$ac_link") 2>&5
22244 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22245 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22246 { (case "(($ac_try" in
22247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22248 *) ac_try_echo=$ac_try;;
22250 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22251 (eval "$ac_try") 2>&5
22253 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22254 (exit $ac_status); }; }; then
22255 ac_cv_sizeof_size_t=`cat conftest.val`
22257 echo "$as_me: program exited with status
$ac_status" >&5
22258 echo "$as_me: failed program was
:" >&5
22259 sed 's/^/| /' conftest.$ac_ext >&5
22261 ( exit $ac_status )
22262 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
22263 See \
`config.log' for more details." >&5
22264 echo "$as_me: error: cannot compute sizeof (size_t)
22265 See \`config.log
' for more details." >&2;}
22266 { (exit 77); exit 77; }; }
22268 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22272 ac_cv_sizeof_size_t=0
22275 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22276 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22277 cat >>confdefs.h <<_ACEOF
22278 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22285 { echo "$as_me:$LINENO: checking for long long" >&5
22286 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22287 if test "${ac_cv_type_long_long+set}" = set; then
22288 echo $ECHO_N "(cached) $ECHO_C" >&6
22290 cat >conftest.$ac_ext <<_ACEOF
22293 cat confdefs.h >>conftest.$ac_ext
22294 cat >>conftest.$ac_ext <<_ACEOF
22295 /* end confdefs.h. */
22296 $ac_includes_default
22297 typedef long long ac__type_new_;
22301 if ((ac__type_new_ *) 0)
22303 if (sizeof (ac__type_new_))
22309 rm -f conftest.$ac_objext
22310 if { (ac_try="$ac_compile"
22311 case "(($ac_try" in
22312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22313 *) ac_try_echo=$ac_try;;
22315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22316 (eval "$ac_compile") 2>conftest.er1
22318 grep -v '^
*+' conftest.er1 >conftest.err
22320 cat conftest.err >&5
22321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22322 (exit $ac_status); } &&
22323 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
22324 { (case "(($ac_try" in
22325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22326 *) ac_try_echo=$ac_try;;
22328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22329 (eval "$ac_try") 2>&5
22331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22332 (exit $ac_status); }; } &&
22333 { ac_try='test -s conftest.
$ac_objext'
22334 { (case "(($ac_try" in
22335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22336 *) ac_try_echo=$ac_try;;
22338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22339 (eval "$ac_try") 2>&5
22341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22342 (exit $ac_status); }; }; then
22343 ac_cv_type_long_long=yes
22345 echo "$as_me: failed program was:" >&5
22346 sed 's
/^
/| /' conftest.$ac_ext >&5
22348 ac_cv_type_long_long=no
22351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22353 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22354 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22356 { echo "$as_me:$LINENO: checking size of long long" >&5
22357 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22358 if test "${ac_cv_sizeof_long_long+set}" = set; then
22359 echo $ECHO_N "(cached) $ECHO_C" >&6
22361 if test "$ac_cv_type_long_long" = yes; then
22362 # The cast to long int works around a bug in the HP C Compiler
22363 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22364 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22365 # This bug is HP SR number 8606223364.
22366 if test "$cross_compiling" = yes; then
22367 # Depending upon the size, compute the lo and hi bounds.
22368 cat >conftest.
$ac_ext <<_ACEOF
22371 cat confdefs.h
>>conftest.
$ac_ext
22372 cat >>conftest.
$ac_ext <<_ACEOF
22373 /* end confdefs.h. */
22374 $ac_includes_default
22375 typedef long long ac__type_sizeof_;
22379 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22386 rm -f conftest.
$ac_objext
22387 if { (ac_try
="$ac_compile"
22388 case "(($ac_try" in
22389 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22390 *) ac_try_echo=$ac_try;;
22392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22393 (eval "$ac_compile") 2>conftest.er1
22395 grep -v '^ *+' conftest.er1 >conftest.err
22397 cat conftest.err >&5
22398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22399 (exit $ac_status); } &&
22400 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22401 { (case "(($ac_try" in
22402 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22403 *) ac_try_echo
=$ac_try;;
22405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22406 (eval "$ac_try") 2>&5
22408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22409 (exit $ac_status); }; } &&
22410 { ac_try
='test -s conftest.$ac_objext'
22411 { (case "(($ac_try" in
22412 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22413 *) ac_try_echo=$ac_try;;
22415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22416 (eval "$ac_try") 2>&5
22418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22419 (exit $ac_status); }; }; then
22422 cat >conftest.$ac_ext <<_ACEOF
22425 cat confdefs.h >>conftest.$ac_ext
22426 cat >>conftest.$ac_ext <<_ACEOF
22427 /* end confdefs.h. */
22428 $ac_includes_default
22429 typedef long long ac__type_sizeof_;
22433 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22440 rm -f conftest.$ac_objext
22441 if { (ac_try="$ac_compile"
22442 case "(($ac_try" in
22443 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22444 *) ac_try_echo
=$ac_try;;
22446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22447 (eval "$ac_compile") 2>conftest.er1
22449 grep -v '^ *+' conftest.er1
>conftest.err
22451 cat conftest.err
>&5
22452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22453 (exit $ac_status); } &&
22454 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22455 { (case "(($ac_try" in
22456 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22457 *) ac_try_echo=$ac_try;;
22459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22460 (eval "$ac_try") 2>&5
22462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22463 (exit $ac_status); }; } &&
22464 { ac_try='test -s conftest.$ac_objext'
22465 { (case "(($ac_try" in
22466 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22467 *) ac_try_echo
=$ac_try;;
22469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22470 (eval "$ac_try") 2>&5
22472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22473 (exit $ac_status); }; }; then
22474 ac_hi
=$ac_mid; break
22476 echo "$as_me: failed program was:" >&5
22477 sed 's/^/| /' conftest.
$ac_ext >&5
22479 ac_lo
=`expr $ac_mid + 1`
22480 if test $ac_lo -le $ac_mid; then
22484 ac_mid
=`expr 2 '*' $ac_mid + 1`
22487 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22490 echo "$as_me: failed program was:" >&5
22491 sed 's/^/| /' conftest.
$ac_ext >&5
22493 cat >conftest.
$ac_ext <<_ACEOF
22496 cat confdefs.h
>>conftest.
$ac_ext
22497 cat >>conftest.
$ac_ext <<_ACEOF
22498 /* end confdefs.h. */
22499 $ac_includes_default
22500 typedef long long ac__type_sizeof_;
22504 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22511 rm -f conftest.
$ac_objext
22512 if { (ac_try
="$ac_compile"
22513 case "(($ac_try" in
22514 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22515 *) ac_try_echo=$ac_try;;
22517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22518 (eval "$ac_compile") 2>conftest.er1
22520 grep -v '^ *+' conftest.er1 >conftest.err
22522 cat conftest.err >&5
22523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22524 (exit $ac_status); } &&
22525 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22526 { (case "(($ac_try" in
22527 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22528 *) ac_try_echo
=$ac_try;;
22530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22531 (eval "$ac_try") 2>&5
22533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22534 (exit $ac_status); }; } &&
22535 { ac_try
='test -s conftest.$ac_objext'
22536 { (case "(($ac_try" in
22537 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22538 *) ac_try_echo=$ac_try;;
22540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22541 (eval "$ac_try") 2>&5
22543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22544 (exit $ac_status); }; }; then
22547 cat >conftest.$ac_ext <<_ACEOF
22550 cat confdefs.h >>conftest.$ac_ext
22551 cat >>conftest.$ac_ext <<_ACEOF
22552 /* end confdefs.h. */
22553 $ac_includes_default
22554 typedef long long ac__type_sizeof_;
22558 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22565 rm -f conftest.$ac_objext
22566 if { (ac_try="$ac_compile"
22567 case "(($ac_try" in
22568 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22569 *) ac_try_echo
=$ac_try;;
22571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22572 (eval "$ac_compile") 2>conftest.er1
22574 grep -v '^ *+' conftest.er1
>conftest.err
22576 cat conftest.err
>&5
22577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22578 (exit $ac_status); } &&
22579 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22580 { (case "(($ac_try" in
22581 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22582 *) ac_try_echo=$ac_try;;
22584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22585 (eval "$ac_try") 2>&5
22587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22588 (exit $ac_status); }; } &&
22589 { ac_try='test -s conftest.$ac_objext'
22590 { (case "(($ac_try" in
22591 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22592 *) ac_try_echo
=$ac_try;;
22594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22595 (eval "$ac_try") 2>&5
22597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22598 (exit $ac_status); }; }; then
22599 ac_lo
=$ac_mid; break
22601 echo "$as_me: failed program was:" >&5
22602 sed 's/^/| /' conftest.
$ac_ext >&5
22604 ac_hi
=`expr '(' $ac_mid ')' - 1`
22605 if test $ac_mid -le $ac_hi; then
22609 ac_mid
=`expr 2 '*' $ac_mid`
22612 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22615 echo "$as_me: failed program was:" >&5
22616 sed 's/^/| /' conftest.
$ac_ext >&5
22621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22625 # Binary search between lo and hi bounds.
22626 while test "x$ac_lo" != "x$ac_hi"; do
22627 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22628 cat >conftest.
$ac_ext <<_ACEOF
22631 cat confdefs.h
>>conftest.
$ac_ext
22632 cat >>conftest.
$ac_ext <<_ACEOF
22633 /* end confdefs.h. */
22634 $ac_includes_default
22635 typedef long long ac__type_sizeof_;
22639 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22646 rm -f conftest.
$ac_objext
22647 if { (ac_try
="$ac_compile"
22648 case "(($ac_try" in
22649 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22650 *) ac_try_echo=$ac_try;;
22652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22653 (eval "$ac_compile") 2>conftest.er1
22655 grep -v '^ *+' conftest.er1 >conftest.err
22657 cat conftest.err >&5
22658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22659 (exit $ac_status); } &&
22660 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22661 { (case "(($ac_try" in
22662 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22663 *) ac_try_echo
=$ac_try;;
22665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22666 (eval "$ac_try") 2>&5
22668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22669 (exit $ac_status); }; } &&
22670 { ac_try
='test -s conftest.$ac_objext'
22671 { (case "(($ac_try" in
22672 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22673 *) ac_try_echo=$ac_try;;
22675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22676 (eval "$ac_try") 2>&5
22678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22679 (exit $ac_status); }; }; then
22682 echo "$as_me: failed program was:" >&5
22683 sed 's/^/| /' conftest.$ac_ext >&5
22685 ac_lo=`expr '(' $ac_mid ')' + 1`
22688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22691 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22692 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22693 See \`config.log
' for more details." >&5
22694 echo "$as_me: error: cannot compute sizeof (long long)
22695 See \`config.log' for more details.
" >&2;}
22696 { (exit 77); exit 77; }; } ;;
22699 cat >conftest.$ac_ext <<_ACEOF
22702 cat confdefs.h >>conftest.$ac_ext
22703 cat >>conftest.$ac_ext <<_ACEOF
22704 /* end confdefs.h. */
22705 $ac_includes_default
22706 typedef long long ac__type_sizeof_;
22707 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22708 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22710 #include <stdlib.h>
22715 FILE *f = fopen ("conftest.val
", "w
");
22718 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22720 long int i = longval ();
22721 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22723 fprintf (f, "%ld
\n", i);
22727 unsigned long int i = ulongval ();
22728 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22730 fprintf (f, "%lu
\n", i);
22732 return ferror (f) || fclose (f) != 0;
22738 rm -f conftest$ac_exeext
22739 if { (ac_try="$ac_link"
22740 case "(($ac_try" in
22741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22742 *) ac_try_echo=$ac_try;;
22744 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22745 (eval "$ac_link") 2>&5
22747 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22748 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22749 { (case "(($ac_try" in
22750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22751 *) ac_try_echo=$ac_try;;
22753 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22754 (eval "$ac_try") 2>&5
22756 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22757 (exit $ac_status); }; }; then
22758 ac_cv_sizeof_long_long=`cat conftest.val`
22760 echo "$as_me: program exited with status
$ac_status" >&5
22761 echo "$as_me: failed program was
:" >&5
22762 sed 's/^/| /' conftest.$ac_ext >&5
22764 ( exit $ac_status )
22765 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22766 See \
`config.log' for more details." >&5
22767 echo "$as_me: error: cannot compute sizeof (long long)
22768 See \`config.log
' for more details." >&2;}
22769 { (exit 77); exit 77; }; }
22771 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22775 ac_cv_sizeof_long_long=0
22778 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22779 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22780 cat >>confdefs.h <<_ACEOF
22781 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22787 { echo "$as_me:$LINENO: checking for long long" >&5
22788 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22789 if test "${ac_cv_type_long_long+set}" = set; then
22790 echo $ECHO_N "(cached) $ECHO_C" >&6
22792 cat >conftest.$ac_ext <<_ACEOF
22795 cat confdefs.h >>conftest.$ac_ext
22796 cat >>conftest.$ac_ext <<_ACEOF
22797 /* end confdefs.h. */
22798 $ac_includes_default
22799 typedef long long ac__type_new_;
22803 if ((ac__type_new_ *) 0)
22805 if (sizeof (ac__type_new_))
22811 rm -f conftest.$ac_objext
22812 if { (ac_try="$ac_compile"
22813 case "(($ac_try" in
22814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22815 *) ac_try_echo=$ac_try;;
22817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22818 (eval "$ac_compile") 2>conftest.er1
22820 grep -v '^
*+' conftest.er1 >conftest.err
22822 cat conftest.err >&5
22823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22824 (exit $ac_status); } &&
22825 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
22826 { (case "(($ac_try" in
22827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22828 *) ac_try_echo=$ac_try;;
22830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22831 (eval "$ac_try") 2>&5
22833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22834 (exit $ac_status); }; } &&
22835 { ac_try='test -s conftest.
$ac_objext'
22836 { (case "(($ac_try" in
22837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22838 *) ac_try_echo=$ac_try;;
22840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22841 (eval "$ac_try") 2>&5
22843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22844 (exit $ac_status); }; }; then
22845 ac_cv_type_long_long=yes
22847 echo "$as_me: failed program was:" >&5
22848 sed 's
/^
/| /' conftest.$ac_ext >&5
22850 ac_cv_type_long_long=no
22853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22855 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22856 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22858 { echo "$as_me:$LINENO: checking size of long long" >&5
22859 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22860 if test "${ac_cv_sizeof_long_long+set}" = set; then
22861 echo $ECHO_N "(cached) $ECHO_C" >&6
22863 if test "$ac_cv_type_long_long" = yes; then
22864 # The cast to long int works around a bug in the HP C Compiler
22865 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22866 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22867 # This bug is HP SR number 8606223364.
22868 if test "$cross_compiling" = yes; then
22869 # Depending upon the size, compute the lo and hi bounds.
22870 cat >conftest.
$ac_ext <<_ACEOF
22873 cat confdefs.h
>>conftest.
$ac_ext
22874 cat >>conftest.
$ac_ext <<_ACEOF
22875 /* end confdefs.h. */
22876 $ac_includes_default
22877 typedef long long ac__type_sizeof_;
22881 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22888 rm -f conftest.
$ac_objext
22889 if { (ac_try
="$ac_compile"
22890 case "(($ac_try" in
22891 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22892 *) ac_try_echo=$ac_try;;
22894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22895 (eval "$ac_compile") 2>conftest.er1
22897 grep -v '^ *+' conftest.er1 >conftest.err
22899 cat conftest.err >&5
22900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22901 (exit $ac_status); } &&
22902 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22903 { (case "(($ac_try" in
22904 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22905 *) ac_try_echo
=$ac_try;;
22907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22908 (eval "$ac_try") 2>&5
22910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22911 (exit $ac_status); }; } &&
22912 { ac_try
='test -s conftest.$ac_objext'
22913 { (case "(($ac_try" in
22914 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22915 *) ac_try_echo=$ac_try;;
22917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22918 (eval "$ac_try") 2>&5
22920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22921 (exit $ac_status); }; }; then
22924 cat >conftest.$ac_ext <<_ACEOF
22927 cat confdefs.h >>conftest.$ac_ext
22928 cat >>conftest.$ac_ext <<_ACEOF
22929 /* end confdefs.h. */
22930 $ac_includes_default
22931 typedef long long ac__type_sizeof_;
22935 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22942 rm -f conftest.$ac_objext
22943 if { (ac_try="$ac_compile"
22944 case "(($ac_try" in
22945 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22946 *) ac_try_echo
=$ac_try;;
22948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22949 (eval "$ac_compile") 2>conftest.er1
22951 grep -v '^ *+' conftest.er1
>conftest.err
22953 cat conftest.err
>&5
22954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22955 (exit $ac_status); } &&
22956 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22957 { (case "(($ac_try" in
22958 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22959 *) ac_try_echo=$ac_try;;
22961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22962 (eval "$ac_try") 2>&5
22964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22965 (exit $ac_status); }; } &&
22966 { ac_try='test -s conftest.$ac_objext'
22967 { (case "(($ac_try" in
22968 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22969 *) ac_try_echo
=$ac_try;;
22971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22972 (eval "$ac_try") 2>&5
22974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22975 (exit $ac_status); }; }; then
22976 ac_hi
=$ac_mid; break
22978 echo "$as_me: failed program was:" >&5
22979 sed 's/^/| /' conftest.
$ac_ext >&5
22981 ac_lo
=`expr $ac_mid + 1`
22982 if test $ac_lo -le $ac_mid; then
22986 ac_mid
=`expr 2 '*' $ac_mid + 1`
22989 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22992 echo "$as_me: failed program was:" >&5
22993 sed 's/^/| /' conftest.
$ac_ext >&5
22995 cat >conftest.
$ac_ext <<_ACEOF
22998 cat confdefs.h
>>conftest.
$ac_ext
22999 cat >>conftest.
$ac_ext <<_ACEOF
23000 /* end confdefs.h. */
23001 $ac_includes_default
23002 typedef long long ac__type_sizeof_;
23006 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23013 rm -f conftest.
$ac_objext
23014 if { (ac_try
="$ac_compile"
23015 case "(($ac_try" in
23016 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23017 *) ac_try_echo=$ac_try;;
23019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23020 (eval "$ac_compile") 2>conftest.er1
23022 grep -v '^ *+' conftest.er1 >conftest.err
23024 cat conftest.err >&5
23025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23026 (exit $ac_status); } &&
23027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23028 { (case "(($ac_try" in
23029 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23030 *) ac_try_echo
=$ac_try;;
23032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23033 (eval "$ac_try") 2>&5
23035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23036 (exit $ac_status); }; } &&
23037 { ac_try
='test -s conftest.$ac_objext'
23038 { (case "(($ac_try" in
23039 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23040 *) ac_try_echo=$ac_try;;
23042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23043 (eval "$ac_try") 2>&5
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); }; }; then
23049 cat >conftest.$ac_ext <<_ACEOF
23052 cat confdefs.h >>conftest.$ac_ext
23053 cat >>conftest.$ac_ext <<_ACEOF
23054 /* end confdefs.h. */
23055 $ac_includes_default
23056 typedef long long ac__type_sizeof_;
23060 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23067 rm -f conftest.$ac_objext
23068 if { (ac_try="$ac_compile"
23069 case "(($ac_try" in
23070 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23071 *) ac_try_echo
=$ac_try;;
23073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23074 (eval "$ac_compile") 2>conftest.er1
23076 grep -v '^ *+' conftest.er1
>conftest.err
23078 cat conftest.err
>&5
23079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080 (exit $ac_status); } &&
23081 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23082 { (case "(($ac_try" in
23083 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23084 *) ac_try_echo=$ac_try;;
23086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23087 (eval "$ac_try") 2>&5
23089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23090 (exit $ac_status); }; } &&
23091 { ac_try='test -s conftest.$ac_objext'
23092 { (case "(($ac_try" in
23093 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23094 *) ac_try_echo
=$ac_try;;
23096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23097 (eval "$ac_try") 2>&5
23099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23100 (exit $ac_status); }; }; then
23101 ac_lo
=$ac_mid; break
23103 echo "$as_me: failed program was:" >&5
23104 sed 's/^/| /' conftest.
$ac_ext >&5
23106 ac_hi
=`expr '(' $ac_mid ')' - 1`
23107 if test $ac_mid -le $ac_hi; then
23111 ac_mid
=`expr 2 '*' $ac_mid`
23114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23117 echo "$as_me: failed program was:" >&5
23118 sed 's/^/| /' conftest.
$ac_ext >&5
23123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23126 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23127 # Binary search between lo and hi bounds.
23128 while test "x$ac_lo" != "x$ac_hi"; do
23129 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23130 cat >conftest.
$ac_ext <<_ACEOF
23133 cat confdefs.h
>>conftest.
$ac_ext
23134 cat >>conftest.
$ac_ext <<_ACEOF
23135 /* end confdefs.h. */
23136 $ac_includes_default
23137 typedef long long ac__type_sizeof_;
23141 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23148 rm -f conftest.
$ac_objext
23149 if { (ac_try
="$ac_compile"
23150 case "(($ac_try" in
23151 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23152 *) ac_try_echo=$ac_try;;
23154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23155 (eval "$ac_compile") 2>conftest.er1
23157 grep -v '^ *+' conftest.er1 >conftest.err
23159 cat conftest.err >&5
23160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23161 (exit $ac_status); } &&
23162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23163 { (case "(($ac_try" in
23164 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23165 *) ac_try_echo
=$ac_try;;
23167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23168 (eval "$ac_try") 2>&5
23170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23171 (exit $ac_status); }; } &&
23172 { ac_try
='test -s conftest.$ac_objext'
23173 { (case "(($ac_try" in
23174 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23175 *) ac_try_echo=$ac_try;;
23177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23178 (eval "$ac_try") 2>&5
23180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23181 (exit $ac_status); }; }; then
23184 echo "$as_me: failed program was:" >&5
23185 sed 's/^/| /' conftest.$ac_ext >&5
23187 ac_lo=`expr '(' $ac_mid ')' + 1`
23190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23193 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23194 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23195 See \`config.log
' for more details." >&5
23196 echo "$as_me: error: cannot compute sizeof (long long)
23197 See \`config.log' for more details.
" >&2;}
23198 { (exit 77); exit 77; }; } ;;
23201 cat >conftest.$ac_ext <<_ACEOF
23204 cat confdefs.h >>conftest.$ac_ext
23205 cat >>conftest.$ac_ext <<_ACEOF
23206 /* end confdefs.h. */
23207 $ac_includes_default
23208 typedef long long ac__type_sizeof_;
23209 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23210 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23212 #include <stdlib.h>
23217 FILE *f = fopen ("conftest.val
", "w
");
23220 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23222 long int i = longval ();
23223 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23225 fprintf (f, "%ld
\n", i);
23229 unsigned long int i = ulongval ();
23230 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23232 fprintf (f, "%lu
\n", i);
23234 return ferror (f) || fclose (f) != 0;
23240 rm -f conftest$ac_exeext
23241 if { (ac_try="$ac_link"
23242 case "(($ac_try" in
23243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23244 *) ac_try_echo=$ac_try;;
23246 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23247 (eval "$ac_link") 2>&5
23249 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23250 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23251 { (case "(($ac_try" in
23252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23253 *) ac_try_echo=$ac_try;;
23255 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23256 (eval "$ac_try") 2>&5
23258 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23259 (exit $ac_status); }; }; then
23260 ac_cv_sizeof_long_long=`cat conftest.val`
23262 echo "$as_me: program exited with status
$ac_status" >&5
23263 echo "$as_me: failed program was
:" >&5
23264 sed 's/^/| /' conftest.$ac_ext >&5
23266 ( exit $ac_status )
23267 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23268 See \
`config.log' for more details." >&5
23269 echo "$as_me: error: cannot compute sizeof (long long)
23270 See \`config.log
' for more details." >&2;}
23271 { (exit 77); exit 77; }; }
23273 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23277 ac_cv_sizeof_long_long=0
23280 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23281 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23282 cat >>confdefs.h <<_ACEOF
23283 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23287 if test "$ac_cv_sizeof_long_long" != "0"; then
23288 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23292 { echo "$as_me:$LINENO: checking for long long" >&5
23293 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23294 if test "${ac_cv_type_long_long+set}" = set; then
23295 echo $ECHO_N "(cached) $ECHO_C" >&6
23297 cat >conftest.$ac_ext <<_ACEOF
23300 cat confdefs.h >>conftest.$ac_ext
23301 cat >>conftest.$ac_ext <<_ACEOF
23302 /* end confdefs.h. */
23303 $ac_includes_default
23304 typedef long long ac__type_new_;
23308 if ((ac__type_new_ *) 0)
23310 if (sizeof (ac__type_new_))
23316 rm -f conftest.$ac_objext
23317 if { (ac_try="$ac_compile"
23318 case "(($ac_try" in
23319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23320 *) ac_try_echo=$ac_try;;
23322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23323 (eval "$ac_compile") 2>conftest.er1
23325 grep -v '^
*+' conftest.er1 >conftest.err
23327 cat conftest.err >&5
23328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23329 (exit $ac_status); } &&
23330 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
23331 { (case "(($ac_try" in
23332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23333 *) ac_try_echo=$ac_try;;
23335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23336 (eval "$ac_try") 2>&5
23338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23339 (exit $ac_status); }; } &&
23340 { ac_try='test -s conftest.
$ac_objext'
23341 { (case "(($ac_try" in
23342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23343 *) ac_try_echo=$ac_try;;
23345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23346 (eval "$ac_try") 2>&5
23348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23349 (exit $ac_status); }; }; then
23350 ac_cv_type_long_long=yes
23352 echo "$as_me: failed program was:" >&5
23353 sed 's
/^
/| /' conftest.$ac_ext >&5
23355 ac_cv_type_long_long=no
23358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23360 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23361 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23363 { echo "$as_me:$LINENO: checking size of long long" >&5
23364 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23365 if test "${ac_cv_sizeof_long_long+set}" = set; then
23366 echo $ECHO_N "(cached) $ECHO_C" >&6
23368 if test "$ac_cv_type_long_long" = yes; then
23369 # The cast to long int works around a bug in the HP C Compiler
23370 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23371 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23372 # This bug is HP SR number 8606223364.
23373 if test "$cross_compiling" = yes; then
23374 # Depending upon the size, compute the lo and hi bounds.
23375 cat >conftest.
$ac_ext <<_ACEOF
23378 cat confdefs.h
>>conftest.
$ac_ext
23379 cat >>conftest.
$ac_ext <<_ACEOF
23380 /* end confdefs.h. */
23381 $ac_includes_default
23382 typedef long long ac__type_sizeof_;
23386 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23393 rm -f conftest.
$ac_objext
23394 if { (ac_try
="$ac_compile"
23395 case "(($ac_try" in
23396 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23397 *) ac_try_echo=$ac_try;;
23399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23400 (eval "$ac_compile") 2>conftest.er1
23402 grep -v '^ *+' conftest.er1 >conftest.err
23404 cat conftest.err >&5
23405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23406 (exit $ac_status); } &&
23407 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23408 { (case "(($ac_try" in
23409 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23410 *) ac_try_echo
=$ac_try;;
23412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23413 (eval "$ac_try") 2>&5
23415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416 (exit $ac_status); }; } &&
23417 { ac_try
='test -s conftest.$ac_objext'
23418 { (case "(($ac_try" in
23419 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23420 *) ac_try_echo=$ac_try;;
23422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23423 (eval "$ac_try") 2>&5
23425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23426 (exit $ac_status); }; }; then
23429 cat >conftest.$ac_ext <<_ACEOF
23432 cat confdefs.h >>conftest.$ac_ext
23433 cat >>conftest.$ac_ext <<_ACEOF
23434 /* end confdefs.h. */
23435 $ac_includes_default
23436 typedef long long ac__type_sizeof_;
23440 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23447 rm -f conftest.$ac_objext
23448 if { (ac_try="$ac_compile"
23449 case "(($ac_try" in
23450 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23451 *) ac_try_echo
=$ac_try;;
23453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23454 (eval "$ac_compile") 2>conftest.er1
23456 grep -v '^ *+' conftest.er1
>conftest.err
23458 cat conftest.err
>&5
23459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23460 (exit $ac_status); } &&
23461 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23462 { (case "(($ac_try" in
23463 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23464 *) ac_try_echo=$ac_try;;
23466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23467 (eval "$ac_try") 2>&5
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); }; } &&
23471 { ac_try='test -s conftest.$ac_objext'
23472 { (case "(($ac_try" in
23473 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23474 *) ac_try_echo
=$ac_try;;
23476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23477 (eval "$ac_try") 2>&5
23479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23480 (exit $ac_status); }; }; then
23481 ac_hi
=$ac_mid; break
23483 echo "$as_me: failed program was:" >&5
23484 sed 's/^/| /' conftest.
$ac_ext >&5
23486 ac_lo
=`expr $ac_mid + 1`
23487 if test $ac_lo -le $ac_mid; then
23491 ac_mid
=`expr 2 '*' $ac_mid + 1`
23494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23497 echo "$as_me: failed program was:" >&5
23498 sed 's/^/| /' conftest.
$ac_ext >&5
23500 cat >conftest.
$ac_ext <<_ACEOF
23503 cat confdefs.h
>>conftest.
$ac_ext
23504 cat >>conftest.
$ac_ext <<_ACEOF
23505 /* end confdefs.h. */
23506 $ac_includes_default
23507 typedef long long ac__type_sizeof_;
23511 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23518 rm -f conftest.
$ac_objext
23519 if { (ac_try
="$ac_compile"
23520 case "(($ac_try" in
23521 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23522 *) ac_try_echo=$ac_try;;
23524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23525 (eval "$ac_compile") 2>conftest.er1
23527 grep -v '^ *+' conftest.er1 >conftest.err
23529 cat conftest.err >&5
23530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23531 (exit $ac_status); } &&
23532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23533 { (case "(($ac_try" in
23534 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23535 *) ac_try_echo
=$ac_try;;
23537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23538 (eval "$ac_try") 2>&5
23540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23541 (exit $ac_status); }; } &&
23542 { ac_try
='test -s conftest.$ac_objext'
23543 { (case "(($ac_try" in
23544 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23545 *) ac_try_echo=$ac_try;;
23547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23548 (eval "$ac_try") 2>&5
23550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23551 (exit $ac_status); }; }; then
23554 cat >conftest.$ac_ext <<_ACEOF
23557 cat confdefs.h >>conftest.$ac_ext
23558 cat >>conftest.$ac_ext <<_ACEOF
23559 /* end confdefs.h. */
23560 $ac_includes_default
23561 typedef long long ac__type_sizeof_;
23565 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23572 rm -f conftest.$ac_objext
23573 if { (ac_try="$ac_compile"
23574 case "(($ac_try" in
23575 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23576 *) ac_try_echo
=$ac_try;;
23578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23579 (eval "$ac_compile") 2>conftest.er1
23581 grep -v '^ *+' conftest.er1
>conftest.err
23583 cat conftest.err
>&5
23584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23585 (exit $ac_status); } &&
23586 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23587 { (case "(($ac_try" in
23588 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23589 *) ac_try_echo=$ac_try;;
23591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23592 (eval "$ac_try") 2>&5
23594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23595 (exit $ac_status); }; } &&
23596 { ac_try='test -s conftest.$ac_objext'
23597 { (case "(($ac_try" in
23598 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23599 *) ac_try_echo
=$ac_try;;
23601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23602 (eval "$ac_try") 2>&5
23604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23605 (exit $ac_status); }; }; then
23606 ac_lo
=$ac_mid; break
23608 echo "$as_me: failed program was:" >&5
23609 sed 's/^/| /' conftest.
$ac_ext >&5
23611 ac_hi
=`expr '(' $ac_mid ')' - 1`
23612 if test $ac_mid -le $ac_hi; then
23616 ac_mid
=`expr 2 '*' $ac_mid`
23619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23622 echo "$as_me: failed program was:" >&5
23623 sed 's/^/| /' conftest.
$ac_ext >&5
23628 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23631 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23632 # Binary search between lo and hi bounds.
23633 while test "x$ac_lo" != "x$ac_hi"; do
23634 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23635 cat >conftest.
$ac_ext <<_ACEOF
23638 cat confdefs.h
>>conftest.
$ac_ext
23639 cat >>conftest.
$ac_ext <<_ACEOF
23640 /* end confdefs.h. */
23641 $ac_includes_default
23642 typedef long long ac__type_sizeof_;
23646 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23653 rm -f conftest.
$ac_objext
23654 if { (ac_try
="$ac_compile"
23655 case "(($ac_try" in
23656 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23657 *) ac_try_echo=$ac_try;;
23659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23660 (eval "$ac_compile") 2>conftest.er1
23662 grep -v '^ *+' conftest.er1 >conftest.err
23664 cat conftest.err >&5
23665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23666 (exit $ac_status); } &&
23667 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23668 { (case "(($ac_try" in
23669 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23670 *) ac_try_echo
=$ac_try;;
23672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23673 (eval "$ac_try") 2>&5
23675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23676 (exit $ac_status); }; } &&
23677 { ac_try
='test -s conftest.$ac_objext'
23678 { (case "(($ac_try" in
23679 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23680 *) ac_try_echo=$ac_try;;
23682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23683 (eval "$ac_try") 2>&5
23685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23686 (exit $ac_status); }; }; then
23689 echo "$as_me: failed program was:" >&5
23690 sed 's/^/| /' conftest.$ac_ext >&5
23692 ac_lo=`expr '(' $ac_mid ')' + 1`
23695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23698 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23699 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23700 See \`config.log
' for more details." >&5
23701 echo "$as_me: error: cannot compute sizeof (long long)
23702 See \`config.log' for more details.
" >&2;}
23703 { (exit 77); exit 77; }; } ;;
23706 cat >conftest.$ac_ext <<_ACEOF
23709 cat confdefs.h >>conftest.$ac_ext
23710 cat >>conftest.$ac_ext <<_ACEOF
23711 /* end confdefs.h. */
23712 $ac_includes_default
23713 typedef long long ac__type_sizeof_;
23714 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23715 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23717 #include <stdlib.h>
23722 FILE *f = fopen ("conftest.val
", "w
");
23725 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23727 long int i = longval ();
23728 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23730 fprintf (f, "%ld
\n", i);
23734 unsigned long int i = ulongval ();
23735 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23737 fprintf (f, "%lu
\n", i);
23739 return ferror (f) || fclose (f) != 0;
23745 rm -f conftest$ac_exeext
23746 if { (ac_try="$ac_link"
23747 case "(($ac_try" in
23748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23749 *) ac_try_echo=$ac_try;;
23751 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23752 (eval "$ac_link") 2>&5
23754 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23755 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23756 { (case "(($ac_try" in
23757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23758 *) ac_try_echo=$ac_try;;
23760 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23761 (eval "$ac_try") 2>&5
23763 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23764 (exit $ac_status); }; }; then
23765 ac_cv_sizeof_long_long=`cat conftest.val`
23767 echo "$as_me: program exited with status
$ac_status" >&5
23768 echo "$as_me: failed program was
:" >&5
23769 sed 's/^/| /' conftest.$ac_ext >&5
23771 ( exit $ac_status )
23772 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23773 See \
`config.log' for more details." >&5
23774 echo "$as_me: error: cannot compute sizeof (long long)
23775 See \`config.log
' for more details." >&2;}
23776 { (exit 77); exit 77; }; }
23778 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23782 ac_cv_sizeof_long_long=0
23785 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23786 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23787 cat >>confdefs.h <<_ACEOF
23788 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23794 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23795 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23796 if test "${ac_cv_type_wchar_t+set}" = set; then
23797 echo $ECHO_N "(cached) $ECHO_C" >&6
23799 cat >conftest.$ac_ext <<_ACEOF
23802 cat confdefs.h >>conftest.$ac_ext
23803 cat >>conftest.$ac_ext <<_ACEOF
23804 /* end confdefs.h. */
23806 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23807 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23808 # error "fake wchar_t"
23810 #ifdef HAVE_WCHAR_H
23812 # include <stddef.h>
23814 # include <wchar.h>
23816 #ifdef HAVE_STDLIB_H
23817 # include <stdlib.h>
23823 typedef wchar_t ac__type_new_
;
23827 if ((ac__type_new_
*) 0)
23829 if (sizeof
(ac__type_new_
))
23835 rm -f conftest.
$ac_objext
23836 if { (ac_try
="$ac_compile"
23837 case "(($ac_try" in
23838 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23839 *) ac_try_echo=$ac_try;;
23841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23842 (eval "$ac_compile") 2>conftest.er1
23844 grep -v '^ *+' conftest.er1 >conftest.err
23846 cat conftest.err >&5
23847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23848 (exit $ac_status); } &&
23849 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23850 { (case "(($ac_try" in
23851 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23852 *) ac_try_echo
=$ac_try;;
23854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23855 (eval "$ac_try") 2>&5
23857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23858 (exit $ac_status); }; } &&
23859 { ac_try
='test -s conftest.$ac_objext'
23860 { (case "(($ac_try" in
23861 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23862 *) ac_try_echo=$ac_try;;
23864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23865 (eval "$ac_try") 2>&5
23867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23868 (exit $ac_status); }; }; then
23869 ac_cv_type_wchar_t=yes
23871 echo "$as_me: failed program was:" >&5
23872 sed 's/^/| /' conftest.$ac_ext >&5
23874 ac_cv_type_wchar_t=no
23877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23879 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23880 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23882 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23883 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23884 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23885 echo $ECHO_N "(cached) $ECHO_C" >&6
23887 if test "$ac_cv_type_wchar_t" = yes; then
23888 # The cast to long int works around a bug in the HP C Compiler
23889 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23890 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
23891 # This bug is HP SR number 8606223364.
23892 if test "$cross_compiling" = yes; then
23893 # Depending upon the size, compute the lo and hi bounds.
23894 cat >conftest.$ac_ext <<_ACEOF
23897 cat confdefs.h >>conftest.$ac_ext
23898 cat >>conftest.$ac_ext <<_ACEOF
23899 /* end confdefs.h. */
23901 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23902 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23903 # error "fake wchar_t"
23905 #ifdef HAVE_WCHAR_H
23907 # include <stddef.h>
23909 # include <wchar.h>
23911 #ifdef HAVE_STDLIB_H
23912 # include <stdlib.h>
23918 typedef wchar_t ac__type_sizeof_
;
23922 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
23929 rm -f conftest.
$ac_objext
23930 if { (ac_try
="$ac_compile"
23931 case "(($ac_try" in
23932 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23933 *) ac_try_echo=$ac_try;;
23935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23936 (eval "$ac_compile") 2>conftest.er1
23938 grep -v '^ *+' conftest.er1 >conftest.err
23940 cat conftest.err >&5
23941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23942 (exit $ac_status); } &&
23943 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23944 { (case "(($ac_try" in
23945 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23946 *) ac_try_echo
=$ac_try;;
23948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23949 (eval "$ac_try") 2>&5
23951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23952 (exit $ac_status); }; } &&
23953 { ac_try
='test -s conftest.$ac_objext'
23954 { (case "(($ac_try" in
23955 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23956 *) ac_try_echo=$ac_try;;
23958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23959 (eval "$ac_try") 2>&5
23961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23962 (exit $ac_status); }; }; then
23965 cat >conftest.$ac_ext <<_ACEOF
23968 cat confdefs.h >>conftest.$ac_ext
23969 cat >>conftest.$ac_ext <<_ACEOF
23970 /* end confdefs.h. */
23972 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23973 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23974 # error "fake wchar_t"
23976 #ifdef HAVE_WCHAR_H
23978 # include <stddef.h>
23980 # include <wchar.h>
23982 #ifdef HAVE_STDLIB_H
23983 # include <stdlib.h>
23989 typedef wchar_t ac__type_sizeof_;
23993 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24000 rm -f conftest.$ac_objext
24001 if { (ac_try="$ac_compile"
24002 case "(($ac_try" in
24003 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24004 *) ac_try_echo
=$ac_try;;
24006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24007 (eval "$ac_compile") 2>conftest.er1
24009 grep -v '^ *+' conftest.er1
>conftest.err
24011 cat conftest.err
>&5
24012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24013 (exit $ac_status); } &&
24014 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24015 { (case "(($ac_try" in
24016 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24017 *) ac_try_echo=$ac_try;;
24019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24020 (eval "$ac_try") 2>&5
24022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24023 (exit $ac_status); }; } &&
24024 { ac_try='test -s conftest.$ac_objext'
24025 { (case "(($ac_try" in
24026 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24027 *) ac_try_echo
=$ac_try;;
24029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24030 (eval "$ac_try") 2>&5
24032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24033 (exit $ac_status); }; }; then
24034 ac_hi
=$ac_mid; break
24036 echo "$as_me: failed program was:" >&5
24037 sed 's/^/| /' conftest.
$ac_ext >&5
24039 ac_lo
=`expr $ac_mid + 1`
24040 if test $ac_lo -le $ac_mid; then
24044 ac_mid
=`expr 2 '*' $ac_mid + 1`
24047 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24050 echo "$as_me: failed program was:" >&5
24051 sed 's/^/| /' conftest.
$ac_ext >&5
24053 cat >conftest.
$ac_ext <<_ACEOF
24056 cat confdefs.h
>>conftest.
$ac_ext
24057 cat >>conftest.
$ac_ext <<_ACEOF
24058 /* end confdefs.h. */
24060 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24061 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24062 # error "fake wchar_t"
24064 #ifdef HAVE_WCHAR_H
24066 # include <stddef.h>
24068 # include <wchar.h>
24070 #ifdef HAVE_STDLIB_H
24071 # include <stdlib.h>
24077 typedef wchar_t ac__type_sizeof_;
24081 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24088 rm -f conftest.
$ac_objext
24089 if { (ac_try
="$ac_compile"
24090 case "(($ac_try" in
24091 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24092 *) ac_try_echo=$ac_try;;
24094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24095 (eval "$ac_compile") 2>conftest.er1
24097 grep -v '^ *+' conftest.er1 >conftest.err
24099 cat conftest.err >&5
24100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24101 (exit $ac_status); } &&
24102 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24103 { (case "(($ac_try" in
24104 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24105 *) ac_try_echo
=$ac_try;;
24107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24108 (eval "$ac_try") 2>&5
24110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24111 (exit $ac_status); }; } &&
24112 { ac_try
='test -s conftest.$ac_objext'
24113 { (case "(($ac_try" in
24114 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24115 *) ac_try_echo=$ac_try;;
24117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24118 (eval "$ac_try") 2>&5
24120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24121 (exit $ac_status); }; }; then
24124 cat >conftest.$ac_ext <<_ACEOF
24127 cat confdefs.h >>conftest.$ac_ext
24128 cat >>conftest.$ac_ext <<_ACEOF
24129 /* end confdefs.h. */
24131 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24132 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24133 # error "fake wchar_t"
24135 #ifdef HAVE_WCHAR_H
24137 # include <stddef.h>
24139 # include <wchar.h>
24141 #ifdef HAVE_STDLIB_H
24142 # include <stdlib.h>
24148 typedef wchar_t ac__type_sizeof_;
24152 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24159 rm -f conftest.$ac_objext
24160 if { (ac_try="$ac_compile"
24161 case "(($ac_try" in
24162 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24163 *) ac_try_echo
=$ac_try;;
24165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24166 (eval "$ac_compile") 2>conftest.er1
24168 grep -v '^ *+' conftest.er1
>conftest.err
24170 cat conftest.err
>&5
24171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24172 (exit $ac_status); } &&
24173 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24174 { (case "(($ac_try" in
24175 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24176 *) ac_try_echo=$ac_try;;
24178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24179 (eval "$ac_try") 2>&5
24181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24182 (exit $ac_status); }; } &&
24183 { ac_try='test -s conftest.$ac_objext'
24184 { (case "(($ac_try" in
24185 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24186 *) ac_try_echo
=$ac_try;;
24188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24189 (eval "$ac_try") 2>&5
24191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24192 (exit $ac_status); }; }; then
24193 ac_lo
=$ac_mid; break
24195 echo "$as_me: failed program was:" >&5
24196 sed 's/^/| /' conftest.
$ac_ext >&5
24198 ac_hi
=`expr '(' $ac_mid ')' - 1`
24199 if test $ac_mid -le $ac_hi; then
24203 ac_mid
=`expr 2 '*' $ac_mid`
24206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24209 echo "$as_me: failed program was:" >&5
24210 sed 's/^/| /' conftest.
$ac_ext >&5
24215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24218 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24219 # Binary search between lo and hi bounds.
24220 while test "x$ac_lo" != "x$ac_hi"; do
24221 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24222 cat >conftest.
$ac_ext <<_ACEOF
24225 cat confdefs.h
>>conftest.
$ac_ext
24226 cat >>conftest.
$ac_ext <<_ACEOF
24227 /* end confdefs.h. */
24229 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24230 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24231 # error "fake wchar_t"
24233 #ifdef HAVE_WCHAR_H
24235 # include <stddef.h>
24237 # include <wchar.h>
24239 #ifdef HAVE_STDLIB_H
24240 # include <stdlib.h>
24246 typedef wchar_t ac__type_sizeof_;
24250 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24257 rm -f conftest.
$ac_objext
24258 if { (ac_try
="$ac_compile"
24259 case "(($ac_try" in
24260 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24261 *) ac_try_echo=$ac_try;;
24263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24264 (eval "$ac_compile") 2>conftest.er1
24266 grep -v '^ *+' conftest.er1 >conftest.err
24268 cat conftest.err >&5
24269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24270 (exit $ac_status); } &&
24271 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24272 { (case "(($ac_try" in
24273 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24274 *) ac_try_echo
=$ac_try;;
24276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24277 (eval "$ac_try") 2>&5
24279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24280 (exit $ac_status); }; } &&
24281 { ac_try
='test -s conftest.$ac_objext'
24282 { (case "(($ac_try" in
24283 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24284 *) ac_try_echo=$ac_try;;
24286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24287 (eval "$ac_try") 2>&5
24289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24290 (exit $ac_status); }; }; then
24293 echo "$as_me: failed program was:" >&5
24294 sed 's/^/| /' conftest.$ac_ext >&5
24296 ac_lo=`expr '(' $ac_mid ')' + 1`
24299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24302 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24303 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24304 See \`config.log
' for more details." >&5
24305 echo "$as_me: error: cannot compute sizeof (wchar_t)
24306 See \`config.log' for more details.
" >&2;}
24307 { (exit 77); exit 77; }; } ;;
24310 cat >conftest.$ac_ext <<_ACEOF
24313 cat confdefs.h >>conftest.$ac_ext
24314 cat >>conftest.$ac_ext <<_ACEOF
24315 /* end confdefs.h. */
24317 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24318 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24319 # error "fake wchar_t
"
24321 #ifdef HAVE_WCHAR_H
24323 # include <stddef.h>
24325 # include <wchar.h>
24327 #ifdef HAVE_STDLIB_H
24328 # include <stdlib.h>
24334 typedef wchar_t ac__type_sizeof_;
24335 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24336 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24338 #include <stdlib.h>
24343 FILE *f = fopen ("conftest.val
", "w
");
24346 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24348 long int i = longval ();
24349 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24351 fprintf (f, "%ld
\n", i);
24355 unsigned long int i = ulongval ();
24356 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24358 fprintf (f, "%lu
\n", i);
24360 return ferror (f) || fclose (f) != 0;
24366 rm -f conftest$ac_exeext
24367 if { (ac_try="$ac_link"
24368 case "(($ac_try" in
24369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24370 *) ac_try_echo=$ac_try;;
24372 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24373 (eval "$ac_link") 2>&5
24375 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24376 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24377 { (case "(($ac_try" in
24378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24379 *) ac_try_echo=$ac_try;;
24381 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24382 (eval "$ac_try") 2>&5
24384 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24385 (exit $ac_status); }; }; then
24386 ac_cv_sizeof_wchar_t=`cat conftest.val`
24388 echo "$as_me: program exited with status
$ac_status" >&5
24389 echo "$as_me: failed program was
:" >&5
24390 sed 's/^/| /' conftest.$ac_ext >&5
24392 ( exit $ac_status )
24393 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
24394 See \
`config.log' for more details." >&5
24395 echo "$as_me: error: cannot compute sizeof (wchar_t)
24396 See \`config.log
' for more details." >&2;}
24397 { (exit 77); exit 77; }; }
24399 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24403 ac_cv_sizeof_wchar_t=0
24406 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24407 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24408 cat >>confdefs.h <<_ACEOF
24409 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24413 if test "$ac_cv_sizeof_wchar_t" != "0"; then
24419 { echo "$as_me:$LINENO: checking for va_copy" >&5
24420 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24421 if test "${wx_cv_func_va_copy+set}" = set; then
24422 echo $ECHO_N "(cached) $ECHO_C" >&6
24425 cat >conftest.$ac_ext <<_ACEOF
24427 #include <stdarg.h>
24428 void foo(char *f, ...)
24442 rm -f conftest.$ac_objext conftest$ac_exeext
24443 if { (ac_try="$ac_link"
24444 case "(($ac_try" in
24445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24446 *) ac_try_echo=$ac_try;;
24448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24449 (eval "$ac_link") 2>conftest.er1
24451 grep -v '^
*+' conftest.er1 >conftest.err
24453 cat conftest.err >&5
24454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24455 (exit $ac_status); } &&
24456 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
24457 { (case "(($ac_try" in
24458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24459 *) ac_try_echo=$ac_try;;
24461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24462 (eval "$ac_try") 2>&5
24464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24465 (exit $ac_status); }; } &&
24466 { ac_try='test -s conftest
$ac_exeext'
24467 { (case "(($ac_try" in
24468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24469 *) ac_try_echo=$ac_try;;
24471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24472 (eval "$ac_try") 2>&5
24474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24475 (exit $ac_status); }; }; then
24476 wx_cv_func_va_copy=yes
24478 echo "$as_me: failed program was:" >&5
24479 sed 's
/^
/| /' conftest.$ac_ext >&5
24481 wx_cv_func_va_copy=no
24485 rm -f core conftest.err conftest.$ac_objext \
24486 conftest$ac_exeext conftest.$ac_ext
24490 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24491 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24493 if test $wx_cv_func_va_copy = "yes"; then
24494 cat >>confdefs.h <<\_ACEOF
24495 #define HAVE_VA_COPY 1
24499 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24500 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24501 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24502 echo $ECHO_N "(cached) $ECHO_C" >&6
24505 if test "$cross_compiling" = yes; then
24506 wx_cv_type_va_list_lvalue=yes
24509 cat >conftest.$ac_ext <<_ACEOF
24511 #include <stdarg.h>
24512 int foo(char *f, ...)
24517 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24525 return foo("hi", 17);
24528 rm -f conftest$ac_exeext
24529 if { (ac_try="$ac_link"
24530 case "(($ac_try" in
24531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24532 *) ac_try_echo=$ac_try;;
24534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24535 (eval "$ac_link") 2>&5
24537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24538 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24539 { (case "(($ac_try" in
24540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24541 *) ac_try_echo=$ac_try;;
24543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24544 (eval "$ac_try") 2>&5
24546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24547 (exit $ac_status); }; }; then
24548 wx_cv_type_va_list_lvalue=yes
24550 echo "$as_me: program exited with status $ac_status" >&5
24551 echo "$as_me: failed program was:" >&5
24552 sed 's
/^
/| /' conftest.$ac_ext >&5
24554 ( exit $ac_status )
24555 wx_cv_type_va_list_lvalue=no
24557 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24564 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24565 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24567 if test $wx_cv_type_va_list_lvalue != "yes"; then
24568 cat >>confdefs.h <<\_ACEOF
24569 #define VA_LIST_IS_ARRAY 1
24575 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24577 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24578 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24579 if test "${wx_cv_have_variadic_macros+set}" = set; then
24580 echo $ECHO_N "(cached) $ECHO_C" >&6
24584 ac_cpp='$CXXCPP $CPPFLAGS'
24585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24586 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24589 cat >conftest.$ac_ext <<_ACEOF
24592 cat confdefs.h >>conftest.$ac_ext
24593 cat >>conftest.$ac_ext <<_ACEOF
24594 /* end confdefs.h. */
24597 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24603 test("%s %d %p", "test", 1, 0);
24610 rm -f conftest.$ac_objext
24611 if { (ac_try="$ac_compile"
24612 case "(($ac_try" in
24613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24614 *) ac_try_echo=$ac_try;;
24616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24617 (eval "$ac_compile") 2>conftest.er1
24619 grep -v '^
*+' conftest.er1 >conftest.err
24621 cat conftest.err >&5
24622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24623 (exit $ac_status); } &&
24624 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
'
24625 { (case "(($ac_try" in
24626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24627 *) ac_try_echo=$ac_try;;
24629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24630 (eval "$ac_try") 2>&5
24632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24633 (exit $ac_status); }; } &&
24634 { ac_try='test -s conftest.
$ac_objext'
24635 { (case "(($ac_try" in
24636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24637 *) ac_try_echo=$ac_try;;
24639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24640 (eval "$ac_try") 2>&5
24642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24643 (exit $ac_status); }; }; then
24644 wx_cv_have_variadic_macros=yes
24646 echo "$as_me: failed program was:" >&5
24647 sed 's
/^
/| /' conftest.$ac_ext >&5
24649 wx_cv_have_variadic_macros=no
24653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24655 ac_cpp='$CPP $CPPFLAGS'
24656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24657 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24663 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24664 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24666 if test $wx_cv_have_variadic_macros = "yes"; then
24667 cat >>confdefs.h <<\_ACEOF
24668 #define HAVE_VARIADIC_MACROS 1
24674 # Check whether --enable-largefile was given.
24675 if test "${enable_largefile+set}" = set; then
24676 enableval=$enable_largefile;
24679 if test "$enable_largefile" != no; then
24682 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24683 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24684 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24685 echo $ECHO_N "(cached) $ECHO_C" >&6
24688 cat >conftest.$ac_ext <<_ACEOF
24691 cat confdefs.h >>conftest.$ac_ext
24692 cat >>conftest.$ac_ext <<_ACEOF
24693 /* end confdefs.h. */
24694 #define _FILE_OFFSET_BITS 64
24695 #include <sys/types.h>
24700 unsigned int field: sizeof(off_t) == 8;
24707 rm -f conftest.$ac_objext
24708 if { (ac_try="$ac_compile"
24709 case "(($ac_try" in
24710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24711 *) ac_try_echo=$ac_try;;
24713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24714 (eval "$ac_compile") 2>conftest.er1
24716 grep -v '^
*+' conftest.er1 >conftest.err
24718 cat conftest.err >&5
24719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24720 (exit $ac_status); } &&
24721 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
24722 { (case "(($ac_try" in
24723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24724 *) ac_try_echo=$ac_try;;
24726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24727 (eval "$ac_try") 2>&5
24729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24730 (exit $ac_status); }; } &&
24731 { ac_try='test -s conftest.
$ac_objext'
24732 { (case "(($ac_try" in
24733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24734 *) ac_try_echo=$ac_try;;
24736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24737 (eval "$ac_try") 2>&5
24739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740 (exit $ac_status); }; }; then
24741 ac_cv_sys_file_offset_bits=64
24743 echo "$as_me: failed program was:" >&5
24744 sed 's
/^
/| /' conftest.$ac_ext >&5
24746 ac_cv_sys_file_offset_bits=no
24749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24753 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24754 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24756 if test "$ac_cv_sys_file_offset_bits" != no; then
24758 cat >>confdefs.h <<_ACEOF
24759 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24764 if test "x$wx_largefile" != "xyes"; then
24766 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24767 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24768 if test "${ac_cv_sys_large_files+set}" = set; then
24769 echo $ECHO_N "(cached) $ECHO_C" >&6
24772 cat >conftest.$ac_ext <<_ACEOF
24775 cat confdefs.h >>conftest.$ac_ext
24776 cat >>conftest.$ac_ext <<_ACEOF
24777 /* end confdefs.h. */
24778 #define _LARGE_FILES 1
24779 #include <sys/types.h>
24784 unsigned int field: sizeof(off_t) == 8;
24791 rm -f conftest.$ac_objext
24792 if { (ac_try="$ac_compile"
24793 case "(($ac_try" in
24794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24795 *) ac_try_echo=$ac_try;;
24797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24798 (eval "$ac_compile") 2>conftest.er1
24800 grep -v '^
*+' conftest.er1 >conftest.err
24802 cat conftest.err >&5
24803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24804 (exit $ac_status); } &&
24805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
24806 { (case "(($ac_try" in
24807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24808 *) ac_try_echo=$ac_try;;
24810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24811 (eval "$ac_try") 2>&5
24813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24814 (exit $ac_status); }; } &&
24815 { ac_try='test -s conftest.
$ac_objext'
24816 { (case "(($ac_try" in
24817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24818 *) ac_try_echo=$ac_try;;
24820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24821 (eval "$ac_try") 2>&5
24823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24824 (exit $ac_status); }; }; then
24825 ac_cv_sys_large_files=1
24827 echo "$as_me: failed program was:" >&5
24828 sed 's
/^
/| /' conftest.$ac_ext >&5
24830 ac_cv_sys_large_files=no
24833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24837 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24838 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24840 if test "$ac_cv_sys_large_files" != no; then
24842 cat >>confdefs.h <<_ACEOF
24843 #define _LARGE_FILES $ac_cv_sys_large_files
24850 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24851 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24852 if test "x$wx_largefile" = "xyes"; then
24853 cat >>confdefs.h <<\_ACEOF
24854 #define HAVE_LARGEFILE_SUPPORT 1
24858 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24859 echo "${ECHO_T}$wx_largefile" >&6; }
24863 if test "x$wx_largefile" = "xyes"; then
24864 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
24865 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
24867 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24868 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24869 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24870 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24871 echo $ECHO_N "(cached) $ECHO_C" >&6
24875 ac_cpp='$CXXCPP $CPPFLAGS'
24876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24877 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24880 cat >conftest.$ac_ext <<_ACEOF
24883 cat confdefs.h >>conftest.$ac_ext
24884 cat >>conftest.$ac_ext <<_ACEOF
24885 /* end confdefs.h. */
24891 #ifndef __STDC_EXT__
24899 rm -f conftest.$ac_objext
24900 if { (ac_try="$ac_compile"
24901 case "(($ac_try" in
24902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24903 *) ac_try_echo=$ac_try;;
24905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24906 (eval "$ac_compile") 2>conftest.er1
24908 grep -v '^
*+' conftest.er1 >conftest.err
24910 cat conftest.err >&5
24911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24912 (exit $ac_status); } &&
24913 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
'
24914 { (case "(($ac_try" in
24915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24916 *) ac_try_echo=$ac_try;;
24918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24919 (eval "$ac_try") 2>&5
24921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24922 (exit $ac_status); }; } &&
24923 { ac_try='test -s conftest.
$ac_objext'
24924 { (case "(($ac_try" in
24925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24926 *) ac_try_echo=$ac_try;;
24928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24929 (eval "$ac_try") 2>&5
24931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24932 (exit $ac_status); }; }; then
24933 wx_cv_STDC_EXT_required=no
24935 echo "$as_me: failed program was:" >&5
24936 sed 's
/^
/| /' conftest.$ac_ext >&5
24938 wx_cv_STDC_EXT_required=yes
24942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24944 ac_cpp='$CPP $CPPFLAGS'
24945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24946 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24952 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24953 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24954 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24955 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24959 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
24961 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24962 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24963 if test "${ac_cv_sys_largefile_source+set}" = set; then
24964 echo $ECHO_N "(cached) $ECHO_C" >&6
24967 ac_cv_sys_largefile_source=no
24968 cat >conftest.$ac_ext <<_ACEOF
24971 cat confdefs.h >>conftest.$ac_ext
24972 cat >>conftest.$ac_ext <<_ACEOF
24973 /* end confdefs.h. */
24983 rm -f conftest.$ac_objext
24984 if { (ac_try="$ac_compile"
24985 case "(($ac_try" in
24986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24987 *) ac_try_echo=$ac_try;;
24989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24990 (eval "$ac_compile") 2>conftest.er1
24992 grep -v '^
*+' conftest.er1 >conftest.err
24994 cat conftest.err >&5
24995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24996 (exit $ac_status); } &&
24997 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
24998 { (case "(($ac_try" in
24999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25000 *) ac_try_echo=$ac_try;;
25002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25003 (eval "$ac_try") 2>&5
25005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25006 (exit $ac_status); }; } &&
25007 { ac_try='test -s conftest.
$ac_objext'
25008 { (case "(($ac_try" in
25009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25010 *) ac_try_echo=$ac_try;;
25012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25013 (eval "$ac_try") 2>&5
25015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25016 (exit $ac_status); }; }; then
25019 echo "$as_me: failed program was:" >&5
25020 sed 's
/^
/| /' conftest.$ac_ext >&5
25025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25026 cat >conftest.$ac_ext <<_ACEOF
25029 cat confdefs.h >>conftest.$ac_ext
25030 cat >>conftest.$ac_ext <<_ACEOF
25031 /* end confdefs.h. */
25032 #define _LARGEFILE_SOURCE 1
25042 rm -f conftest.$ac_objext
25043 if { (ac_try="$ac_compile"
25044 case "(($ac_try" in
25045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25046 *) ac_try_echo=$ac_try;;
25048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25049 (eval "$ac_compile") 2>conftest.er1
25051 grep -v '^
*+' conftest.er1 >conftest.err
25053 cat conftest.err >&5
25054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25055 (exit $ac_status); } &&
25056 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
25057 { (case "(($ac_try" in
25058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25059 *) ac_try_echo=$ac_try;;
25061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25062 (eval "$ac_try") 2>&5
25064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25065 (exit $ac_status); }; } &&
25066 { ac_try='test -s conftest.
$ac_objext'
25067 { (case "(($ac_try" in
25068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25069 *) ac_try_echo=$ac_try;;
25071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25072 (eval "$ac_try") 2>&5
25074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25075 (exit $ac_status); }; }; then
25076 ac_cv_sys_largefile_source=1; break
25078 echo "$as_me: failed program was:" >&5
25079 sed 's
/^
/| /' conftest.$ac_ext >&5
25084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25088 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25089 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25090 if test "$ac_cv_sys_largefile_source" != no; then
25092 cat >>confdefs.h <<_ACEOF
25093 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25099 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25100 # in glibc 2.1.3, but that breaks too many other things.
25101 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25102 { echo "$as_me:$LINENO: checking for fseeko" >&5
25103 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6; }
25104 if test "${ac_cv_func_fseeko+set}" = set; then
25105 echo $ECHO_N "(cached) $ECHO_C" >&6
25107 cat >conftest.$ac_ext <<_ACEOF
25110 cat confdefs.h >>conftest.$ac_ext
25111 cat >>conftest.$ac_ext <<_ACEOF
25112 /* end confdefs.h. */
25117 return fseeko && fseeko (stdin, 0, 0);
25122 rm -f conftest.$ac_objext conftest$ac_exeext
25123 if { (ac_try="$ac_link"
25124 case "(($ac_try" in
25125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25126 *) ac_try_echo=$ac_try;;
25128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25129 (eval "$ac_link") 2>conftest.er1
25131 grep -v '^
*+' conftest.er1 >conftest.err
25133 cat conftest.err >&5
25134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25135 (exit $ac_status); } &&
25136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
25137 { (case "(($ac_try" in
25138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25139 *) ac_try_echo=$ac_try;;
25141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25142 (eval "$ac_try") 2>&5
25144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25145 (exit $ac_status); }; } &&
25146 { ac_try='test -s conftest
$ac_exeext'
25147 { (case "(($ac_try" in
25148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25149 *) ac_try_echo=$ac_try;;
25151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25152 (eval "$ac_try") 2>&5
25154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25155 (exit $ac_status); }; }; then
25156 ac_cv_func_fseeko=yes
25158 echo "$as_me: failed program was:" >&5
25159 sed 's
/^
/| /' conftest.$ac_ext >&5
25161 ac_cv_func_fseeko=no
25164 rm -f core conftest.err conftest.$ac_objext \
25165 conftest$ac_exeext conftest.$ac_ext
25167 { echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
25168 echo "${ECHO_T}$ac_cv_func_fseeko" >&6; }
25169 if test $ac_cv_func_fseeko = yes; then
25171 cat >>confdefs.h <<\_ACEOF
25172 #define HAVE_FSEEKO 1
25177 if test "$ac_cv_sys_largefile_source" != no; then
25178 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25182 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25183 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25184 if test "${ac_cv_c_bigendian+set}" = set; then
25185 echo $ECHO_N "(cached) $ECHO_C" >&6
25187 ac_cv_c_bigendian=unknown
25188 # See if sys/param.h defines the BYTE_ORDER macro.
25189 cat >conftest.$ac_ext <<_ACEOF
25192 cat confdefs.h >>conftest.$ac_ext
25193 cat >>conftest.$ac_ext <<_ACEOF
25194 /* end confdefs.h. */
25195 #include <sys/types.h>
25196 #include <sys/param.h>
25201 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25202 bogus endian macros
25208 rm -f conftest.$ac_objext
25209 if { (ac_try="$ac_compile"
25210 case "(($ac_try" in
25211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25212 *) ac_try_echo=$ac_try;;
25214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25215 (eval "$ac_compile") 2>conftest.er1
25217 grep -v '^
*+' conftest.er1 >conftest.err
25219 cat conftest.err >&5
25220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25221 (exit $ac_status); } &&
25222 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
25223 { (case "(($ac_try" in
25224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25225 *) ac_try_echo=$ac_try;;
25227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25228 (eval "$ac_try") 2>&5
25230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25231 (exit $ac_status); }; } &&
25232 { ac_try='test -s conftest.
$ac_objext'
25233 { (case "(($ac_try" in
25234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25235 *) ac_try_echo=$ac_try;;
25237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25238 (eval "$ac_try") 2>&5
25240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25241 (exit $ac_status); }; }; then
25242 # It does; now see whether it defined to BIG_ENDIAN or not.
25243 cat >conftest.$ac_ext <<_ACEOF
25246 cat confdefs.h >>conftest.$ac_ext
25247 cat >>conftest.$ac_ext <<_ACEOF
25248 /* end confdefs.h. */
25249 #include <sys/types.h>
25250 #include <sys/param.h>
25255 #if BYTE_ORDER != BIG_ENDIAN
25262 rm -f conftest.$ac_objext
25263 if { (ac_try="$ac_compile"
25264 case "(($ac_try" in
25265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25266 *) ac_try_echo=$ac_try;;
25268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25269 (eval "$ac_compile") 2>conftest.er1
25271 grep -v '^
*+' conftest.er1 >conftest.err
25273 cat conftest.err >&5
25274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25275 (exit $ac_status); } &&
25276 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
25277 { (case "(($ac_try" in
25278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25279 *) ac_try_echo=$ac_try;;
25281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25282 (eval "$ac_try") 2>&5
25284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25285 (exit $ac_status); }; } &&
25286 { ac_try='test -s conftest.
$ac_objext'
25287 { (case "(($ac_try" in
25288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25289 *) ac_try_echo=$ac_try;;
25291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25292 (eval "$ac_try") 2>&5
25294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25295 (exit $ac_status); }; }; then
25296 ac_cv_c_bigendian=yes
25298 echo "$as_me: failed program was:" >&5
25299 sed 's
/^
/| /' conftest.$ac_ext >&5
25301 ac_cv_c_bigendian=no
25304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25306 echo "$as_me: failed program was:" >&5
25307 sed 's
/^
/| /' conftest.$ac_ext >&5
25312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25313 if test $ac_cv_c_bigendian = unknown; then
25314 if test "$cross_compiling" = yes; then
25315 ac_cv_c_bigendian=unknown
25317 cat >conftest.$ac_ext <<_ACEOF
25320 cat confdefs.h >>conftest.$ac_ext
25321 cat >>conftest.$ac_ext <<_ACEOF
25322 /* end confdefs.h. */
25324 /* Are we little or big endian? From Harbison&Steele. */
25328 char c[sizeof (long)];
25331 exit (u.c[sizeof (long) - 1] == 1);
25334 rm -f conftest$ac_exeext
25335 if { (ac_try="$ac_link"
25336 case "(($ac_try" in
25337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25338 *) ac_try_echo=$ac_try;;
25340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25341 (eval "$ac_link") 2>&5
25343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25344 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
25345 { (case "(($ac_try" in
25346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25347 *) ac_try_echo=$ac_try;;
25349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25350 (eval "$ac_try") 2>&5
25352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25353 (exit $ac_status); }; }; then
25354 ac_cv_c_bigendian=no
25356 echo "$as_me: program exited with status $ac_status" >&5
25357 echo "$as_me: failed program was:" >&5
25358 sed 's
/^
/| /' conftest.$ac_ext >&5
25360 ( exit $ac_status )
25361 ac_cv_c_bigendian=yes
25363 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25369 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25370 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25371 if test $ac_cv_c_bigendian = unknown; then
25372 { 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
25373 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;}
25375 if test $ac_cv_c_bigendian = yes; then
25376 cat >>confdefs.h <<\_ACEOF
25377 #define WORDS_BIGENDIAN 1
25384 ac_cpp='$CXXCPP $CPPFLAGS'
25385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25386 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25388 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
25389 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
25390 if test -z "$CXXCPP"; then
25391 if test "${ac_cv_prog_CXXCPP+set}" = set; then
25392 echo $ECHO_N "(cached) $ECHO_C" >&6
25394 # Double quotes because CXXCPP needs to be expanded
25395 for CXXCPP in "$CXX -E" "/lib/cpp"
25397 ac_preproc_ok=false
25398 for ac_cxx_preproc_warn_flag in '' yes
25400 # Use a header file that comes with gcc, so configuring glibc
25401 # with a fresh cross-compiler works.
25402 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25403 # <limits.h> exists even on freestanding compilers.
25404 # On the NeXT, cc -E runs the code through the compiler's parser
,
25405 # not just through cpp. "Syntax error" is here to catch this case.
25406 cat >conftest.
$ac_ext <<_ACEOF
25409 cat confdefs.h
>>conftest.
$ac_ext
25410 cat >>conftest.
$ac_ext <<_ACEOF
25411 /* end confdefs.h. */
25413 # include <limits.h>
25415 # include <assert.h>
25419 if { (ac_try
="$ac_cpp conftest.$ac_ext"
25420 case "(($ac_try" in
25421 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25422 *) ac_try_echo=$ac_try;;
25424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25425 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25427 grep -v '^ *+' conftest.er1 >conftest.err
25429 cat conftest.err >&5
25430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25431 (exit $ac_status); } >/dev/null; then
25432 if test -s conftest.err; then
25433 ac_cpp_err=$ac_cxx_preproc_warn_flag
25434 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25441 if test -z "$ac_cpp_err"; then
25444 echo "$as_me: failed program was:" >&5
25445 sed 's/^/| /' conftest.$ac_ext >&5
25447 # Broken: fails on valid input.
25451 rm -f conftest.err conftest.$ac_ext
25453 # OK, works on sane cases. Now check whether nonexistent headers
25454 # can be detected and how.
25455 cat >conftest.$ac_ext <<_ACEOF
25458 cat confdefs.h >>conftest.$ac_ext
25459 cat >>conftest.$ac_ext <<_ACEOF
25460 /* end confdefs.h. */
25461 #include <ac_nonexistent.h>
25463 if { (ac_try="$ac_cpp conftest.$ac_ext"
25464 case "(($ac_try" in
25465 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25466 *) ac_try_echo
=$ac_try;;
25468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25469 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25471 grep -v '^ *+' conftest.er1
>conftest.err
25473 cat conftest.err
>&5
25474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25475 (exit $ac_status); } >/dev
/null
; then
25476 if test -s conftest.err
; then
25477 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25478 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25485 if test -z "$ac_cpp_err"; then
25486 # Broken: success on invalid input.
25489 echo "$as_me: failed program was:" >&5
25490 sed 's/^/| /' conftest.
$ac_ext >&5
25492 # Passes both tests.
25497 rm -f conftest.err conftest.
$ac_ext
25500 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
25501 rm -f conftest.err conftest.
$ac_ext
25502 if $ac_preproc_ok; then
25507 ac_cv_prog_CXXCPP
=$CXXCPP
25510 CXXCPP
=$ac_cv_prog_CXXCPP
25512 ac_cv_prog_CXXCPP
=$CXXCPP
25514 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
25515 echo "${ECHO_T}$CXXCPP" >&6; }
25516 ac_preproc_ok
=false
25517 for ac_cxx_preproc_warn_flag
in '' yes
25519 # Use a header file that comes with gcc, so configuring glibc
25520 # with a fresh cross-compiler works.
25521 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25522 # <limits.h> exists even on freestanding compilers.
25523 # On the NeXT, cc -E runs the code through the compiler's parser,
25524 # not just through cpp. "Syntax error" is here to catch this case.
25525 cat >conftest.
$ac_ext <<_ACEOF
25528 cat confdefs.h
>>conftest.
$ac_ext
25529 cat >>conftest.
$ac_ext <<_ACEOF
25530 /* end confdefs.h. */
25532 # include <limits.h>
25534 # include <assert.h>
25538 if { (ac_try
="$ac_cpp conftest.$ac_ext"
25539 case "(($ac_try" in
25540 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25541 *) ac_try_echo=$ac_try;;
25543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25544 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25546 grep -v '^ *+' conftest.er1 >conftest.err
25548 cat conftest.err >&5
25549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25550 (exit $ac_status); } >/dev/null; then
25551 if test -s conftest.err; then
25552 ac_cpp_err=$ac_cxx_preproc_warn_flag
25553 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25560 if test -z "$ac_cpp_err"; then
25563 echo "$as_me: failed program was:" >&5
25564 sed 's/^/| /' conftest.$ac_ext >&5
25566 # Broken: fails on valid input.
25570 rm -f conftest.err conftest.$ac_ext
25572 # OK, works on sane cases. Now check whether nonexistent headers
25573 # can be detected and how.
25574 cat >conftest.$ac_ext <<_ACEOF
25577 cat confdefs.h >>conftest.$ac_ext
25578 cat >>conftest.$ac_ext <<_ACEOF
25579 /* end confdefs.h. */
25580 #include <ac_nonexistent.h>
25582 if { (ac_try="$ac_cpp conftest.$ac_ext"
25583 case "(($ac_try" in
25584 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25585 *) ac_try_echo
=$ac_try;;
25587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25588 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25590 grep -v '^ *+' conftest.er1
>conftest.err
25592 cat conftest.err
>&5
25593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25594 (exit $ac_status); } >/dev
/null
; then
25595 if test -s conftest.err
; then
25596 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25597 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25604 if test -z "$ac_cpp_err"; then
25605 # Broken: success on invalid input.
25608 echo "$as_me: failed program was:" >&5
25609 sed 's/^/| /' conftest.
$ac_ext >&5
25611 # Passes both tests.
25616 rm -f conftest.err conftest.
$ac_ext
25619 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
25620 rm -f conftest.err conftest.
$ac_ext
25621 if $ac_preproc_ok; then
25624 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
25625 See \`config.log' for more details." >&5
25626 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
25627 See \`config.log' for more details." >&2;}
25628 { (exit 1); exit 1; }; }
25632 ac_cpp
='$CXXCPP $CPPFLAGS'
25633 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25634 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25635 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25641 ac_cpp
='$CXXCPP $CPPFLAGS'
25642 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25643 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25644 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25648 for ac_header
in iostream
25650 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25651 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25652 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25654 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25655 echo $ECHO_N "(cached) $ECHO_C" >&6
25657 ac_res
=`eval echo '${'$as_ac_Header'}'`
25658 { echo "$as_me:$LINENO: result: $ac_res" >&5
25659 echo "${ECHO_T}$ac_res" >&6; }
25661 # Is the header compilable?
25662 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
25663 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
25664 cat >conftest.
$ac_ext <<_ACEOF
25667 cat confdefs.h
>>conftest.
$ac_ext
25668 cat >>conftest.
$ac_ext <<_ACEOF
25669 /* end confdefs.h. */
25670 $ac_includes_default
25671 #include <$ac_header>
25673 rm -f conftest.
$ac_objext
25674 if { (ac_try
="$ac_compile"
25675 case "(($ac_try" in
25676 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25677 *) ac_try_echo=$ac_try;;
25679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25680 (eval "$ac_compile") 2>conftest.er1
25682 grep -v '^ *+' conftest.er1 >conftest.err
25684 cat conftest.err >&5
25685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25686 (exit $ac_status); } &&
25687 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25688 { (case "(($ac_try" in
25689 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25690 *) ac_try_echo
=$ac_try;;
25692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25693 (eval "$ac_try") 2>&5
25695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25696 (exit $ac_status); }; } &&
25697 { ac_try
='test -s conftest.$ac_objext'
25698 { (case "(($ac_try" in
25699 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25700 *) ac_try_echo=$ac_try;;
25702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25703 (eval "$ac_try") 2>&5
25705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25706 (exit $ac_status); }; }; then
25707 ac_header_compiler=yes
25709 echo "$as_me: failed program was:" >&5
25710 sed 's/^/| /' conftest.$ac_ext >&5
25712 ac_header_compiler=no
25715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25716 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25717 echo "${ECHO_T}$ac_header_compiler" >&6; }
25719 # Is the header present?
25720 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
25721 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
25722 cat >conftest.$ac_ext <<_ACEOF
25725 cat confdefs.h >>conftest.$ac_ext
25726 cat >>conftest.$ac_ext <<_ACEOF
25727 /* end confdefs.h. */
25728 #include <$ac_header>
25730 if { (ac_try="$ac_cpp conftest.$ac_ext"
25731 case "(($ac_try" in
25732 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25733 *) ac_try_echo
=$ac_try;;
25735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25736 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25738 grep -v '^ *+' conftest.er1
>conftest.err
25740 cat conftest.err
>&5
25741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25742 (exit $ac_status); } >/dev
/null
; then
25743 if test -s conftest.err
; then
25744 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25745 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25752 if test -z "$ac_cpp_err"; then
25753 ac_header_preproc
=yes
25755 echo "$as_me: failed program was:" >&5
25756 sed 's/^/| /' conftest.
$ac_ext >&5
25758 ac_header_preproc
=no
25761 rm -f conftest.err conftest.
$ac_ext
25762 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25763 echo "${ECHO_T}$ac_header_preproc" >&6; }
25765 # So? What about this header?
25766 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25768 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25769 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25770 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25771 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25772 ac_header_preproc
=yes
25775 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25776 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25777 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25778 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25779 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25780 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25781 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25782 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25783 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25784 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25785 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25786 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25788 ## ----------------------------------------- ##
25789 ## Report this to wx-dev@lists.wxwidgets.org ##
25790 ## ----------------------------------------- ##
25792 ) | sed "s/^/$as_me: WARNING: /" >&2
25795 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25796 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25797 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25798 echo $ECHO_N "(cached) $ECHO_C" >&6
25800 eval "$as_ac_Header=\$ac_header_preproc"
25802 ac_res
=`eval echo '${'$as_ac_Header'}'`
25803 { echo "$as_me:$LINENO: result: $ac_res" >&5
25804 echo "${ECHO_T}$ac_res" >&6; }
25807 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25808 cat >>confdefs.h
<<_ACEOF
25809 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25817 if test "$ac_cv_header_iostream" = "yes" ; then
25820 cat >>confdefs.h
<<\_ACEOF
25821 #define wxUSE_IOSTREAMH 1
25827 ac_cpp
='$CPP $CPPFLAGS'
25828 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25829 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25830 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25835 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
25836 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
25837 if test "${wx_cv_cpp_bool+set}" = set; then
25838 echo $ECHO_N "(cached) $ECHO_C" >&6
25843 ac_cpp
='$CXXCPP $CPPFLAGS'
25844 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25845 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25846 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25849 cat >conftest.
$ac_ext <<_ACEOF
25852 cat confdefs.h
>>conftest.
$ac_ext
25853 cat >>conftest.
$ac_ext <<_ACEOF
25854 /* end confdefs.h. */
25869 rm -f conftest.
$ac_objext
25870 if { (ac_try
="$ac_compile"
25871 case "(($ac_try" in
25872 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25873 *) ac_try_echo=$ac_try;;
25875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25876 (eval "$ac_compile") 2>conftest.er1
25878 grep -v '^ *+' conftest.er1 >conftest.err
25880 cat conftest.err >&5
25881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25882 (exit $ac_status); } &&
25883 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25884 { (case "(($ac_try" in
25885 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25886 *) ac_try_echo
=$ac_try;;
25888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25889 (eval "$ac_try") 2>&5
25891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25892 (exit $ac_status); }; } &&
25893 { ac_try
='test -s conftest.$ac_objext'
25894 { (case "(($ac_try" in
25895 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25896 *) ac_try_echo=$ac_try;;
25898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25899 (eval "$ac_try") 2>&5
25901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25902 (exit $ac_status); }; }; then
25907 echo "$as_me: failed program was:" >&5
25908 sed 's/^/| /' conftest.$ac_ext >&5
25916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25919 ac_cpp='$CPP $CPPFLAGS'
25920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25926 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
25927 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
25929 if test "$wx_cv_cpp_bool" = "yes"; then
25930 cat >>confdefs.h <<\_ACEOF
25931 #define HAVE_BOOL 1
25938 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25939 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25940 if test "${wx_cv_explicit+set}" = set; then
25941 echo $ECHO_N "(cached) $ECHO_C" >&6
25946 ac_cpp='$CXXCPP $CPPFLAGS'
25947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25952 cat >conftest.$ac_ext <<_ACEOF
25955 cat confdefs.h >>conftest.$ac_ext
25956 cat >>conftest.$ac_ext <<_ACEOF
25957 /* end confdefs.h. */
25959 class Foo { public: explicit Foo(int) {} };
25971 rm -f conftest.$ac_objext
25972 if { (ac_try="$ac_compile"
25973 case "(($ac_try" in
25974 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25975 *) ac_try_echo
=$ac_try;;
25977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25978 (eval "$ac_compile") 2>conftest.er1
25980 grep -v '^ *+' conftest.er1
>conftest.err
25982 cat conftest.err
>&5
25983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25984 (exit $ac_status); } &&
25985 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25986 { (case "(($ac_try" in
25987 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25988 *) ac_try_echo=$ac_try;;
25990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25991 (eval "$ac_try") 2>&5
25993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25994 (exit $ac_status); }; } &&
25995 { ac_try='test -s conftest.$ac_objext'
25996 { (case "(($ac_try" in
25997 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25998 *) ac_try_echo
=$ac_try;;
26000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26001 (eval "$ac_try") 2>&5
26003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26004 (exit $ac_status); }; }; then
26006 cat >conftest.
$ac_ext <<_ACEOF
26009 cat confdefs.h
>>conftest.
$ac_ext
26010 cat >>conftest.
$ac_ext <<_ACEOF
26011 /* end confdefs.h. */
26013 class Foo { public: explicit Foo(int) {} };
26014 static void TakeFoo(const Foo& foo) { }
26027 rm -f conftest.
$ac_objext
26028 if { (ac_try
="$ac_compile"
26029 case "(($ac_try" in
26030 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26031 *) ac_try_echo=$ac_try;;
26033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26034 (eval "$ac_compile") 2>conftest.er1
26036 grep -v '^ *+' conftest.er1 >conftest.err
26038 cat conftest.err >&5
26039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040 (exit $ac_status); } &&
26041 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26042 { (case "(($ac_try" in
26043 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26044 *) ac_try_echo
=$ac_try;;
26046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26047 (eval "$ac_try") 2>&5
26049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26050 (exit $ac_status); }; } &&
26051 { ac_try
='test -s conftest.$ac_objext'
26052 { (case "(($ac_try" in
26053 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26054 *) ac_try_echo=$ac_try;;
26056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26057 (eval "$ac_try") 2>&5
26059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26060 (exit $ac_status); }; }; then
26063 echo "$as_me: failed program was:" >&5
26064 sed 's/^/| /' conftest.$ac_ext >&5
26070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26073 echo "$as_me: failed program was:" >&5
26074 sed 's/^/| /' conftest.$ac_ext >&5
26080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26083 ac_cpp='$CPP $CPPFLAGS'
26084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26090 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26091 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26093 if test "$wx_cv_explicit" = "yes"; then
26094 cat >>confdefs.h <<\_ACEOF
26095 #define HAVE_EXPLICIT 1
26101 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26102 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26103 if test "${ac_cv_cxx_const_cast+set}" = set; then
26104 echo $ECHO_N "(cached) $ECHO_C" >&6
26108 ac_cpp='$CXXCPP $CPPFLAGS'
26109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26113 cat >conftest.$ac_ext <<_ACEOF
26116 cat confdefs.h >>conftest.$ac_ext
26117 cat >>conftest.$ac_ext <<_ACEOF
26118 /* end confdefs.h. */
26123 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26128 rm -f conftest.$ac_objext
26129 if { (ac_try="$ac_compile"
26130 case "(($ac_try" in
26131 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26132 *) ac_try_echo
=$ac_try;;
26134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26135 (eval "$ac_compile") 2>conftest.er1
26137 grep -v '^ *+' conftest.er1
>conftest.err
26139 cat conftest.err
>&5
26140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26141 (exit $ac_status); } &&
26142 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26143 { (case "(($ac_try" in
26144 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26145 *) ac_try_echo=$ac_try;;
26147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26148 (eval "$ac_try") 2>&5
26150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26151 (exit $ac_status); }; } &&
26152 { ac_try='test -s conftest.$ac_objext'
26153 { (case "(($ac_try" in
26154 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26155 *) ac_try_echo
=$ac_try;;
26157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26158 (eval "$ac_try") 2>&5
26160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26161 (exit $ac_status); }; }; then
26162 ac_cv_cxx_const_cast
=yes
26164 echo "$as_me: failed program was:" >&5
26165 sed 's/^/| /' conftest.
$ac_ext >&5
26167 ac_cv_cxx_const_cast
=no
26170 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26172 ac_cpp
='$CPP $CPPFLAGS'
26173 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26174 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26175 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26179 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26180 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26181 if test "$ac_cv_cxx_const_cast" = yes; then
26183 cat >>confdefs.h
<<\_ACEOF
26184 #define HAVE_CONST_CAST
26189 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26190 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26191 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26192 echo $ECHO_N "(cached) $ECHO_C" >&6
26196 ac_cpp
='$CXXCPP $CPPFLAGS'
26197 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26198 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26199 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26201 cat >conftest.
$ac_ext <<_ACEOF
26204 cat confdefs.h
>>conftest.
$ac_ext
26205 cat >>conftest.
$ac_ext <<_ACEOF
26206 /* end confdefs.h. */
26207 #include <typeinfo>
26208 class Base { public : Base () {} virtual void f () = 0;};
26209 class Derived : public Base { public : Derived () {} virtual void f () {} };
26210 class Unrelated { public : Unrelated () {} };
26211 int g (Unrelated&) { return 0; }
26216 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26221 rm -f conftest.
$ac_objext
26222 if { (ac_try
="$ac_compile"
26223 case "(($ac_try" in
26224 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26225 *) ac_try_echo=$ac_try;;
26227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26228 (eval "$ac_compile") 2>conftest.er1
26230 grep -v '^ *+' conftest.er1 >conftest.err
26232 cat conftest.err >&5
26233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26234 (exit $ac_status); } &&
26235 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26236 { (case "(($ac_try" in
26237 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26238 *) ac_try_echo
=$ac_try;;
26240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26241 (eval "$ac_try") 2>&5
26243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26244 (exit $ac_status); }; } &&
26245 { ac_try
='test -s conftest.$ac_objext'
26246 { (case "(($ac_try" in
26247 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26248 *) ac_try_echo=$ac_try;;
26250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26251 (eval "$ac_try") 2>&5
26253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26254 (exit $ac_status); }; }; then
26255 ac_cv_cxx_reinterpret_cast=yes
26257 echo "$as_me: failed program was:" >&5
26258 sed 's/^/| /' conftest.$ac_ext >&5
26260 ac_cv_cxx_reinterpret_cast=no
26263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26265 ac_cpp='$CPP $CPPFLAGS'
26266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26272 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26273 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26274 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26276 cat >>confdefs.h <<\_ACEOF
26277 #define HAVE_REINTERPRET_CAST
26282 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26283 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26284 if test "${ac_cv_cxx_static_cast+set}" = set; then
26285 echo $ECHO_N "(cached) $ECHO_C" >&6
26289 ac_cpp='$CXXCPP $CPPFLAGS'
26290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26294 cat >conftest.$ac_ext <<_ACEOF
26297 cat confdefs.h >>conftest.$ac_ext
26298 cat >>conftest.$ac_ext <<_ACEOF
26299 /* end confdefs.h. */
26300 #include <typeinfo>
26301 class Base { public : Base () {} virtual void f () = 0; };
26302 class Derived : public Base { public : Derived () {} virtual void f () {} };
26303 int g (Derived&) { return 0; }
26308 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26313 rm -f conftest.$ac_objext
26314 if { (ac_try="$ac_compile"
26315 case "(($ac_try" in
26316 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26317 *) ac_try_echo
=$ac_try;;
26319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26320 (eval "$ac_compile") 2>conftest.er1
26322 grep -v '^ *+' conftest.er1
>conftest.err
26324 cat conftest.err
>&5
26325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26326 (exit $ac_status); } &&
26327 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26328 { (case "(($ac_try" in
26329 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26330 *) ac_try_echo=$ac_try;;
26332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26333 (eval "$ac_try") 2>&5
26335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26336 (exit $ac_status); }; } &&
26337 { ac_try='test -s conftest.$ac_objext'
26338 { (case "(($ac_try" in
26339 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26340 *) ac_try_echo
=$ac_try;;
26342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26343 (eval "$ac_try") 2>&5
26345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26346 (exit $ac_status); }; }; then
26347 ac_cv_cxx_static_cast
=yes
26349 echo "$as_me: failed program was:" >&5
26350 sed 's/^/| /' conftest.
$ac_ext >&5
26352 ac_cv_cxx_static_cast
=no
26355 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26357 ac_cpp
='$CPP $CPPFLAGS'
26358 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26359 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26360 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26364 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26365 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26366 if test "$ac_cv_cxx_static_cast" = yes; then
26368 cat >>confdefs.h
<<\_ACEOF
26369 #define HAVE_STATIC_CAST
26375 if test "x$SUNCXX" = xyes
; then
26376 CXXFLAGS
="-features=tmplife $CXXFLAGS"
26379 if test "x$SUNCC" = xyes
; then
26380 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26383 if test "x$SGICC" = "xyes"; then
26384 CFLAGS
="-woff 3970 $CFLAGS"
26386 if test "x$SGICXX" = "xyes"; then
26387 CXXFLAGS
="-woff 3970 $CXXFLAGS"
26390 if test "x$HPCC" = "xyes"; then
26391 CFLAGS
="+W 2011,2450 $CFLAGS"
26393 if test "x$HPCXX" = "xyes"; then
26394 CXXFLAGS
="+W 2340 $CXXFLAGS"
26397 if test "x$COMPAQCXX" = "xyes"; then
26398 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26402 ac_cpp
='$CXXCPP $CPPFLAGS'
26403 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26404 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26405 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26408 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26409 if test "$wxUSE_UNICODE" = "yes"; then
26410 std_string
="std::wstring"
26411 char_type
="wchar_t"
26413 std_string
="std::string"
26417 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26418 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26419 if test "${wx_cv_class_stdstring+set}" = set; then
26420 echo $ECHO_N "(cached) $ECHO_C" >&6
26423 cat >conftest.
$ac_ext <<_ACEOF
26426 cat confdefs.h
>>conftest.
$ac_ext
26427 cat >>conftest.
$ac_ext <<_ACEOF
26428 /* end confdefs.h. */
26438 rm -f conftest.
$ac_objext
26439 if { (ac_try
="$ac_compile"
26440 case "(($ac_try" in
26441 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26442 *) ac_try_echo=$ac_try;;
26444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26445 (eval "$ac_compile") 2>conftest.er1
26447 grep -v '^ *+' conftest.er1 >conftest.err
26449 cat conftest.err >&5
26450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26451 (exit $ac_status); } &&
26452 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26453 { (case "(($ac_try" in
26454 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26455 *) ac_try_echo
=$ac_try;;
26457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26458 (eval "$ac_try") 2>&5
26460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26461 (exit $ac_status); }; } &&
26462 { ac_try
='test -s conftest.$ac_objext'
26463 { (case "(($ac_try" in
26464 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26465 *) ac_try_echo=$ac_try;;
26467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26468 (eval "$ac_try") 2>&5
26470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26471 (exit $ac_status); }; }; then
26472 wx_cv_class_stdstring=yes
26474 echo "$as_me: failed program was:" >&5
26475 sed 's/^/| /' conftest.$ac_ext >&5
26477 wx_cv_class_stdstring=no
26481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26485 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26486 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26488 if test "$wx_cv_class_stdstring" = yes; then
26489 if test "$wxUSE_UNICODE" = "yes"; then
26490 cat >>confdefs.h <<\_ACEOF
26491 #define HAVE_STD_WSTRING 1
26496 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26497 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26498 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26499 echo $ECHO_N "(cached) $ECHO_C" >&6
26502 cat >conftest.$ac_ext <<_ACEOF
26505 cat confdefs.h >>conftest.$ac_ext
26506 cat >>conftest.$ac_ext <<_ACEOF
26507 /* end confdefs.h. */
26509 #ifdef HAVE_WCHAR_H
26511 # include <stddef.h>
26513 # include <wchar.h>
26515 #ifdef HAVE_STDLIB_H
26516 # include <stdlib.h>
26524 std::basic_string<$char_type> foo;
26525 const $char_type* dummy = foo.c_str();
26530 rm -f conftest.$ac_objext
26531 if { (ac_try="$ac_compile"
26532 case "(($ac_try" in
26533 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26534 *) ac_try_echo
=$ac_try;;
26536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26537 (eval "$ac_compile") 2>conftest.er1
26539 grep -v '^ *+' conftest.er1
>conftest.err
26541 cat conftest.err
>&5
26542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26543 (exit $ac_status); } &&
26544 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26545 { (case "(($ac_try" in
26546 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26547 *) ac_try_echo=$ac_try;;
26549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26550 (eval "$ac_try") 2>&5
26552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26553 (exit $ac_status); }; } &&
26554 { ac_try='test -s conftest.$ac_objext'
26555 { (case "(($ac_try" in
26556 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26557 *) ac_try_echo
=$ac_try;;
26559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26560 (eval "$ac_try") 2>&5
26562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26563 (exit $ac_status); }; }; then
26564 wx_cv_class_stdbasicstring
=yes
26566 echo "$as_me: failed program was:" >&5
26567 sed 's/^/| /' conftest.
$ac_ext >&5
26569 wx_cv_class_stdbasicstring
=no
26573 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26577 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26578 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26580 if test "$wx_cv_class_stdbasicstring" != yes; then
26581 if test "$wxUSE_STL" = "yes"; then
26582 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
26583 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26584 { (exit 1); exit 1; }; }
26585 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
26586 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
26587 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26588 { (exit 1); exit 1; }; }
26590 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26591 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26592 wxUSE_STD_STRING
=no
26598 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26599 { echo "$as_me:$LINENO: checking for std::istream" >&5
26600 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
26601 if test "${ac_cv_type_std__istream+set}" = set; then
26602 echo $ECHO_N "(cached) $ECHO_C" >&6
26604 cat >conftest.
$ac_ext <<_ACEOF
26607 cat confdefs.h
>>conftest.
$ac_ext
26608 cat >>conftest.
$ac_ext <<_ACEOF
26609 /* end confdefs.h. */
26610 #include <iostream>
26612 typedef std::istream ac__type_new_;
26616 if ((ac__type_new_ *) 0)
26618 if (sizeof (ac__type_new_))
26624 rm -f conftest.
$ac_objext
26625 if { (ac_try
="$ac_compile"
26626 case "(($ac_try" in
26627 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26628 *) ac_try_echo=$ac_try;;
26630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26631 (eval "$ac_compile") 2>conftest.er1
26633 grep -v '^ *+' conftest.er1 >conftest.err
26635 cat conftest.err >&5
26636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26637 (exit $ac_status); } &&
26638 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26639 { (case "(($ac_try" in
26640 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26641 *) ac_try_echo
=$ac_try;;
26643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26644 (eval "$ac_try") 2>&5
26646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26647 (exit $ac_status); }; } &&
26648 { ac_try
='test -s conftest.$ac_objext'
26649 { (case "(($ac_try" in
26650 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26651 *) ac_try_echo=$ac_try;;
26653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26654 (eval "$ac_try") 2>&5
26656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26657 (exit $ac_status); }; }; then
26658 ac_cv_type_std__istream=yes
26660 echo "$as_me: failed program was:" >&5
26661 sed 's/^/| /' conftest.$ac_ext >&5
26663 ac_cv_type_std__istream=no
26666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26668 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26669 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
26670 if test $ac_cv_type_std__istream = yes; then
26672 cat >>confdefs.h <<_ACEOF
26673 #define HAVE_STD__ISTREAM 1
26678 wxUSE_STD_IOSTREAM=no
26680 { echo "$as_me:$LINENO: checking for std::ostream" >&5
26681 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
26682 if test "${ac_cv_type_std__ostream+set}" = set; then
26683 echo $ECHO_N "(cached) $ECHO_C" >&6
26685 cat >conftest.$ac_ext <<_ACEOF
26688 cat confdefs.h >>conftest.$ac_ext
26689 cat >>conftest.$ac_ext <<_ACEOF
26690 /* end confdefs.h. */
26691 #include <iostream>
26693 typedef std::ostream ac__type_new_;
26697 if ((ac__type_new_ *) 0)
26699 if (sizeof (ac__type_new_))
26705 rm -f conftest.$ac_objext
26706 if { (ac_try="$ac_compile"
26707 case "(($ac_try" in
26708 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26709 *) ac_try_echo
=$ac_try;;
26711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26712 (eval "$ac_compile") 2>conftest.er1
26714 grep -v '^ *+' conftest.er1
>conftest.err
26716 cat conftest.err
>&5
26717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26718 (exit $ac_status); } &&
26719 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26720 { (case "(($ac_try" in
26721 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26722 *) ac_try_echo=$ac_try;;
26724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26725 (eval "$ac_try") 2>&5
26727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26728 (exit $ac_status); }; } &&
26729 { ac_try='test -s conftest.$ac_objext'
26730 { (case "(($ac_try" in
26731 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26732 *) ac_try_echo
=$ac_try;;
26734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26735 (eval "$ac_try") 2>&5
26737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26738 (exit $ac_status); }; }; then
26739 ac_cv_type_std__ostream
=yes
26741 echo "$as_me: failed program was:" >&5
26742 sed 's/^/| /' conftest.
$ac_ext >&5
26744 ac_cv_type_std__ostream
=no
26747 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26749 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26750 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26751 if test $ac_cv_type_std__ostream = yes; then
26753 cat >>confdefs.h
<<_ACEOF
26754 #define HAVE_STD__OSTREAM 1
26759 wxUSE_STD_IOSTREAM
=no
26763 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26764 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
26765 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
26766 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26767 { (exit 1); exit 1; }; }
26769 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26770 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26775 if test "$wxUSE_STL" = "yes"; then
26776 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26777 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26778 if test "${wx_cv_lib_stl+set}" = set; then
26779 echo $ECHO_N "(cached) $ECHO_C" >&6
26781 cat >conftest.
$ac_ext <<_ACEOF
26784 cat confdefs.h
>>conftest.
$ac_ext
26785 cat >>conftest.
$ac_ext <<_ACEOF
26786 /* end confdefs.h. */
26788 #include <functional>
26789 #include <algorithm>
26795 std::vector<int> moo;
26796 std::list<int> foo;
26797 std::vector<int>::iterator it =
26798 std::find_if(moo.begin(), moo.end(),
26799 std::bind2nd(std::less<int>(), 3));
26804 rm -f conftest.
$ac_objext
26805 if { (ac_try
="$ac_compile"
26806 case "(($ac_try" in
26807 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26808 *) ac_try_echo=$ac_try;;
26810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26811 (eval "$ac_compile") 2>conftest.er1
26813 grep -v '^ *+' conftest.er1 >conftest.err
26815 cat conftest.err >&5
26816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817 (exit $ac_status); } &&
26818 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26819 { (case "(($ac_try" in
26820 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26821 *) ac_try_echo
=$ac_try;;
26823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26824 (eval "$ac_try") 2>&5
26826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26827 (exit $ac_status); }; } &&
26828 { ac_try
='test -s conftest.$ac_objext'
26829 { (case "(($ac_try" in
26830 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26831 *) ac_try_echo=$ac_try;;
26833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26834 (eval "$ac_try") 2>&5
26836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26837 (exit $ac_status); }; }; then
26840 echo "$as_me: failed program was:" >&5
26841 sed 's/^/| /' conftest.$ac_ext >&5
26847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26850 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26851 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26853 if test "$wx_cv_lib_stl" != yes; then
26854 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
26855 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
26856 { (exit 1); exit 1; }; }
26859 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26860 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26861 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26862 echo $ECHO_N "(cached) $ECHO_C" >&6
26864 cat >conftest.$ac_ext <<_ACEOF
26867 cat confdefs.h >>conftest.$ac_ext
26868 cat >>conftest.$ac_ext <<_ACEOF
26869 /* end confdefs.h. */
26874 std::string foo, bar;
26876 foo.compare(1, 1, bar);
26877 foo.compare(1, 1, bar, 1, 1);
26879 foo.compare(1, 1, "");
26880 foo.compare(1, 1, "", 2);
26885 rm -f conftest.$ac_objext
26886 if { (ac_try="$ac_compile"
26887 case "(($ac_try" in
26888 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26889 *) ac_try_echo
=$ac_try;;
26891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26892 (eval "$ac_compile") 2>conftest.er1
26894 grep -v '^ *+' conftest.er1
>conftest.err
26896 cat conftest.err
>&5
26897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26898 (exit $ac_status); } &&
26899 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26900 { (case "(($ac_try" in
26901 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26902 *) ac_try_echo=$ac_try;;
26904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26905 (eval "$ac_try") 2>&5
26907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26908 (exit $ac_status); }; } &&
26909 { ac_try='test -s conftest.$ac_objext'
26910 { (case "(($ac_try" in
26911 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26912 *) ac_try_echo
=$ac_try;;
26914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26915 (eval "$ac_try") 2>&5
26917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26918 (exit $ac_status); }; }; then
26919 wx_cv_func_stdstring_compare
=yes
26921 echo "$as_me: failed program was:" >&5
26922 sed 's/^/| /' conftest.
$ac_ext >&5
26924 wx_cv_func_stdstring_compare
=no
26928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26931 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26932 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26934 if test "$wx_cv_func_stdstring_compare" = yes; then
26935 cat >>confdefs.h
<<\_ACEOF
26936 #define HAVE_STD_STRING_COMPARE 1
26941 if test "${ac_cv_header_hash_map+set}" = set; then
26942 { echo "$as_me:$LINENO: checking for hash_map" >&5
26943 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26944 if test "${ac_cv_header_hash_map+set}" = set; then
26945 echo $ECHO_N "(cached) $ECHO_C" >&6
26947 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26948 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26950 # Is the header compilable?
26951 { echo "$as_me:$LINENO: checking hash_map usability" >&5
26952 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6; }
26953 cat >conftest.
$ac_ext <<_ACEOF
26956 cat confdefs.h
>>conftest.
$ac_ext
26957 cat >>conftest.
$ac_ext <<_ACEOF
26958 /* end confdefs.h. */
26959 $ac_includes_default
26960 #include <hash_map>
26962 rm -f conftest.
$ac_objext
26963 if { (ac_try
="$ac_compile"
26964 case "(($ac_try" in
26965 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26966 *) ac_try_echo=$ac_try;;
26968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26969 (eval "$ac_compile") 2>conftest.er1
26971 grep -v '^ *+' conftest.er1 >conftest.err
26973 cat conftest.err >&5
26974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26975 (exit $ac_status); } &&
26976 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26977 { (case "(($ac_try" in
26978 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26979 *) ac_try_echo
=$ac_try;;
26981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26982 (eval "$ac_try") 2>&5
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); }; } &&
26986 { ac_try
='test -s conftest.$ac_objext'
26987 { (case "(($ac_try" in
26988 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26989 *) ac_try_echo=$ac_try;;
26991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26992 (eval "$ac_try") 2>&5
26994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26995 (exit $ac_status); }; }; then
26996 ac_header_compiler=yes
26998 echo "$as_me: failed program was:" >&5
26999 sed 's/^/| /' conftest.$ac_ext >&5
27001 ac_header_compiler=no
27004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27005 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27006 echo "${ECHO_T}$ac_header_compiler" >&6; }
27008 # Is the header present?
27009 { echo "$as_me:$LINENO: checking hash_map presence" >&5
27010 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6; }
27011 cat >conftest.$ac_ext <<_ACEOF
27014 cat confdefs.h >>conftest.$ac_ext
27015 cat >>conftest.$ac_ext <<_ACEOF
27016 /* end confdefs.h. */
27017 #include <hash_map>
27019 if { (ac_try="$ac_cpp conftest.$ac_ext"
27020 case "(($ac_try" in
27021 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27022 *) ac_try_echo
=$ac_try;;
27024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27025 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27027 grep -v '^ *+' conftest.er1
>conftest.err
27029 cat conftest.err
>&5
27030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27031 (exit $ac_status); } >/dev
/null
; then
27032 if test -s conftest.err
; then
27033 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27034 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27041 if test -z "$ac_cpp_err"; then
27042 ac_header_preproc
=yes
27044 echo "$as_me: failed program was:" >&5
27045 sed 's/^/| /' conftest.
$ac_ext >&5
27047 ac_header_preproc
=no
27050 rm -f conftest.err conftest.
$ac_ext
27051 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27052 echo "${ECHO_T}$ac_header_preproc" >&6; }
27054 # So? What about this header?
27055 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27057 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
27058 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
27059 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
27060 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
27061 ac_header_preproc
=yes
27064 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
27065 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
27066 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
27067 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
27068 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
27069 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
27070 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
27071 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
27072 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
27073 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
27074 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
27075 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
27077 ## ----------------------------------------- ##
27078 ## Report this to wx-dev@lists.wxwidgets.org ##
27079 ## ----------------------------------------- ##
27081 ) | sed "s/^/$as_me: WARNING: /" >&2
27084 { echo "$as_me:$LINENO: checking for hash_map" >&5
27085 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27086 if test "${ac_cv_header_hash_map+set}" = set; then
27087 echo $ECHO_N "(cached) $ECHO_C" >&6
27089 ac_cv_header_hash_map
=$ac_header_preproc
27091 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27092 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27095 if test $ac_cv_header_hash_map = yes; then
27096 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27097 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27098 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27099 echo $ECHO_N "(cached) $ECHO_C" >&6
27101 cat >conftest.
$ac_ext <<_ACEOF
27104 cat confdefs.h
>>conftest.
$ac_ext
27105 cat >>conftest.
$ac_ext <<_ACEOF
27106 /* end confdefs.h. */
27107 #include <hash_map>
27108 #include <hash_set>
27112 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27113 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27118 rm -f conftest.
$ac_objext
27119 if { (ac_try
="$ac_compile"
27120 case "(($ac_try" in
27121 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27122 *) ac_try_echo=$ac_try;;
27124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27125 (eval "$ac_compile") 2>conftest.er1
27127 grep -v '^ *+' conftest.er1 >conftest.err
27129 cat conftest.err >&5
27130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27131 (exit $ac_status); } &&
27132 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27133 { (case "(($ac_try" in
27134 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27135 *) ac_try_echo
=$ac_try;;
27137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27138 (eval "$ac_try") 2>&5
27140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27141 (exit $ac_status); }; } &&
27142 { ac_try
='test -s conftest.$ac_objext'
27143 { (case "(($ac_try" in
27144 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27145 *) ac_try_echo=$ac_try;;
27147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27148 (eval "$ac_try") 2>&5
27150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27151 (exit $ac_status); }; }; then
27152 wx_cv_class_stdhashmapset=yes
27154 echo "$as_me: failed program was:" >&5
27155 sed 's/^/| /' conftest.$ac_ext >&5
27157 wx_cv_class_stdhashmapset=no
27160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27164 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27165 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27171 if test "$wx_cv_class_stdhashmapset" = yes; then
27172 cat >>confdefs.h <<\_ACEOF
27173 #define HAVE_HASH_MAP 1
27176 cat >>confdefs.h <<\_ACEOF
27177 #define HAVE_STD_HASH_MAP 1
27182 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27183 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27184 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27185 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27186 echo $ECHO_N "(cached) $ECHO_C" >&6
27188 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27189 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27191 # Is the header compilable?
27192 { echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
27193 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6; }
27194 cat >conftest.$ac_ext <<_ACEOF
27197 cat confdefs.h >>conftest.$ac_ext
27198 cat >>conftest.$ac_ext <<_ACEOF
27199 /* end confdefs.h. */
27200 $ac_includes_default
27201 #include <ext/hash_map>
27203 rm -f conftest.$ac_objext
27204 if { (ac_try="$ac_compile"
27205 case "(($ac_try" in
27206 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27207 *) ac_try_echo
=$ac_try;;
27209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27210 (eval "$ac_compile") 2>conftest.er1
27212 grep -v '^ *+' conftest.er1
>conftest.err
27214 cat conftest.err
>&5
27215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216 (exit $ac_status); } &&
27217 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27218 { (case "(($ac_try" in
27219 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27220 *) ac_try_echo=$ac_try;;
27222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27223 (eval "$ac_try") 2>&5
27225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27226 (exit $ac_status); }; } &&
27227 { ac_try='test -s conftest.$ac_objext'
27228 { (case "(($ac_try" in
27229 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27230 *) ac_try_echo
=$ac_try;;
27232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27233 (eval "$ac_try") 2>&5
27235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27236 (exit $ac_status); }; }; then
27237 ac_header_compiler
=yes
27239 echo "$as_me: failed program was:" >&5
27240 sed 's/^/| /' conftest.
$ac_ext >&5
27242 ac_header_compiler
=no
27245 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27246 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27247 echo "${ECHO_T}$ac_header_compiler" >&6; }
27249 # Is the header present?
27250 { echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
27251 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6; }
27252 cat >conftest.
$ac_ext <<_ACEOF
27255 cat confdefs.h
>>conftest.
$ac_ext
27256 cat >>conftest.
$ac_ext <<_ACEOF
27257 /* end confdefs.h. */
27258 #include <ext/hash_map>
27260 if { (ac_try
="$ac_cpp conftest.$ac_ext"
27261 case "(($ac_try" in
27262 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27263 *) ac_try_echo=$ac_try;;
27265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27266 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27268 grep -v '^ *+' conftest.er1 >conftest.err
27270 cat conftest.err >&5
27271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27272 (exit $ac_status); } >/dev/null; then
27273 if test -s conftest.err; then
27274 ac_cpp_err=$ac_cxx_preproc_warn_flag
27275 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27282 if test -z "$ac_cpp_err"; then
27283 ac_header_preproc=yes
27285 echo "$as_me: failed program was:" >&5
27286 sed 's/^/| /' conftest.$ac_ext >&5
27288 ac_header_preproc=no
27291 rm -f conftest.err conftest.$ac_ext
27292 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27293 echo "${ECHO_T}$ac_header_preproc" >&6; }
27295 # So? What about this header?
27296 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27298 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
27299 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
27300 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
27301 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
27302 ac_header_preproc=yes
27305 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
27306 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
27307 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
27308 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
27309 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
27310 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
27311 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
27312 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
27313 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
27314 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
27315 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
27316 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
27318 ## ----------------------------------------- ##
27319 ## Report this to wx-dev@lists.wxwidgets.org ##
27320 ## ----------------------------------------- ##
27322 ) | sed "s/^/$as_me: WARNING: /" >&2
27325 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27326 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27327 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27328 echo $ECHO_N "(cached) $ECHO_C" >&6
27330 ac_cv_header_ext_hash_map=$ac_header_preproc
27332 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27333 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27336 if test $ac_cv_header_ext_hash_map = yes; then
27337 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27338 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27339 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27340 echo $ECHO_N "(cached) $ECHO_C" >&6
27342 cat >conftest.$ac_ext <<_ACEOF
27345 cat confdefs.h >>conftest.$ac_ext
27346 cat >>conftest.$ac_ext <<_ACEOF
27347 /* end confdefs.h. */
27348 #include <ext/hash_map>
27349 #include <ext/hash_set>
27353 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27354 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27359 rm -f conftest.$ac_objext
27360 if { (ac_try="$ac_compile"
27361 case "(($ac_try" in
27362 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27363 *) ac_try_echo
=$ac_try;;
27365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27366 (eval "$ac_compile") 2>conftest.er1
27368 grep -v '^ *+' conftest.er1
>conftest.err
27370 cat conftest.err
>&5
27371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27372 (exit $ac_status); } &&
27373 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27374 { (case "(($ac_try" in
27375 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27376 *) ac_try_echo=$ac_try;;
27378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27379 (eval "$ac_try") 2>&5
27381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27382 (exit $ac_status); }; } &&
27383 { ac_try='test -s conftest.$ac_objext'
27384 { (case "(($ac_try" in
27385 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27386 *) ac_try_echo
=$ac_try;;
27388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27389 (eval "$ac_try") 2>&5
27391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27392 (exit $ac_status); }; }; then
27393 wx_cv_class_gnuhashmapset
=yes
27395 echo "$as_me: failed program was:" >&5
27396 sed 's/^/| /' conftest.
$ac_ext >&5
27398 wx_cv_class_gnuhashmapset
=no
27401 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27405 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27406 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27412 if test "$wx_cv_class_gnuhashmapset" = yes; then
27413 cat >>confdefs.h
<<\_ACEOF
27414 #define HAVE_EXT_HASH_MAP 1
27417 cat >>confdefs.h
<<\_ACEOF
27418 #define HAVE_GNU_CXX_HASH_MAP 1
27425 ac_cpp
='$CPP $CPPFLAGS'
27426 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27427 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27428 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27433 /usr/local/include \
27435 /usr/Motif-2.1/include \
27436 /usr/Motif-1.2/include \
27437 /usr/include/Motif1.2 \
27440 /usr/openwin/include \
27444 /usr/X11R6/include \
27445 /usr/X11R6.4/include \
27446 /usr/X11R5/include \
27447 /usr/X11R4/include \
27449 /usr/include/X11R6 \
27450 /usr/include/X11R5 \
27451 /usr/include/X11R4 \
27453 /usr/local/X11R6/include \
27454 /usr/local/X11R5/include \
27455 /usr/local/X11R4/include \
27457 /usr/local/include/X11R6 \
27458 /usr/local/include/X11R5 \
27459 /usr/local/include/X11R4 \
27463 /usr/local/X11/include \
27464 /usr/local/include/X11 \
27466 /usr/XFree86/include/X11 \
27469 /usr/openwin/share/include"
27471 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27472 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27476 if test "${wx_cv_std_libpath+set}" = set; then
27477 echo $ECHO_N "(cached) $ECHO_C" >&6
27480 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
27481 for e
in a so sl dylib dll.a
; do
27483 if test -f $libc; then
27486 cat >conftest.
$ac_ext <<_ACEOF
27487 int main() { return 0; }
27489 rm -f conftest.
$ac_objext conftest
$ac_exeext
27490 if { (ac_try
="$ac_link"
27491 case "(($ac_try" in
27492 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27493 *) ac_try_echo=$ac_try;;
27495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27496 (eval "$ac_link") 2>conftest.er1
27498 grep -v '^ *+' conftest.er1 >conftest.err
27500 cat conftest.err >&5
27501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27502 (exit $ac_status); } &&
27503 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27504 { (case "(($ac_try" in
27505 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27506 *) ac_try_echo
=$ac_try;;
27508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27509 (eval "$ac_try") 2>&5
27511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27512 (exit $ac_status); }; } &&
27513 { ac_try
='test -s conftest$ac_exeext'
27514 { (case "(($ac_try" in
27515 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27516 *) ac_try_echo=$ac_try;;
27518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27519 (eval "$ac_try") 2>&5
27521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27522 (exit $ac_status); }; }; then
27523 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
27525 echo "$as_me: failed program was:" >&5
27526 sed 's/^/| /' conftest.$ac_ext >&5
27531 rm -f core conftest.err conftest.$ac_objext \
27532 conftest$ac_exeext conftest.$ac_ext
27534 if test "x$wx_cv_std_libpath" != "x"; then
27540 if test "x$wx_cv_std_libpath" = "x"; then
27541 wx_cv_std_libpath="lib"
27550 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27551 wx_cv_std_libpath="lib/64"
27553 wx_cv_std_libpath="lib"
27558 if test "$ac_cv_sizeof_void_p" = 8 -a \
27559 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27560 wx_cv_std_libpath="lib64"
27562 wx_cv_std_libpath="lib"
27567 wx_cv_std_libpath="lib";
27571 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27572 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27574 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
27576 if test "$build" != "$host" -a "$GCC" = yes; then
27577 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
27578 cross_root=`dirname $cross_root`
27579 cross_root=`dirname $cross_root`
27581 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27582 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27583 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27585 if test -z "$PKG_CONFIG_PATH"; then
27586 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27587 export PKG_CONFIG_PATH
27590 if test -z "$x_includes" -o "$x_includes" = NONE; then
27593 for ac_dir in $SEARCH_INCLUDE /usr/include;
27595 if test -f "$ac_dir/X11/Intrinsic.h"; then
27596 ac_find_includes=$ac_dir
27601 x_includes=$ac_find_includes
27603 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27606 for ac_dir in $SEARCH_LIB;
27608 for ac_extension in a so sl dylib dll.a; do
27609 if test -f "$ac_dir/libXt.$ac_extension"; then
27610 ac_find_libraries=$ac_dir
27616 x_libraries=$ac_find_libraries
27622 cat >confcache <<\_ACEOF
27623 # This file is a shell script that caches the results of configure
27624 # tests run on this system so they can be shared between configure
27625 # scripts and configure runs, see configure's option --config-cache.
27626 # It is not useful on other systems. If it contains results you don't
27627 # want to keep, you may remove or edit it.
27629 # config.status only pays attention to the cache file if you give it
27630 # the --recheck option to rerun configure.
27632 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
27633 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27634 # following values.
27638 # The following way of writing the cache mishandles newlines in values,
27639 # but we know of no workaround that is simple, portable, and efficient.
27640 # So, we kill variables containing newlines.
27641 # Ultrix sh set writes to stderr and can't be redirected directly,
27642 # and sets the high bit in the cache file unless we assign to the vars.
27644 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27645 eval ac_val
=\$
$ac_var
27649 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27650 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27653 _
| IFS
| as_nl
) ;; #(
27654 *) $as_unset $ac_var ;;
27660 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27661 *${as_nl}ac_space
=\
*)
27662 # `set' does not quote correctly, so add quotes (double-quote
27663 # substitution turns \\\\ into \\, and sed turns \\ into \).
27666 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27669 # `set' quotes correctly as required by POSIX, so do not add quotes.
27670 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27679 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27681 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27683 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27684 if test -w "$cache_file"; then
27685 test "x$cache_file" != "x/dev/null" &&
27686 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27687 echo "$as_me: updating cache $cache_file" >&6;}
27688 cat confcache
>$cache_file
27690 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27691 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27696 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27697 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27698 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27699 if test "${wx_cv_lib_glibc21+set}" = set; then
27700 echo $ECHO_N "(cached) $ECHO_C" >&6
27703 cat >conftest.
$ac_ext <<_ACEOF
27706 cat confdefs.h
>>conftest.
$ac_ext
27707 cat >>conftest.
$ac_ext <<_ACEOF
27708 /* end confdefs.h. */
27709 #include <features.h>
27714 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27722 rm -f conftest.
$ac_objext
27723 if { (ac_try
="$ac_compile"
27724 case "(($ac_try" in
27725 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27726 *) ac_try_echo=$ac_try;;
27728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27729 (eval "$ac_compile") 2>conftest.er1
27731 grep -v '^ *+' conftest.er1 >conftest.err
27733 cat conftest.err >&5
27734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27735 (exit $ac_status); } &&
27736 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27737 { (case "(($ac_try" in
27738 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27739 *) ac_try_echo
=$ac_try;;
27741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27742 (eval "$ac_try") 2>&5
27744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27745 (exit $ac_status); }; } &&
27746 { ac_try
='test -s conftest.$ac_objext'
27747 { (case "(($ac_try" in
27748 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27749 *) ac_try_echo=$ac_try;;
27751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27752 (eval "$ac_try") 2>&5
27754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27755 (exit $ac_status); }; }; then
27757 wx_cv_lib_glibc21=yes
27760 echo "$as_me: failed program was:" >&5
27761 sed 's/^/| /' conftest.$ac_ext >&5
27764 wx_cv_lib_glibc21=no
27769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27772 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27773 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27774 if test "$wx_cv_lib_glibc21" = "yes"; then
27775 cat >>confdefs.h <<\_ACEOF
27776 #define wxHAVE_GLIBC2 1
27782 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27783 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27784 cat >>confdefs.h <<\_ACEOF
27785 #define _GNU_SOURCE 1
27796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27797 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27799 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27800 echo $ECHO_N "(cached) $ECHO_C" >&6
27802 cat >conftest.$ac_ext <<_ACEOF
27805 cat confdefs.h >>conftest.$ac_ext
27806 cat >>conftest.$ac_ext <<_ACEOF
27807 /* end confdefs.h. */
27808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27810 #define $ac_func innocuous_$ac_func
27812 /* System header to define __stub macros and hopefully few prototypes,
27813 which can conflict with char $ac_func (); below.
27814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27815 <limits.h> exists even on freestanding compilers. */
27818 # include <limits.h>
27820 # include <assert.h>
27825 /* Override any GCC internal prototype to avoid an error.
27826 Use char because int might match the return type of a GCC
27827 builtin and then its argument prototype would still apply. */
27832 /* The GNU C library defines this for functions which it implements
27833 to always fail with ENOSYS. Some functions are actually named
27834 something starting with __ and the normal name is an alias. */
27835 #if defined __stub_$ac_func || defined __stub___$ac_func
27842 return $ac_func ();
27847 rm -f conftest.$ac_objext conftest$ac_exeext
27848 if { (ac_try="$ac_link"
27849 case "(($ac_try" in
27850 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27851 *) ac_try_echo
=$ac_try;;
27853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27854 (eval "$ac_link") 2>conftest.er1
27856 grep -v '^ *+' conftest.er1
>conftest.err
27858 cat conftest.err
>&5
27859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27860 (exit $ac_status); } &&
27861 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27862 { (case "(($ac_try" in
27863 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27864 *) ac_try_echo=$ac_try;;
27866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27867 (eval "$ac_try") 2>&5
27869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27870 (exit $ac_status); }; } &&
27871 { ac_try='test -s conftest$ac_exeext'
27872 { (case "(($ac_try" in
27873 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27874 *) ac_try_echo
=$ac_try;;
27876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27877 (eval "$ac_try") 2>&5
27879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27880 (exit $ac_status); }; }; then
27881 eval "$as_ac_var=yes"
27883 echo "$as_me: failed program was:" >&5
27884 sed 's/^/| /' conftest.
$ac_ext >&5
27886 eval "$as_ac_var=no"
27889 rm -f core conftest.err conftest.
$ac_objext \
27890 conftest
$ac_exeext conftest.
$ac_ext
27892 ac_res
=`eval echo '${'$as_ac_var'}'`
27893 { echo "$as_me:$LINENO: result: $ac_res" >&5
27894 echo "${ECHO_T}$ac_res" >&6; }
27895 if test `eval echo '${'$as_ac_var'}'` = yes; then
27896 cat >>confdefs.h
<<_ACEOF
27897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27904 for ac_func
in floor
27906 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27907 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27909 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27910 echo $ECHO_N "(cached) $ECHO_C" >&6
27912 cat >conftest.
$ac_ext <<_ACEOF
27915 cat confdefs.h
>>conftest.
$ac_ext
27916 cat >>conftest.
$ac_ext <<_ACEOF
27917 /* end confdefs.h. */
27918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27920 #define $ac_func innocuous_$ac_func
27922 /* System header to define __stub macros and hopefully few prototypes,
27923 which can conflict with char $ac_func (); below.
27924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27925 <limits.h> exists even on freestanding compilers. */
27928 # include <limits.h>
27930 # include <assert.h>
27935 /* Override any GCC internal prototype to avoid an error.
27936 Use char because int might match the return type of a GCC
27937 builtin and then its argument prototype would still apply. */
27942 /* The GNU C library defines this for functions which it implements
27943 to always fail with ENOSYS. Some functions are actually named
27944 something starting with __ and the normal name is an alias. */
27945 #if defined __stub_$ac_func || defined __stub___$ac_func
27952 return $ac_func ();
27957 rm -f conftest.
$ac_objext conftest
$ac_exeext
27958 if { (ac_try
="$ac_link"
27959 case "(($ac_try" in
27960 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27961 *) ac_try_echo=$ac_try;;
27963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27964 (eval "$ac_link") 2>conftest.er1
27966 grep -v '^ *+' conftest.er1 >conftest.err
27968 cat conftest.err >&5
27969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27970 (exit $ac_status); } &&
27971 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27972 { (case "(($ac_try" in
27973 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27974 *) ac_try_echo
=$ac_try;;
27976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27977 (eval "$ac_try") 2>&5
27979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27980 (exit $ac_status); }; } &&
27981 { ac_try
='test -s conftest$ac_exeext'
27982 { (case "(($ac_try" in
27983 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27984 *) ac_try_echo=$ac_try;;
27986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27987 (eval "$ac_try") 2>&5
27989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27990 (exit $ac_status); }; }; then
27991 eval "$as_ac_var=yes"
27993 echo "$as_me: failed program was:" >&5
27994 sed 's/^/| /' conftest.$ac_ext >&5
27996 eval "$as_ac_var=no"
27999 rm -f core conftest.err conftest.$ac_objext \
28000 conftest$ac_exeext conftest.$ac_ext
28002 ac_res=`eval echo '${'$as_ac_var'}'`
28003 { echo "$as_me:$LINENO: result: $ac_res" >&5
28004 echo "${ECHO_T}$ac_res" >&6; }
28005 if test `eval echo '${'$as_ac_var'}'` = yes; then
28006 cat >>confdefs.h <<_ACEOF
28007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28013 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28014 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28015 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28016 { echo "$as_me:$LINENO: result: yes" >&5
28017 echo "${ECHO_T}yes" >&6; }
28019 { echo "$as_me:$LINENO: result: no" >&5
28020 echo "${ECHO_T}no" >&6; }
28022 # use different functions to avoid configure caching
28028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28029 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28031 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28032 echo $ECHO_N "(cached) $ECHO_C" >&6
28034 cat >conftest.$ac_ext <<_ACEOF
28037 cat confdefs.h >>conftest.$ac_ext
28038 cat >>conftest.$ac_ext <<_ACEOF
28039 /* end confdefs.h. */
28040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28042 #define $ac_func innocuous_$ac_func
28044 /* System header to define __stub macros and hopefully few prototypes,
28045 which can conflict with char $ac_func (); below.
28046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28047 <limits.h> exists even on freestanding compilers. */
28050 # include <limits.h>
28052 # include <assert.h>
28057 /* Override any GCC internal prototype to avoid an error.
28058 Use char because int might match the return type of a GCC
28059 builtin and then its argument prototype would still apply. */
28064 /* The GNU C library defines this for functions which it implements
28065 to always fail with ENOSYS. Some functions are actually named
28066 something starting with __ and the normal name is an alias. */
28067 #if defined __stub_$ac_func || defined __stub___$ac_func
28074 return $ac_func ();
28079 rm -f conftest.$ac_objext conftest$ac_exeext
28080 if { (ac_try="$ac_link"
28081 case "(($ac_try" in
28082 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28083 *) ac_try_echo
=$ac_try;;
28085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28086 (eval "$ac_link") 2>conftest.er1
28088 grep -v '^ *+' conftest.er1
>conftest.err
28090 cat conftest.err
>&5
28091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28092 (exit $ac_status); } &&
28093 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28094 { (case "(($ac_try" in
28095 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28096 *) ac_try_echo=$ac_try;;
28098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28099 (eval "$ac_try") 2>&5
28101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28102 (exit $ac_status); }; } &&
28103 { ac_try='test -s conftest$ac_exeext'
28104 { (case "(($ac_try" in
28105 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28106 *) ac_try_echo
=$ac_try;;
28108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28109 (eval "$ac_try") 2>&5
28111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28112 (exit $ac_status); }; }; then
28113 eval "$as_ac_var=yes"
28115 echo "$as_me: failed program was:" >&5
28116 sed 's/^/| /' conftest.
$ac_ext >&5
28118 eval "$as_ac_var=no"
28121 rm -f core conftest.err conftest.
$ac_objext \
28122 conftest
$ac_exeext conftest.
$ac_ext
28124 ac_res
=`eval echo '${'$as_ac_var'}'`
28125 { echo "$as_me:$LINENO: result: $ac_res" >&5
28126 echo "${ECHO_T}$ac_res" >&6; }
28127 if test `eval echo '${'$as_ac_var'}'` = yes; then
28128 cat >>confdefs.h
<<_ACEOF
28129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28136 for ac_func
in ceil
28138 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28139 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28141 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28142 echo $ECHO_N "(cached) $ECHO_C" >&6
28144 cat >conftest.
$ac_ext <<_ACEOF
28147 cat confdefs.h
>>conftest.
$ac_ext
28148 cat >>conftest.
$ac_ext <<_ACEOF
28149 /* end confdefs.h. */
28150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28152 #define $ac_func innocuous_$ac_func
28154 /* System header to define __stub macros and hopefully few prototypes,
28155 which can conflict with char $ac_func (); below.
28156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28157 <limits.h> exists even on freestanding compilers. */
28160 # include <limits.h>
28162 # include <assert.h>
28167 /* Override any GCC internal prototype to avoid an error.
28168 Use char because int might match the return type of a GCC
28169 builtin and then its argument prototype would still apply. */
28174 /* The GNU C library defines this for functions which it implements
28175 to always fail with ENOSYS. Some functions are actually named
28176 something starting with __ and the normal name is an alias. */
28177 #if defined __stub_$ac_func || defined __stub___$ac_func
28184 return $ac_func ();
28189 rm -f conftest.
$ac_objext conftest
$ac_exeext
28190 if { (ac_try
="$ac_link"
28191 case "(($ac_try" in
28192 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28193 *) ac_try_echo=$ac_try;;
28195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28196 (eval "$ac_link") 2>conftest.er1
28198 grep -v '^ *+' conftest.er1 >conftest.err
28200 cat conftest.err >&5
28201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28202 (exit $ac_status); } &&
28203 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28204 { (case "(($ac_try" in
28205 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28206 *) ac_try_echo
=$ac_try;;
28208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28209 (eval "$ac_try") 2>&5
28211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28212 (exit $ac_status); }; } &&
28213 { ac_try
='test -s conftest$ac_exeext'
28214 { (case "(($ac_try" in
28215 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28216 *) ac_try_echo=$ac_try;;
28218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28219 (eval "$ac_try") 2>&5
28221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28222 (exit $ac_status); }; }; then
28223 eval "$as_ac_var=yes"
28225 echo "$as_me: failed program was:" >&5
28226 sed 's/^/| /' conftest.$ac_ext >&5
28228 eval "$as_ac_var=no"
28231 rm -f core conftest.err conftest.$ac_objext \
28232 conftest$ac_exeext conftest.$ac_ext
28234 ac_res=`eval echo '${'$as_ac_var'}'`
28235 { echo "$as_me:$LINENO: result: $ac_res" >&5
28236 echo "${ECHO_T}$ac_res" >&6; }
28237 if test `eval echo '${'$as_ac_var'}'` = yes; then
28238 cat >>confdefs.h <<_ACEOF
28239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28245 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28246 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28247 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28248 { echo "$as_me:$LINENO: result: yes" >&5
28249 echo "${ECHO_T}yes" >&6; }
28251 { echo "$as_me:$LINENO: result: no" >&5
28252 echo "${ECHO_T}no" >&6; }
28253 # not sure we should warn the user, crash, etc.
28258 ac_cpp='$CXXCPP $CPPFLAGS'
28259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28263 if test "wxUSE_UNICODE" = "yes"; then
28265 for wx_func in wcstoull
28267 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28268 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28269 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28270 echo $ECHO_N "(cached) $ECHO_C" >&6
28273 cat >conftest.$ac_ext <<_ACEOF
28277 cat confdefs.h >>conftest.$ac_ext
28278 cat >>conftest.$ac_ext <<_ACEOF
28279 /* end confdefs.h. */
28282 $ac_includes_default
28298 rm -f conftest.$ac_objext conftest$ac_exeext
28299 if { (ac_try="$ac_link"
28300 case "(($ac_try" in
28301 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28302 *) ac_try_echo
=$ac_try;;
28304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28305 (eval "$ac_link") 2>conftest.er1
28307 grep -v '^ *+' conftest.er1
>conftest.err
28309 cat conftest.err
>&5
28310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28311 (exit $ac_status); } &&
28312 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28313 { (case "(($ac_try" in
28314 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28315 *) ac_try_echo=$ac_try;;
28317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28318 (eval "$ac_try") 2>&5
28320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28321 (exit $ac_status); }; } &&
28322 { ac_try='test -s conftest$ac_exeext'
28323 { (case "(($ac_try" in
28324 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28325 *) ac_try_echo
=$ac_try;;
28327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28328 (eval "$ac_try") 2>&5
28330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28331 (exit $ac_status); }; }; then
28332 eval wx_cv_func_
$wx_func=yes
28334 echo "$as_me: failed program was:" >&5
28335 sed 's/^/| /' conftest.
$ac_ext >&5
28337 eval wx_cv_func_
$wx_func=no
28340 rm -f core conftest.err conftest.
$ac_objext \
28341 conftest
$ac_exeext conftest.
$ac_ext
28344 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
28345 { echo "$as_me:$LINENO: result: $ac_res" >&5
28346 echo "${ECHO_T}$ac_res" >&6; }
28348 if eval test \
$wx_cv_func_$wx_func = yes
28350 cat >>confdefs.h
<<_ACEOF
28351 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28363 for wx_func
in strtoull
28365 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28366 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28367 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28368 echo $ECHO_N "(cached) $ECHO_C" >&6
28371 cat >conftest.
$ac_ext <<_ACEOF
28375 cat confdefs.h
>>conftest.
$ac_ext
28376 cat >>conftest.
$ac_ext <<_ACEOF
28377 /* end confdefs.h. */
28380 $ac_includes_default
28396 rm -f conftest.
$ac_objext conftest
$ac_exeext
28397 if { (ac_try
="$ac_link"
28398 case "(($ac_try" in
28399 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28400 *) ac_try_echo=$ac_try;;
28402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28403 (eval "$ac_link") 2>conftest.er1
28405 grep -v '^ *+' conftest.er1 >conftest.err
28407 cat conftest.err >&5
28408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28409 (exit $ac_status); } &&
28410 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28411 { (case "(($ac_try" in
28412 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28413 *) ac_try_echo
=$ac_try;;
28415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28416 (eval "$ac_try") 2>&5
28418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28419 (exit $ac_status); }; } &&
28420 { ac_try
='test -s conftest$ac_exeext'
28421 { (case "(($ac_try" in
28422 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28423 *) ac_try_echo=$ac_try;;
28425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28426 (eval "$ac_try") 2>&5
28428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28429 (exit $ac_status); }; }; then
28430 eval wx_cv_func_$wx_func=yes
28432 echo "$as_me: failed program was:" >&5
28433 sed 's/^/| /' conftest.$ac_ext >&5
28435 eval wx_cv_func_$wx_func=no
28438 rm -f core conftest.err conftest.$ac_objext \
28439 conftest$ac_exeext conftest.$ac_ext
28442 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28443 { echo "$as_me:$LINENO: result: $ac_res" >&5
28444 echo "${ECHO_T}$ac_res" >&6; }
28446 if eval test \$wx_cv_func_$wx_func = yes
28448 cat >>confdefs.h <<_ACEOF
28449 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28461 ac_cpp='$CPP $CPPFLAGS'
28462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28469 if test "$wxUSE_REGEX" != "no"; then
28470 cat >>confdefs.h <<\_ACEOF
28471 #define wxUSE_REGEX 1
28475 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28476 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28477 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28478 wxUSE_REGEX=builtin
28481 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28482 if test "${ac_cv_header_regex_h+set}" = set; then
28483 { echo "$as_me:$LINENO: checking for regex.h" >&5
28484 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28485 if test "${ac_cv_header_regex_h+set}" = set; then
28486 echo $ECHO_N "(cached) $ECHO_C" >&6
28488 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28489 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28491 # Is the header compilable?
28492 { echo "$as_me:$LINENO: checking regex.h usability" >&5
28493 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6; }
28494 cat >conftest.$ac_ext <<_ACEOF
28497 cat confdefs.h >>conftest.$ac_ext
28498 cat >>conftest.$ac_ext <<_ACEOF
28499 /* end confdefs.h. */
28500 $ac_includes_default
28503 rm -f conftest.$ac_objext
28504 if { (ac_try="$ac_compile"
28505 case "(($ac_try" in
28506 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28507 *) ac_try_echo
=$ac_try;;
28509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28510 (eval "$ac_compile") 2>conftest.er1
28512 grep -v '^ *+' conftest.er1
>conftest.err
28514 cat conftest.err
>&5
28515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28516 (exit $ac_status); } &&
28517 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28518 { (case "(($ac_try" in
28519 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28520 *) ac_try_echo=$ac_try;;
28522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28523 (eval "$ac_try") 2>&5
28525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28526 (exit $ac_status); }; } &&
28527 { ac_try='test -s conftest.$ac_objext'
28528 { (case "(($ac_try" in
28529 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28530 *) ac_try_echo
=$ac_try;;
28532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28533 (eval "$ac_try") 2>&5
28535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28536 (exit $ac_status); }; }; then
28537 ac_header_compiler
=yes
28539 echo "$as_me: failed program was:" >&5
28540 sed 's/^/| /' conftest.
$ac_ext >&5
28542 ac_header_compiler
=no
28545 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28546 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28547 echo "${ECHO_T}$ac_header_compiler" >&6; }
28549 # Is the header present?
28550 { echo "$as_me:$LINENO: checking regex.h presence" >&5
28551 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6; }
28552 cat >conftest.
$ac_ext <<_ACEOF
28555 cat confdefs.h
>>conftest.
$ac_ext
28556 cat >>conftest.
$ac_ext <<_ACEOF
28557 /* end confdefs.h. */
28560 if { (ac_try
="$ac_cpp conftest.$ac_ext"
28561 case "(($ac_try" in
28562 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28563 *) ac_try_echo=$ac_try;;
28565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28566 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28568 grep -v '^ *+' conftest.er1 >conftest.err
28570 cat conftest.err >&5
28571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28572 (exit $ac_status); } >/dev/null; then
28573 if test -s conftest.err; then
28574 ac_cpp_err=$ac_c_preproc_warn_flag
28575 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28582 if test -z "$ac_cpp_err"; then
28583 ac_header_preproc=yes
28585 echo "$as_me: failed program was:" >&5
28586 sed 's/^/| /' conftest.$ac_ext >&5
28588 ac_header_preproc=no
28591 rm -f conftest.err conftest.$ac_ext
28592 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28593 echo "${ECHO_T}$ac_header_preproc" >&6; }
28595 # So? What about this header?
28596 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28598 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
28599 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28600 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
28601 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
28602 ac_header_preproc=yes
28605 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
28606 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
28607 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
28608 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
28609 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
28610 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
28611 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
28612 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
28613 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
28614 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
28615 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
28616 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
28618 ## ----------------------------------------- ##
28619 ## Report this to wx-dev@lists.wxwidgets.org ##
28620 ## ----------------------------------------- ##
28622 ) | sed "s/^/$as_me: WARNING: /" >&2
28625 { echo "$as_me:$LINENO: checking for regex.h" >&5
28626 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28627 if test "${ac_cv_header_regex_h+set}" = set; then
28628 echo $ECHO_N "(cached) $ECHO_C" >&6
28630 ac_cv_header_regex_h=$ac_header_preproc
28632 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28633 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28636 if test $ac_cv_header_regex_h = yes; then
28639 for ac_func in regcomp re_search
28641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28642 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28644 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28645 echo $ECHO_N "(cached) $ECHO_C" >&6
28647 cat >conftest.$ac_ext <<_ACEOF
28650 cat confdefs.h >>conftest.$ac_ext
28651 cat >>conftest.$ac_ext <<_ACEOF
28652 /* end confdefs.h. */
28653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28655 #define $ac_func innocuous_$ac_func
28657 /* System header to define __stub macros and hopefully few prototypes,
28658 which can conflict with char $ac_func (); below.
28659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28660 <limits.h> exists even on freestanding compilers. */
28663 # include <limits.h>
28665 # include <assert.h>
28670 /* Override any GCC internal prototype to avoid an error.
28671 Use char because int might match the return type of a GCC
28672 builtin and then its argument prototype would still apply. */
28677 /* The GNU C library defines this for functions which it implements
28678 to always fail with ENOSYS. Some functions are actually named
28679 something starting with __ and the normal name is an alias. */
28680 #if defined __stub_$ac_func || defined __stub___$ac_func
28687 return $ac_func ();
28692 rm -f conftest.$ac_objext conftest$ac_exeext
28693 if { (ac_try="$ac_link"
28694 case "(($ac_try" in
28695 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28696 *) ac_try_echo
=$ac_try;;
28698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28699 (eval "$ac_link") 2>conftest.er1
28701 grep -v '^ *+' conftest.er1
>conftest.err
28703 cat conftest.err
>&5
28704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28705 (exit $ac_status); } &&
28706 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28707 { (case "(($ac_try" in
28708 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28709 *) ac_try_echo=$ac_try;;
28711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28712 (eval "$ac_try") 2>&5
28714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28715 (exit $ac_status); }; } &&
28716 { ac_try='test -s conftest$ac_exeext'
28717 { (case "(($ac_try" in
28718 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28719 *) ac_try_echo
=$ac_try;;
28721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28722 (eval "$ac_try") 2>&5
28724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28725 (exit $ac_status); }; }; then
28726 eval "$as_ac_var=yes"
28728 echo "$as_me: failed program was:" >&5
28729 sed 's/^/| /' conftest.
$ac_ext >&5
28731 eval "$as_ac_var=no"
28734 rm -f core conftest.err conftest.
$ac_objext \
28735 conftest
$ac_exeext conftest.
$ac_ext
28737 ac_res
=`eval echo '${'$as_ac_var'}'`
28738 { echo "$as_me:$LINENO: result: $ac_res" >&5
28739 echo "${ECHO_T}$ac_res" >&6; }
28740 if test `eval echo '${'$as_ac_var'}'` = yes; then
28741 cat >>confdefs.h
<<_ACEOF
28742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28752 if test "x$ac_cv_func_regcomp" != "xyes"; then
28753 if test "$wxUSE_REGEX" = "sys" ; then
28754 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28755 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28756 { (exit 1); exit 1; }; }
28758 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28759 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28760 wxUSE_REGEX
=builtin
28764 cat >>confdefs.h
<<\_ACEOF
28765 #define WX_NO_REGEX_ADVANCED 1
28774 if test "$wxUSE_ZLIB" != "no" ; then
28775 cat >>confdefs.h
<<\_ACEOF
28776 #define wxUSE_ZLIB 1
28780 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28781 if test "$USE_DARWIN" = 1; then
28782 system_zlib_h_ok
="yes"
28784 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28785 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28786 if test "${ac_cv_header_zlib_h+set}" = set; then
28787 echo $ECHO_N "(cached) $ECHO_C" >&6
28789 if test "$cross_compiling" = yes; then
28790 unset ac_cv_header_zlib_h
28793 cat >conftest.
$ac_ext <<_ACEOF
28796 cat confdefs.h
>>conftest.
$ac_ext
28797 cat >>conftest.
$ac_ext <<_ACEOF
28798 /* end confdefs.h. */
28805 FILE *f=fopen("conftestval", "w");
28808 ZLIB_VERSION[0] == '1' &&
28809 (ZLIB_VERSION[2] > '1' ||
28810 (ZLIB_VERSION[2] == '1' &&
28811 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28816 rm -f conftest
$ac_exeext
28817 if { (ac_try
="$ac_link"
28818 case "(($ac_try" in
28819 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28820 *) ac_try_echo=$ac_try;;
28822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28823 (eval "$ac_link") 2>&5
28825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28826 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28827 { (case "(($ac_try" in
28828 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28829 *) ac_try_echo
=$ac_try;;
28831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28832 (eval "$ac_try") 2>&5
28834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28835 (exit $ac_status); }; }; then
28836 ac_cv_header_zlib_h
=`cat conftestval`
28838 echo "$as_me: program exited with status $ac_status" >&5
28839 echo "$as_me: failed program was:" >&5
28840 sed 's/^/| /' conftest.
$ac_ext >&5
28842 ( exit $ac_status )
28843 ac_cv_header_zlib_h
=no
28845 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28851 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28852 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28853 if test "${ac_cv_header_zlib_h+set}" = set; then
28854 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28855 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28856 if test "${ac_cv_header_zlib_h+set}" = set; then
28857 echo $ECHO_N "(cached) $ECHO_C" >&6
28859 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28860 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28862 # Is the header compilable?
28863 { echo "$as_me:$LINENO: checking zlib.h usability" >&5
28864 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; }
28865 cat >conftest.
$ac_ext <<_ACEOF
28868 cat confdefs.h
>>conftest.
$ac_ext
28869 cat >>conftest.
$ac_ext <<_ACEOF
28870 /* end confdefs.h. */
28871 $ac_includes_default
28874 rm -f conftest.
$ac_objext
28875 if { (ac_try
="$ac_compile"
28876 case "(($ac_try" in
28877 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28878 *) ac_try_echo=$ac_try;;
28880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28881 (eval "$ac_compile") 2>conftest.er1
28883 grep -v '^ *+' conftest.er1 >conftest.err
28885 cat conftest.err >&5
28886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28887 (exit $ac_status); } &&
28888 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28889 { (case "(($ac_try" in
28890 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28891 *) ac_try_echo
=$ac_try;;
28893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28894 (eval "$ac_try") 2>&5
28896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28897 (exit $ac_status); }; } &&
28898 { ac_try
='test -s conftest.$ac_objext'
28899 { (case "(($ac_try" in
28900 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28901 *) ac_try_echo=$ac_try;;
28903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28904 (eval "$ac_try") 2>&5
28906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28907 (exit $ac_status); }; }; then
28908 ac_header_compiler=yes
28910 echo "$as_me: failed program was:" >&5
28911 sed 's/^/| /' conftest.$ac_ext >&5
28913 ac_header_compiler=no
28916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28917 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28918 echo "${ECHO_T}$ac_header_compiler" >&6; }
28920 # Is the header present?
28921 { echo "$as_me:$LINENO: checking zlib.h presence" >&5
28922 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; }
28923 cat >conftest.$ac_ext <<_ACEOF
28926 cat confdefs.h >>conftest.$ac_ext
28927 cat >>conftest.$ac_ext <<_ACEOF
28928 /* end confdefs.h. */
28931 if { (ac_try="$ac_cpp conftest.$ac_ext"
28932 case "(($ac_try" in
28933 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28934 *) ac_try_echo
=$ac_try;;
28936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28937 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28939 grep -v '^ *+' conftest.er1
>conftest.err
28941 cat conftest.err
>&5
28942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28943 (exit $ac_status); } >/dev
/null
; then
28944 if test -s conftest.err
; then
28945 ac_cpp_err
=$ac_c_preproc_warn_flag
28946 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28953 if test -z "$ac_cpp_err"; then
28954 ac_header_preproc
=yes
28956 echo "$as_me: failed program was:" >&5
28957 sed 's/^/| /' conftest.
$ac_ext >&5
28959 ac_header_preproc
=no
28962 rm -f conftest.err conftest.
$ac_ext
28963 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28964 echo "${ECHO_T}$ac_header_preproc" >&6; }
28966 # So? What about this header?
28967 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28969 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
28970 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28971 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
28972 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
28973 ac_header_preproc
=yes
28976 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
28977 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
28978 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
28979 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
28980 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
28981 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
28982 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
28983 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
28984 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
28985 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
28986 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
28987 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
28989 ## ----------------------------------------- ##
28990 ## Report this to wx-dev@lists.wxwidgets.org ##
28991 ## ----------------------------------------- ##
28993 ) | sed "s/^/$as_me: WARNING: /" >&2
28996 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28997 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28998 if test "${ac_cv_header_zlib_h+set}" = set; then
28999 echo $ECHO_N "(cached) $ECHO_C" >&6
29001 ac_cv_header_zlib_h
=$ac_header_preproc
29003 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
29004 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
29010 system_zlib_h_ok
=$ac_cv_header_zlib_h
29013 if test "$system_zlib_h_ok" = "yes"; then
29014 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
29015 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
29016 if test "${ac_cv_lib_z_deflate+set}" = set; then
29017 echo $ECHO_N "(cached) $ECHO_C" >&6
29019 ac_check_lib_save_LIBS
=$LIBS
29021 cat >conftest.
$ac_ext <<_ACEOF
29024 cat confdefs.h
>>conftest.
$ac_ext
29025 cat >>conftest.
$ac_ext <<_ACEOF
29026 /* end confdefs.h. */
29028 /* Override any GCC internal prototype to avoid an error.
29029 Use char because int might match the return type of a GCC
29030 builtin and then its argument prototype would still apply. */
29043 rm -f conftest.
$ac_objext conftest
$ac_exeext
29044 if { (ac_try
="$ac_link"
29045 case "(($ac_try" in
29046 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29047 *) ac_try_echo=$ac_try;;
29049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29050 (eval "$ac_link") 2>conftest.er1
29052 grep -v '^ *+' conftest.er1 >conftest.err
29054 cat conftest.err >&5
29055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29056 (exit $ac_status); } &&
29057 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29058 { (case "(($ac_try" in
29059 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29060 *) ac_try_echo
=$ac_try;;
29062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29063 (eval "$ac_try") 2>&5
29065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29066 (exit $ac_status); }; } &&
29067 { ac_try
='test -s conftest$ac_exeext'
29068 { (case "(($ac_try" in
29069 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29070 *) ac_try_echo=$ac_try;;
29072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29073 (eval "$ac_try") 2>&5
29075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29076 (exit $ac_status); }; }; then
29077 ac_cv_lib_z_deflate=yes
29079 echo "$as_me: failed program was:" >&5
29080 sed 's/^/| /' conftest.$ac_ext >&5
29082 ac_cv_lib_z_deflate=no
29085 rm -f core conftest.err conftest.$ac_objext \
29086 conftest$ac_exeext conftest.$ac_ext
29087 LIBS=$ac_check_lib_save_LIBS
29089 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
29090 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
29091 if test $ac_cv_lib_z_deflate = yes; then
29097 if test "x$ZLIB_LINK" = "x" ; then
29098 if test "$wxUSE_ZLIB" = "sys" ; then
29099 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
29100 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
29101 { (exit 1); exit 1; }; }
29103 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
29104 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
29115 if test "$wxUSE_LIBPNG" != "no" ; then
29116 cat >>confdefs.h <<\_ACEOF
29117 #define wxUSE_LIBPNG 1
29121 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
29122 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
29123 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
29127 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
29128 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
29129 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
29130 wxUSE_LIBPNG=builtin
29133 if test "$wxUSE_MGL" != 1 ; then
29134 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
29135 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
29136 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
29137 if test "${ac_cv_header_png_h+set}" = set; then
29138 echo $ECHO_N "(cached) $ECHO_C" >&6
29140 if test "$cross_compiling" = yes; then
29141 unset ac_cv_header_png_h
29144 cat >conftest.$ac_ext <<_ACEOF
29147 cat confdefs.h >>conftest.$ac_ext
29148 cat >>conftest.$ac_ext <<_ACEOF
29149 /* end confdefs.h. */
29156 FILE *f=fopen("conftestval", "w");
29159 PNG_LIBPNG_VER > 90 ? "yes" : "no");
29164 rm -f conftest$ac_exeext
29165 if { (ac_try="$ac_link"
29166 case "(($ac_try" in
29167 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29168 *) ac_try_echo
=$ac_try;;
29170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29171 (eval "$ac_link") 2>&5
29173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29174 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29175 { (case "(($ac_try" in
29176 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29177 *) ac_try_echo=$ac_try;;
29179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29180 (eval "$ac_try") 2>&5
29182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29183 (exit $ac_status); }; }; then
29184 ac_cv_header_png_h=`cat conftestval
`
29186 echo "$as_me: program exited with status $ac_status" >&5
29187 echo "$as_me: failed program was:" >&5
29188 sed 's/^/| /' conftest.$ac_ext >&5
29190 ( exit $ac_status )
29191 ac_cv_header_png_h=no
29193 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29199 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29200 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29201 if test "${ac_cv_header_png_h+set}" = set; then
29202 { echo "$as_me:$LINENO: checking for png.h" >&5
29203 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29204 if test "${ac_cv_header_png_h+set}" = set; then
29205 echo $ECHO_N "(cached) $ECHO_C" >&6
29207 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29208 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29210 # Is the header compilable?
29211 { echo "$as_me:$LINENO: checking png.h usability" >&5
29212 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6; }
29213 cat >conftest.$ac_ext <<_ACEOF
29216 cat confdefs.h >>conftest.$ac_ext
29217 cat >>conftest.$ac_ext <<_ACEOF
29218 /* end confdefs.h. */
29219 $ac_includes_default
29222 rm -f conftest.$ac_objext
29223 if { (ac_try="$ac_compile"
29224 case "(($ac_try" in
29225 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29226 *) ac_try_echo
=$ac_try;;
29228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29229 (eval "$ac_compile") 2>conftest.er1
29231 grep -v '^ *+' conftest.er1
>conftest.err
29233 cat conftest.err
>&5
29234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29235 (exit $ac_status); } &&
29236 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29237 { (case "(($ac_try" in
29238 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29239 *) ac_try_echo=$ac_try;;
29241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29242 (eval "$ac_try") 2>&5
29244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29245 (exit $ac_status); }; } &&
29246 { ac_try='test -s conftest.$ac_objext'
29247 { (case "(($ac_try" in
29248 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29249 *) ac_try_echo
=$ac_try;;
29251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29252 (eval "$ac_try") 2>&5
29254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29255 (exit $ac_status); }; }; then
29256 ac_header_compiler
=yes
29258 echo "$as_me: failed program was:" >&5
29259 sed 's/^/| /' conftest.
$ac_ext >&5
29261 ac_header_compiler
=no
29264 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29265 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29266 echo "${ECHO_T}$ac_header_compiler" >&6; }
29268 # Is the header present?
29269 { echo "$as_me:$LINENO: checking png.h presence" >&5
29270 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6; }
29271 cat >conftest.
$ac_ext <<_ACEOF
29274 cat confdefs.h
>>conftest.
$ac_ext
29275 cat >>conftest.
$ac_ext <<_ACEOF
29276 /* end confdefs.h. */
29279 if { (ac_try
="$ac_cpp conftest.$ac_ext"
29280 case "(($ac_try" in
29281 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29282 *) ac_try_echo=$ac_try;;
29284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29285 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29287 grep -v '^ *+' conftest.er1 >conftest.err
29289 cat conftest.err >&5
29290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29291 (exit $ac_status); } >/dev/null; then
29292 if test -s conftest.err; then
29293 ac_cpp_err=$ac_c_preproc_warn_flag
29294 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29301 if test -z "$ac_cpp_err"; then
29302 ac_header_preproc=yes
29304 echo "$as_me: failed program was:" >&5
29305 sed 's/^/| /' conftest.$ac_ext >&5
29307 ac_header_preproc=no
29310 rm -f conftest.err conftest.$ac_ext
29311 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29312 echo "${ECHO_T}$ac_header_preproc" >&6; }
29314 # So? What about this header?
29315 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29317 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
29318 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29319 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
29320 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
29321 ac_header_preproc=yes
29324 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
29325 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
29326 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
29327 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
29328 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
29329 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
29330 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
29331 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
29332 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
29333 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
29334 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
29335 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
29337 ## ----------------------------------------- ##
29338 ## Report this to wx-dev@lists.wxwidgets.org ##
29339 ## ----------------------------------------- ##
29341 ) | sed "s/^/$as_me: WARNING: /" >&2
29344 { echo "$as_me:$LINENO: checking for png.h" >&5
29345 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29346 if test "${ac_cv_header_png_h+set}" = set; then
29347 echo $ECHO_N "(cached) $ECHO_C" >&6
29349 ac_cv_header_png_h=$ac_header_preproc
29351 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29352 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29358 if test "$ac_cv_header_png_h" = "yes"; then
29359 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
29360 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
29361 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
29362 echo $ECHO_N "(cached) $ECHO_C" >&6
29364 ac_check_lib_save_LIBS=$LIBS
29365 LIBS="-lpng -lz -lm $LIBS"
29366 cat >conftest.$ac_ext <<_ACEOF
29369 cat confdefs.h >>conftest.$ac_ext
29370 cat >>conftest.$ac_ext <<_ACEOF
29371 /* end confdefs.h. */
29373 /* Override any GCC internal prototype to avoid an error.
29374 Use char because int might match the return type of a GCC
29375 builtin and then its argument prototype would still apply. */
29379 char png_check_sig ();
29383 return png_check_sig ();
29388 rm -f conftest.$ac_objext conftest$ac_exeext
29389 if { (ac_try="$ac_link"
29390 case "(($ac_try" in
29391 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29392 *) ac_try_echo
=$ac_try;;
29394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29395 (eval "$ac_link") 2>conftest.er1
29397 grep -v '^ *+' conftest.er1
>conftest.err
29399 cat conftest.err
>&5
29400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29401 (exit $ac_status); } &&
29402 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29403 { (case "(($ac_try" in
29404 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29405 *) ac_try_echo=$ac_try;;
29407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29408 (eval "$ac_try") 2>&5
29410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29411 (exit $ac_status); }; } &&
29412 { ac_try='test -s conftest$ac_exeext'
29413 { (case "(($ac_try" in
29414 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29415 *) ac_try_echo
=$ac_try;;
29417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29418 (eval "$ac_try") 2>&5
29420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29421 (exit $ac_status); }; }; then
29422 ac_cv_lib_png_png_check_sig
=yes
29424 echo "$as_me: failed program was:" >&5
29425 sed 's/^/| /' conftest.
$ac_ext >&5
29427 ac_cv_lib_png_png_check_sig
=no
29430 rm -f core conftest.err conftest.
$ac_objext \
29431 conftest
$ac_exeext conftest.
$ac_ext
29432 LIBS
=$ac_check_lib_save_LIBS
29434 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29435 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29436 if test $ac_cv_lib_png_png_check_sig = yes; then
29437 PNG_LINK
=" -lpng -lz"
29442 if test "x$PNG_LINK" = "x" ; then
29443 if test "$wxUSE_LIBPNG" = "sys" ; then
29444 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29445 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29446 { (exit 1); exit 1; }; }
29448 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29449 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29450 wxUSE_LIBPNG
=builtin
29458 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
29463 if test "$wxUSE_LIBJPEG" != "no" ; then
29464 cat >>confdefs.h
<<\_ACEOF
29465 #define wxUSE_LIBJPEG 1
29469 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29470 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29471 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29475 if test "$wxUSE_MGL" != 1 ; then
29476 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29477 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29478 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29479 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29480 echo $ECHO_N "(cached) $ECHO_C" >&6
29482 cat >conftest.
$ac_ext <<_ACEOF
29485 cat confdefs.h
>>conftest.
$ac_ext
29486 cat >>conftest.
$ac_ext <<_ACEOF
29487 /* end confdefs.h. */
29489 #undef HAVE_STDLIB_H
29491 #include <jpeglib.h>
29502 rm -f conftest.
$ac_objext
29503 if { (ac_try
="$ac_compile"
29504 case "(($ac_try" in
29505 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29506 *) ac_try_echo=$ac_try;;
29508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29509 (eval "$ac_compile") 2>conftest.er1
29511 grep -v '^ *+' conftest.er1 >conftest.err
29513 cat conftest.err >&5
29514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29515 (exit $ac_status); } &&
29516 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29517 { (case "(($ac_try" in
29518 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29519 *) ac_try_echo
=$ac_try;;
29521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29522 (eval "$ac_try") 2>&5
29524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29525 (exit $ac_status); }; } &&
29526 { ac_try
='test -s conftest.$ac_objext'
29527 { (case "(($ac_try" in
29528 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29529 *) ac_try_echo=$ac_try;;
29531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29532 (eval "$ac_try") 2>&5
29534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29535 (exit $ac_status); }; }; then
29536 ac_cv_header_jpeglib_h=yes
29538 echo "$as_me: failed program was:" >&5
29539 sed 's/^/| /' conftest.$ac_ext >&5
29541 ac_cv_header_jpeglib_h=no
29545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29549 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29550 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29552 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29553 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29554 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29555 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29556 echo $ECHO_N "(cached) $ECHO_C" >&6
29558 ac_check_lib_save_LIBS=$LIBS
29559 LIBS="-ljpeg $LIBS"
29560 cat >conftest.$ac_ext <<_ACEOF
29563 cat confdefs.h >>conftest.$ac_ext
29564 cat >>conftest.$ac_ext <<_ACEOF
29565 /* end confdefs.h. */
29567 /* Override any GCC internal prototype to avoid an error.
29568 Use char because int might match the return type of a GCC
29569 builtin and then its argument prototype would still apply. */
29573 char jpeg_read_header ();
29577 return jpeg_read_header ();
29582 rm -f conftest.$ac_objext conftest$ac_exeext
29583 if { (ac_try="$ac_link"
29584 case "(($ac_try" in
29585 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29586 *) ac_try_echo
=$ac_try;;
29588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29589 (eval "$ac_link") 2>conftest.er1
29591 grep -v '^ *+' conftest.er1
>conftest.err
29593 cat conftest.err
>&5
29594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29595 (exit $ac_status); } &&
29596 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29597 { (case "(($ac_try" in
29598 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29599 *) ac_try_echo=$ac_try;;
29601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29602 (eval "$ac_try") 2>&5
29604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29605 (exit $ac_status); }; } &&
29606 { ac_try='test -s conftest$ac_exeext'
29607 { (case "(($ac_try" in
29608 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29609 *) ac_try_echo
=$ac_try;;
29611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29612 (eval "$ac_try") 2>&5
29614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29615 (exit $ac_status); }; }; then
29616 ac_cv_lib_jpeg_jpeg_read_header
=yes
29618 echo "$as_me: failed program was:" >&5
29619 sed 's/^/| /' conftest.
$ac_ext >&5
29621 ac_cv_lib_jpeg_jpeg_read_header
=no
29624 rm -f core conftest.err conftest.
$ac_objext \
29625 conftest
$ac_exeext conftest.
$ac_ext
29626 LIBS
=$ac_check_lib_save_LIBS
29628 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29629 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29630 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29631 JPEG_LINK
=" -ljpeg"
29636 if test "x$JPEG_LINK" = "x" ; then
29637 if test "$wxUSE_LIBJPEG" = "sys" ; then
29638 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29639 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29640 { (exit 1); exit 1; }; }
29642 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29643 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29644 wxUSE_LIBJPEG
=builtin
29649 if test "$wxUSE_MSW" = 1; then
29650 { echo "$as_me:$LINENO: checking for boolean" >&5
29651 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29652 if test "${ac_cv_type_boolean+set}" = set; then
29653 echo $ECHO_N "(cached) $ECHO_C" >&6
29655 cat >conftest.
$ac_ext <<_ACEOF
29658 cat confdefs.h
>>conftest.
$ac_ext
29659 cat >>conftest.
$ac_ext <<_ACEOF
29660 /* end confdefs.h. */
29661 #include <windows.h>
29663 typedef boolean ac__type_new_;
29667 if ((ac__type_new_ *) 0)
29669 if (sizeof (ac__type_new_))
29675 rm -f conftest.
$ac_objext
29676 if { (ac_try
="$ac_compile"
29677 case "(($ac_try" in
29678 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29679 *) ac_try_echo=$ac_try;;
29681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29682 (eval "$ac_compile") 2>conftest.er1
29684 grep -v '^ *+' conftest.er1 >conftest.err
29686 cat conftest.err >&5
29687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29688 (exit $ac_status); } &&
29689 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29690 { (case "(($ac_try" in
29691 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29692 *) ac_try_echo
=$ac_try;;
29694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29695 (eval "$ac_try") 2>&5
29697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29698 (exit $ac_status); }; } &&
29699 { ac_try
='test -s conftest.$ac_objext'
29700 { (case "(($ac_try" in
29701 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29702 *) ac_try_echo=$ac_try;;
29704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29705 (eval "$ac_try") 2>&5
29707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29708 (exit $ac_status); }; }; then
29709 ac_cv_type_boolean=yes
29711 echo "$as_me: failed program was:" >&5
29712 sed 's/^/| /' conftest.$ac_ext >&5
29714 ac_cv_type_boolean=no
29717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29719 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29720 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29721 if test $ac_cv_type_boolean = yes; then
29723 cat >>confdefs.h <<_ACEOF
29724 #define HAVE_BOOLEAN 1
29728 { echo "$as_me:$LINENO: checking for boolean" >&5
29729 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29730 if test "${ac_cv_type_boolean+set}" = set; then
29731 echo $ECHO_N "(cached) $ECHO_C" >&6
29733 cat >conftest.$ac_ext <<_ACEOF
29736 cat confdefs.h >>conftest.$ac_ext
29737 cat >>conftest.$ac_ext <<_ACEOF
29738 /* end confdefs.h. */
29740 #undef HAVE_BOOLEAN
29742 #include <jpeglib.h>
29745 typedef boolean ac__type_new_;
29749 if ((ac__type_new_ *) 0)
29751 if (sizeof (ac__type_new_))
29757 rm -f conftest.$ac_objext
29758 if { (ac_try="$ac_compile"
29759 case "(($ac_try" in
29760 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29761 *) ac_try_echo
=$ac_try;;
29763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29764 (eval "$ac_compile") 2>conftest.er1
29766 grep -v '^ *+' conftest.er1
>conftest.err
29768 cat conftest.err
>&5
29769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29770 (exit $ac_status); } &&
29771 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29772 { (case "(($ac_try" in
29773 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29774 *) ac_try_echo=$ac_try;;
29776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29777 (eval "$ac_try") 2>&5
29779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29780 (exit $ac_status); }; } &&
29781 { ac_try='test -s conftest.$ac_objext'
29782 { (case "(($ac_try" in
29783 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29784 *) ac_try_echo
=$ac_try;;
29786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29787 (eval "$ac_try") 2>&5
29789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29790 (exit $ac_status); }; }; then
29791 ac_cv_type_boolean
=yes
29793 echo "$as_me: failed program was:" >&5
29794 sed 's/^/| /' conftest.
$ac_ext >&5
29796 ac_cv_type_boolean
=no
29799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29801 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29802 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29804 { echo "$as_me:$LINENO: checking size of boolean" >&5
29805 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29806 if test "${ac_cv_sizeof_boolean+set}" = set; then
29807 echo $ECHO_N "(cached) $ECHO_C" >&6
29809 if test "$ac_cv_type_boolean" = yes; then
29810 # The cast to long int works around a bug in the HP C Compiler
29811 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29812 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29813 # This bug is HP SR number 8606223364.
29814 if test "$cross_compiling" = yes; then
29815 # Depending upon the size, compute the lo and hi bounds.
29816 cat >conftest.
$ac_ext <<_ACEOF
29819 cat confdefs.h
>>conftest.
$ac_ext
29820 cat >>conftest.
$ac_ext <<_ACEOF
29821 /* end confdefs.h. */
29823 #undef HAVE_BOOLEAN
29825 #include <jpeglib.h>
29828 typedef boolean ac__type_sizeof_;
29832 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29839 rm -f conftest.
$ac_objext
29840 if { (ac_try
="$ac_compile"
29841 case "(($ac_try" in
29842 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29843 *) ac_try_echo=$ac_try;;
29845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29846 (eval "$ac_compile") 2>conftest.er1
29848 grep -v '^ *+' conftest.er1 >conftest.err
29850 cat conftest.err >&5
29851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29852 (exit $ac_status); } &&
29853 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29854 { (case "(($ac_try" in
29855 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29856 *) ac_try_echo
=$ac_try;;
29858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29859 (eval "$ac_try") 2>&5
29861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29862 (exit $ac_status); }; } &&
29863 { ac_try
='test -s conftest.$ac_objext'
29864 { (case "(($ac_try" in
29865 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29866 *) ac_try_echo=$ac_try;;
29868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29869 (eval "$ac_try") 2>&5
29871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29872 (exit $ac_status); }; }; then
29875 cat >conftest.$ac_ext <<_ACEOF
29878 cat confdefs.h >>conftest.$ac_ext
29879 cat >>conftest.$ac_ext <<_ACEOF
29880 /* end confdefs.h. */
29882 #undef HAVE_BOOLEAN
29884 #include <jpeglib.h>
29887 typedef boolean ac__type_sizeof_;
29891 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29898 rm -f conftest.$ac_objext
29899 if { (ac_try="$ac_compile"
29900 case "(($ac_try" in
29901 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29902 *) ac_try_echo
=$ac_try;;
29904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29905 (eval "$ac_compile") 2>conftest.er1
29907 grep -v '^ *+' conftest.er1
>conftest.err
29909 cat conftest.err
>&5
29910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29911 (exit $ac_status); } &&
29912 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29913 { (case "(($ac_try" in
29914 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29915 *) ac_try_echo=$ac_try;;
29917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29918 (eval "$ac_try") 2>&5
29920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29921 (exit $ac_status); }; } &&
29922 { ac_try='test -s conftest.$ac_objext'
29923 { (case "(($ac_try" in
29924 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29925 *) ac_try_echo
=$ac_try;;
29927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29928 (eval "$ac_try") 2>&5
29930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29931 (exit $ac_status); }; }; then
29932 ac_hi
=$ac_mid; break
29934 echo "$as_me: failed program was:" >&5
29935 sed 's/^/| /' conftest.
$ac_ext >&5
29937 ac_lo
=`expr $ac_mid + 1`
29938 if test $ac_lo -le $ac_mid; then
29942 ac_mid
=`expr 2 '*' $ac_mid + 1`
29945 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29948 echo "$as_me: failed program was:" >&5
29949 sed 's/^/| /' conftest.
$ac_ext >&5
29951 cat >conftest.
$ac_ext <<_ACEOF
29954 cat confdefs.h
>>conftest.
$ac_ext
29955 cat >>conftest.
$ac_ext <<_ACEOF
29956 /* end confdefs.h. */
29958 #undef HAVE_BOOLEAN
29960 #include <jpeglib.h>
29963 typedef boolean ac__type_sizeof_;
29967 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29974 rm -f conftest.
$ac_objext
29975 if { (ac_try
="$ac_compile"
29976 case "(($ac_try" in
29977 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29978 *) ac_try_echo=$ac_try;;
29980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29981 (eval "$ac_compile") 2>conftest.er1
29983 grep -v '^ *+' conftest.er1 >conftest.err
29985 cat conftest.err >&5
29986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29987 (exit $ac_status); } &&
29988 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29989 { (case "(($ac_try" in
29990 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29991 *) ac_try_echo
=$ac_try;;
29993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29994 (eval "$ac_try") 2>&5
29996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29997 (exit $ac_status); }; } &&
29998 { ac_try
='test -s conftest.$ac_objext'
29999 { (case "(($ac_try" in
30000 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30001 *) ac_try_echo=$ac_try;;
30003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30004 (eval "$ac_try") 2>&5
30006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30007 (exit $ac_status); }; }; then
30010 cat >conftest.$ac_ext <<_ACEOF
30013 cat confdefs.h >>conftest.$ac_ext
30014 cat >>conftest.$ac_ext <<_ACEOF
30015 /* end confdefs.h. */
30017 #undef HAVE_BOOLEAN
30019 #include <jpeglib.h>
30022 typedef boolean ac__type_sizeof_;
30026 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
30033 rm -f conftest.$ac_objext
30034 if { (ac_try="$ac_compile"
30035 case "(($ac_try" in
30036 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30037 *) ac_try_echo
=$ac_try;;
30039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30040 (eval "$ac_compile") 2>conftest.er1
30042 grep -v '^ *+' conftest.er1
>conftest.err
30044 cat conftest.err
>&5
30045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30046 (exit $ac_status); } &&
30047 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30048 { (case "(($ac_try" in
30049 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30050 *) ac_try_echo=$ac_try;;
30052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30053 (eval "$ac_try") 2>&5
30055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30056 (exit $ac_status); }; } &&
30057 { ac_try='test -s conftest.$ac_objext'
30058 { (case "(($ac_try" in
30059 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30060 *) ac_try_echo
=$ac_try;;
30062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30063 (eval "$ac_try") 2>&5
30065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30066 (exit $ac_status); }; }; then
30067 ac_lo
=$ac_mid; break
30069 echo "$as_me: failed program was:" >&5
30070 sed 's/^/| /' conftest.
$ac_ext >&5
30072 ac_hi
=`expr '(' $ac_mid ')' - 1`
30073 if test $ac_mid -le $ac_hi; then
30077 ac_mid
=`expr 2 '*' $ac_mid`
30080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30083 echo "$as_me: failed program was:" >&5
30084 sed 's/^/| /' conftest.
$ac_ext >&5
30089 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30093 # Binary search between lo and hi bounds.
30094 while test "x$ac_lo" != "x$ac_hi"; do
30095 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
30096 cat >conftest.
$ac_ext <<_ACEOF
30099 cat confdefs.h
>>conftest.
$ac_ext
30100 cat >>conftest.
$ac_ext <<_ACEOF
30101 /* end confdefs.h. */
30103 #undef HAVE_BOOLEAN
30105 #include <jpeglib.h>
30108 typedef boolean ac__type_sizeof_;
30112 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
30119 rm -f conftest.
$ac_objext
30120 if { (ac_try
="$ac_compile"
30121 case "(($ac_try" in
30122 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30123 *) ac_try_echo=$ac_try;;
30125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30126 (eval "$ac_compile") 2>conftest.er1
30128 grep -v '^ *+' conftest.er1 >conftest.err
30130 cat conftest.err >&5
30131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30132 (exit $ac_status); } &&
30133 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30134 { (case "(($ac_try" in
30135 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30136 *) ac_try_echo
=$ac_try;;
30138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30139 (eval "$ac_try") 2>&5
30141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30142 (exit $ac_status); }; } &&
30143 { ac_try
='test -s conftest.$ac_objext'
30144 { (case "(($ac_try" in
30145 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30146 *) ac_try_echo=$ac_try;;
30148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30149 (eval "$ac_try") 2>&5
30151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30152 (exit $ac_status); }; }; then
30155 echo "$as_me: failed program was:" >&5
30156 sed 's/^/| /' conftest.$ac_ext >&5
30158 ac_lo=`expr '(' $ac_mid ')' + 1`
30161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30164 ?*) ac_cv_sizeof_boolean=$ac_lo;;
30165 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
30166 See \`config.log
' for more details." >&5
30167 echo "$as_me: error: cannot compute sizeof (boolean)
30168 See \`config.log' for more details.
" >&2;}
30169 { (exit 77); exit 77; }; } ;;
30172 cat >conftest.$ac_ext <<_ACEOF
30175 cat confdefs.h >>conftest.$ac_ext
30176 cat >>conftest.$ac_ext <<_ACEOF
30177 /* end confdefs.h. */
30179 #undef HAVE_BOOLEAN
30181 #include <jpeglib.h>
30184 typedef boolean ac__type_sizeof_;
30185 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
30186 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
30188 #include <stdlib.h>
30193 FILE *f = fopen ("conftest.val
", "w
");
30196 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
30198 long int i = longval ();
30199 if (i != ((long int) (sizeof (ac__type_sizeof_))))
30201 fprintf (f, "%ld
\n", i);
30205 unsigned long int i = ulongval ();
30206 if (i != ((long int) (sizeof (ac__type_sizeof_))))
30208 fprintf (f, "%lu
\n", i);
30210 return ferror (f) || fclose (f) != 0;
30216 rm -f conftest$ac_exeext
30217 if { (ac_try="$ac_link"
30218 case "(($ac_try" in
30219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30220 *) ac_try_echo=$ac_try;;
30222 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30223 (eval "$ac_link") 2>&5
30225 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30226 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30227 { (case "(($ac_try" in
30228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30229 *) ac_try_echo=$ac_try;;
30231 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30232 (eval "$ac_try") 2>&5
30234 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30235 (exit $ac_status); }; }; then
30236 ac_cv_sizeof_boolean=`cat conftest.val`
30238 echo "$as_me: program exited with status
$ac_status" >&5
30239 echo "$as_me: failed program was
:" >&5
30240 sed 's/^/| /' conftest.$ac_ext >&5
30242 ( exit $ac_status )
30243 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(boolean
)
30244 See \
`config.log' for more details." >&5
30245 echo "$as_me: error: cannot compute sizeof (boolean)
30246 See \`config.log
' for more details." >&2;}
30247 { (exit 77); exit 77; }; }
30249 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30253 ac_cv_sizeof_boolean=0
30256 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
30257 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
30258 cat >>confdefs.h <<_ACEOF
30259 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
30263 cat >>confdefs.h <<_ACEOF
30264 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
30278 TIFF_PREREQ_LINKS=-lm
30279 if test "$wxUSE_LIBTIFF" != "no" ; then
30280 cat >>confdefs.h <<\_ACEOF
30281 #define wxUSE_LIBTIFF 1
30285 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
30286 if test "$wxUSE_LIBJPEG" = "sys"; then
30287 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
30289 if test "$wxUSE_ZLIB" = "sys"; then
30290 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
30292 if test "${ac_cv_header_tiffio_h+set}" = set; then
30293 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
30294 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
30295 if test "${ac_cv_header_tiffio_h+set}" = set; then
30296 echo $ECHO_N "(cached) $ECHO_C" >&6
30298 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
30299 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
30301 # Is the header compilable?
30302 { echo "$as_me:$LINENO: checking tiffio.h usability" >&5
30303 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6; }
30304 cat >conftest.$ac_ext <<_ACEOF
30307 cat confdefs.h >>conftest.$ac_ext
30308 cat >>conftest.$ac_ext <<_ACEOF
30309 /* end confdefs.h. */
30310 $ac_includes_default
30311 #include <tiffio.h>
30313 rm -f conftest.$ac_objext
30314 if { (ac_try="$ac_compile"
30315 case "(($ac_try" in
30316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30317 *) ac_try_echo=$ac_try;;
30319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30320 (eval "$ac_compile") 2>conftest.er1
30322 grep -v '^
*+' conftest.er1 >conftest.err
30324 cat conftest.err >&5
30325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30326 (exit $ac_status); } &&
30327 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
30328 { (case "(($ac_try" in
30329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30330 *) ac_try_echo=$ac_try;;
30332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30333 (eval "$ac_try") 2>&5
30335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30336 (exit $ac_status); }; } &&
30337 { ac_try='test -s conftest.
$ac_objext'
30338 { (case "(($ac_try" in
30339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30340 *) ac_try_echo=$ac_try;;
30342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30343 (eval "$ac_try") 2>&5
30345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30346 (exit $ac_status); }; }; then
30347 ac_header_compiler=yes
30349 echo "$as_me: failed program was:" >&5
30350 sed 's
/^
/| /' conftest.$ac_ext >&5
30352 ac_header_compiler=no
30355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30356 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30357 echo "${ECHO_T}$ac_header_compiler" >&6; }
30359 # Is the header present?
30360 { echo "$as_me:$LINENO: checking tiffio.h presence" >&5
30361 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6; }
30362 cat >conftest.$ac_ext <<_ACEOF
30365 cat confdefs.h >>conftest.$ac_ext
30366 cat >>conftest.$ac_ext <<_ACEOF
30367 /* end confdefs.h. */
30368 #include <tiffio.h>
30370 if { (ac_try="$ac_cpp conftest.$ac_ext"
30371 case "(($ac_try" in
30372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30373 *) ac_try_echo=$ac_try;;
30375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30376 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30378 grep -v '^
*+' conftest.er1 >conftest.err
30380 cat conftest.err >&5
30381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30382 (exit $ac_status); } >/dev/null; then
30383 if test -s conftest.err; then
30384 ac_cpp_err=$ac_c_preproc_warn_flag
30385 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30392 if test -z "$ac_cpp_err"; then
30393 ac_header_preproc=yes
30395 echo "$as_me: failed program was:" >&5
30396 sed 's
/^
/| /' conftest.$ac_ext >&5
30398 ac_header_preproc=no
30401 rm -f conftest.err conftest.$ac_ext
30402 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30403 echo "${ECHO_T}$ac_header_preproc" >&6; }
30405 # So? What about this header?
30406 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30408 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
30409 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30410 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result
" >&5
30411 echo "$as_me: WARNING
: tiffio.h
: proceeding with the compiler
's result" >&2;}
30412 ac_header_preproc=yes
30415 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
30416 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
30417 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
30418 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
30419 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
30420 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
30421 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
30422 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
30423 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result
" >&5
30424 echo "$as_me: WARNING
: tiffio.h
: proceeding with the preprocessor
's result" >&2;}
30425 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
30426 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
30428 ## ----------------------------------------- ##
30429 ## Report this to wx-dev@lists.wxwidgets.org ##
30430 ## ----------------------------------------- ##
30432 ) | sed "s/^/$as_me: WARNING: /" >&2
30435 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
30436 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
30437 if test "${ac_cv_header_tiffio_h+set}" = set; then
30438 echo $ECHO_N "(cached) $ECHO_C" >&6
30440 ac_cv_header_tiffio_h=$ac_header_preproc
30442 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
30443 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
30446 if test $ac_cv_header_tiffio_h = yes; then
30448 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
30449 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
30450 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
30451 echo $ECHO_N "(cached) $ECHO_C" >&6
30453 ac_check_lib_save_LIBS=$LIBS
30454 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
30455 cat >conftest.$ac_ext <<_ACEOF
30458 cat confdefs.h >>conftest.$ac_ext
30459 cat >>conftest.$ac_ext <<_ACEOF
30460 /* end confdefs.h. */
30462 /* Override any GCC internal prototype to avoid an error.
30463 Use char because int might match the return type of a GCC
30464 builtin and then its argument prototype would still apply. */
30472 return TIFFError ();
30477 rm -f conftest.$ac_objext conftest$ac_exeext
30478 if { (ac_try="$ac_link"
30479 case "(($ac_try" in
30480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30481 *) ac_try_echo=$ac_try;;
30483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30484 (eval "$ac_link") 2>conftest.er1
30486 grep -v '^
*+' conftest.er1 >conftest.err
30488 cat conftest.err >&5
30489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30490 (exit $ac_status); } &&
30491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
30492 { (case "(($ac_try" in
30493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30494 *) ac_try_echo=$ac_try;;
30496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30497 (eval "$ac_try") 2>&5
30499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30500 (exit $ac_status); }; } &&
30501 { ac_try='test -s conftest
$ac_exeext'
30502 { (case "(($ac_try" in
30503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30504 *) ac_try_echo=$ac_try;;
30506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30507 (eval "$ac_try") 2>&5
30509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30510 (exit $ac_status); }; }; then
30511 ac_cv_lib_tiff_TIFFError=yes
30513 echo "$as_me: failed program was:" >&5
30514 sed 's
/^
/| /' conftest.$ac_ext >&5
30516 ac_cv_lib_tiff_TIFFError=no
30519 rm -f core conftest.err conftest.$ac_objext \
30520 conftest$ac_exeext conftest.$ac_ext
30521 LIBS=$ac_check_lib_save_LIBS
30523 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
30524 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
30525 if test $ac_cv_lib_tiff_TIFFError = yes; then
30526 TIFF_LINK=" -ltiff"
30535 if test "x$TIFF_LINK" = "x" ; then
30536 if test "$wxUSE_LIBTIFF" = "sys" ; then
30537 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
30538 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
30539 { (exit 1); exit 1; }; }
30541 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
30542 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
30543 wxUSE_LIBTIFF=builtin
30552 if test "$wxUSE_WCHAR_T" != "yes"; then
30553 if test "$wxUSE_EXPAT" != "no"; then
30554 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
30555 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
30558 if test "$wxUSE_XML" != "no"; then
30559 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
30560 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
30565 if test "$wxUSE_EXPAT" != "no"; then
30567 cat >>confdefs.h <<\_ACEOF
30568 #define wxUSE_EXPAT 1
30571 cat >>confdefs.h <<\_ACEOF
30572 #define wxUSE_XML 1
30576 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
30577 if test "${ac_cv_header_expat_h+set}" = set; then
30578 { echo "$as_me:$LINENO: checking for expat.h" >&5
30579 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
30580 if test "${ac_cv_header_expat_h+set}" = set; then
30581 echo $ECHO_N "(cached) $ECHO_C" >&6
30583 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
30584 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30586 # Is the header compilable?
30587 { echo "$as_me:$LINENO: checking expat.h usability" >&5
30588 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6; }
30589 cat >conftest.$ac_ext <<_ACEOF
30592 cat confdefs.h >>conftest.$ac_ext
30593 cat >>conftest.$ac_ext <<_ACEOF
30594 /* end confdefs.h. */
30595 $ac_includes_default
30598 rm -f conftest.$ac_objext
30599 if { (ac_try="$ac_compile"
30600 case "(($ac_try" in
30601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30602 *) ac_try_echo=$ac_try;;
30604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30605 (eval "$ac_compile") 2>conftest.er1
30607 grep -v '^
*+' conftest.er1 >conftest.err
30609 cat conftest.err >&5
30610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30611 (exit $ac_status); } &&
30612 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
30613 { (case "(($ac_try" in
30614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30615 *) ac_try_echo=$ac_try;;
30617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30618 (eval "$ac_try") 2>&5
30620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30621 (exit $ac_status); }; } &&
30622 { ac_try='test -s conftest.
$ac_objext'
30623 { (case "(($ac_try" in
30624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30625 *) ac_try_echo=$ac_try;;
30627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30628 (eval "$ac_try") 2>&5
30630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30631 (exit $ac_status); }; }; then
30632 ac_header_compiler=yes
30634 echo "$as_me: failed program was:" >&5
30635 sed 's
/^
/| /' conftest.$ac_ext >&5
30637 ac_header_compiler=no
30640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30641 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30642 echo "${ECHO_T}$ac_header_compiler" >&6; }
30644 # Is the header present?
30645 { echo "$as_me:$LINENO: checking expat.h presence" >&5
30646 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6; }
30647 cat >conftest.$ac_ext <<_ACEOF
30650 cat confdefs.h >>conftest.$ac_ext
30651 cat >>conftest.$ac_ext <<_ACEOF
30652 /* end confdefs.h. */
30655 if { (ac_try="$ac_cpp conftest.$ac_ext"
30656 case "(($ac_try" in
30657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30658 *) ac_try_echo=$ac_try;;
30660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30661 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30663 grep -v '^
*+' conftest.er1 >conftest.err
30665 cat conftest.err >&5
30666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30667 (exit $ac_status); } >/dev/null; then
30668 if test -s conftest.err; then
30669 ac_cpp_err=$ac_c_preproc_warn_flag
30670 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30677 if test -z "$ac_cpp_err"; then
30678 ac_header_preproc=yes
30680 echo "$as_me: failed program was:" >&5
30681 sed 's
/^
/| /' conftest.$ac_ext >&5
30683 ac_header_preproc=no
30686 rm -f conftest.err conftest.$ac_ext
30687 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30688 echo "${ECHO_T}$ac_header_preproc" >&6; }
30690 # So? What about this header?
30691 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30693 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
30694 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30695 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result
" >&5
30696 echo "$as_me: WARNING
: expat.h
: proceeding with the compiler
's result" >&2;}
30697 ac_header_preproc=yes
30700 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
30701 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
30702 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
30703 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
30704 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
30705 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
30706 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
30707 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
30708 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result
" >&5
30709 echo "$as_me: WARNING
: expat.h
: proceeding with the preprocessor
's result" >&2;}
30710 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
30711 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
30713 ## ----------------------------------------- ##
30714 ## Report this to wx-dev@lists.wxwidgets.org ##
30715 ## ----------------------------------------- ##
30717 ) | sed "s/^/$as_me: WARNING: /" >&2
30720 { echo "$as_me:$LINENO: checking for expat.h" >&5
30721 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
30722 if test "${ac_cv_header_expat_h+set}" = set; then
30723 echo $ECHO_N "(cached) $ECHO_C" >&6
30725 ac_cv_header_expat_h=$ac_header_preproc
30727 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
30728 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30731 if test $ac_cv_header_expat_h = yes; then
30736 if test "x$found_expat_h" = "x1"; then
30737 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
30738 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
30739 if test "${wx_cv_expat_is_not_broken+set}" = set; then
30740 echo $ECHO_N "(cached) $ECHO_C" >&6
30744 ac_cpp='$CXXCPP $CPPFLAGS'
30745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
30746 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
30747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30749 cat >conftest.$ac_ext <<_ACEOF
30752 cat confdefs.h >>conftest.$ac_ext
30753 cat >>conftest.$ac_ext <<_ACEOF
30754 /* end confdefs.h. */
30764 rm -f conftest.$ac_objext
30765 if { (ac_try="$ac_compile"
30766 case "(($ac_try" in
30767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30768 *) ac_try_echo=$ac_try;;
30770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30771 (eval "$ac_compile") 2>conftest.er1
30773 grep -v '^
*+' conftest.er1 >conftest.err
30775 cat conftest.err >&5
30776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30777 (exit $ac_status); } &&
30778 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
'
30779 { (case "(($ac_try" in
30780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30781 *) ac_try_echo=$ac_try;;
30783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30784 (eval "$ac_try") 2>&5
30786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30787 (exit $ac_status); }; } &&
30788 { ac_try='test -s conftest.
$ac_objext'
30789 { (case "(($ac_try" in
30790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30791 *) ac_try_echo=$ac_try;;
30793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30794 (eval "$ac_try") 2>&5
30796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30797 (exit $ac_status); }; }; then
30798 wx_cv_expat_is_not_broken=yes
30800 echo "$as_me: failed program was:" >&5
30801 sed 's
/^
/| /' conftest.$ac_ext >&5
30803 wx_cv_expat_is_not_broken=no
30807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30809 ac_cpp='$CPP $CPPFLAGS'
30810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
30811 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
30812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30817 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
30818 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30819 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30820 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
30821 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
30822 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30823 echo $ECHO_N "(cached) $ECHO_C" >&6
30825 ac_check_lib_save_LIBS=$LIBS
30826 LIBS="-lexpat $LIBS"
30827 cat >conftest.$ac_ext <<_ACEOF
30830 cat confdefs.h >>conftest.$ac_ext
30831 cat >>conftest.$ac_ext <<_ACEOF
30832 /* end confdefs.h. */
30834 /* Override any GCC internal prototype to avoid an error.
30835 Use char because int might match the return type of a GCC
30836 builtin and then its argument prototype would still apply. */
30840 char XML_ParserCreate ();
30844 return XML_ParserCreate ();
30849 rm -f conftest.$ac_objext conftest$ac_exeext
30850 if { (ac_try="$ac_link"
30851 case "(($ac_try" in
30852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30853 *) ac_try_echo=$ac_try;;
30855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30856 (eval "$ac_link") 2>conftest.er1
30858 grep -v '^
*+' conftest.er1 >conftest.err
30860 cat conftest.err >&5
30861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30862 (exit $ac_status); } &&
30863 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
30864 { (case "(($ac_try" in
30865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30866 *) ac_try_echo=$ac_try;;
30868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30869 (eval "$ac_try") 2>&5
30871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30872 (exit $ac_status); }; } &&
30873 { ac_try='test -s conftest
$ac_exeext'
30874 { (case "(($ac_try" in
30875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30876 *) ac_try_echo=$ac_try;;
30878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30879 (eval "$ac_try") 2>&5
30881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30882 (exit $ac_status); }; }; then
30883 ac_cv_lib_expat_XML_ParserCreate=yes
30885 echo "$as_me: failed program was:" >&5
30886 sed 's
/^
/| /' conftest.$ac_ext >&5
30888 ac_cv_lib_expat_XML_ParserCreate=no
30891 rm -f core conftest.err conftest.$ac_objext \
30892 conftest$ac_exeext conftest.$ac_ext
30893 LIBS=$ac_check_lib_save_LIBS
30895 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
30896 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30897 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30898 EXPAT_LINK=" -lexpat"
30903 if test "x$EXPAT_LINK" = "x" ; then
30904 if test "$wxUSE_EXPAT" = "sys" ; then
30905 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
30906 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
30907 { (exit 1); exit 1; }; }
30909 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
30910 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
30911 wxUSE_EXPAT=builtin
30917 if test "$wxUSE_EXPAT" = "builtin" ; then
30918 subdirs="$subdirs src/expat"
30925 if test "$wxUSE_LIBMSPACK" != "no"; then
30926 if test "${ac_cv_header_mspack_h+set}" = set; then
30927 { echo "$as_me:$LINENO: checking for mspack.h" >&5
30928 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
30929 if test "${ac_cv_header_mspack_h+set}" = set; then
30930 echo $ECHO_N "(cached) $ECHO_C" >&6
30932 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
30933 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30935 # Is the header compilable?
30936 { echo "$as_me:$LINENO: checking mspack.h usability" >&5
30937 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6; }
30938 cat >conftest.$ac_ext <<_ACEOF
30941 cat confdefs.h >>conftest.$ac_ext
30942 cat >>conftest.$ac_ext <<_ACEOF
30943 /* end confdefs.h. */
30944 $ac_includes_default
30945 #include <mspack.h>
30947 rm -f conftest.$ac_objext
30948 if { (ac_try="$ac_compile"
30949 case "(($ac_try" in
30950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30951 *) ac_try_echo=$ac_try;;
30953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30954 (eval "$ac_compile") 2>conftest.er1
30956 grep -v '^
*+' conftest.er1 >conftest.err
30958 cat conftest.err >&5
30959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30960 (exit $ac_status); } &&
30961 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
30962 { (case "(($ac_try" in
30963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30964 *) ac_try_echo=$ac_try;;
30966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30967 (eval "$ac_try") 2>&5
30969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30970 (exit $ac_status); }; } &&
30971 { ac_try='test -s conftest.
$ac_objext'
30972 { (case "(($ac_try" in
30973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30974 *) ac_try_echo=$ac_try;;
30976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30977 (eval "$ac_try") 2>&5
30979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30980 (exit $ac_status); }; }; then
30981 ac_header_compiler=yes
30983 echo "$as_me: failed program was:" >&5
30984 sed 's
/^
/| /' conftest.$ac_ext >&5
30986 ac_header_compiler=no
30989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30990 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30991 echo "${ECHO_T}$ac_header_compiler" >&6; }
30993 # Is the header present?
30994 { echo "$as_me:$LINENO: checking mspack.h presence" >&5
30995 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6; }
30996 cat >conftest.$ac_ext <<_ACEOF
30999 cat confdefs.h >>conftest.$ac_ext
31000 cat >>conftest.$ac_ext <<_ACEOF
31001 /* end confdefs.h. */
31002 #include <mspack.h>
31004 if { (ac_try="$ac_cpp conftest.$ac_ext"
31005 case "(($ac_try" in
31006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31007 *) ac_try_echo=$ac_try;;
31009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31010 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31012 grep -v '^
*+' conftest.er1 >conftest.err
31014 cat conftest.err >&5
31015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31016 (exit $ac_status); } >/dev/null; then
31017 if test -s conftest.err; then
31018 ac_cpp_err=$ac_c_preproc_warn_flag
31019 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31026 if test -z "$ac_cpp_err"; then
31027 ac_header_preproc=yes
31029 echo "$as_me: failed program was:" >&5
31030 sed 's
/^
/| /' conftest.$ac_ext >&5
31032 ac_header_preproc=no
31035 rm -f conftest.err conftest.$ac_ext
31036 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31037 echo "${ECHO_T}$ac_header_preproc" >&6; }
31039 # So? What about this header?
31040 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31042 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
31043 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31044 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result
" >&5
31045 echo "$as_me: WARNING
: mspack.h
: proceeding with the compiler
's result" >&2;}
31046 ac_header_preproc=yes
31049 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
31050 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
31051 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
31052 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
31053 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
31054 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
31055 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
31056 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
31057 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result
" >&5
31058 echo "$as_me: WARNING
: mspack.h
: proceeding with the preprocessor
's result" >&2;}
31059 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
31060 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
31062 ## ----------------------------------------- ##
31063 ## Report this to wx-dev@lists.wxwidgets.org ##
31064 ## ----------------------------------------- ##
31066 ) | sed "s/^/$as_me: WARNING: /" >&2
31069 { echo "$as_me:$LINENO: checking for mspack.h" >&5
31070 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
31071 if test "${ac_cv_header_mspack_h+set}" = set; then
31072 echo $ECHO_N "(cached) $ECHO_C" >&6
31074 ac_cv_header_mspack_h=$ac_header_preproc
31076 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
31077 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
31080 if test $ac_cv_header_mspack_h = yes; then
31085 if test "x$found_mspack_h" = "x1"; then
31086 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
31087 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
31088 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
31089 echo $ECHO_N "(cached) $ECHO_C" >&6
31091 ac_check_lib_save_LIBS=$LIBS
31092 LIBS="-lmspack $LIBS"
31093 cat >conftest.$ac_ext <<_ACEOF
31096 cat confdefs.h >>conftest.$ac_ext
31097 cat >>conftest.$ac_ext <<_ACEOF
31098 /* end confdefs.h. */
31100 /* Override any GCC internal prototype to avoid an error.
31101 Use char because int might match the return type of a GCC
31102 builtin and then its argument prototype would still apply. */
31106 char mspack_create_chm_decompressor ();
31110 return mspack_create_chm_decompressor ();
31115 rm -f conftest.$ac_objext conftest$ac_exeext
31116 if { (ac_try="$ac_link"
31117 case "(($ac_try" in
31118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31119 *) ac_try_echo=$ac_try;;
31121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31122 (eval "$ac_link") 2>conftest.er1
31124 grep -v '^
*+' conftest.er1 >conftest.err
31126 cat conftest.err >&5
31127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31128 (exit $ac_status); } &&
31129 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
31130 { (case "(($ac_try" in
31131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31132 *) ac_try_echo=$ac_try;;
31134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31135 (eval "$ac_try") 2>&5
31137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31138 (exit $ac_status); }; } &&
31139 { ac_try='test -s conftest
$ac_exeext'
31140 { (case "(($ac_try" in
31141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31142 *) ac_try_echo=$ac_try;;
31144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31145 (eval "$ac_try") 2>&5
31147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31148 (exit $ac_status); }; }; then
31149 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
31151 echo "$as_me: failed program was:" >&5
31152 sed 's
/^
/| /' conftest.$ac_ext >&5
31154 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
31157 rm -f core conftest.err conftest.$ac_objext \
31158 conftest$ac_exeext conftest.$ac_ext
31159 LIBS=$ac_check_lib_save_LIBS
31161 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
31162 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
31163 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
31164 MSPACK_LINK=" -lmspack"
31168 if test "x$MSPACK_LINK" = "x" ; then
31173 if test "$wxUSE_LIBMSPACK" != "no"; then
31174 cat >>confdefs.h <<\_ACEOF
31175 #define wxUSE_LIBMSPACK 1
31189 if test "$USE_WIN32" = 1 ; then
31191 for ac_header in w32api.h
31193 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31194 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31195 { echo "$as_me:$LINENO: checking for $ac_header" >&5
31196 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31197 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31198 echo $ECHO_N "(cached) $ECHO_C" >&6
31200 ac_res=`eval echo '${'$as_ac_Header'}'`
31201 { echo "$as_me:$LINENO: result: $ac_res" >&5
31202 echo "${ECHO_T}$ac_res" >&6; }
31204 # Is the header compilable?
31205 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
31206 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
31207 cat >conftest.$ac_ext <<_ACEOF
31210 cat confdefs.h >>conftest.$ac_ext
31211 cat >>conftest.$ac_ext <<_ACEOF
31212 /* end confdefs.h. */
31213 $ac_includes_default
31214 #include <$ac_header>
31216 rm -f conftest.$ac_objext
31217 if { (ac_try="$ac_compile"
31218 case "(($ac_try" in
31219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31220 *) ac_try_echo=$ac_try;;
31222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31223 (eval "$ac_compile") 2>conftest.er1
31225 grep -v '^
*+' conftest.er1 >conftest.err
31227 cat conftest.err >&5
31228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31229 (exit $ac_status); } &&
31230 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
31231 { (case "(($ac_try" in
31232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31233 *) ac_try_echo=$ac_try;;
31235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31236 (eval "$ac_try") 2>&5
31238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31239 (exit $ac_status); }; } &&
31240 { ac_try='test -s conftest.
$ac_objext'
31241 { (case "(($ac_try" in
31242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31243 *) ac_try_echo=$ac_try;;
31245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31246 (eval "$ac_try") 2>&5
31248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31249 (exit $ac_status); }; }; then
31250 ac_header_compiler=yes
31252 echo "$as_me: failed program was:" >&5
31253 sed 's
/^
/| /' conftest.$ac_ext >&5
31255 ac_header_compiler=no
31258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31259 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31260 echo "${ECHO_T}$ac_header_compiler" >&6; }
31262 # Is the header present?
31263 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
31264 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
31265 cat >conftest.$ac_ext <<_ACEOF
31268 cat confdefs.h >>conftest.$ac_ext
31269 cat >>conftest.$ac_ext <<_ACEOF
31270 /* end confdefs.h. */
31271 #include <$ac_header>
31273 if { (ac_try="$ac_cpp conftest.$ac_ext"
31274 case "(($ac_try" in
31275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31276 *) ac_try_echo=$ac_try;;
31278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31279 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31281 grep -v '^
*+' conftest.er1 >conftest.err
31283 cat conftest.err >&5
31284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31285 (exit $ac_status); } >/dev/null; then
31286 if test -s conftest.err; then
31287 ac_cpp_err=$ac_c_preproc_warn_flag
31288 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31295 if test -z "$ac_cpp_err"; then
31296 ac_header_preproc=yes
31298 echo "$as_me: failed program was:" >&5
31299 sed 's
/^
/| /' conftest.$ac_ext >&5
31301 ac_header_preproc=no
31304 rm -f conftest.err conftest.$ac_ext
31305 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31306 echo "${ECHO_T}$ac_header_preproc" >&6; }
31308 # So? What about this header?
31309 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31311 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31312 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31313 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
31314 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
31315 ac_header_preproc=yes
31318 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31319 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31320 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31321 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31322 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31323 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31324 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31325 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31326 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
31327 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
31328 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31329 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31331 ## ----------------------------------------- ##
31332 ## Report this to wx-dev@lists.wxwidgets.org ##
31333 ## ----------------------------------------- ##
31335 ) | sed "s/^/$as_me: WARNING: /" >&2
31338 { echo "$as_me:$LINENO: checking for $ac_header" >&5
31339 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31340 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31341 echo $ECHO_N "(cached) $ECHO_C" >&6
31343 eval "$as_ac_Header=\$ac_header_preproc"
31345 ac_res=`eval echo '${'$as_ac_Header'}'`
31346 { echo "$as_me:$LINENO: result: $ac_res" >&5
31347 echo "${ECHO_T}$ac_res" >&6; }
31350 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31351 cat >>confdefs.h <<_ACEOF
31352 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31359 if test "${ac_cv_header_windows_h+set}" = set; then
31360 { echo "$as_me:$LINENO: checking for windows.h" >&5
31361 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
31362 if test "${ac_cv_header_windows_h+set}" = set; then
31363 echo $ECHO_N "(cached) $ECHO_C" >&6
31365 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
31366 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
31368 # Is the header compilable?
31369 { echo "$as_me:$LINENO: checking windows.h usability" >&5
31370 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6; }
31371 cat >conftest.$ac_ext <<_ACEOF
31374 cat confdefs.h >>conftest.$ac_ext
31375 cat >>conftest.$ac_ext <<_ACEOF
31376 /* end confdefs.h. */
31377 $ac_includes_default
31378 #include <windows.h>
31380 rm -f conftest.$ac_objext
31381 if { (ac_try="$ac_compile"
31382 case "(($ac_try" in
31383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31384 *) ac_try_echo=$ac_try;;
31386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31387 (eval "$ac_compile") 2>conftest.er1
31389 grep -v '^
*+' conftest.er1 >conftest.err
31391 cat conftest.err >&5
31392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31393 (exit $ac_status); } &&
31394 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
31395 { (case "(($ac_try" in
31396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31397 *) ac_try_echo=$ac_try;;
31399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31400 (eval "$ac_try") 2>&5
31402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31403 (exit $ac_status); }; } &&
31404 { ac_try='test -s conftest.
$ac_objext'
31405 { (case "(($ac_try" in
31406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31407 *) ac_try_echo=$ac_try;;
31409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31410 (eval "$ac_try") 2>&5
31412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31413 (exit $ac_status); }; }; then
31414 ac_header_compiler=yes
31416 echo "$as_me: failed program was:" >&5
31417 sed 's
/^
/| /' conftest.$ac_ext >&5
31419 ac_header_compiler=no
31422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31423 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31424 echo "${ECHO_T}$ac_header_compiler" >&6; }
31426 # Is the header present?
31427 { echo "$as_me:$LINENO: checking windows.h presence" >&5
31428 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6; }
31429 cat >conftest.$ac_ext <<_ACEOF
31432 cat confdefs.h >>conftest.$ac_ext
31433 cat >>conftest.$ac_ext <<_ACEOF
31434 /* end confdefs.h. */
31435 #include <windows.h>
31437 if { (ac_try="$ac_cpp conftest.$ac_ext"
31438 case "(($ac_try" in
31439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31440 *) ac_try_echo=$ac_try;;
31442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31443 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31445 grep -v '^
*+' conftest.er1 >conftest.err
31447 cat conftest.err >&5
31448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31449 (exit $ac_status); } >/dev/null; then
31450 if test -s conftest.err; then
31451 ac_cpp_err=$ac_c_preproc_warn_flag
31452 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31459 if test -z "$ac_cpp_err"; then
31460 ac_header_preproc=yes
31462 echo "$as_me: failed program was:" >&5
31463 sed 's
/^
/| /' conftest.$ac_ext >&5
31465 ac_header_preproc=no
31468 rm -f conftest.err conftest.$ac_ext
31469 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31470 echo "${ECHO_T}$ac_header_preproc" >&6; }
31472 # So? What about this header?
31473 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31475 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
31476 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31477 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result
" >&5
31478 echo "$as_me: WARNING
: windows.h
: proceeding with the compiler
's result" >&2;}
31479 ac_header_preproc=yes
31482 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
31483 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
31484 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
31485 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
31486 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
31487 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
31488 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
31489 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
31490 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result
" >&5
31491 echo "$as_me: WARNING
: windows.h
: proceeding with the preprocessor
's result" >&2;}
31492 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
31493 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
31495 ## ----------------------------------------- ##
31496 ## Report this to wx-dev@lists.wxwidgets.org ##
31497 ## ----------------------------------------- ##
31499 ) | sed "s/^/$as_me: WARNING: /" >&2
31502 { echo "$as_me:$LINENO: checking for windows.h" >&5
31503 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
31504 if test "${ac_cv_header_windows_h+set}" = set; then
31505 echo $ECHO_N "(cached) $ECHO_C" >&6
31507 ac_cv_header_windows_h=$ac_header_preproc
31509 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
31510 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
31513 if test $ac_cv_header_windows_h = yes; then
31517 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
31518 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
31519 { (exit 1); exit 1; }; }
31525 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
31527 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
31528 LIBS="$LIBS -loleacc"
31533 LIBS="$LIBS -lkernel32 -luser32"
31536 if test "$wxUSE_ODBC" = "sys" ; then
31539 if test "$wxUSE_ODBC" = "yes" ; then
31540 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
31541 cat >>confdefs.h <<\_ACEOF
31542 #define wxUSE_ODBC 1
31547 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
31548 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
31550 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
31552 WIN32INSTALL=win32install
31555 for ac_header in pbt.h
31557 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31558 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31559 { echo "$as_me:$LINENO: checking for $ac_header" >&5
31560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31561 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31562 echo $ECHO_N "(cached) $ECHO_C" >&6
31564 ac_res=`eval echo '${'$as_ac_Header'}'`
31565 { echo "$as_me:$LINENO: result: $ac_res" >&5
31566 echo "${ECHO_T}$ac_res" >&6; }
31568 # Is the header compilable?
31569 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
31570 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
31571 cat >conftest.$ac_ext <<_ACEOF
31574 cat confdefs.h >>conftest.$ac_ext
31575 cat >>conftest.$ac_ext <<_ACEOF
31576 /* end confdefs.h. */
31577 $ac_includes_default
31578 #include <$ac_header>
31580 rm -f conftest.$ac_objext
31581 if { (ac_try="$ac_compile"
31582 case "(($ac_try" in
31583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31584 *) ac_try_echo=$ac_try;;
31586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31587 (eval "$ac_compile") 2>conftest.er1
31589 grep -v '^
*+' conftest.er1 >conftest.err
31591 cat conftest.err >&5
31592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31593 (exit $ac_status); } &&
31594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
31595 { (case "(($ac_try" in
31596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31597 *) ac_try_echo=$ac_try;;
31599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31600 (eval "$ac_try") 2>&5
31602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31603 (exit $ac_status); }; } &&
31604 { ac_try='test -s conftest.
$ac_objext'
31605 { (case "(($ac_try" in
31606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31607 *) ac_try_echo=$ac_try;;
31609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31610 (eval "$ac_try") 2>&5
31612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31613 (exit $ac_status); }; }; then
31614 ac_header_compiler=yes
31616 echo "$as_me: failed program was:" >&5
31617 sed 's
/^
/| /' conftest.$ac_ext >&5
31619 ac_header_compiler=no
31622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31623 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31624 echo "${ECHO_T}$ac_header_compiler" >&6; }
31626 # Is the header present?
31627 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
31628 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
31629 cat >conftest.$ac_ext <<_ACEOF
31632 cat confdefs.h >>conftest.$ac_ext
31633 cat >>conftest.$ac_ext <<_ACEOF
31634 /* end confdefs.h. */
31635 #include <$ac_header>
31637 if { (ac_try="$ac_cpp conftest.$ac_ext"
31638 case "(($ac_try" in
31639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31640 *) ac_try_echo=$ac_try;;
31642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31643 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31645 grep -v '^
*+' conftest.er1 >conftest.err
31647 cat conftest.err >&5
31648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31649 (exit $ac_status); } >/dev/null; then
31650 if test -s conftest.err; then
31651 ac_cpp_err=$ac_c_preproc_warn_flag
31652 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31659 if test -z "$ac_cpp_err"; then
31660 ac_header_preproc=yes
31662 echo "$as_me: failed program was:" >&5
31663 sed 's
/^
/| /' conftest.$ac_ext >&5
31665 ac_header_preproc=no
31668 rm -f conftest.err conftest.$ac_ext
31669 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31670 echo "${ECHO_T}$ac_header_preproc" >&6; }
31672 # So? What about this header?
31673 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31675 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31676 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31677 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
31678 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
31679 ac_header_preproc=yes
31682 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31683 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31684 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31685 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31686 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31687 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31688 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31689 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31690 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
31691 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
31692 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31693 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31695 ## ----------------------------------------- ##
31696 ## Report this to wx-dev@lists.wxwidgets.org ##
31697 ## ----------------------------------------- ##
31699 ) | sed "s/^/$as_me: WARNING: /" >&2
31702 { echo "$as_me:$LINENO: checking for $ac_header" >&5
31703 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31704 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31705 echo $ECHO_N "(cached) $ECHO_C" >&6
31707 eval "$as_ac_Header=\$ac_header_preproc"
31709 ac_res=`eval echo '${'$as_ac_Header'}'`
31710 { echo "$as_me:$LINENO: result: $ac_res" >&5
31711 echo "${ECHO_T}$ac_res" >&6; }
31714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31715 cat >>confdefs.h <<_ACEOF
31716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31720 cat >>confdefs.h <<\_ACEOF
31721 #define NEED_PBT_H 1
31730 if test "$wxUSE_GUI" = "yes"; then
31740 if test "$wxUSE_COCOA" = 1 ; then
31741 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
31742 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
31743 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
31744 wxUSE_PRINTING_ARCHITECTURE=no
31746 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
31747 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
31748 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
31749 wxUSE_DRAG_AND_DROP=no
31751 if test "$wxUSE_DRAGIMAGE" = "yes"; then
31752 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
31753 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
31758 if test "$wxUSE_MSW" = 1 ; then
31764 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
31768 if test "$wxUSE_GTK" = 1; then
31769 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
31770 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
31772 gtk_version_cached=1
31773 if test "${wx_cv_lib_gtk+set}" = set; then
31774 echo $ECHO_N "(cached) $ECHO_C" >&6
31777 gtk_version_cached=0
31778 { echo "$as_me:$LINENO: result: " >&5
31779 echo "${ECHO_T}" >&6; }
31782 if test "$wxUSE_THREADS" = "yes"; then
31783 GTK_MODULES=gthread
31787 if test "x$wxGTK_VERSION" != "x1"
31791 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
31796 # Check whether --enable-gtktest was given.
31797 if test "${enable_gtktest+set}" = set; then
31798 enableval=$enable_gtktest;
31804 pkg_config_args=gtk+-2.0
31805 for module in . $GTK_MODULES
31809 pkg_config_args="$pkg_config_args gthread-2.0"
31816 # Extract the first word of "pkg-config", so it can be a program name with args.
31817 set dummy pkg-config; ac_word=$2
31818 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31820 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31821 echo $ECHO_N "(cached) $ECHO_C" >&6
31823 case $PKG_CONFIG in
31825 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31829 for as_dir in $PATH
31832 test -z "$as_dir" && as_dir=.
31833 for ac_exec_ext in '' $ac_executable_extensions; do
31834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
31835 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31843 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
31847 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31848 if test -n "$PKG_CONFIG"; then
31849 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31850 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31852 { echo "$as_me:$LINENO: result: no" >&5
31853 echo "${ECHO_T}no" >&6; }
31858 if test x$PKG_CONFIG != xno ; then
31859 if pkg-config --atleast-pkgconfig-version 0.7 ; then
31862 echo "*** pkg-config too old; version 0.7 or better required."
31870 min_gtk_version=2.0.0
31871 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
31872 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
31874 if test x$PKG_CONFIG != xno ; then
31875 ## don't try to run the
test against uninstalled libtool libs
31876 if $PKG_CONFIG --uninstalled $pkg_config_args; then
31877 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
31881 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
31888 if test x
"$no_gtk" = x
; then
31889 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
31890 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
31891 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
31892 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31893 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
31894 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31895 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
31896 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31897 if test "x$enable_gtktest" = "xyes" ; then
31898 ac_save_CFLAGS
="$CFLAGS"
31899 ac_save_LIBS
="$LIBS"
31900 CFLAGS
="$CFLAGS $GTK_CFLAGS"
31901 LIBS
="$GTK_LIBS $LIBS"
31903 if test "$cross_compiling" = yes; then
31904 echo $ac_n "cross compiling; assumed OK... $ac_c"
31906 cat >conftest.
$ac_ext <<_ACEOF
31909 cat confdefs.h
>>conftest.
$ac_ext
31910 cat >>conftest.
$ac_ext <<_ACEOF
31911 /* end confdefs.h. */
31913 #include <gtk/gtk.h>
31915 #include <stdlib.h>
31920 int major, minor, micro;
31923 system ("touch conf.gtktest");
31925 /* HP/UX 9 (%@#!) writes to sscanf strings */
31926 tmp_version = g_strdup("$min_gtk_version");
31927 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
31928 printf("%s, bad version string\n", "$min_gtk_version");
31932 if ((gtk_major_version != $gtk_config_major_version) ||
31933 (gtk_minor_version != $gtk_config_minor_version) ||
31934 (gtk_micro_version != $gtk_config_micro_version))
31936 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31937 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31938 gtk_major_version, gtk_minor_version, gtk_micro_version);
31939 printf ("*** was found! If pkg-config was correct, then it is best\n");
31940 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31941 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31942 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31943 printf("*** required on your system.\n");
31944 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
31945 printf("*** to point to the correct configuration files\n");
31947 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31948 (gtk_minor_version != GTK_MINOR_VERSION) ||
31949 (gtk_micro_version != GTK_MICRO_VERSION))
31951 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31952 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31953 printf("*** library (version %d.%d.%d)\n",
31954 gtk_major_version, gtk_minor_version, gtk_micro_version);
31958 if ((gtk_major_version > major) ||
31959 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31960 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31966 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31967 gtk_major_version, gtk_minor_version, gtk_micro_version);
31968 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31969 major, minor, micro);
31970 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31972 printf("*** If you have already installed a sufficiently new version, this error\n");
31973 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
31974 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31975 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
31976 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
31977 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31978 printf("*** so that the correct libraries are found at run-time))\n");
31985 rm -f conftest
$ac_exeext
31986 if { (ac_try
="$ac_link"
31987 case "(($ac_try" in
31988 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31989 *) ac_try_echo=$ac_try;;
31991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31992 (eval "$ac_link") 2>&5
31994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31995 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31996 { (case "(($ac_try" in
31997 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31998 *) ac_try_echo
=$ac_try;;
32000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32001 (eval "$ac_try") 2>&5
32003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32004 (exit $ac_status); }; }; then
32007 echo "$as_me: program exited with status $ac_status" >&5
32008 echo "$as_me: failed program was:" >&5
32009 sed 's/^/| /' conftest.
$ac_ext >&5
32011 ( exit $ac_status )
32014 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
32018 CFLAGS
="$ac_save_CFLAGS"
32019 LIBS
="$ac_save_LIBS"
32022 if test "x$no_gtk" = x
; then
32023 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
32024 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
32027 { echo "$as_me:$LINENO: result: no" >&5
32028 echo "${ECHO_T}no" >&6; }
32029 if test "$PKG_CONFIG" = "no" ; then
32030 echo "*** A new enough version of pkg-config was not found."
32031 echo "*** See http://pkgconfig.sourceforge.net"
32033 if test -f conf.gtktest
; then
32036 echo "*** Could not run GTK+ test program, checking why..."
32037 ac_save_CFLAGS
="$CFLAGS"
32038 ac_save_LIBS
="$LIBS"
32039 CFLAGS
="$CFLAGS $GTK_CFLAGS"
32040 LIBS
="$LIBS $GTK_LIBS"
32041 cat >conftest.
$ac_ext <<_ACEOF
32044 cat confdefs.h
>>conftest.
$ac_ext
32045 cat >>conftest.
$ac_ext <<_ACEOF
32046 /* end confdefs.h. */
32048 #include <gtk/gtk.h>
32054 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
32059 rm -f conftest.
$ac_objext conftest
$ac_exeext
32060 if { (ac_try
="$ac_link"
32061 case "(($ac_try" in
32062 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32063 *) ac_try_echo=$ac_try;;
32065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32066 (eval "$ac_link") 2>conftest.er1
32068 grep -v '^ *+' conftest.er1 >conftest.err
32070 cat conftest.err >&5
32071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32072 (exit $ac_status); } &&
32073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32074 { (case "(($ac_try" in
32075 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32076 *) ac_try_echo
=$ac_try;;
32078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32079 (eval "$ac_try") 2>&5
32081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32082 (exit $ac_status); }; } &&
32083 { ac_try
='test -s conftest$ac_exeext'
32084 { (case "(($ac_try" in
32085 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32086 *) ac_try_echo=$ac_try;;
32088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32089 (eval "$ac_try") 2>&5
32091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32092 (exit $ac_status); }; }; then
32093 echo "*** The test program compiled, but did not run. This usually means"
32094 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
32095 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
32096 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
32097 echo "*** to the installed location Also, make sure you have run ldconfig if that"
32098 echo "*** is required on your system"
32100 echo "*** If you have an old version installed, it is best to remove it, although"
32101 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
32103 echo "$as_me: failed program was:" >&5
32104 sed 's/^/| /' conftest.$ac_ext >&5
32106 echo "*** The test program failed to compile or link. See the file config.log for the"
32107 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
32110 rm -f core conftest.err conftest.$ac_objext \
32111 conftest$ac_exeext conftest.$ac_ext
32112 CFLAGS="$ac_save_CFLAGS"
32113 LIBS="$ac_save_LIBS"
32127 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
32128 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
32129 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
32131 if test "$wxUSE_SHARED" != "yes"; then
32132 GTK_LIBS="$GTK_LIBS -lX11"
32137 if test -z "$wx_cv_lib_gtk"; then
32138 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
32140 # Check whether --with-gtk-prefix was given.
32141 if test "${with_gtk_prefix+set}" = set; then
32142 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
32144 gtk_config_prefix=""
32148 # Check whether --with-gtk-exec-prefix was given.
32149 if test "${with_gtk_exec_prefix+set}" = set; then
32150 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
32152 gtk_config_exec_prefix=""
32155 # Check whether --enable-gtktest was given.
32156 if test "${enable_gtktest+set}" = set; then
32157 enableval=$enable_gtktest;
32163 for module in . $GTK_MODULES
32167 gtk_config_args="$gtk_config_args gthread"
32172 if test x$gtk_config_exec_prefix != x ; then
32173 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
32174 if test x${GTK_CONFIG+set} != xset ; then
32175 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
32178 if test x$gtk_config_prefix != x ; then
32179 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
32180 if test x${GTK_CONFIG+set} != xset ; then
32181 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
32185 # Extract the first word of "gtk-config", so it can be a program name with args.
32186 set dummy gtk-config; ac_word=$2
32187 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32189 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
32190 echo $ECHO_N "(cached) $ECHO_C" >&6
32192 case $GTK_CONFIG in
32194 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
32197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32198 for as_dir in $PATH
32201 test -z "$as_dir" && as_dir=.
32202 for ac_exec_ext in '' $ac_executable_extensions; do
32203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
32204 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32212 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
32216 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
32217 if test -n "$GTK_CONFIG"; then
32218 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
32219 echo "${ECHO_T}$GTK_CONFIG" >&6; }
32221 { echo "$as_me:$LINENO: result: no" >&5
32222 echo "${ECHO_T}no" >&6; }
32226 min_gtk_version=1.2.7
32227 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
32228 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
32230 if test "$GTK_CONFIG" = "no" ; then
32233 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
32234 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
32235 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
32236 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
32237 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
32238 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
32239 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
32240 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
32241 if test "x$enable_gtktest" = "xyes" ; then
32242 ac_save_CFLAGS="$CFLAGS"
32243 ac_save_LIBS="$LIBS"
32244 CFLAGS="$CFLAGS $GTK_CFLAGS"
32245 LIBS="$GTK_LIBS $LIBS"
32247 if test "$cross_compiling" = yes; then
32248 echo $ac_n "cross compiling; assumed OK... $ac_c"
32250 cat >conftest.$ac_ext <<_ACEOF
32253 cat confdefs.h >>conftest.$ac_ext
32254 cat >>conftest.$ac_ext <<_ACEOF
32255 /* end confdefs.h. */
32257 #include <gtk/gtk.h>
32259 #include <stdlib.h>
32264 int major, minor, micro;
32267 system ("touch conf.gtktest");
32269 /* HP/UX 9 (%@#!) writes to sscanf strings */
32270 tmp_version = g_strdup("$min_gtk_version");
32271 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
32272 printf("%s, bad version string\n", "$min_gtk_version");
32276 if ((gtk_major_version != $gtk_config_major_version) ||
32277 (gtk_minor_version != $gtk_config_minor_version) ||
32278 (gtk_micro_version != $gtk_config_micro_version))
32280 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
32281 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
32282 gtk_major_version, gtk_minor_version, gtk_micro_version);
32283 printf ("*** was found! If gtk-config was correct, then it is best\n");
32284 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
32285 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
32286 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
32287 printf("*** required on your system.\n");
32288 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
32289 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
32290 printf("*** before re-running configure\n");
32292 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
32293 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
32294 (gtk_minor_version != GTK_MINOR_VERSION) ||
32295 (gtk_micro_version != GTK_MICRO_VERSION))
32297 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
32298 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
32299 printf("*** library (version %d.%d.%d)\n",
32300 gtk_major_version, gtk_minor_version, gtk_micro_version);
32302 #endif /* defined (GTK_MAJOR_VERSION) ... */
32305 if ((gtk_major_version > major) ||
32306 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
32307 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
32313 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
32314 gtk_major_version, gtk_minor_version, gtk_micro_version);
32315 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
32316 major, minor, micro);
32317 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
32319 printf("*** If you have already installed a sufficiently new version, this error\n");
32320 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
32321 printf("*** being found. The easiest way to fix this is to remove the old version\n");
32322 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
32323 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
32324 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
32325 printf("*** so that the correct libraries are found at run-time))\n");
32332 rm -f conftest$ac_exeext
32333 if { (ac_try="$ac_link"
32334 case "(($ac_try" in
32335 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32336 *) ac_try_echo
=$ac_try;;
32338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32339 (eval "$ac_link") 2>&5
32341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32342 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
32343 { (case "(($ac_try" in
32344 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32345 *) ac_try_echo=$ac_try;;
32347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32348 (eval "$ac_try") 2>&5
32350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32351 (exit $ac_status); }; }; then
32354 echo "$as_me: program exited with status $ac_status" >&5
32355 echo "$as_me: failed program was:" >&5
32356 sed 's/^/| /' conftest.$ac_ext >&5
32358 ( exit $ac_status )
32361 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32365 CFLAGS="$ac_save_CFLAGS"
32366 LIBS="$ac_save_LIBS"
32369 if test "x$no_gtk" = x ; then
32370 { echo "$as_me:$LINENO: result: yes" >&5
32371 echo "${ECHO_T}yes" >&6; }
32372 wx_cv_lib_gtk=1.2.7
32374 { echo "$as_me:$LINENO: result: no" >&5
32375 echo "${ECHO_T}no" >&6; }
32376 if test "$GTK_CONFIG" = "no" ; then
32377 echo "*** The gtk-config script installed by GTK could not be found"
32378 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
32379 echo "*** your path, or set the GTK_CONFIG environment variable to the"
32380 echo "*** full path to gtk-config."
32382 if test -f conf.gtktest ; then
32385 echo "*** Could not run GTK test program, checking why..."
32386 CFLAGS="$CFLAGS $GTK_CFLAGS"
32387 LIBS="$LIBS $GTK_LIBS"
32388 cat >conftest.$ac_ext <<_ACEOF
32391 cat confdefs.h >>conftest.$ac_ext
32392 cat >>conftest.$ac_ext <<_ACEOF
32393 /* end confdefs.h. */
32395 #include <gtk/gtk.h>
32401 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
32406 rm -f conftest.$ac_objext conftest$ac_exeext
32407 if { (ac_try="$ac_link"
32408 case "(($ac_try" in
32409 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32410 *) ac_try_echo
=$ac_try;;
32412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32413 (eval "$ac_link") 2>conftest.er1
32415 grep -v '^ *+' conftest.er1
>conftest.err
32417 cat conftest.err
>&5
32418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32419 (exit $ac_status); } &&
32420 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32421 { (case "(($ac_try" in
32422 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32423 *) ac_try_echo=$ac_try;;
32425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32426 (eval "$ac_try") 2>&5
32428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32429 (exit $ac_status); }; } &&
32430 { ac_try='test -s conftest$ac_exeext'
32431 { (case "(($ac_try" in
32432 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32433 *) ac_try_echo
=$ac_try;;
32435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32436 (eval "$ac_try") 2>&5
32438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32439 (exit $ac_status); }; }; then
32440 echo "*** The test program compiled, but did not run. This usually means"
32441 echo "*** that the run-time linker is not finding GTK or finding the wrong"
32442 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
32443 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
32444 echo "*** to the installed location Also, make sure you have run ldconfig if that"
32445 echo "*** is required on your system"
32447 echo "*** If you have an old version installed, it is best to remove it, although"
32448 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
32450 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
32451 echo "*** came with the system with the command"
32453 echo "*** rpm --erase --nodeps gtk gtk-devel"
32455 echo "$as_me: failed program was:" >&5
32456 sed 's/^/| /' conftest.
$ac_ext >&5
32458 echo "*** The test program failed to compile or link. See the file config.log for the"
32459 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
32460 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
32461 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
32464 rm -f core conftest.err conftest.
$ac_objext \
32465 conftest
$ac_exeext conftest.
$ac_ext
32466 CFLAGS
="$ac_save_CFLAGS"
32467 LIBS
="$ac_save_LIBS"
32479 if test -z "$wx_cv_lib_gtk"; then
32481 # Check whether --with-gtk-prefix was given.
32482 if test "${with_gtk_prefix+set}" = set; then
32483 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
32485 gtk_config_prefix
=""
32489 # Check whether --with-gtk-exec-prefix was given.
32490 if test "${with_gtk_exec_prefix+set}" = set; then
32491 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
32493 gtk_config_exec_prefix
=""
32496 # Check whether --enable-gtktest was given.
32497 if test "${enable_gtktest+set}" = set; then
32498 enableval
=$enable_gtktest;
32504 for module
in .
$GTK_MODULES
32508 gtk_config_args
="$gtk_config_args gthread"
32513 if test x
$gtk_config_exec_prefix != x
; then
32514 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
32515 if test x
${GTK_CONFIG+set} != xset
; then
32516 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
32519 if test x
$gtk_config_prefix != x
; then
32520 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
32521 if test x
${GTK_CONFIG+set} != xset
; then
32522 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
32526 # Extract the first word of "gtk-config", so it can be a program name with args.
32527 set dummy gtk
-config; ac_word
=$2
32528 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32530 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
32531 echo $ECHO_N "(cached) $ECHO_C" >&6
32533 case $GTK_CONFIG in
32535 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
32538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32539 for as_dir
in $PATH
32542 test -z "$as_dir" && as_dir
=.
32543 for ac_exec_ext
in '' $ac_executable_extensions; do
32544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
32545 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32553 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
32557 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
32558 if test -n "$GTK_CONFIG"; then
32559 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
32560 echo "${ECHO_T}$GTK_CONFIG" >&6; }
32562 { echo "$as_me:$LINENO: result: no" >&5
32563 echo "${ECHO_T}no" >&6; }
32567 min_gtk_version
=1.2.3
32568 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
32569 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
32571 if test "$GTK_CONFIG" = "no" ; then
32574 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
32575 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
32576 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
32577 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
32578 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
32579 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
32580 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
32581 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
32582 if test "x$enable_gtktest" = "xyes" ; then
32583 ac_save_CFLAGS
="$CFLAGS"
32584 ac_save_LIBS
="$LIBS"
32585 CFLAGS
="$CFLAGS $GTK_CFLAGS"
32586 LIBS
="$GTK_LIBS $LIBS"
32588 if test "$cross_compiling" = yes; then
32589 echo $ac_n "cross compiling; assumed OK... $ac_c"
32591 cat >conftest.
$ac_ext <<_ACEOF
32594 cat confdefs.h
>>conftest.
$ac_ext
32595 cat >>conftest.
$ac_ext <<_ACEOF
32596 /* end confdefs.h. */
32598 #include <gtk/gtk.h>
32600 #include <stdlib.h>
32605 int major, minor, micro;
32608 system ("touch conf.gtktest");
32610 /* HP/UX 9 (%@#!) writes to sscanf strings */
32611 tmp_version = g_strdup("$min_gtk_version");
32612 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
32613 printf("%s, bad version string\n", "$min_gtk_version");
32617 if ((gtk_major_version != $gtk_config_major_version) ||
32618 (gtk_minor_version != $gtk_config_minor_version) ||
32619 (gtk_micro_version != $gtk_config_micro_version))
32621 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
32622 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
32623 gtk_major_version, gtk_minor_version, gtk_micro_version);
32624 printf ("*** was found! If gtk-config was correct, then it is best\n");
32625 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
32626 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
32627 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
32628 printf("*** required on your system.\n");
32629 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
32630 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
32631 printf("*** before re-running configure\n");
32633 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
32634 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
32635 (gtk_minor_version != GTK_MINOR_VERSION) ||
32636 (gtk_micro_version != GTK_MICRO_VERSION))
32638 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
32639 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
32640 printf("*** library (version %d.%d.%d)\n",
32641 gtk_major_version, gtk_minor_version, gtk_micro_version);
32643 #endif /* defined (GTK_MAJOR_VERSION) ... */
32646 if ((gtk_major_version > major) ||
32647 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
32648 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
32654 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
32655 gtk_major_version, gtk_minor_version, gtk_micro_version);
32656 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
32657 major, minor, micro);
32658 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
32660 printf("*** If you have already installed a sufficiently new version, this error\n");
32661 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
32662 printf("*** being found. The easiest way to fix this is to remove the old version\n");
32663 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
32664 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
32665 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
32666 printf("*** so that the correct libraries are found at run-time))\n");
32673 rm -f conftest
$ac_exeext
32674 if { (ac_try
="$ac_link"
32675 case "(($ac_try" in
32676 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32677 *) ac_try_echo=$ac_try;;
32679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32680 (eval "$ac_link") 2>&5
32682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32683 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32684 { (case "(($ac_try" in
32685 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32686 *) ac_try_echo
=$ac_try;;
32688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32689 (eval "$ac_try") 2>&5
32691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32692 (exit $ac_status); }; }; then
32695 echo "$as_me: program exited with status $ac_status" >&5
32696 echo "$as_me: failed program was:" >&5
32697 sed 's/^/| /' conftest.
$ac_ext >&5
32699 ( exit $ac_status )
32702 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
32706 CFLAGS
="$ac_save_CFLAGS"
32707 LIBS
="$ac_save_LIBS"
32710 if test "x$no_gtk" = x
; then
32711 { echo "$as_me:$LINENO: result: yes" >&5
32712 echo "${ECHO_T}yes" >&6; }
32713 wx_cv_lib_gtk
=1.2.3
32715 { echo "$as_me:$LINENO: result: no" >&5
32716 echo "${ECHO_T}no" >&6; }
32717 if test "$GTK_CONFIG" = "no" ; then
32718 echo "*** The gtk-config script installed by GTK could not be found"
32719 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
32720 echo "*** your path, or set the GTK_CONFIG environment variable to the"
32721 echo "*** full path to gtk-config."
32723 if test -f conf.gtktest
; then
32726 echo "*** Could not run GTK test program, checking why..."
32727 CFLAGS
="$CFLAGS $GTK_CFLAGS"
32728 LIBS
="$LIBS $GTK_LIBS"
32729 cat >conftest.
$ac_ext <<_ACEOF
32732 cat confdefs.h
>>conftest.
$ac_ext
32733 cat >>conftest.
$ac_ext <<_ACEOF
32734 /* end confdefs.h. */
32736 #include <gtk/gtk.h>
32742 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
32747 rm -f conftest.
$ac_objext conftest
$ac_exeext
32748 if { (ac_try
="$ac_link"
32749 case "(($ac_try" in
32750 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32751 *) ac_try_echo=$ac_try;;
32753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32754 (eval "$ac_link") 2>conftest.er1
32756 grep -v '^ *+' conftest.er1 >conftest.err
32758 cat conftest.err >&5
32759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32760 (exit $ac_status); } &&
32761 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32762 { (case "(($ac_try" in
32763 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32764 *) ac_try_echo
=$ac_try;;
32766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32767 (eval "$ac_try") 2>&5
32769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32770 (exit $ac_status); }; } &&
32771 { ac_try
='test -s conftest$ac_exeext'
32772 { (case "(($ac_try" in
32773 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32774 *) ac_try_echo=$ac_try;;
32776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32777 (eval "$ac_try") 2>&5
32779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32780 (exit $ac_status); }; }; then
32781 echo "*** The test program compiled, but did not run. This usually means"
32782 echo "*** that the run-time linker is not finding GTK or finding the wrong"
32783 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
32784 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
32785 echo "*** to the installed location Also, make sure you have run ldconfig if that"
32786 echo "*** is required on your system"
32788 echo "*** If you have an old version installed, it is best to remove it, although"
32789 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
32791 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
32792 echo "*** came with the system with the command"
32794 echo "*** rpm --erase --nodeps gtk gtk-devel"
32796 echo "$as_me: failed program was:" >&5
32797 sed 's/^/| /' conftest.$ac_ext >&5
32799 echo "*** The test program failed to compile or link. See the file config.log for the"
32800 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
32801 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
32802 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
32805 rm -f core conftest.err conftest.$ac_objext \
32806 conftest$ac_exeext conftest.$ac_ext
32807 CFLAGS="$ac_save_CFLAGS"
32808 LIBS="$ac_save_LIBS"
32823 if test -z "$wx_cv_lib_gtk"; then
32826 wx_cv_cflags_gtk=$GTK_CFLAGS
32827 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
32834 if test "$gtk_version_cached" = 1; then
32835 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
32836 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
32839 case "$wx_cv_lib_gtk" in
32848 *) { { echo "$as_me:$LINENO: error:
32849 The development files for GTK+ were not found. For GTK+ 2, please
32850 ensure that pkg-config is in the path and that gtk+-2.0.pc is
32851 installed. For GTK+ 1.2 please check that gtk-config is in the path,
32852 and that the version is 1.2.3 or above. Also check that the
32853 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
32854 --libs' are in the LD_LIBRARY_PATH or equivalent.
32856 echo "$as_me: error:
32857 The development files for GTK+ were not found. For GTK+ 2, please
32858 ensure that pkg-config is in the path and that gtk+-2.0.pc is
32859 installed. For GTK+ 1.2 please check that gtk-config is in the path,
32860 and that the version is 1.2.3 or above. Also check that the
32861 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
32862 --libs' are in the LD_LIBRARY_PATH or equivalent.
32864 { (exit 1); exit 1; }; }
32868 if test "$WXGTK20" = 1; then
32869 save_CFLAGS="$CFLAGS"
32871 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
32872 LIBS="$LIBS $wx_cv_libs_gtk"
32874 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
32875 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
32876 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
32877 echo $ECHO_N "(cached) $ECHO_C" >&6
32879 cat >conftest.$ac_ext <<_ACEOF
32882 cat confdefs.h >>conftest.$ac_ext
32883 cat >>conftest.$ac_ext <<_ACEOF
32884 /* end confdefs.h. */
32885 #include <gtk/gtk.h>
32890 #ifndef gtk_icon_size_lookup
32891 char *p = (char *) gtk_icon_size_lookup;
32899 rm -f conftest.$ac_objext
32900 if { (ac_try="$ac_compile"
32901 case "(($ac_try" in
32902 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32903 *) ac_try_echo
=$ac_try;;
32905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32906 (eval "$ac_compile") 2>conftest.er1
32908 grep -v '^ *+' conftest.er1
>conftest.err
32910 cat conftest.err
>&5
32911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32912 (exit $ac_status); } &&
32913 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32914 { (case "(($ac_try" in
32915 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32916 *) ac_try_echo=$ac_try;;
32918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32919 (eval "$ac_try") 2>&5
32921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32922 (exit $ac_status); }; } &&
32923 { ac_try='test -s conftest.$ac_objext'
32924 { (case "(($ac_try" in
32925 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32926 *) ac_try_echo
=$ac_try;;
32928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32929 (eval "$ac_try") 2>&5
32931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32932 (exit $ac_status); }; }; then
32933 ac_cv_have_decl_gtk_icon_size_lookup
=yes
32935 echo "$as_me: failed program was:" >&5
32936 sed 's/^/| /' conftest.
$ac_ext >&5
32938 ac_cv_have_decl_gtk_icon_size_lookup
=no
32941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32943 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
32944 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
32945 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
32947 cat >>confdefs.h
<<_ACEOF
32948 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
32953 cat >>confdefs.h
<<_ACEOF
32954 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
32957 cat >>confdefs.h
<<\_ACEOF
32958 #define NEED_GTK_ICON_SIZE_LOOKUP 1
32965 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
32966 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
32967 cat >conftest.
$ac_ext <<_ACEOF
32970 cat confdefs.h
>>conftest.
$ac_ext
32971 cat >>conftest.
$ac_ext <<_ACEOF
32972 /* end confdefs.h. */
32974 #include <gtk/gtk.h>
32980 #if !GTK_CHECK_VERSION(2,6,0)
32988 rm -f conftest.
$ac_objext
32989 if { (ac_try
="$ac_compile"
32990 case "(($ac_try" in
32991 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32992 *) ac_try_echo=$ac_try;;
32994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32995 (eval "$ac_compile") 2>conftest.er1
32997 grep -v '^ *+' conftest.er1 >conftest.err
32999 cat conftest.err >&5
33000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33001 (exit $ac_status); } &&
33002 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33003 { (case "(($ac_try" in
33004 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33005 *) ac_try_echo
=$ac_try;;
33007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33008 (eval "$ac_try") 2>&5
33010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33011 (exit $ac_status); }; } &&
33012 { ac_try
='test -s conftest.$ac_objext'
33013 { (case "(($ac_try" in
33014 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33015 *) ac_try_echo=$ac_try;;
33017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33018 (eval "$ac_try") 2>&5
33020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33021 (exit $ac_status); }; }; then
33023 cat >>confdefs.h <<\_ACEOF
33024 #define __WXGTK26__ 1
33027 cat >>confdefs.h <<\_ACEOF
33028 #define __WXGTK24__ 1
33031 { echo "$as_me:$LINENO: result: yes" >&5
33032 echo "${ECHO_T}yes" >&6; }
33036 echo "$as_me: failed program was:" >&5
33037 sed 's/^/| /' conftest.$ac_ext >&5
33040 { echo "$as_me:$LINENO: result: no" >&5
33041 echo "${ECHO_T}no" >&6; }
33046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33048 if test "$ac_wxgtk26" = 0; then
33049 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
33050 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
33051 cat >conftest.$ac_ext <<_ACEOF
33054 cat confdefs.h >>conftest.$ac_ext
33055 cat >>conftest.$ac_ext <<_ACEOF
33056 /* end confdefs.h. */
33058 #include <gtk/gtk.h>
33064 #if !GTK_CHECK_VERSION(2,4,0)
33072 rm -f conftest.$ac_objext
33073 if { (ac_try="$ac_compile"
33074 case "(($ac_try" in
33075 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33076 *) ac_try_echo
=$ac_try;;
33078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33079 (eval "$ac_compile") 2>conftest.er1
33081 grep -v '^ *+' conftest.er1
>conftest.err
33083 cat conftest.err
>&5
33084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33085 (exit $ac_status); } &&
33086 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33087 { (case "(($ac_try" in
33088 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33089 *) ac_try_echo=$ac_try;;
33091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33092 (eval "$ac_try") 2>&5
33094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33095 (exit $ac_status); }; } &&
33096 { ac_try='test -s conftest.$ac_objext'
33097 { (case "(($ac_try" in
33098 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33099 *) ac_try_echo
=$ac_try;;
33101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33102 (eval "$ac_try") 2>&5
33104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33105 (exit $ac_status); }; }; then
33107 cat >>confdefs.h
<<\_ACEOF
33108 #define __WXGTK24__ 1
33111 { echo "$as_me:$LINENO: result: yes" >&5
33112 echo "${ECHO_T}yes" >&6; }
33115 echo "$as_me: failed program was:" >&5
33116 sed 's/^/| /' conftest.
$ac_ext >&5
33119 { echo "$as_me:$LINENO: result: no" >&5
33120 echo "${ECHO_T}no" >&6; }
33124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33127 CFLAGS
="$save_CFLAGS"
33130 if test "$wxUSE_UNICODE" = "yes"; then
33131 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
33132 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
33136 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
33137 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
33138 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
33139 echo $ECHO_N "(cached) $ECHO_C" >&6
33141 ac_check_lib_save_LIBS
=$LIBS
33143 cat >conftest.
$ac_ext <<_ACEOF
33146 cat confdefs.h
>>conftest.
$ac_ext
33147 cat >>conftest.
$ac_ext <<_ACEOF
33148 /* end confdefs.h. */
33150 /* Override any GCC internal prototype to avoid an error.
33151 Use char because int might match the return type of a GCC
33152 builtin and then its argument prototype would still apply. */
33156 char gdk_im_open ();
33160 return gdk_im_open ();
33165 rm -f conftest.
$ac_objext conftest
$ac_exeext
33166 if { (ac_try
="$ac_link"
33167 case "(($ac_try" in
33168 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33169 *) ac_try_echo=$ac_try;;
33171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33172 (eval "$ac_link") 2>conftest.er1
33174 grep -v '^ *+' conftest.er1 >conftest.err
33176 cat conftest.err >&5
33177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33178 (exit $ac_status); } &&
33179 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33180 { (case "(($ac_try" in
33181 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33182 *) ac_try_echo
=$ac_try;;
33184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33185 (eval "$ac_try") 2>&5
33187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33188 (exit $ac_status); }; } &&
33189 { ac_try
='test -s conftest$ac_exeext'
33190 { (case "(($ac_try" in
33191 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33192 *) ac_try_echo=$ac_try;;
33194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33195 (eval "$ac_try") 2>&5
33197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33198 (exit $ac_status); }; }; then
33199 ac_cv_lib_gdk_gdk_im_open=yes
33201 echo "$as_me: failed program was:" >&5
33202 sed 's/^/| /' conftest.$ac_ext >&5
33204 ac_cv_lib_gdk_gdk_im_open=no
33207 rm -f core conftest.err conftest.$ac_objext \
33208 conftest$ac_exeext conftest.$ac_ext
33209 LIBS=$ac_check_lib_save_LIBS
33211 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
33212 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
33213 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
33214 cat >>confdefs.h <<\_ACEOF
33221 if test "$USE_DARWIN" != 1; then
33223 for ac_func in poll
33225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33226 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33228 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33229 echo $ECHO_N "(cached) $ECHO_C" >&6
33231 cat >conftest.$ac_ext <<_ACEOF
33234 cat confdefs.h >>conftest.$ac_ext
33235 cat >>conftest.$ac_ext <<_ACEOF
33236 /* end confdefs.h. */
33237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33239 #define $ac_func innocuous_$ac_func
33241 /* System header to define __stub macros and hopefully few prototypes,
33242 which can conflict with char $ac_func (); below.
33243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33244 <limits.h> exists even on freestanding compilers. */
33247 # include <limits.h>
33249 # include <assert.h>
33254 /* Override any GCC internal prototype to avoid an error.
33255 Use char because int might match the return type of a GCC
33256 builtin and then its argument prototype would still apply. */
33261 /* The GNU C library defines this for functions which it implements
33262 to always fail with ENOSYS. Some functions are actually named
33263 something starting with __ and the normal name is an alias. */
33264 #if defined __stub_$ac_func || defined __stub___$ac_func
33271 return $ac_func ();
33276 rm -f conftest.$ac_objext conftest$ac_exeext
33277 if { (ac_try="$ac_link"
33278 case "(($ac_try" in
33279 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33280 *) ac_try_echo
=$ac_try;;
33282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33283 (eval "$ac_link") 2>conftest.er1
33285 grep -v '^ *+' conftest.er1
>conftest.err
33287 cat conftest.err
>&5
33288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33289 (exit $ac_status); } &&
33290 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33291 { (case "(($ac_try" in
33292 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33293 *) ac_try_echo=$ac_try;;
33295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33296 (eval "$ac_try") 2>&5
33298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33299 (exit $ac_status); }; } &&
33300 { ac_try='test -s conftest$ac_exeext'
33301 { (case "(($ac_try" in
33302 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33303 *) ac_try_echo
=$ac_try;;
33305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33306 (eval "$ac_try") 2>&5
33308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33309 (exit $ac_status); }; }; then
33310 eval "$as_ac_var=yes"
33312 echo "$as_me: failed program was:" >&5
33313 sed 's/^/| /' conftest.
$ac_ext >&5
33315 eval "$as_ac_var=no"
33318 rm -f core conftest.err conftest.
$ac_objext \
33319 conftest
$ac_exeext conftest.
$ac_ext
33321 ac_res
=`eval echo '${'$as_ac_var'}'`
33322 { echo "$as_me:$LINENO: result: $ac_res" >&5
33323 echo "${ECHO_T}$ac_res" >&6; }
33324 if test `eval echo '${'$as_ac_var'}'` = yes; then
33325 cat >>confdefs.h
<<_ACEOF
33326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33335 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
33336 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
33338 AFMINSTALL
=afminstall
33342 if test "$wxUSE_GPE" = "yes"; then
33343 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
33344 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
33347 for ac_dir
in $SEARCH_LIB;
33349 for ac_extension
in a so sl dylib dll.a
; do
33350 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
33351 ac_find_libraries
=$ac_dir
33357 if test "$ac_find_libraries" != "" ; then
33359 if test "$ac_find_libraries" = "default location"; then
33362 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
33364 if test $result = 0; then
33367 ac_path_to_link
=" -L$ac_find_libraries"
33371 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
33373 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33374 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33376 { echo "$as_me:$LINENO: result: not found" >&5
33377 echo "${ECHO_T}not found" >&6; }
33383 if test "$wxUSE_MGL" = 1; then
33384 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
33385 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
33386 if test "x$MGL_ROOT" = x
; then
33387 { echo "$as_me:$LINENO: result: not found" >&5
33388 echo "${ECHO_T}not found" >&6; }
33389 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
33390 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
33391 { (exit 1); exit 1; }; }
33393 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
33394 echo "${ECHO_T}$MGL_ROOT" >&6; }
33397 { echo "$as_me:$LINENO: checking for libmgl location" >&5
33398 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
33401 if test "x$wxUSE_SHARED" = xyes
; then
33402 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
33404 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
33408 mgl_os_candidates
="dos32/dj2"
33411 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
33412 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
33413 { (exit 1); exit 1; }; }
33419 for mgl_os_i
in $mgl_os_candidates ; do
33420 if test "x$mgl_os" = x
; then
33421 if test "$wxUSE_DEBUG_FLAG" = yes ; then
33422 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
33423 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
33428 if test "x$mgl_lib_type" = x
; then
33429 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
33430 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
33431 mgl_lib_type
=release
33438 if test "x$mgl_os" = x
; then
33439 { echo "$as_me:$LINENO: result: not found" >&5
33440 echo "${ECHO_T}not found" >&6; }
33441 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
33442 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
33443 { (exit 1); exit 1; }; }
33445 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
33446 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
33448 wxUSE_UNIVERSAL
="yes"
33450 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
33451 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
33453 AFMINSTALL
=afminstall
33458 if test "$wxUSE_DFB" = 1; then
33461 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33462 if test -n "$ac_tool_prefix"; then
33463 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33464 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33465 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33467 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33468 echo $ECHO_N "(cached) $ECHO_C" >&6
33470 case $PKG_CONFIG in
33472 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33476 for as_dir
in $PATH
33479 test -z "$as_dir" && as_dir
=.
33480 for ac_exec_ext
in '' $ac_executable_extensions; do
33481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
33482 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33493 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33494 if test -n "$PKG_CONFIG"; then
33495 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33496 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33498 { echo "$as_me:$LINENO: result: no" >&5
33499 echo "${ECHO_T}no" >&6; }
33504 if test -z "$ac_cv_path_PKG_CONFIG"; then
33505 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33506 # Extract the first word of "pkg-config", so it can be a program name with args.
33507 set dummy pkg
-config; ac_word
=$2
33508 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33510 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33511 echo $ECHO_N "(cached) $ECHO_C" >&6
33513 case $ac_pt_PKG_CONFIG in
33515 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33519 for as_dir
in $PATH
33522 test -z "$as_dir" && as_dir
=.
33523 for ac_exec_ext
in '' $ac_executable_extensions; do
33524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
33525 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33536 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33537 if test -n "$ac_pt_PKG_CONFIG"; then
33538 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33539 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33541 { echo "$as_me:$LINENO: result: no" >&5
33542 echo "${ECHO_T}no" >&6; }
33545 if test "x$ac_pt_PKG_CONFIG" = x
; then
33548 case $cross_compiling:$ac_tool_warned in
33550 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33551 whose name does not start with the host triplet. If you think this
33552 configuration is useful to you, please write to autoconf@gnu.org." >&5
33553 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33554 whose name does not start with the host triplet. If you think this
33555 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33556 ac_tool_warned
=yes ;;
33558 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33561 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33565 if test -n "$PKG_CONFIG"; then
33566 _pkg_min_version
=0.9.0
33567 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33568 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33569 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33570 { echo "$as_me:$LINENO: result: yes" >&5
33571 echo "${ECHO_T}yes" >&6; }
33573 { echo "$as_me:$LINENO: result: no" >&5
33574 echo "${ECHO_T}no" >&6; }
33582 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
33583 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
33585 if test -n "$PKG_CONFIG"; then
33586 if test -n "$DIRECTFB_CFLAGS"; then
33587 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
33589 if test -n "$PKG_CONFIG" && \
33590 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
33591 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
33593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33594 (exit $ac_status); }; then
33595 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
33603 if test -n "$PKG_CONFIG"; then
33604 if test -n "$DIRECTFB_LIBS"; then
33605 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
33607 if test -n "$PKG_CONFIG" && \
33608 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
33609 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
33611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33612 (exit $ac_status); }; then
33613 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
33624 if test $pkg_failed = yes; then
33626 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33627 _pkg_short_errors_supported
=yes
33629 _pkg_short_errors_supported
=no
33631 if test $_pkg_short_errors_supported = yes; then
33632 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
33634 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
33636 # Put the nasty error message in config.log where it belongs
33637 echo "$DIRECTFB_PKG_ERRORS" >&5
33640 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
33641 echo "$as_me: error: DirectFB not found." >&2;}
33642 { (exit 1); exit 1; }; }
33645 elif test $pkg_failed = untried
; then
33647 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
33648 echo "$as_me: error: DirectFB not found." >&2;}
33649 { (exit 1); exit 1; }; }
33653 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
33654 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
33655 { echo "$as_me:$LINENO: result: yes" >&5
33656 echo "${ECHO_T}yes" >&6; }
33658 wxUSE_UNIVERSAL
="yes"
33659 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
33660 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
33667 if test "$wxUSE_MICROWIN" = 1; then
33668 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
33669 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
33670 if test "x$MICROWINDOWS" = x
; then
33671 { echo "$as_me:$LINENO: result: not found" >&5
33672 echo "${ECHO_T}not found" >&6; }
33673 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
33674 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
33675 { (exit 1); exit 1; }; }
33677 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
33678 echo "${ECHO_T}$MICROWINDOWS" >&6; }
33681 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
33682 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
33683 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
33685 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
33686 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
33687 { (exit 1); exit 1; }; }
33690 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
33691 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
33693 wxUSE_UNIVERSAL
="yes"
33695 AFMINSTALL
=afminstall
33697 GUIDIST
=MICROWIN_DIST
33699 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
33702 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33703 { echo "$as_me:$LINENO: checking for X" >&5
33704 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
33707 # Check whether --with-x was given.
33708 if test "${with_x+set}" = set; then
33712 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
33713 if test "x$with_x" = xno
; then
33714 # The user explicitly disabled X.
33717 case $x_includes,$x_libraries in #(
33718 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
33719 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
33720 { (exit 1); exit 1; }; };; #(
33721 *,NONE
| NONE
,*) if test "${ac_cv_have_x+set}" = set; then
33722 echo $ECHO_N "(cached) $ECHO_C" >&6
33724 # One or both of the vars are not set, and there is no cached value.
33725 ac_x_includes
=no ac_x_libraries
=no
33726 rm -f -r conftest.dir
33727 if mkdir conftest.dir
; then
33729 cat >Imakefile
<<'_ACEOF'
33731 @echo incroot='${INCROOT}'
33733 @echo usrlibdir='${USRLIBDIR}'
33735 @echo libdir='${LIBDIR}'
33737 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
33738 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33739 for ac_var
in incroot usrlibdir libdir
; do
33740 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
33742 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
33743 for ac_extension
in a so sl
; do
33744 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
33745 test -f "$ac_im_libdir/libX11.$ac_extension"; then
33746 ac_im_usrlibdir
=$ac_im_libdir; break
33749 # Screen out bogus values from the imake configuration. They are
33750 # bogus both because they are the default anyway, and because
33751 # using them would break gcc on systems where it needs fixed includes.
33752 case $ac_im_incroot in
33753 /usr
/include
) ac_x_includes
= ;;
33754 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
33756 case $ac_im_usrlibdir in
33757 /usr
/lib
| /lib
) ;;
33758 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
33762 rm -f -r conftest.dir
33765 # Standard set of common directories for X headers.
33766 # Check X11 before X11Rn because it is often a symlink to the current release.
33778 /usr/local/X11/include
33779 /usr/local/X11R6/include
33780 /usr/local/X11R5/include
33781 /usr/local/X11R4/include
33783 /usr/local/include/X11
33784 /usr/local/include/X11R6
33785 /usr/local/include/X11R5
33786 /usr/local/include/X11R4
33790 /usr/XFree86/include/X11
33794 /usr/unsupported/include
33795 /usr/athena/include
33796 /usr/local/x11r5/include
33797 /usr/lpp/Xamples/include
33799 /usr/openwin/include
33800 /usr/openwin/share/include'
33802 if test "$ac_x_includes" = no
; then
33803 # Guess where to find include files, by looking for Xlib.h.
33804 # First, try using that file with no special directory specified.
33805 cat >conftest.
$ac_ext <<_ACEOF
33808 cat confdefs.h
>>conftest.
$ac_ext
33809 cat >>conftest.
$ac_ext <<_ACEOF
33810 /* end confdefs.h. */
33811 #include <X11/Xlib.h>
33813 if { (ac_try
="$ac_cpp conftest.$ac_ext"
33814 case "(($ac_try" in
33815 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33816 *) ac_try_echo=$ac_try;;
33818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33819 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33821 grep -v '^ *+' conftest.er1 >conftest.err
33823 cat conftest.err >&5
33824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33825 (exit $ac_status); } >/dev/null; then
33826 if test -s conftest.err; then
33827 ac_cpp_err=$ac_c_preproc_warn_flag
33828 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33835 if test -z "$ac_cpp_err"; then
33836 # We can compile using X headers with no special include directory.
33839 echo "$as_me: failed program was:" >&5
33840 sed 's/^/| /' conftest.$ac_ext >&5
33842 for ac_dir in $ac_x_header_dirs; do
33843 if test -r "$ac_dir/X11/Xlib.h"; then
33844 ac_x_includes=$ac_dir
33850 rm -f conftest.err conftest.$ac_ext
33851 fi # $ac_x_includes = no
33853 if test "$ac_x_libraries" = no; then
33854 # Check for the libraries.
33855 # See if we find them without any special options.
33856 # Don't add to $LIBS permanently.
33859 cat >conftest.$ac_ext <<_ACEOF
33862 cat confdefs.h >>conftest.$ac_ext
33863 cat >>conftest.$ac_ext <<_ACEOF
33864 /* end confdefs.h. */
33865 #include <X11/Xlib.h>
33874 rm -f conftest.$ac_objext conftest$ac_exeext
33875 if { (ac_try="$ac_link"
33876 case "(($ac_try" in
33877 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33878 *) ac_try_echo
=$ac_try;;
33880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33881 (eval "$ac_link") 2>conftest.er1
33883 grep -v '^ *+' conftest.er1
>conftest.err
33885 cat conftest.err
>&5
33886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33887 (exit $ac_status); } &&
33888 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33889 { (case "(($ac_try" in
33890 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33891 *) ac_try_echo=$ac_try;;
33893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33894 (eval "$ac_try") 2>&5
33896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33897 (exit $ac_status); }; } &&
33898 { ac_try='test -s conftest$ac_exeext'
33899 { (case "(($ac_try" in
33900 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33901 *) ac_try_echo
=$ac_try;;
33903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33904 (eval "$ac_try") 2>&5
33906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33907 (exit $ac_status); }; }; then
33909 # We can link X programs with no special library path.
33912 echo "$as_me: failed program was:" >&5
33913 sed 's/^/| /' conftest.
$ac_ext >&5
33916 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
33918 # Don't even attempt the hair of trying to link an X program!
33919 for ac_extension
in a so sl
; do
33920 if test -r "$ac_dir/libXt.$ac_extension"; then
33921 ac_x_libraries
=$ac_dir
33928 rm -f core conftest.err conftest.
$ac_objext \
33929 conftest
$ac_exeext conftest.
$ac_ext
33930 fi # $ac_x_libraries = no
33932 case $ac_x_includes,$ac_x_libraries in #(
33933 no
,* | *,no
| *\'*)
33934 # Didn't find X, or a directory has "'" in its name.
33935 ac_cv_have_x
="have_x=no";; #(
33937 # Record where we found X for the cache.
33938 ac_cv_have_x
="have_x=yes\
33939 ac_x_includes='$ac_x_includes'\
33940 ac_x_libraries='$ac_x_libraries'"
33946 eval "$ac_cv_have_x"
33949 if test "$have_x" != yes; then
33950 { echo "$as_me:$LINENO: result: $have_x" >&5
33951 echo "${ECHO_T}$have_x" >&6; }
33954 # If each of the values was on the command line, it overrides each guess.
33955 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
33956 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
33957 # Update the cache value to reflect the command line values.
33958 ac_cv_have_x
="have_x=yes\
33959 ac_x_includes='$x_includes'\
33960 ac_x_libraries='$x_libraries'"
33961 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
33962 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
33965 if test "$no_x" = yes; then
33966 # Not all programs may use this symbol, but it does not hurt to define it.
33968 cat >>confdefs.h
<<\_ACEOF
33969 #define X_DISPLAY_MISSING 1
33972 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
33974 if test -n "$x_includes"; then
33975 X_CFLAGS
="$X_CFLAGS -I$x_includes"
33978 # It would also be nice to do this for all -L options, not just this one.
33979 if test -n "$x_libraries"; then
33980 X_LIBS
="$X_LIBS -L$x_libraries"
33981 # For Solaris; some versions of Sun CC require a space after -R and
33982 # others require no space. Words are not sufficient . . . .
33983 case `(uname -sr) 2>/dev/null` in
33985 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
33986 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
33987 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
33988 cat >conftest.
$ac_ext <<_ACEOF
33991 cat confdefs.h
>>conftest.
$ac_ext
33992 cat >>conftest.
$ac_ext <<_ACEOF
33993 /* end confdefs.h. */
34003 rm -f conftest.
$ac_objext conftest
$ac_exeext
34004 if { (ac_try
="$ac_link"
34005 case "(($ac_try" in
34006 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34007 *) ac_try_echo=$ac_try;;
34009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34010 (eval "$ac_link") 2>conftest.er1
34012 grep -v '^ *+' conftest.er1 >conftest.err
34014 cat conftest.err >&5
34015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34016 (exit $ac_status); } &&
34017 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34018 { (case "(($ac_try" in
34019 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34020 *) ac_try_echo
=$ac_try;;
34022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34023 (eval "$ac_try") 2>&5
34025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34026 (exit $ac_status); }; } &&
34027 { ac_try
='test -s conftest$ac_exeext'
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_try") 2>&5
34035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34036 (exit $ac_status); }; }; then
34039 echo "$as_me: failed program was:" >&5
34040 sed 's/^/| /' conftest.$ac_ext >&5
34045 rm -f core conftest.err conftest.$ac_objext \
34046 conftest$ac_exeext conftest.$ac_ext
34047 if test $ac_R_nospace = yes; then
34048 { echo "$as_me:$LINENO: result: no" >&5
34049 echo "${ECHO_T}no" >&6; }
34050 X_LIBS="$X_LIBS -R$x_libraries"
34052 LIBS="$ac_xsave_LIBS -R $x_libraries"
34053 cat >conftest.$ac_ext <<_ACEOF
34056 cat confdefs.h >>conftest.$ac_ext
34057 cat >>conftest.$ac_ext <<_ACEOF
34058 /* end confdefs.h. */
34068 rm -f conftest.$ac_objext conftest$ac_exeext
34069 if { (ac_try="$ac_link"
34070 case "(($ac_try" in
34071 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34072 *) ac_try_echo
=$ac_try;;
34074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34075 (eval "$ac_link") 2>conftest.er1
34077 grep -v '^ *+' conftest.er1
>conftest.err
34079 cat conftest.err
>&5
34080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34081 (exit $ac_status); } &&
34082 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34083 { (case "(($ac_try" in
34084 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34085 *) ac_try_echo=$ac_try;;
34087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34088 (eval "$ac_try") 2>&5
34090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34091 (exit $ac_status); }; } &&
34092 { ac_try='test -s conftest$ac_exeext'
34093 { (case "(($ac_try" in
34094 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34095 *) ac_try_echo
=$ac_try;;
34097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34098 (eval "$ac_try") 2>&5
34100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34101 (exit $ac_status); }; }; then
34104 echo "$as_me: failed program was:" >&5
34105 sed 's/^/| /' conftest.
$ac_ext >&5
34110 rm -f core conftest.err conftest.
$ac_objext \
34111 conftest
$ac_exeext conftest.
$ac_ext
34112 if test $ac_R_space = yes; then
34113 { echo "$as_me:$LINENO: result: yes" >&5
34114 echo "${ECHO_T}yes" >&6; }
34115 X_LIBS
="$X_LIBS -R $x_libraries"
34117 { echo "$as_me:$LINENO: result: neither works" >&5
34118 echo "${ECHO_T}neither works" >&6; }
34121 LIBS
=$ac_xsave_LIBS
34125 # Check for system-dependent libraries X programs must link with.
34126 # Do this before checking for the system-independent R6 libraries
34127 # (-lICE), since we may need -lsocket or whatever for X linking.
34129 if test "$ISC" = yes; then
34130 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
34132 # Martyn Johnson says this is needed for Ultrix, if the X
34133 # libraries were built with DECnet support. And Karl Berry says
34134 # the Alpha needs dnet_stub (dnet does not exist).
34135 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
34136 cat >conftest.
$ac_ext <<_ACEOF
34139 cat confdefs.h
>>conftest.
$ac_ext
34140 cat >>conftest.
$ac_ext <<_ACEOF
34141 /* end confdefs.h. */
34143 /* Override any GCC internal prototype to avoid an error.
34144 Use char because int might match the return type of a GCC
34145 builtin and then its argument prototype would still apply. */
34149 char XOpenDisplay ();
34153 return XOpenDisplay ();
34158 rm -f conftest.
$ac_objext conftest
$ac_exeext
34159 if { (ac_try
="$ac_link"
34160 case "(($ac_try" in
34161 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34162 *) ac_try_echo=$ac_try;;
34164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34165 (eval "$ac_link") 2>conftest.er1
34167 grep -v '^ *+' conftest.er1 >conftest.err
34169 cat conftest.err >&5
34170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34171 (exit $ac_status); } &&
34172 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34173 { (case "(($ac_try" in
34174 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34175 *) ac_try_echo
=$ac_try;;
34177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34178 (eval "$ac_try") 2>&5
34180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34181 (exit $ac_status); }; } &&
34182 { ac_try
='test -s conftest$ac_exeext'
34183 { (case "(($ac_try" in
34184 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34185 *) ac_try_echo=$ac_try;;
34187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34188 (eval "$ac_try") 2>&5
34190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34191 (exit $ac_status); }; }; then
34194 echo "$as_me: failed program was:" >&5
34195 sed 's/^/| /' conftest.$ac_ext >&5
34197 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
34198 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
34199 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
34200 echo $ECHO_N "(cached) $ECHO_C" >&6
34202 ac_check_lib_save_LIBS=$LIBS
34203 LIBS="-ldnet $LIBS"
34204 cat >conftest.$ac_ext <<_ACEOF
34207 cat confdefs.h >>conftest.$ac_ext
34208 cat >>conftest.$ac_ext <<_ACEOF
34209 /* end confdefs.h. */
34211 /* Override any GCC internal prototype to avoid an error.
34212 Use char because int might match the return type of a GCC
34213 builtin and then its argument prototype would still apply. */
34221 return dnet_ntoa ();
34226 rm -f conftest.$ac_objext conftest$ac_exeext
34227 if { (ac_try="$ac_link"
34228 case "(($ac_try" in
34229 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34230 *) ac_try_echo
=$ac_try;;
34232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34233 (eval "$ac_link") 2>conftest.er1
34235 grep -v '^ *+' conftest.er1
>conftest.err
34237 cat conftest.err
>&5
34238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34239 (exit $ac_status); } &&
34240 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34241 { (case "(($ac_try" in
34242 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34243 *) ac_try_echo=$ac_try;;
34245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34246 (eval "$ac_try") 2>&5
34248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34249 (exit $ac_status); }; } &&
34250 { ac_try='test -s conftest$ac_exeext'
34251 { (case "(($ac_try" in
34252 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34253 *) ac_try_echo
=$ac_try;;
34255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34256 (eval "$ac_try") 2>&5
34258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34259 (exit $ac_status); }; }; then
34260 ac_cv_lib_dnet_dnet_ntoa
=yes
34262 echo "$as_me: failed program was:" >&5
34263 sed 's/^/| /' conftest.
$ac_ext >&5
34265 ac_cv_lib_dnet_dnet_ntoa
=no
34268 rm -f core conftest.err conftest.
$ac_objext \
34269 conftest
$ac_exeext conftest.
$ac_ext
34270 LIBS
=$ac_check_lib_save_LIBS
34272 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
34273 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
34274 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
34275 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
34278 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
34279 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
34280 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
34281 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
34282 echo $ECHO_N "(cached) $ECHO_C" >&6
34284 ac_check_lib_save_LIBS
=$LIBS
34285 LIBS
="-ldnet_stub $LIBS"
34286 cat >conftest.
$ac_ext <<_ACEOF
34289 cat confdefs.h
>>conftest.
$ac_ext
34290 cat >>conftest.
$ac_ext <<_ACEOF
34291 /* end confdefs.h. */
34293 /* Override any GCC internal prototype to avoid an error.
34294 Use char because int might match the return type of a GCC
34295 builtin and then its argument prototype would still apply. */
34303 return dnet_ntoa ();
34308 rm -f conftest.
$ac_objext conftest
$ac_exeext
34309 if { (ac_try
="$ac_link"
34310 case "(($ac_try" in
34311 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34312 *) ac_try_echo=$ac_try;;
34314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34315 (eval "$ac_link") 2>conftest.er1
34317 grep -v '^ *+' conftest.er1 >conftest.err
34319 cat conftest.err >&5
34320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34321 (exit $ac_status); } &&
34322 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34323 { (case "(($ac_try" in
34324 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34325 *) ac_try_echo
=$ac_try;;
34327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34328 (eval "$ac_try") 2>&5
34330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34331 (exit $ac_status); }; } &&
34332 { ac_try
='test -s conftest$ac_exeext'
34333 { (case "(($ac_try" in
34334 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34335 *) ac_try_echo=$ac_try;;
34337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34338 (eval "$ac_try") 2>&5
34340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34341 (exit $ac_status); }; }; then
34342 ac_cv_lib_dnet_stub_dnet_ntoa=yes
34344 echo "$as_me: failed program was:" >&5
34345 sed 's/^/| /' conftest.$ac_ext >&5
34347 ac_cv_lib_dnet_stub_dnet_ntoa=no
34350 rm -f core conftest.err conftest.$ac_objext \
34351 conftest$ac_exeext conftest.$ac_ext
34352 LIBS=$ac_check_lib_save_LIBS
34354 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
34355 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
34356 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
34357 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
34363 rm -f core conftest.err conftest.$ac_objext \
34364 conftest$ac_exeext conftest.$ac_ext
34365 LIBS="$ac_xsave_LIBS"
34367 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
34368 # to get the SysV transport functions.
34369 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
34371 # The nsl library prevents programs from opening the X display
34372 # on Irix 5.2, according to T.E. Dickey.
34373 # The functions gethostbyname, getservbyname, and inet_addr are
34374 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
34375 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
34376 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
34377 if test "${ac_cv_func_gethostbyname+set}" = set; then
34378 echo $ECHO_N "(cached) $ECHO_C" >&6
34380 cat >conftest.$ac_ext <<_ACEOF
34383 cat confdefs.h >>conftest.$ac_ext
34384 cat >>conftest.$ac_ext <<_ACEOF
34385 /* end confdefs.h. */
34386 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
34387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34388 #define gethostbyname innocuous_gethostbyname
34390 /* System header to define __stub macros and hopefully few prototypes,
34391 which can conflict with char gethostbyname (); below.
34392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34393 <limits.h> exists even on freestanding compilers. */
34396 # include <limits.h>
34398 # include <assert.h>
34401 #undef gethostbyname
34403 /* Override any GCC internal prototype to avoid an error.
34404 Use char because int might match the return type of a GCC
34405 builtin and then its argument prototype would still apply. */
34409 char gethostbyname ();
34410 /* The GNU C library defines this for functions which it implements
34411 to always fail with ENOSYS. Some functions are actually named
34412 something starting with __ and the normal name is an alias. */
34413 #if defined __stub_gethostbyname || defined __stub___gethostbyname
34420 return gethostbyname ();
34425 rm -f conftest.$ac_objext conftest$ac_exeext
34426 if { (ac_try="$ac_link"
34427 case "(($ac_try" in
34428 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34429 *) ac_try_echo
=$ac_try;;
34431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34432 (eval "$ac_link") 2>conftest.er1
34434 grep -v '^ *+' conftest.er1
>conftest.err
34436 cat conftest.err
>&5
34437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34438 (exit $ac_status); } &&
34439 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34440 { (case "(($ac_try" in
34441 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34442 *) ac_try_echo=$ac_try;;
34444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34445 (eval "$ac_try") 2>&5
34447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34448 (exit $ac_status); }; } &&
34449 { ac_try='test -s conftest$ac_exeext'
34450 { (case "(($ac_try" in
34451 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34452 *) ac_try_echo
=$ac_try;;
34454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34455 (eval "$ac_try") 2>&5
34457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34458 (exit $ac_status); }; }; then
34459 ac_cv_func_gethostbyname
=yes
34461 echo "$as_me: failed program was:" >&5
34462 sed 's/^/| /' conftest.
$ac_ext >&5
34464 ac_cv_func_gethostbyname
=no
34467 rm -f core conftest.err conftest.
$ac_objext \
34468 conftest
$ac_exeext conftest.
$ac_ext
34470 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
34471 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
34473 if test $ac_cv_func_gethostbyname = no
; then
34474 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
34475 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
34476 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
34477 echo $ECHO_N "(cached) $ECHO_C" >&6
34479 ac_check_lib_save_LIBS
=$LIBS
34481 cat >conftest.
$ac_ext <<_ACEOF
34484 cat confdefs.h
>>conftest.
$ac_ext
34485 cat >>conftest.
$ac_ext <<_ACEOF
34486 /* end confdefs.h. */
34488 /* Override any GCC internal prototype to avoid an error.
34489 Use char because int might match the return type of a GCC
34490 builtin and then its argument prototype would still apply. */
34494 char gethostbyname ();
34498 return gethostbyname ();
34503 rm -f conftest.
$ac_objext conftest
$ac_exeext
34504 if { (ac_try
="$ac_link"
34505 case "(($ac_try" in
34506 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34507 *) ac_try_echo=$ac_try;;
34509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34510 (eval "$ac_link") 2>conftest.er1
34512 grep -v '^ *+' conftest.er1 >conftest.err
34514 cat conftest.err >&5
34515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34516 (exit $ac_status); } &&
34517 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34518 { (case "(($ac_try" in
34519 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34520 *) ac_try_echo
=$ac_try;;
34522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34523 (eval "$ac_try") 2>&5
34525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34526 (exit $ac_status); }; } &&
34527 { ac_try
='test -s conftest$ac_exeext'
34528 { (case "(($ac_try" in
34529 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34530 *) ac_try_echo=$ac_try;;
34532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34533 (eval "$ac_try") 2>&5
34535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34536 (exit $ac_status); }; }; then
34537 ac_cv_lib_nsl_gethostbyname=yes
34539 echo "$as_me: failed program was:" >&5
34540 sed 's/^/| /' conftest.$ac_ext >&5
34542 ac_cv_lib_nsl_gethostbyname=no
34545 rm -f core conftest.err conftest.$ac_objext \
34546 conftest$ac_exeext conftest.$ac_ext
34547 LIBS=$ac_check_lib_save_LIBS
34549 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
34550 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
34551 if test $ac_cv_lib_nsl_gethostbyname = yes; then
34552 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
34555 if test $ac_cv_lib_nsl_gethostbyname = no; then
34556 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
34557 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
34558 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
34559 echo $ECHO_N "(cached) $ECHO_C" >&6
34561 ac_check_lib_save_LIBS=$LIBS
34563 cat >conftest.$ac_ext <<_ACEOF
34566 cat confdefs.h >>conftest.$ac_ext
34567 cat >>conftest.$ac_ext <<_ACEOF
34568 /* end confdefs.h. */
34570 /* Override any GCC internal prototype to avoid an error.
34571 Use char because int might match the return type of a GCC
34572 builtin and then its argument prototype would still apply. */
34576 char gethostbyname ();
34580 return gethostbyname ();
34585 rm -f conftest.$ac_objext conftest$ac_exeext
34586 if { (ac_try="$ac_link"
34587 case "(($ac_try" in
34588 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34589 *) ac_try_echo
=$ac_try;;
34591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34592 (eval "$ac_link") 2>conftest.er1
34594 grep -v '^ *+' conftest.er1
>conftest.err
34596 cat conftest.err
>&5
34597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34598 (exit $ac_status); } &&
34599 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34600 { (case "(($ac_try" in
34601 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34602 *) ac_try_echo=$ac_try;;
34604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34605 (eval "$ac_try") 2>&5
34607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34608 (exit $ac_status); }; } &&
34609 { ac_try='test -s conftest$ac_exeext'
34610 { (case "(($ac_try" in
34611 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34612 *) ac_try_echo
=$ac_try;;
34614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34615 (eval "$ac_try") 2>&5
34617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34618 (exit $ac_status); }; }; then
34619 ac_cv_lib_bsd_gethostbyname
=yes
34621 echo "$as_me: failed program was:" >&5
34622 sed 's/^/| /' conftest.
$ac_ext >&5
34624 ac_cv_lib_bsd_gethostbyname
=no
34627 rm -f core conftest.err conftest.
$ac_objext \
34628 conftest
$ac_exeext conftest.
$ac_ext
34629 LIBS
=$ac_check_lib_save_LIBS
34631 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
34632 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
34633 if test $ac_cv_lib_bsd_gethostbyname = yes; then
34634 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
34640 # lieder@skyler.mavd.honeywell.com says without -lsocket,
34641 # socket/setsockopt and other routines are undefined under SCO ODT
34642 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
34643 # on later versions), says Simon Leinen: it contains gethostby*
34644 # variants that don't use the name server (or something). -lsocket
34645 # must be given before -lnsl if both are needed. We assume that
34646 # if connect needs -lnsl, so does gethostbyname.
34647 { echo "$as_me:$LINENO: checking for connect" >&5
34648 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
34649 if test "${ac_cv_func_connect+set}" = set; then
34650 echo $ECHO_N "(cached) $ECHO_C" >&6
34652 cat >conftest.
$ac_ext <<_ACEOF
34655 cat confdefs.h
>>conftest.
$ac_ext
34656 cat >>conftest.
$ac_ext <<_ACEOF
34657 /* end confdefs.h. */
34658 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
34659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34660 #define connect innocuous_connect
34662 /* System header to define __stub macros and hopefully few prototypes,
34663 which can conflict with char connect (); below.
34664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34665 <limits.h> exists even on freestanding compilers. */
34668 # include <limits.h>
34670 # include <assert.h>
34675 /* Override any GCC internal prototype to avoid an error.
34676 Use char because int might match the return type of a GCC
34677 builtin and then its argument prototype would still apply. */
34682 /* The GNU C library defines this for functions which it implements
34683 to always fail with ENOSYS. Some functions are actually named
34684 something starting with __ and the normal name is an alias. */
34685 #if defined __stub_connect || defined __stub___connect
34697 rm -f conftest.
$ac_objext conftest
$ac_exeext
34698 if { (ac_try
="$ac_link"
34699 case "(($ac_try" in
34700 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34701 *) ac_try_echo=$ac_try;;
34703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34704 (eval "$ac_link") 2>conftest.er1
34706 grep -v '^ *+' conftest.er1 >conftest.err
34708 cat conftest.err >&5
34709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34710 (exit $ac_status); } &&
34711 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34712 { (case "(($ac_try" in
34713 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34714 *) ac_try_echo
=$ac_try;;
34716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34717 (eval "$ac_try") 2>&5
34719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34720 (exit $ac_status); }; } &&
34721 { ac_try
='test -s conftest$ac_exeext'
34722 { (case "(($ac_try" in
34723 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34724 *) ac_try_echo=$ac_try;;
34726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34727 (eval "$ac_try") 2>&5
34729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34730 (exit $ac_status); }; }; then
34731 ac_cv_func_connect=yes
34733 echo "$as_me: failed program was:" >&5
34734 sed 's/^/| /' conftest.$ac_ext >&5
34736 ac_cv_func_connect=no
34739 rm -f core conftest.err conftest.$ac_objext \
34740 conftest$ac_exeext conftest.$ac_ext
34742 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
34743 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
34745 if test $ac_cv_func_connect = no; then
34746 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
34747 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
34748 if test "${ac_cv_lib_socket_connect+set}" = set; then
34749 echo $ECHO_N "(cached) $ECHO_C" >&6
34751 ac_check_lib_save_LIBS=$LIBS
34752 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
34753 cat >conftest.$ac_ext <<_ACEOF
34756 cat confdefs.h >>conftest.$ac_ext
34757 cat >>conftest.$ac_ext <<_ACEOF
34758 /* end confdefs.h. */
34760 /* Override any GCC internal prototype to avoid an error.
34761 Use char because int might match the return type of a GCC
34762 builtin and then its argument prototype would still apply. */
34775 rm -f conftest.$ac_objext conftest$ac_exeext
34776 if { (ac_try="$ac_link"
34777 case "(($ac_try" in
34778 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34779 *) ac_try_echo
=$ac_try;;
34781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34782 (eval "$ac_link") 2>conftest.er1
34784 grep -v '^ *+' conftest.er1
>conftest.err
34786 cat conftest.err
>&5
34787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34788 (exit $ac_status); } &&
34789 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34790 { (case "(($ac_try" in
34791 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34792 *) ac_try_echo=$ac_try;;
34794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34795 (eval "$ac_try") 2>&5
34797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34798 (exit $ac_status); }; } &&
34799 { ac_try='test -s conftest$ac_exeext'
34800 { (case "(($ac_try" in
34801 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34802 *) ac_try_echo
=$ac_try;;
34804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34805 (eval "$ac_try") 2>&5
34807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34808 (exit $ac_status); }; }; then
34809 ac_cv_lib_socket_connect
=yes
34811 echo "$as_me: failed program was:" >&5
34812 sed 's/^/| /' conftest.
$ac_ext >&5
34814 ac_cv_lib_socket_connect
=no
34817 rm -f core conftest.err conftest.
$ac_objext \
34818 conftest
$ac_exeext conftest.
$ac_ext
34819 LIBS
=$ac_check_lib_save_LIBS
34821 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
34822 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
34823 if test $ac_cv_lib_socket_connect = yes; then
34824 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
34829 # Guillermo Gomez says -lposix is necessary on A/UX.
34830 { echo "$as_me:$LINENO: checking for remove" >&5
34831 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
34832 if test "${ac_cv_func_remove+set}" = set; then
34833 echo $ECHO_N "(cached) $ECHO_C" >&6
34835 cat >conftest.
$ac_ext <<_ACEOF
34838 cat confdefs.h
>>conftest.
$ac_ext
34839 cat >>conftest.
$ac_ext <<_ACEOF
34840 /* end confdefs.h. */
34841 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
34842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34843 #define remove innocuous_remove
34845 /* System header to define __stub macros and hopefully few prototypes,
34846 which can conflict with char remove (); below.
34847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34848 <limits.h> exists even on freestanding compilers. */
34851 # include <limits.h>
34853 # include <assert.h>
34858 /* Override any GCC internal prototype to avoid an error.
34859 Use char because int might match the return type of a GCC
34860 builtin and then its argument prototype would still apply. */
34865 /* The GNU C library defines this for functions which it implements
34866 to always fail with ENOSYS. Some functions are actually named
34867 something starting with __ and the normal name is an alias. */
34868 #if defined __stub_remove || defined __stub___remove
34880 rm -f conftest.
$ac_objext conftest
$ac_exeext
34881 if { (ac_try
="$ac_link"
34882 case "(($ac_try" in
34883 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34884 *) ac_try_echo=$ac_try;;
34886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34887 (eval "$ac_link") 2>conftest.er1
34889 grep -v '^ *+' conftest.er1 >conftest.err
34891 cat conftest.err >&5
34892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34893 (exit $ac_status); } &&
34894 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34895 { (case "(($ac_try" in
34896 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34897 *) ac_try_echo
=$ac_try;;
34899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34900 (eval "$ac_try") 2>&5
34902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34903 (exit $ac_status); }; } &&
34904 { ac_try
='test -s conftest$ac_exeext'
34905 { (case "(($ac_try" in
34906 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34907 *) ac_try_echo=$ac_try;;
34909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34910 (eval "$ac_try") 2>&5
34912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34913 (exit $ac_status); }; }; then
34914 ac_cv_func_remove=yes
34916 echo "$as_me: failed program was:" >&5
34917 sed 's/^/| /' conftest.$ac_ext >&5
34919 ac_cv_func_remove=no
34922 rm -f core conftest.err conftest.$ac_objext \
34923 conftest$ac_exeext conftest.$ac_ext
34925 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
34926 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
34928 if test $ac_cv_func_remove = no; then
34929 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
34930 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
34931 if test "${ac_cv_lib_posix_remove+set}" = set; then
34932 echo $ECHO_N "(cached) $ECHO_C" >&6
34934 ac_check_lib_save_LIBS=$LIBS
34935 LIBS="-lposix $LIBS"
34936 cat >conftest.$ac_ext <<_ACEOF
34939 cat confdefs.h >>conftest.$ac_ext
34940 cat >>conftest.$ac_ext <<_ACEOF
34941 /* end confdefs.h. */
34943 /* Override any GCC internal prototype to avoid an error.
34944 Use char because int might match the return type of a GCC
34945 builtin and then its argument prototype would still apply. */
34958 rm -f conftest.$ac_objext conftest$ac_exeext
34959 if { (ac_try="$ac_link"
34960 case "(($ac_try" in
34961 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34962 *) ac_try_echo
=$ac_try;;
34964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34965 (eval "$ac_link") 2>conftest.er1
34967 grep -v '^ *+' conftest.er1
>conftest.err
34969 cat conftest.err
>&5
34970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34971 (exit $ac_status); } &&
34972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34973 { (case "(($ac_try" in
34974 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34975 *) ac_try_echo=$ac_try;;
34977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34978 (eval "$ac_try") 2>&5
34980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34981 (exit $ac_status); }; } &&
34982 { ac_try='test -s conftest$ac_exeext'
34983 { (case "(($ac_try" in
34984 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34985 *) ac_try_echo
=$ac_try;;
34987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34988 (eval "$ac_try") 2>&5
34990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34991 (exit $ac_status); }; }; then
34992 ac_cv_lib_posix_remove
=yes
34994 echo "$as_me: failed program was:" >&5
34995 sed 's/^/| /' conftest.
$ac_ext >&5
34997 ac_cv_lib_posix_remove
=no
35000 rm -f core conftest.err conftest.
$ac_objext \
35001 conftest
$ac_exeext conftest.
$ac_ext
35002 LIBS
=$ac_check_lib_save_LIBS
35004 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
35005 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
35006 if test $ac_cv_lib_posix_remove = yes; then
35007 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
35012 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
35013 { echo "$as_me:$LINENO: checking for shmat" >&5
35014 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
35015 if test "${ac_cv_func_shmat+set}" = set; then
35016 echo $ECHO_N "(cached) $ECHO_C" >&6
35018 cat >conftest.
$ac_ext <<_ACEOF
35021 cat confdefs.h
>>conftest.
$ac_ext
35022 cat >>conftest.
$ac_ext <<_ACEOF
35023 /* end confdefs.h. */
35024 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
35025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35026 #define shmat innocuous_shmat
35028 /* System header to define __stub macros and hopefully few prototypes,
35029 which can conflict with char shmat (); below.
35030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35031 <limits.h> exists even on freestanding compilers. */
35034 # include <limits.h>
35036 # include <assert.h>
35041 /* Override any GCC internal prototype to avoid an error.
35042 Use char because int might match the return type of a GCC
35043 builtin and then its argument prototype would still apply. */
35048 /* The GNU C library defines this for functions which it implements
35049 to always fail with ENOSYS. Some functions are actually named
35050 something starting with __ and the normal name is an alias. */
35051 #if defined __stub_shmat || defined __stub___shmat
35063 rm -f conftest.
$ac_objext conftest
$ac_exeext
35064 if { (ac_try
="$ac_link"
35065 case "(($ac_try" in
35066 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35067 *) ac_try_echo=$ac_try;;
35069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35070 (eval "$ac_link") 2>conftest.er1
35072 grep -v '^ *+' conftest.er1 >conftest.err
35074 cat conftest.err >&5
35075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35076 (exit $ac_status); } &&
35077 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35078 { (case "(($ac_try" in
35079 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35080 *) ac_try_echo
=$ac_try;;
35082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35083 (eval "$ac_try") 2>&5
35085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35086 (exit $ac_status); }; } &&
35087 { ac_try
='test -s conftest$ac_exeext'
35088 { (case "(($ac_try" in
35089 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35090 *) ac_try_echo=$ac_try;;
35092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35093 (eval "$ac_try") 2>&5
35095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35096 (exit $ac_status); }; }; then
35097 ac_cv_func_shmat=yes
35099 echo "$as_me: failed program was:" >&5
35100 sed 's/^/| /' conftest.$ac_ext >&5
35102 ac_cv_func_shmat=no
35105 rm -f core conftest.err conftest.$ac_objext \
35106 conftest$ac_exeext conftest.$ac_ext
35108 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
35109 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
35111 if test $ac_cv_func_shmat = no; then
35112 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
35113 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
35114 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
35115 echo $ECHO_N "(cached) $ECHO_C" >&6
35117 ac_check_lib_save_LIBS=$LIBS
35119 cat >conftest.$ac_ext <<_ACEOF
35122 cat confdefs.h >>conftest.$ac_ext
35123 cat >>conftest.$ac_ext <<_ACEOF
35124 /* end confdefs.h. */
35126 /* Override any GCC internal prototype to avoid an error.
35127 Use char because int might match the return type of a GCC
35128 builtin and then its argument prototype would still apply. */
35141 rm -f conftest.$ac_objext conftest$ac_exeext
35142 if { (ac_try="$ac_link"
35143 case "(($ac_try" in
35144 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35145 *) ac_try_echo
=$ac_try;;
35147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35148 (eval "$ac_link") 2>conftest.er1
35150 grep -v '^ *+' conftest.er1
>conftest.err
35152 cat conftest.err
>&5
35153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35154 (exit $ac_status); } &&
35155 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35156 { (case "(($ac_try" in
35157 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35158 *) ac_try_echo=$ac_try;;
35160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35161 (eval "$ac_try") 2>&5
35163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35164 (exit $ac_status); }; } &&
35165 { ac_try='test -s conftest$ac_exeext'
35166 { (case "(($ac_try" in
35167 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35168 *) ac_try_echo
=$ac_try;;
35170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35171 (eval "$ac_try") 2>&5
35173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35174 (exit $ac_status); }; }; then
35175 ac_cv_lib_ipc_shmat
=yes
35177 echo "$as_me: failed program was:" >&5
35178 sed 's/^/| /' conftest.
$ac_ext >&5
35180 ac_cv_lib_ipc_shmat
=no
35183 rm -f core conftest.err conftest.
$ac_objext \
35184 conftest
$ac_exeext conftest.
$ac_ext
35185 LIBS
=$ac_check_lib_save_LIBS
35187 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
35188 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
35189 if test $ac_cv_lib_ipc_shmat = yes; then
35190 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
35196 # Check for libraries that X11R6 Xt/Xaw programs need.
35197 ac_save_LDFLAGS
=$LDFLAGS
35198 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
35199 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
35200 # check for ICE first), but we must link in the order -lSM -lICE or
35201 # we get undefined symbols. So assume we have SM if we have ICE.
35202 # These have to be linked with before -lX11, unlike the other
35203 # libraries we check for below, so use a different variable.
35204 # John Interrante, Karl Berry
35205 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
35206 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
35207 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
35208 echo $ECHO_N "(cached) $ECHO_C" >&6
35210 ac_check_lib_save_LIBS
=$LIBS
35211 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
35212 cat >conftest.
$ac_ext <<_ACEOF
35215 cat confdefs.h
>>conftest.
$ac_ext
35216 cat >>conftest.
$ac_ext <<_ACEOF
35217 /* end confdefs.h. */
35219 /* Override any GCC internal prototype to avoid an error.
35220 Use char because int might match the return type of a GCC
35221 builtin and then its argument prototype would still apply. */
35225 char IceConnectionNumber ();
35229 return IceConnectionNumber ();
35234 rm -f conftest.
$ac_objext conftest
$ac_exeext
35235 if { (ac_try
="$ac_link"
35236 case "(($ac_try" in
35237 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35238 *) ac_try_echo=$ac_try;;
35240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35241 (eval "$ac_link") 2>conftest.er1
35243 grep -v '^ *+' conftest.er1 >conftest.err
35245 cat conftest.err >&5
35246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35247 (exit $ac_status); } &&
35248 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35249 { (case "(($ac_try" in
35250 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35251 *) ac_try_echo
=$ac_try;;
35253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35254 (eval "$ac_try") 2>&5
35256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35257 (exit $ac_status); }; } &&
35258 { ac_try
='test -s conftest$ac_exeext'
35259 { (case "(($ac_try" in
35260 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35261 *) ac_try_echo=$ac_try;;
35263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35264 (eval "$ac_try") 2>&5
35266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35267 (exit $ac_status); }; }; then
35268 ac_cv_lib_ICE_IceConnectionNumber=yes
35270 echo "$as_me: failed program was:" >&5
35271 sed 's/^/| /' conftest.$ac_ext >&5
35273 ac_cv_lib_ICE_IceConnectionNumber=no
35276 rm -f core conftest.err conftest.$ac_objext \
35277 conftest$ac_exeext conftest.$ac_ext
35278 LIBS=$ac_check_lib_save_LIBS
35280 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
35281 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
35282 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
35283 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
35286 LDFLAGS=$ac_save_LDFLAGS
35291 if test "$no_x" = "yes"; then
35292 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
35293 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
35294 { (exit 1); exit 1; }; }
35297 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
35298 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
35299 AFMINSTALL=afminstall
35300 COMPILED_X_PROGRAM=0
35304 if test "$wxUSE_X11" = 1; then
35305 if test "$wxUSE_NANOX" = "yes"; then
35306 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
35307 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
35308 if test "x$MICROWIN" = x ; then
35309 { echo "$as_me:$LINENO: result: not found" >&5
35310 echo "${ECHO_T}not found" >&6; }
35311 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
35312 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
35313 { (exit 1); exit 1; }; }
35315 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
35316 echo "${ECHO_T}$MICROWIN" >&6; }
35317 cat >>confdefs.h <<\_ACEOF
35318 #define wxUSE_NANOX 1
35324 if test "$wxUSE_UNICODE" = "yes"; then
35327 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
35328 if test -n "$ac_tool_prefix"; then
35329 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
35330 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
35331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35333 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35334 echo $ECHO_N "(cached) $ECHO_C" >&6
35336 case $PKG_CONFIG in
35338 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
35341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35342 for as_dir in $PATH
35345 test -z "$as_dir" && as_dir=.
35346 for ac_exec_ext in '' $ac_executable_extensions; do
35347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
35348 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35359 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
35360 if test -n "$PKG_CONFIG"; then
35361 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35362 echo "${ECHO_T}$PKG_CONFIG" >&6; }
35364 { echo "$as_me:$LINENO: result: no" >&5
35365 echo "${ECHO_T}no" >&6; }
35370 if test -z "$ac_cv_path_PKG_CONFIG"; then
35371 ac_pt_PKG_CONFIG=$PKG_CONFIG
35372 # Extract the first word of "pkg-config", so it can be a program name with args.
35373 set dummy pkg-config; ac_word=$2
35374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35376 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35377 echo $ECHO_N "(cached) $ECHO_C" >&6
35379 case $ac_pt_PKG_CONFIG in
35381 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35385 for as_dir in $PATH
35388 test -z "$as_dir" && as_dir=.
35389 for ac_exec_ext in '' $ac_executable_extensions; do
35390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
35391 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35402 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
35403 if test -n "$ac_pt_PKG_CONFIG"; then
35404 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35405 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
35407 { echo "$as_me:$LINENO: result: no" >&5
35408 echo "${ECHO_T}no" >&6; }
35411 if test "x$ac_pt_PKG_CONFIG" = x; then
35414 case $cross_compiling:$ac_tool_warned in
35416 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
35417 whose name does not start with the host triplet. If you think this
35418 configuration is useful to you, please write to autoconf@gnu.org." >&5
35419 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
35420 whose name does not start with the host triplet. If you think this
35421 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
35422 ac_tool_warned=yes ;;
35424 PKG_CONFIG=$ac_pt_PKG_CONFIG
35427 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
35431 if test -n "$PKG_CONFIG"; then
35432 _pkg_min_version=0.9.0
35433 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35434 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
35435 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35436 { echo "$as_me:$LINENO: result: yes" >&5
35437 echo "${ECHO_T}yes" >&6; }
35439 { echo "$as_me:$LINENO: result: no" >&5
35440 echo "${ECHO_T}no" >&6; }
35448 { echo "$as_me:$LINENO: checking for PANGOX" >&5
35449 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
35451 if test -n "$PKG_CONFIG"; then
35452 if test -n "$PANGOX_CFLAGS"; then
35453 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
35455 if test -n "$PKG_CONFIG" && \
35456 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
35457 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
35459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35460 (exit $ac_status); }; then
35461 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev
/null
`
35469 if test -n "$PKG_CONFIG"; then
35470 if test -n "$PANGOX_LIBS"; then
35471 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
35473 if test -n "$PKG_CONFIG" && \
35474 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
35475 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
35477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35478 (exit $ac_status); }; then
35479 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev
/null
`
35490 if test $pkg_failed = yes; then
35492 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35493 _pkg_short_errors_supported=yes
35495 _pkg_short_errors_supported=no
35497 if test $_pkg_short_errors_supported = yes; then
35498 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
35500 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
35502 # Put the nasty error message in config.log where it belongs
35503 echo "$PANGOX_PKG_ERRORS" >&5
35506 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
35507 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
35508 { (exit 1); exit 1; }; }
35511 elif test $pkg_failed = untried; then
35513 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
35514 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
35515 { (exit 1); exit 1; }; }
35519 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
35520 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
35521 { echo "$as_me:$LINENO: result: yes" >&5
35522 echo "${ECHO_T}yes" >&6; }
35524 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
35525 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
35526 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
35531 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
35532 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
35534 if test -n "$PKG_CONFIG"; then
35535 if test -n "$PANGOFT2_CFLAGS"; then
35536 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
35538 if test -n "$PKG_CONFIG" && \
35539 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
35540 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
35542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35543 (exit $ac_status); }; then
35544 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev
/null
`
35552 if test -n "$PKG_CONFIG"; then
35553 if test -n "$PANGOFT2_LIBS"; then
35554 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
35556 if test -n "$PKG_CONFIG" && \
35557 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
35558 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
35560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35561 (exit $ac_status); }; then
35562 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev
/null
`
35573 if test $pkg_failed = yes; then
35575 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35576 _pkg_short_errors_supported=yes
35578 _pkg_short_errors_supported=no
35580 if test $_pkg_short_errors_supported = yes; then
35581 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
35583 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
35585 # Put the nasty error message in config.log where it belongs
35586 echo "$PANGOFT2_PKG_ERRORS" >&5
35589 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
35590 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
35591 wxUSE_PRINTING_ARCHITECTURE="no"
35594 elif test $pkg_failed = untried; then
35596 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
35597 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
35598 wxUSE_PRINTING_ARCHITECTURE="no"
35602 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
35603 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
35604 { echo "$as_me:$LINENO: result: yes" >&5
35605 echo "${ECHO_T}yes" >&6; }
35607 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
35608 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
35609 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
35614 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
35615 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
35617 if test -n "$PKG_CONFIG"; then
35618 if test -n "$PANGOXFT_CFLAGS"; then
35619 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
35621 if test -n "$PKG_CONFIG" && \
35622 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
35623 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
35625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35626 (exit $ac_status); }; then
35627 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev
/null
`
35635 if test -n "$PKG_CONFIG"; then
35636 if test -n "$PANGOXFT_LIBS"; then
35637 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
35639 if test -n "$PKG_CONFIG" && \
35640 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
35641 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
35643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35644 (exit $ac_status); }; then
35645 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev
/null
`
35656 if test $pkg_failed = yes; then
35658 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35659 _pkg_short_errors_supported=yes
35661 _pkg_short_errors_supported=no
35663 if test $_pkg_short_errors_supported = yes; then
35664 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
35666 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
35668 # Put the nasty error message in config.log where it belongs
35669 echo "$PANGOXFT_PKG_ERRORS" >&5
35672 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
35673 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
35676 elif test $pkg_failed = untried; then
35678 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
35679 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
35683 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
35684 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
35685 { echo "$as_me:$LINENO: result: yes" >&5
35686 echo "${ECHO_T}yes" >&6; }
35688 cat >>confdefs.h <<\_ACEOF
35689 #define HAVE_PANGO_XFT 1
35692 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
35693 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
35694 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
35698 LIBS="$LIBS $PANGOX_LIBS"
35700 for ac_func in pango_font_family_is_monospace
35702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35703 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35705 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35706 echo $ECHO_N "(cached) $ECHO_C" >&6
35708 cat >conftest.$ac_ext <<_ACEOF
35711 cat confdefs.h >>conftest.$ac_ext
35712 cat >>conftest.$ac_ext <<_ACEOF
35713 /* end confdefs.h. */
35714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35716 #define $ac_func innocuous_$ac_func
35718 /* System header to define __stub macros and hopefully few prototypes,
35719 which can conflict with char $ac_func (); below.
35720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35721 <limits.h> exists even on freestanding compilers. */
35724 # include <limits.h>
35726 # include <assert.h>
35731 /* Override any GCC internal prototype to avoid an error.
35732 Use char because int might match the return type of a GCC
35733 builtin and then its argument prototype would still apply. */
35738 /* The GNU C library defines this for functions which it implements
35739 to always fail with ENOSYS. Some functions are actually named
35740 something starting with __ and the normal name is an alias. */
35741 #if defined __stub_$ac_func || defined __stub___$ac_func
35748 return $ac_func ();
35753 rm -f conftest.$ac_objext conftest$ac_exeext
35754 if { (ac_try="$ac_link"
35755 case "(($ac_try" in
35756 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35757 *) ac_try_echo
=$ac_try;;
35759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35760 (eval "$ac_link") 2>conftest.er1
35762 grep -v '^ *+' conftest.er1
>conftest.err
35764 cat conftest.err
>&5
35765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35766 (exit $ac_status); } &&
35767 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35768 { (case "(($ac_try" in
35769 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35770 *) ac_try_echo=$ac_try;;
35772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35773 (eval "$ac_try") 2>&5
35775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35776 (exit $ac_status); }; } &&
35777 { ac_try='test -s conftest$ac_exeext'
35778 { (case "(($ac_try" in
35779 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35780 *) ac_try_echo
=$ac_try;;
35782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35783 (eval "$ac_try") 2>&5
35785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35786 (exit $ac_status); }; }; then
35787 eval "$as_ac_var=yes"
35789 echo "$as_me: failed program was:" >&5
35790 sed 's/^/| /' conftest.
$ac_ext >&5
35792 eval "$as_ac_var=no"
35795 rm -f core conftest.err conftest.
$ac_objext \
35796 conftest
$ac_exeext conftest.
$ac_ext
35798 ac_res
=`eval echo '${'$as_ac_var'}'`
35799 { echo "$as_me:$LINENO: result: $ac_res" >&5
35800 echo "${ECHO_T}$ac_res" >&6; }
35801 if test `eval echo '${'$as_ac_var'}'` = yes; then
35802 cat >>confdefs.h
<<_ACEOF
35803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35812 wxUSE_UNIVERSAL
="yes"
35814 if test "$wxUSE_NANOX" = "yes"; then
35815 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
35816 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"
35817 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
35819 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
35826 if test "$wxUSE_MOTIF" = 1; then
35827 if test "$wxUSE_UNICODE" = "yes"; then
35828 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
35829 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
35830 { (exit 1); exit 1; }; }
35833 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
35834 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
35837 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
35839 if test -f "$ac_dir/Xm/Xm.h"; then
35840 ac_find_includes
=$ac_dir
35845 if test "$ac_find_includes" != "" ; then
35846 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35847 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35849 if test "x$ac_find_includes" = "x/usr/include"; then
35850 ac_path_to_include
=""
35852 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
35854 if test $result = 0; then
35855 ac_path_to_include
=""
35857 ac_path_to_include
=" -I$ac_find_includes"
35861 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
35863 save_CFLAGS
=$CFLAGS
35864 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
35866 cat >conftest.
$ac_ext <<_ACEOF
35869 cat confdefs.h
>>conftest.
$ac_ext
35870 cat >>conftest.
$ac_ext <<_ACEOF
35871 /* end confdefs.h. */
35880 version = xmUseVersion;
35886 rm -f conftest.
$ac_objext
35887 if { (ac_try
="$ac_compile"
35888 case "(($ac_try" in
35889 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35890 *) ac_try_echo=$ac_try;;
35892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35893 (eval "$ac_compile") 2>conftest.er1
35895 grep -v '^ *+' conftest.er1 >conftest.err
35897 cat conftest.err >&5
35898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35899 (exit $ac_status); } &&
35900 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35901 { (case "(($ac_try" in
35902 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35903 *) ac_try_echo
=$ac_try;;
35905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35906 (eval "$ac_try") 2>&5
35908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35909 (exit $ac_status); }; } &&
35910 { ac_try
='test -s conftest.$ac_objext'
35911 { (case "(($ac_try" in
35912 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35913 *) ac_try_echo=$ac_try;;
35915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35916 (eval "$ac_try") 2>&5
35918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35919 (exit $ac_status); }; }; then
35921 { echo "$as_me:$LINENO: result: found in default search path" >&5
35922 echo "${ECHO_T}found in default search path" >&6; }
35923 COMPILED_X_PROGRAM=1
35926 echo "$as_me: failed program was:" >&5
35927 sed 's/^/| /' conftest.$ac_ext >&5
35930 { echo "$as_me:$LINENO: result: no" >&5
35931 echo "${ECHO_T}no" >&6; }
35932 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
35933 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
35934 { (exit 1); exit 1; }; }
35939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35941 CFLAGS=$save_CFLAGS
35945 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
35946 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
35949 for ac_dir in $SEARCH_LIB;
35951 for ac_extension in a so sl dylib dll.a; do
35952 if test -f "$ac_dir/libXm.$ac_extension"; then
35953 ac_find_libraries=$ac_dir
35960 if test "x$ac_find_libraries" != "x" ; then
35961 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35962 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35965 if test "$ac_find_libraries" = "default location"; then
35968 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
35970 if test $result = 0; then
35973 ac_path_to_link=" -L$ac_find_libraries"
35977 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
35979 save_CFLAGS=$CFLAGS
35980 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
35982 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
35984 cat >conftest.$ac_ext <<_ACEOF
35987 cat confdefs.h >>conftest.$ac_ext
35988 cat >>conftest.$ac_ext <<_ACEOF
35989 /* end confdefs.h. */
35998 version = xmUseVersion;
36004 rm -f conftest.$ac_objext conftest$ac_exeext
36005 if { (ac_try="$ac_link"
36006 case "(($ac_try" in
36007 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36008 *) ac_try_echo
=$ac_try;;
36010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36011 (eval "$ac_link") 2>conftest.er1
36013 grep -v '^ *+' conftest.er1
>conftest.err
36015 cat conftest.err
>&5
36016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36017 (exit $ac_status); } &&
36018 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36019 { (case "(($ac_try" in
36020 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36021 *) ac_try_echo=$ac_try;;
36023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36024 (eval "$ac_try") 2>&5
36026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36027 (exit $ac_status); }; } &&
36028 { ac_try='test -s conftest$ac_exeext'
36029 { (case "(($ac_try" in
36030 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36031 *) ac_try_echo
=$ac_try;;
36033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36034 (eval "$ac_try") 2>&5
36036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36037 (exit $ac_status); }; }; then
36039 { echo "$as_me:$LINENO: result: found in default search path" >&5
36040 echo "${ECHO_T}found in default search path" >&6; }
36041 COMPILED_X_PROGRAM
=1
36044 echo "$as_me: failed program was:" >&5
36045 sed 's/^/| /' conftest.
$ac_ext >&5
36048 { echo "$as_me:$LINENO: result: no" >&5
36049 echo "${ECHO_T}no" >&6; }
36050 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
36051 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
36052 { (exit 1); exit 1; }; }
36057 rm -f core conftest.err conftest.
$ac_objext \
36058 conftest
$ac_exeext conftest.
$ac_ext
36060 CFLAGS
=$save_CFLAGS
36064 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
36065 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
36069 for libp
in "" " -lXp"; do
36070 if test "$libs_found" = "0"; then
36071 for libsm_ice
in "" " -lSM -lICE"; do
36072 if test "$libs_found" = "0"; then
36074 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
36075 save_CFLAGS
=$CFLAGS
36076 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
36078 cat >conftest.
$ac_ext <<_ACEOF
36081 cat confdefs.h
>>conftest.
$ac_ext
36082 cat >>conftest.
$ac_ext <<_ACEOF
36083 /* end confdefs.h. */
36086 #include <Xm/List.h>
36092 XmString string = NULL;
36095 XmListAddItem(w, string, position);
36101 rm -f conftest.
$ac_objext conftest
$ac_exeext
36102 if { (ac_try
="$ac_link"
36103 case "(($ac_try" in
36104 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36105 *) ac_try_echo=$ac_try;;
36107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36108 (eval "$ac_link") 2>conftest.er1
36110 grep -v '^ *+' conftest.er1 >conftest.err
36112 cat conftest.err >&5
36113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36114 (exit $ac_status); } &&
36115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36116 { (case "(($ac_try" in
36117 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36118 *) ac_try_echo
=$ac_try;;
36120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36121 (eval "$ac_try") 2>&5
36123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36124 (exit $ac_status); }; } &&
36125 { ac_try
='test -s conftest$ac_exeext'
36126 { (case "(($ac_try" in
36127 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36128 *) ac_try_echo=$ac_try;;
36130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36131 (eval "$ac_try") 2>&5
36133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36134 (exit $ac_status); }; }; then
36137 libsm_ice_link="$libsm_ice"
36138 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
36139 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
36143 echo "$as_me: failed program was:" >&5
36144 sed 's/^/| /' conftest.$ac_ext >&5
36150 rm -f core conftest.err conftest.$ac_objext \
36151 conftest$ac_exeext conftest.$ac_ext
36154 CFLAGS=$save_CFLAGS
36160 if test "$libs_found" = "0"; then
36161 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
36162 echo "${ECHO_T}can't find the right libraries" >&6; }
36163 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
36164 echo "$as_me: error: can't link a simple motif program" >&2;}
36165 { (exit 1); exit 1; }; }
36168 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
36169 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
36170 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
36171 echo $ECHO_N "(cached) $ECHO_C" >&6
36173 ac_check_lib_save_LIBS=$LIBS
36175 cat >conftest.$ac_ext <<_ACEOF
36178 cat confdefs.h >>conftest.$ac_ext
36179 cat >>conftest.$ac_ext <<_ACEOF
36180 /* end confdefs.h. */
36182 /* Override any GCC internal prototype to avoid an error.
36183 Use char because int might match the return type of a GCC
36184 builtin and then its argument prototype would still apply. */
36188 char SgCreateList ();
36192 return SgCreateList ();
36197 rm -f conftest.$ac_objext conftest$ac_exeext
36198 if { (ac_try="$ac_link"
36199 case "(($ac_try" in
36200 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36201 *) ac_try_echo
=$ac_try;;
36203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36204 (eval "$ac_link") 2>conftest.er1
36206 grep -v '^ *+' conftest.er1
>conftest.err
36208 cat conftest.err
>&5
36209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36210 (exit $ac_status); } &&
36211 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36212 { (case "(($ac_try" in
36213 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36214 *) ac_try_echo=$ac_try;;
36216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36217 (eval "$ac_try") 2>&5
36219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36220 (exit $ac_status); }; } &&
36221 { ac_try='test -s conftest$ac_exeext'
36222 { (case "(($ac_try" in
36223 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36224 *) ac_try_echo
=$ac_try;;
36226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36227 (eval "$ac_try") 2>&5
36229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36230 (exit $ac_status); }; }; then
36231 ac_cv_lib_Sgm_SgCreateList
=yes
36233 echo "$as_me: failed program was:" >&5
36234 sed 's/^/| /' conftest.
$ac_ext >&5
36236 ac_cv_lib_Sgm_SgCreateList
=no
36239 rm -f core conftest.err conftest.
$ac_objext \
36240 conftest
$ac_exeext conftest.
$ac_ext
36241 LIBS
=$ac_check_lib_save_LIBS
36243 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
36244 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
36245 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
36246 libsgm_link
=" -lSgm"
36250 save_CFLAGS
=$CFLAGS
36251 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
36253 { echo "$as_me:$LINENO: checking for Motif 2" >&5
36254 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
36255 if test "${wx_cv_lib_motif2+set}" = set; then
36256 echo $ECHO_N "(cached) $ECHO_C" >&6
36258 cat >conftest.
$ac_ext <<_ACEOF
36261 cat confdefs.h
>>conftest.
$ac_ext
36262 cat >>conftest.
$ac_ext <<_ACEOF
36263 /* end confdefs.h. */
36271 #if XmVersion < 2000
36279 rm -f conftest.
$ac_objext
36280 if { (ac_try
="$ac_compile"
36281 case "(($ac_try" in
36282 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36283 *) ac_try_echo=$ac_try;;
36285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36286 (eval "$ac_compile") 2>conftest.er1
36288 grep -v '^ *+' conftest.er1 >conftest.err
36290 cat conftest.err >&5
36291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36292 (exit $ac_status); } &&
36293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36294 { (case "(($ac_try" in
36295 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36296 *) ac_try_echo
=$ac_try;;
36298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36299 (eval "$ac_try") 2>&5
36301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36302 (exit $ac_status); }; } &&
36303 { ac_try
='test -s conftest.$ac_objext'
36304 { (case "(($ac_try" in
36305 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36306 *) ac_try_echo=$ac_try;;
36308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36309 (eval "$ac_try") 2>&5
36311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36312 (exit $ac_status); }; }; then
36313 wx_cv_lib_motif2="yes"
36315 echo "$as_me: failed program was:" >&5
36316 sed 's/^/| /' conftest.$ac_ext >&5
36318 wx_cv_lib_motif2="no"
36321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36323 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
36324 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
36325 if test "$wx_cv_lib_motif2" = "yes"; then
36326 cat >>confdefs.h <<\_ACEOF
36327 #define __WXMOTIF20__ 1
36331 cat >>confdefs.h <<\_ACEOF
36332 #define __WXMOTIF20__ 0
36337 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
36338 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
36339 if test "${wx_cv_lib_lesstif+set}" = set; then
36340 echo $ECHO_N "(cached) $ECHO_C" >&6
36342 cat >conftest.$ac_ext <<_ACEOF
36345 cat confdefs.h >>conftest.$ac_ext
36346 cat >>conftest.$ac_ext <<_ACEOF
36347 /* end confdefs.h. */
36355 #if !defined(LesstifVersion) || LesstifVersion <= 0
36363 rm -f conftest.$ac_objext
36364 if { (ac_try="$ac_compile"
36365 case "(($ac_try" in
36366 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36367 *) ac_try_echo
=$ac_try;;
36369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36370 (eval "$ac_compile") 2>conftest.er1
36372 grep -v '^ *+' conftest.er1
>conftest.err
36374 cat conftest.err
>&5
36375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36376 (exit $ac_status); } &&
36377 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36378 { (case "(($ac_try" in
36379 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36380 *) ac_try_echo=$ac_try;;
36382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36383 (eval "$ac_try") 2>&5
36385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36386 (exit $ac_status); }; } &&
36387 { ac_try='test -s conftest.$ac_objext'
36388 { (case "(($ac_try" in
36389 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36390 *) ac_try_echo
=$ac_try;;
36392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36393 (eval "$ac_try") 2>&5
36395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36396 (exit $ac_status); }; }; then
36397 wx_cv_lib_lesstif
="yes"
36399 echo "$as_me: failed program was:" >&5
36400 sed 's/^/| /' conftest.
$ac_ext >&5
36402 wx_cv_lib_lesstif
="no"
36405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36408 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
36409 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
36410 if test "$wx_cv_lib_lesstif" = "yes"; then
36411 cat >>confdefs.h
<<\_ACEOF
36412 #define __WXLESSTIF__ 1
36416 cat >>confdefs.h
<<\_ACEOF
36417 #define __WXLESSTIF__ 0
36422 CFLAGS
=$save_CFLAGS
36424 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
36429 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
36430 if test "$wxUSE_LIBXPM" = "sys"; then
36431 { echo "$as_me:$LINENO: checking for Xpm library" >&5
36432 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
36435 for ac_dir
in $SEARCH_LIB;
36437 for ac_extension
in a so sl dylib dll.a
; do
36438 if test -f "$ac_dir/libXpm.$ac_extension"; then
36439 ac_find_libraries
=$ac_dir
36445 if test "$ac_find_libraries" != "" ; then
36447 if test "$ac_find_libraries" = "default location"; then
36450 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
36452 if test $result = 0; then
36455 ac_path_to_link
=" -L$ac_find_libraries"
36459 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
36460 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
36461 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
36463 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
36464 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
36465 if test "${wx_cv_x11_xpm_h+set}" = set; then
36466 echo $ECHO_N "(cached) $ECHO_C" >&6
36469 save_CFLAGS
=$CFLAGS
36470 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
36472 cat >conftest.
$ac_ext <<_ACEOF
36475 cat confdefs.h
>>conftest.
$ac_ext
36476 cat >>conftest.
$ac_ext <<_ACEOF
36477 /* end confdefs.h. */
36479 #include <X11/xpm.h>
36486 version = XpmLibraryVersion();
36492 rm -f conftest.
$ac_objext
36493 if { (ac_try
="$ac_compile"
36494 case "(($ac_try" in
36495 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36496 *) ac_try_echo=$ac_try;;
36498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36499 (eval "$ac_compile") 2>conftest.er1
36501 grep -v '^ *+' conftest.er1 >conftest.err
36503 cat conftest.err >&5
36504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36505 (exit $ac_status); } &&
36506 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36507 { (case "(($ac_try" in
36508 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36509 *) ac_try_echo
=$ac_try;;
36511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36512 (eval "$ac_try") 2>&5
36514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36515 (exit $ac_status); }; } &&
36516 { ac_try
='test -s conftest.$ac_objext'
36517 { (case "(($ac_try" in
36518 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36519 *) ac_try_echo=$ac_try;;
36521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36522 (eval "$ac_try") 2>&5
36524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36525 (exit $ac_status); }; }; then
36526 wx_cv_x11_xpm_h=yes
36528 echo "$as_me: failed program was:" >&5
36529 sed 's/^/| /' conftest.$ac_ext >&5
36535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36537 CFLAGS=$save_CFLAGS
36541 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
36542 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
36544 if test $wx_cv_x11_xpm_h = "yes"; then
36545 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
36546 cat >>confdefs.h <<\_ACEOF
36547 #define wxHAVE_LIB_XPM 1
36551 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
36552 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
36558 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
36559 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
36560 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
36561 echo $ECHO_N "(cached) $ECHO_C" >&6
36563 ac_check_lib_save_LIBS=$LIBS
36564 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
36565 cat >conftest.$ac_ext <<_ACEOF
36568 cat confdefs.h >>conftest.$ac_ext
36569 cat >>conftest.$ac_ext <<_ACEOF
36570 /* end confdefs.h. */
36572 /* Override any GCC internal prototype to avoid an error.
36573 Use char because int might match the return type of a GCC
36574 builtin and then its argument prototype would still apply. */
36578 char XShapeQueryExtension ();
36582 return XShapeQueryExtension ();
36587 rm -f conftest.$ac_objext conftest$ac_exeext
36588 if { (ac_try="$ac_link"
36589 case "(($ac_try" in
36590 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36591 *) ac_try_echo
=$ac_try;;
36593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36594 (eval "$ac_link") 2>conftest.er1
36596 grep -v '^ *+' conftest.er1
>conftest.err
36598 cat conftest.err
>&5
36599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36600 (exit $ac_status); } &&
36601 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36602 { (case "(($ac_try" in
36603 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36604 *) ac_try_echo=$ac_try;;
36606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36607 (eval "$ac_try") 2>&5
36609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36610 (exit $ac_status); }; } &&
36611 { ac_try='test -s conftest$ac_exeext'
36612 { (case "(($ac_try" in
36613 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36614 *) ac_try_echo
=$ac_try;;
36616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36617 (eval "$ac_try") 2>&5
36619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36620 (exit $ac_status); }; }; then
36621 ac_cv_lib_Xext_XShapeQueryExtension
=yes
36623 echo "$as_me: failed program was:" >&5
36624 sed 's/^/| /' conftest.
$ac_ext >&5
36626 ac_cv_lib_Xext_XShapeQueryExtension
=no
36629 rm -f core conftest.err conftest.
$ac_objext \
36630 conftest
$ac_exeext conftest.
$ac_ext
36631 LIBS
=$ac_check_lib_save_LIBS
36633 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
36634 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
36635 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
36637 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
36643 if test "$wxHAVE_XEXT_LIB" = 1; then
36644 save_CFLAGS
="$CFLAGS"
36645 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
36647 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
36648 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
36649 cat >conftest.
$ac_ext <<_ACEOF
36652 cat confdefs.h
>>conftest.
$ac_ext
36653 cat >>conftest.
$ac_ext <<_ACEOF
36654 /* end confdefs.h. */
36656 #include <X11/Xlib.h>
36657 #include <X11/extensions/shape.h>
36663 int dummy1, dummy2;
36664 XShapeQueryExtension((Display*)NULL,
36665 (int*)NULL, (int*)NULL);
36671 rm -f conftest.
$ac_objext
36672 if { (ac_try
="$ac_compile"
36673 case "(($ac_try" in
36674 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36675 *) ac_try_echo=$ac_try;;
36677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36678 (eval "$ac_compile") 2>conftest.er1
36680 grep -v '^ *+' conftest.er1 >conftest.err
36682 cat conftest.err >&5
36683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36684 (exit $ac_status); } &&
36685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36686 { (case "(($ac_try" in
36687 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36688 *) ac_try_echo
=$ac_try;;
36690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36691 (eval "$ac_try") 2>&5
36693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36694 (exit $ac_status); }; } &&
36695 { ac_try
='test -s conftest.$ac_objext'
36696 { (case "(($ac_try" in
36697 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36698 *) ac_try_echo=$ac_try;;
36700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36701 (eval "$ac_try") 2>&5
36703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36704 (exit $ac_status); }; }; then
36706 cat >>confdefs.h <<\_ACEOF
36707 #define HAVE_XSHAPE 1
36710 { echo "$as_me:$LINENO: result: found" >&5
36711 echo "${ECHO_T}found" >&6; }
36714 echo "$as_me: failed program was:" >&5
36715 sed 's/^/| /' conftest.$ac_ext >&5
36718 { echo "$as_me:$LINENO: result: not found" >&5
36719 echo "${ECHO_T}not found" >&6; }
36723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36724 CFLAGS="$save_CFLAGS"
36729 if test "$wxUSE_MAC" = 1; then
36730 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
36731 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
36732 if test "$GCC" = yes; then
36733 { echo "$as_me:$LINENO: result: gcc" >&5
36734 echo "${ECHO_T}gcc" >&6; }
36735 CPPFLAGS_PASCAL="-fpascal-strings"
36736 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
36737 { echo "$as_me:$LINENO: result: xlc" >&5
36738 echo "${ECHO_T}xlc" >&6; }
36739 CPPFLAGS_PASCAL="-qmacpstr"
36741 { echo "$as_me:$LINENO: result: none" >&5
36742 echo "${ECHO_T}none" >&6; }
36745 if test "x$wxUSE_UNIX" = "xyes"; then
36746 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
36748 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
36753 WXBASEPORT="_carbon"
36756 if test "$wxUSE_COCOA" = 1; then
36761 if test "$wxUSE_PM" = 1; then
36764 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
36765 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
36766 if test "${wx_cv_spbcdata+set}" = set; then
36767 echo $ECHO_N "(cached) $ECHO_C" >&6
36770 cat >conftest.$ac_ext <<_ACEOF
36773 cat confdefs.h >>conftest.$ac_ext
36774 cat >>conftest.$ac_ext <<_ACEOF
36775 /* end confdefs.h. */
36790 rm -f conftest.$ac_objext
36791 if { (ac_try="$ac_compile"
36792 case "(($ac_try" in
36793 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36794 *) ac_try_echo
=$ac_try;;
36796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36797 (eval "$ac_compile") 2>conftest.er1
36799 grep -v '^ *+' conftest.er1
>conftest.err
36801 cat conftest.err
>&5
36802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36803 (exit $ac_status); } &&
36804 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36805 { (case "(($ac_try" in
36806 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36807 *) ac_try_echo=$ac_try;;
36809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36810 (eval "$ac_try") 2>&5
36812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36813 (exit $ac_status); }; } &&
36814 { ac_try='test -s conftest.$ac_objext'
36815 { (case "(($ac_try" in
36816 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36817 *) ac_try_echo
=$ac_try;;
36819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36820 (eval "$ac_try") 2>&5
36822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36823 (exit $ac_status); }; }; then
36826 echo "$as_me: failed program was:" >&5
36827 sed 's/^/| /' conftest.
$ac_ext >&5
36833 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36837 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
36838 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
36840 if test $wx_cv_spbcdata = "yes"; then
36841 cat >>confdefs.h
<<\_ACEOF
36842 #define HAVE_SPBCDATA 1
36848 if test "$TOOLKIT" = "PM" ; then
36851 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
36854 if test "$wxUSE_UNIVERSAL" = "yes"; then
36855 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
36859 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
36860 DISTDIR
="wx\$(TOOLKIT)"
36866 if test "$USE_WIN32" = 1 ; then
36870 GUIDIST
="BASE_DIST"
36875 if test "$wxUSE_GUI" = "yes"; then
36876 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
36878 for ac_header
in X
11/Xlib.h
36880 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36881 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36882 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36883 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36884 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36885 echo $ECHO_N "(cached) $ECHO_C" >&6
36887 ac_res
=`eval echo '${'$as_ac_Header'}'`
36888 { echo "$as_me:$LINENO: result: $ac_res" >&5
36889 echo "${ECHO_T}$ac_res" >&6; }
36891 # Is the header compilable?
36892 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
36893 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
36894 cat >conftest.
$ac_ext <<_ACEOF
36897 cat confdefs.h
>>conftest.
$ac_ext
36898 cat >>conftest.
$ac_ext <<_ACEOF
36899 /* end confdefs.h. */
36900 $ac_includes_default
36901 #include <$ac_header>
36903 rm -f conftest.
$ac_objext
36904 if { (ac_try
="$ac_compile"
36905 case "(($ac_try" in
36906 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36907 *) ac_try_echo=$ac_try;;
36909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36910 (eval "$ac_compile") 2>conftest.er1
36912 grep -v '^ *+' conftest.er1 >conftest.err
36914 cat conftest.err >&5
36915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36916 (exit $ac_status); } &&
36917 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36918 { (case "(($ac_try" in
36919 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36920 *) ac_try_echo
=$ac_try;;
36922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36923 (eval "$ac_try") 2>&5
36925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36926 (exit $ac_status); }; } &&
36927 { ac_try
='test -s conftest.$ac_objext'
36928 { (case "(($ac_try" in
36929 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36930 *) ac_try_echo=$ac_try;;
36932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36933 (eval "$ac_try") 2>&5
36935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36936 (exit $ac_status); }; }; then
36937 ac_header_compiler=yes
36939 echo "$as_me: failed program was:" >&5
36940 sed 's/^/| /' conftest.$ac_ext >&5
36942 ac_header_compiler=no
36945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36946 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36947 echo "${ECHO_T}$ac_header_compiler" >&6; }
36949 # Is the header present?
36950 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
36951 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
36952 cat >conftest.$ac_ext <<_ACEOF
36955 cat confdefs.h >>conftest.$ac_ext
36956 cat >>conftest.$ac_ext <<_ACEOF
36957 /* end confdefs.h. */
36958 #include <$ac_header>
36960 if { (ac_try="$ac_cpp conftest.$ac_ext"
36961 case "(($ac_try" in
36962 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36963 *) ac_try_echo
=$ac_try;;
36965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36966 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
36968 grep -v '^ *+' conftest.er1
>conftest.err
36970 cat conftest.err
>&5
36971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36972 (exit $ac_status); } >/dev
/null
; then
36973 if test -s conftest.err
; then
36974 ac_cpp_err
=$ac_c_preproc_warn_flag
36975 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36982 if test -z "$ac_cpp_err"; then
36983 ac_header_preproc
=yes
36985 echo "$as_me: failed program was:" >&5
36986 sed 's/^/| /' conftest.
$ac_ext >&5
36988 ac_header_preproc
=no
36991 rm -f conftest.err conftest.
$ac_ext
36992 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36993 echo "${ECHO_T}$ac_header_preproc" >&6; }
36995 # So? What about this header?
36996 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36998 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36999 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37000 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37001 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37002 ac_header_preproc
=yes
37005 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37006 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37007 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37008 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37009 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37010 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37011 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37012 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37013 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37014 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37015 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37016 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37018 ## ----------------------------------------- ##
37019 ## Report this to wx-dev@lists.wxwidgets.org ##
37020 ## ----------------------------------------- ##
37022 ) | sed "s/^/$as_me: WARNING: /" >&2
37025 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37027 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37028 echo $ECHO_N "(cached) $ECHO_C" >&6
37030 eval "$as_ac_Header=\$ac_header_preproc"
37032 ac_res
=`eval echo '${'$as_ac_Header'}'`
37033 { echo "$as_me:$LINENO: result: $ac_res" >&5
37034 echo "${ECHO_T}$ac_res" >&6; }
37037 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37038 cat >>confdefs.h
<<_ACEOF
37039 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37047 for ac_header
in X
11/XKBlib.h
37049 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37050 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37052 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37053 echo $ECHO_N "(cached) $ECHO_C" >&6
37055 cat >conftest.
$ac_ext <<_ACEOF
37058 cat confdefs.h
>>conftest.
$ac_ext
37059 cat >>conftest.
$ac_ext <<_ACEOF
37060 /* end confdefs.h. */
37062 #if HAVE_X11_XLIB_H
37063 #include <X11/Xlib.h>
37067 #include <$ac_header>
37069 rm -f conftest.
$ac_objext
37070 if { (ac_try
="$ac_compile"
37071 case "(($ac_try" in
37072 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37073 *) ac_try_echo=$ac_try;;
37075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37076 (eval "$ac_compile") 2>conftest.er1
37078 grep -v '^ *+' conftest.er1 >conftest.err
37080 cat conftest.err >&5
37081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37082 (exit $ac_status); } &&
37083 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37084 { (case "(($ac_try" in
37085 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37086 *) ac_try_echo
=$ac_try;;
37088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37089 (eval "$ac_try") 2>&5
37091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37092 (exit $ac_status); }; } &&
37093 { ac_try
='test -s conftest.$ac_objext'
37094 { (case "(($ac_try" in
37095 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37096 *) ac_try_echo=$ac_try;;
37098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37099 (eval "$ac_try") 2>&5
37101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37102 (exit $ac_status); }; }; then
37103 eval "$as_ac_Header=yes"
37105 echo "$as_me: failed program was:" >&5
37106 sed 's/^/| /' conftest.$ac_ext >&5
37108 eval "$as_ac_Header=no"
37111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37113 ac_res=`eval echo '${'$as_ac_Header'}'`
37114 { echo "$as_me:$LINENO: result: $ac_res" >&5
37115 echo "${ECHO_T}$ac_res" >&6; }
37116 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37117 cat >>confdefs.h <<_ACEOF
37118 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37133 if test "$TOOLKIT" != "MSW" ; then
37135 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
37137 if test "${ac_cv_header_sql_h+set}" = set; then
37138 { echo "$as_me:$LINENO: checking for sql.h" >&5
37139 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
37140 if test "${ac_cv_header_sql_h+set}" = set; then
37141 echo $ECHO_N "(cached) $ECHO_C" >&6
37143 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
37144 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
37146 # Is the header compilable?
37147 { echo "$as_me:$LINENO: checking sql.h usability" >&5
37148 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6; }
37149 cat >conftest.$ac_ext <<_ACEOF
37152 cat confdefs.h >>conftest.$ac_ext
37153 cat >>conftest.$ac_ext <<_ACEOF
37154 /* end confdefs.h. */
37155 $ac_includes_default
37158 rm -f conftest.$ac_objext
37159 if { (ac_try="$ac_compile"
37160 case "(($ac_try" in
37161 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37162 *) ac_try_echo
=$ac_try;;
37164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37165 (eval "$ac_compile") 2>conftest.er1
37167 grep -v '^ *+' conftest.er1
>conftest.err
37169 cat conftest.err
>&5
37170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37171 (exit $ac_status); } &&
37172 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37173 { (case "(($ac_try" in
37174 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37175 *) ac_try_echo=$ac_try;;
37177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37178 (eval "$ac_try") 2>&5
37180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37181 (exit $ac_status); }; } &&
37182 { ac_try='test -s conftest.$ac_objext'
37183 { (case "(($ac_try" in
37184 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37185 *) ac_try_echo
=$ac_try;;
37187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37188 (eval "$ac_try") 2>&5
37190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37191 (exit $ac_status); }; }; then
37192 ac_header_compiler
=yes
37194 echo "$as_me: failed program was:" >&5
37195 sed 's/^/| /' conftest.
$ac_ext >&5
37197 ac_header_compiler
=no
37200 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37201 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37202 echo "${ECHO_T}$ac_header_compiler" >&6; }
37204 # Is the header present?
37205 { echo "$as_me:$LINENO: checking sql.h presence" >&5
37206 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6; }
37207 cat >conftest.
$ac_ext <<_ACEOF
37210 cat confdefs.h
>>conftest.
$ac_ext
37211 cat >>conftest.
$ac_ext <<_ACEOF
37212 /* end confdefs.h. */
37215 if { (ac_try
="$ac_cpp conftest.$ac_ext"
37216 case "(($ac_try" in
37217 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37218 *) ac_try_echo=$ac_try;;
37220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37221 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
37223 grep -v '^ *+' conftest.er1 >conftest.err
37225 cat conftest.err >&5
37226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37227 (exit $ac_status); } >/dev/null; then
37228 if test -s conftest.err; then
37229 ac_cpp_err=$ac_c_preproc_warn_flag
37230 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37237 if test -z "$ac_cpp_err"; then
37238 ac_header_preproc=yes
37240 echo "$as_me: failed program was:" >&5
37241 sed 's/^/| /' conftest.$ac_ext >&5
37243 ac_header_preproc=no
37246 rm -f conftest.err conftest.$ac_ext
37247 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37248 echo "${ECHO_T}$ac_header_preproc" >&6; }
37250 # So? What about this header?
37251 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37253 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
37254 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
37255 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
37256 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
37257 ac_header_preproc=yes
37260 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
37261 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
37262 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
37263 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
37264 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
37265 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
37266 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
37267 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
37268 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
37269 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
37270 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
37271 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
37273 ## ----------------------------------------- ##
37274 ## Report this to wx-dev@lists.wxwidgets.org ##
37275 ## ----------------------------------------- ##
37277 ) | sed "s/^/$as_me: WARNING: /" >&2
37280 { echo "$as_me:$LINENO: checking for sql.h" >&5
37281 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
37282 if test "${ac_cv_header_sql_h+set}" = set; then
37283 echo $ECHO_N "(cached) $ECHO_C" >&6
37285 ac_cv_header_sql_h=$ac_header_preproc
37287 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
37288 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
37291 if test $ac_cv_header_sql_h = yes; then
37296 if test "x$found_sql_h" = "x1" ; then
37297 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
37298 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
37299 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
37300 echo $ECHO_N "(cached) $ECHO_C" >&6
37302 ac_check_lib_save_LIBS=$LIBS
37303 LIBS="-liodbc $LIBS"
37304 cat >conftest.$ac_ext <<_ACEOF
37307 cat confdefs.h >>conftest.$ac_ext
37308 cat >>conftest.$ac_ext <<_ACEOF
37309 /* end confdefs.h. */
37311 /* Override any GCC internal prototype to avoid an error.
37312 Use char because int might match the return type of a GCC
37313 builtin and then its argument prototype would still apply. */
37317 char SQLAllocEnv ();
37321 return SQLAllocEnv ();
37326 rm -f conftest.$ac_objext conftest$ac_exeext
37327 if { (ac_try="$ac_link"
37328 case "(($ac_try" in
37329 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37330 *) ac_try_echo
=$ac_try;;
37332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37333 (eval "$ac_link") 2>conftest.er1
37335 grep -v '^ *+' conftest.er1
>conftest.err
37337 cat conftest.err
>&5
37338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37339 (exit $ac_status); } &&
37340 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37341 { (case "(($ac_try" in
37342 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37343 *) ac_try_echo=$ac_try;;
37345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37346 (eval "$ac_try") 2>&5
37348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37349 (exit $ac_status); }; } &&
37350 { ac_try='test -s conftest$ac_exeext'
37351 { (case "(($ac_try" in
37352 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37353 *) ac_try_echo
=$ac_try;;
37355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37356 (eval "$ac_try") 2>&5
37358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37359 (exit $ac_status); }; }; then
37360 ac_cv_lib_iodbc_SQLAllocEnv
=yes
37362 echo "$as_me: failed program was:" >&5
37363 sed 's/^/| /' conftest.
$ac_ext >&5
37365 ac_cv_lib_iodbc_SQLAllocEnv
=no
37368 rm -f core conftest.err conftest.
$ac_objext \
37369 conftest
$ac_exeext conftest.
$ac_ext
37370 LIBS
=$ac_check_lib_save_LIBS
37372 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
37373 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
37374 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
37375 ODBC_LINK
=" -liodbc"
37378 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
37379 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
37380 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
37381 echo $ECHO_N "(cached) $ECHO_C" >&6
37383 ac_check_lib_save_LIBS
=$LIBS
37384 LIBS
="-lunixodbc $LIBS"
37385 cat >conftest.
$ac_ext <<_ACEOF
37388 cat confdefs.h
>>conftest.
$ac_ext
37389 cat >>conftest.
$ac_ext <<_ACEOF
37390 /* end confdefs.h. */
37392 /* Override any GCC internal prototype to avoid an error.
37393 Use char because int might match the return type of a GCC
37394 builtin and then its argument prototype would still apply. */
37398 char SQLAllocEnv ();
37402 return SQLAllocEnv ();
37407 rm -f conftest.
$ac_objext conftest
$ac_exeext
37408 if { (ac_try
="$ac_link"
37409 case "(($ac_try" in
37410 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37411 *) ac_try_echo=$ac_try;;
37413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37414 (eval "$ac_link") 2>conftest.er1
37416 grep -v '^ *+' conftest.er1 >conftest.err
37418 cat conftest.err >&5
37419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37420 (exit $ac_status); } &&
37421 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37422 { (case "(($ac_try" in
37423 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37424 *) ac_try_echo
=$ac_try;;
37426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37427 (eval "$ac_try") 2>&5
37429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37430 (exit $ac_status); }; } &&
37431 { ac_try
='test -s conftest$ac_exeext'
37432 { (case "(($ac_try" in
37433 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37434 *) ac_try_echo=$ac_try;;
37436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37437 (eval "$ac_try") 2>&5
37439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37440 (exit $ac_status); }; }; then
37441 ac_cv_lib_unixodbc_SQLAllocEnv=yes
37443 echo "$as_me: failed program was:" >&5
37444 sed 's/^/| /' conftest.$ac_ext >&5
37446 ac_cv_lib_unixodbc_SQLAllocEnv=no
37449 rm -f core conftest.err conftest.$ac_objext \
37450 conftest$ac_exeext conftest.$ac_ext
37451 LIBS=$ac_check_lib_save_LIBS
37453 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
37454 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
37455 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
37456 ODBC_LINK=" -lunixodbc"
37459 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
37460 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
37461 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
37462 echo $ECHO_N "(cached) $ECHO_C" >&6
37464 ac_check_lib_save_LIBS=$LIBS
37465 LIBS="-lodbc $LIBS"
37466 cat >conftest.$ac_ext <<_ACEOF
37469 cat confdefs.h >>conftest.$ac_ext
37470 cat >>conftest.$ac_ext <<_ACEOF
37471 /* end confdefs.h. */
37473 /* Override any GCC internal prototype to avoid an error.
37474 Use char because int might match the return type of a GCC
37475 builtin and then its argument prototype would still apply. */
37479 char SQLAllocEnv ();
37483 return SQLAllocEnv ();
37488 rm -f conftest.$ac_objext conftest$ac_exeext
37489 if { (ac_try="$ac_link"
37490 case "(($ac_try" in
37491 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37492 *) ac_try_echo
=$ac_try;;
37494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37495 (eval "$ac_link") 2>conftest.er1
37497 grep -v '^ *+' conftest.er1
>conftest.err
37499 cat conftest.err
>&5
37500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37501 (exit $ac_status); } &&
37502 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37503 { (case "(($ac_try" in
37504 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37505 *) ac_try_echo=$ac_try;;
37507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37508 (eval "$ac_try") 2>&5
37510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37511 (exit $ac_status); }; } &&
37512 { ac_try='test -s conftest$ac_exeext'
37513 { (case "(($ac_try" in
37514 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37515 *) ac_try_echo
=$ac_try;;
37517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37518 (eval "$ac_try") 2>&5
37520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37521 (exit $ac_status); }; }; then
37522 ac_cv_lib_odbc_SQLAllocEnv
=yes
37524 echo "$as_me: failed program was:" >&5
37525 sed 's/^/| /' conftest.
$ac_ext >&5
37527 ac_cv_lib_odbc_SQLAllocEnv
=no
37530 rm -f core conftest.err conftest.
$ac_objext \
37531 conftest
$ac_exeext conftest.
$ac_ext
37532 LIBS
=$ac_check_lib_save_LIBS
37534 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
37535 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
37536 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
37537 ODBC_LINK
=" -lodbc"
37547 if test "x$ODBC_LINK" = "x" ; then
37548 if test "$wxUSE_ODBC" = "sys" ; then
37549 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
37550 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
37551 { (exit 1); exit 1; }; }
37553 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
37554 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
37562 if test "$wxUSE_ODBC" = "builtin" ; then
37563 cat >>confdefs.h
<<\_ACEOF
37564 #define wxUSE_BUILTIN_IODBC 1
37570 if test "$wxUSE_ODBC" != "no" ; then
37571 cat >>confdefs.h
<<\_ACEOF
37572 #define wxUSE_ODBC 1
37575 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
37577 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
37581 if test "$wxUSE_DISPLAY" = "yes"; then
37582 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
37583 { echo "$as_me:$LINENO: checking for Xinerama" >&5
37584 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
37587 for ac_dir
in $SEARCH_LIB;
37589 for ac_extension
in a so sl dylib dll.a
; do
37590 if test -f "$ac_dir/libXinerama.$ac_extension"; then
37591 ac_find_libraries
=$ac_dir
37597 if test "$ac_find_libraries" != "" ; then
37599 if test "$ac_find_libraries" = "default location"; then
37602 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
37604 if test $result = 0; then
37607 ac_path_to_link
=" -L$ac_find_libraries"
37611 if test "$ac_path_to_link" != " -L/usr/lib" ; then
37612 LDFLAGS
="$LDFLAGS $ac_path_to_link"
37614 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
37615 { echo "$as_me:$LINENO: result: yes" >&5
37616 echo "${ECHO_T}yes" >&6; }
37618 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
37619 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
37622 for ac_dir
in $SEARCH_LIB;
37624 for ac_extension
in a so sl dylib dll.a
; do
37625 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
37626 ac_find_libraries
=$ac_dir
37632 if test "$ac_find_libraries" != "" ; then
37633 { echo "$as_me:$LINENO: result: yes" >&5
37634 echo "${ECHO_T}yes" >&6; }
37636 for ac_header
in X
11/extensions
/xf86vmode.h
37638 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37639 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37641 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37642 echo $ECHO_N "(cached) $ECHO_C" >&6
37644 cat >conftest.
$ac_ext <<_ACEOF
37647 cat confdefs.h
>>conftest.
$ac_ext
37648 cat >>conftest.
$ac_ext <<_ACEOF
37649 /* end confdefs.h. */
37651 #if HAVE_X11_XLIB_H
37652 #include <X11/Xlib.h>
37656 #include <$ac_header>
37658 rm -f conftest.
$ac_objext
37659 if { (ac_try
="$ac_compile"
37660 case "(($ac_try" in
37661 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37662 *) ac_try_echo=$ac_try;;
37664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37665 (eval "$ac_compile") 2>conftest.er1
37667 grep -v '^ *+' conftest.er1 >conftest.err
37669 cat conftest.err >&5
37670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37671 (exit $ac_status); } &&
37672 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37673 { (case "(($ac_try" in
37674 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37675 *) ac_try_echo
=$ac_try;;
37677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37678 (eval "$ac_try") 2>&5
37680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37681 (exit $ac_status); }; } &&
37682 { ac_try
='test -s conftest.$ac_objext'
37683 { (case "(($ac_try" in
37684 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37685 *) ac_try_echo=$ac_try;;
37687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37688 (eval "$ac_try") 2>&5
37690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37691 (exit $ac_status); }; }; then
37692 eval "$as_ac_Header=yes"
37694 echo "$as_me: failed program was:" >&5
37695 sed 's/^/| /' conftest.$ac_ext >&5
37697 eval "$as_ac_Header=no"
37700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37702 ac_res=`eval echo '${'$as_ac_Header'}'`
37703 { echo "$as_me:$LINENO: result: $ac_res" >&5
37704 echo "${ECHO_T}$ac_res" >&6; }
37705 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37706 cat >>confdefs.h <<_ACEOF
37707 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37710 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
37717 { echo "$as_me:$LINENO: result: no" >&5
37718 echo "${ECHO_T}no" >&6; }
37722 { echo "$as_me:$LINENO: result: no" >&5
37723 echo "${ECHO_T}no" >&6; }
37724 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
37725 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
37728 elif test "$wxUSE_MSW" = 1; then
37730 for ac_header in ddraw.h
37732 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37733 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37734 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37735 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37736 echo $ECHO_N "(cached) $ECHO_C" >&6
37738 cat >conftest.$ac_ext <<_ACEOF
37741 cat confdefs.h >>conftest.$ac_ext
37742 cat >>conftest.$ac_ext <<_ACEOF
37743 /* end confdefs.h. */
37744 #include <windows.h>
37746 #include <$ac_header>
37748 rm -f conftest.$ac_objext
37749 if { (ac_try="$ac_compile"
37750 case "(($ac_try" in
37751 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37752 *) ac_try_echo
=$ac_try;;
37754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37755 (eval "$ac_compile") 2>conftest.er1
37757 grep -v '^ *+' conftest.er1
>conftest.err
37759 cat conftest.err
>&5
37760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37761 (exit $ac_status); } &&
37762 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37763 { (case "(($ac_try" in
37764 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37765 *) ac_try_echo=$ac_try;;
37767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37768 (eval "$ac_try") 2>&5
37770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37771 (exit $ac_status); }; } &&
37772 { ac_try='test -s conftest.$ac_objext'
37773 { (case "(($ac_try" in
37774 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37775 *) ac_try_echo
=$ac_try;;
37777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37778 (eval "$ac_try") 2>&5
37780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37781 (exit $ac_status); }; }; then
37782 eval "$as_ac_Header=yes"
37784 echo "$as_me: failed program was:" >&5
37785 sed 's/^/| /' conftest.
$ac_ext >&5
37787 eval "$as_ac_Header=no"
37790 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37792 ac_res
=`eval echo '${'$as_ac_Header'}'`
37793 { echo "$as_me:$LINENO: result: $ac_res" >&5
37794 echo "${ECHO_T}$ac_res" >&6; }
37795 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37796 cat >>confdefs.h
<<_ACEOF
37797 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37807 if test "$wxUSE_DETECT_SM" = "yes"; then
37808 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
37809 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
37810 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
37813 for ac_dir
in $SEARCH_LIB;
37815 for ac_extension
in a so sl dylib dll.a
; do
37816 if test -f "$ac_dir/libSM.$ac_extension"; then
37817 ac_find_libraries
=$ac_dir
37823 if test "$ac_find_libraries" != "" ; then
37825 if test "$ac_find_libraries" = "default location"; then
37828 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
37830 if test $result = 0; then
37833 ac_path_to_link
=" -L$ac_find_libraries"
37837 if test "$ac_path_to_link" != " -L/usr/lib" ; then
37838 LDFLAGS
="$LDFLAGS $ac_path_to_link"
37840 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
37841 { echo "$as_me:$LINENO: result: yes" >&5
37842 echo "${ECHO_T}yes" >&6; }
37844 { echo "$as_me:$LINENO: result: no" >&5
37845 echo "${ECHO_T}no" >&6; }
37846 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
37847 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
37848 wxUSE_DETECT_SM
="no"
37851 wxUSE_DETECT_SM
="no"
37858 if test "$wxUSE_OPENGL" = "yes"; then
37859 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
37860 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
37861 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
37863 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
37864 OPENGL_LIBS
="-framework OpenGL -framework AGL"
37865 elif test "$wxUSE_MSW" = 1; then
37866 OPENGL_LIBS
="-lopengl32 -lglu32"
37868 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
37869 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
37872 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
;
37874 if test -f "$ac_dir/GL/gl.h"; then
37875 ac_find_includes
=$ac_dir
37880 if test "$ac_find_includes" != "" ; then
37881 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
37882 echo "${ECHO_T}found in $ac_find_includes" >&6; }
37884 if test "x$ac_find_includes" = "x/usr/include"; then
37885 ac_path_to_include
=""
37887 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
37889 if test $result = 0; then
37890 ac_path_to_include
=""
37892 ac_path_to_include
=" -I$ac_find_includes"
37896 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
37898 { echo "$as_me:$LINENO: result: not found" >&5
37899 echo "${ECHO_T}not found" >&6; }
37902 if test "${ac_cv_header_GL_gl_h+set}" = set; then
37903 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
37904 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
37905 if test "${ac_cv_header_GL_gl_h+set}" = set; then
37906 echo $ECHO_N "(cached) $ECHO_C" >&6
37908 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
37909 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
37911 # Is the header compilable?
37912 { echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
37913 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6; }
37914 cat >conftest.
$ac_ext <<_ACEOF
37917 cat confdefs.h
>>conftest.
$ac_ext
37918 cat >>conftest.
$ac_ext <<_ACEOF
37919 /* end confdefs.h. */
37920 $ac_includes_default
37923 rm -f conftest.
$ac_objext
37924 if { (ac_try
="$ac_compile"
37925 case "(($ac_try" in
37926 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37927 *) ac_try_echo=$ac_try;;
37929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37930 (eval "$ac_compile") 2>conftest.er1
37932 grep -v '^ *+' conftest.er1 >conftest.err
37934 cat conftest.err >&5
37935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37936 (exit $ac_status); } &&
37937 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37938 { (case "(($ac_try" in
37939 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37940 *) ac_try_echo
=$ac_try;;
37942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37943 (eval "$ac_try") 2>&5
37945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37946 (exit $ac_status); }; } &&
37947 { ac_try
='test -s conftest.$ac_objext'
37948 { (case "(($ac_try" in
37949 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37950 *) ac_try_echo=$ac_try;;
37952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37953 (eval "$ac_try") 2>&5
37955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37956 (exit $ac_status); }; }; then
37957 ac_header_compiler=yes
37959 echo "$as_me: failed program was:" >&5
37960 sed 's/^/| /' conftest.$ac_ext >&5
37962 ac_header_compiler=no
37965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37966 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37967 echo "${ECHO_T}$ac_header_compiler" >&6; }
37969 # Is the header present?
37970 { echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
37971 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6; }
37972 cat >conftest.$ac_ext <<_ACEOF
37975 cat confdefs.h >>conftest.$ac_ext
37976 cat >>conftest.$ac_ext <<_ACEOF
37977 /* end confdefs.h. */
37980 if { (ac_try="$ac_cpp conftest.$ac_ext"
37981 case "(($ac_try" in
37982 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37983 *) ac_try_echo
=$ac_try;;
37985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37986 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
37988 grep -v '^ *+' conftest.er1
>conftest.err
37990 cat conftest.err
>&5
37991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37992 (exit $ac_status); } >/dev
/null
; then
37993 if test -s conftest.err
; then
37994 ac_cpp_err
=$ac_c_preproc_warn_flag
37995 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
38002 if test -z "$ac_cpp_err"; then
38003 ac_header_preproc
=yes
38005 echo "$as_me: failed program was:" >&5
38006 sed 's/^/| /' conftest.
$ac_ext >&5
38008 ac_header_preproc
=no
38011 rm -f conftest.err conftest.
$ac_ext
38012 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38013 echo "${ECHO_T}$ac_header_preproc" >&6; }
38015 # So? What about this header?
38016 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38018 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
38019 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
38020 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
38021 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
38022 ac_header_preproc
=yes
38025 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
38026 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
38027 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
38028 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
38029 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
38030 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
38031 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
38032 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
38033 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
38034 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
38035 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
38036 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
38038 ## ----------------------------------------- ##
38039 ## Report this to wx-dev@lists.wxwidgets.org ##
38040 ## ----------------------------------------- ##
38042 ) | sed "s/^/$as_me: WARNING: /" >&2
38045 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
38046 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
38047 if test "${ac_cv_header_GL_gl_h+set}" = set; then
38048 echo $ECHO_N "(cached) $ECHO_C" >&6
38050 ac_cv_header_GL_gl_h
=$ac_header_preproc
38052 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
38053 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
38056 if test $ac_cv_header_GL_gl_h = yes; then
38058 if test "${ac_cv_header_GL_glu_h+set}" = set; then
38059 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
38060 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
38061 if test "${ac_cv_header_GL_glu_h+set}" = set; then
38062 echo $ECHO_N "(cached) $ECHO_C" >&6
38064 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
38065 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
38067 # Is the header compilable?
38068 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
38069 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
38070 cat >conftest.
$ac_ext <<_ACEOF
38073 cat confdefs.h
>>conftest.
$ac_ext
38074 cat >>conftest.
$ac_ext <<_ACEOF
38075 /* end confdefs.h. */
38076 $ac_includes_default
38077 #include <GL/glu.h>
38079 rm -f conftest.
$ac_objext
38080 if { (ac_try
="$ac_compile"
38081 case "(($ac_try" in
38082 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38083 *) ac_try_echo=$ac_try;;
38085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38086 (eval "$ac_compile") 2>conftest.er1
38088 grep -v '^ *+' conftest.er1 >conftest.err
38090 cat conftest.err >&5
38091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38092 (exit $ac_status); } &&
38093 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38094 { (case "(($ac_try" in
38095 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38096 *) ac_try_echo
=$ac_try;;
38098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38099 (eval "$ac_try") 2>&5
38101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38102 (exit $ac_status); }; } &&
38103 { ac_try
='test -s conftest.$ac_objext'
38104 { (case "(($ac_try" in
38105 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38106 *) ac_try_echo=$ac_try;;
38108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38109 (eval "$ac_try") 2>&5
38111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38112 (exit $ac_status); }; }; then
38113 ac_header_compiler=yes
38115 echo "$as_me: failed program was:" >&5
38116 sed 's/^/| /' conftest.$ac_ext >&5
38118 ac_header_compiler=no
38121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38122 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38123 echo "${ECHO_T}$ac_header_compiler" >&6; }
38125 # Is the header present?
38126 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
38127 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
38128 cat >conftest.$ac_ext <<_ACEOF
38131 cat confdefs.h >>conftest.$ac_ext
38132 cat >>conftest.$ac_ext <<_ACEOF
38133 /* end confdefs.h. */
38134 #include <GL/glu.h>
38136 if { (ac_try="$ac_cpp conftest.$ac_ext"
38137 case "(($ac_try" in
38138 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38139 *) ac_try_echo
=$ac_try;;
38141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38142 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
38144 grep -v '^ *+' conftest.er1
>conftest.err
38146 cat conftest.err
>&5
38147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38148 (exit $ac_status); } >/dev
/null
; then
38149 if test -s conftest.err
; then
38150 ac_cpp_err
=$ac_c_preproc_warn_flag
38151 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
38158 if test -z "$ac_cpp_err"; then
38159 ac_header_preproc
=yes
38161 echo "$as_me: failed program was:" >&5
38162 sed 's/^/| /' conftest.
$ac_ext >&5
38164 ac_header_preproc
=no
38167 rm -f conftest.err conftest.
$ac_ext
38168 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38169 echo "${ECHO_T}$ac_header_preproc" >&6; }
38171 # So? What about this header?
38172 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38174 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
38175 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
38176 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
38177 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
38178 ac_header_preproc
=yes
38181 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
38182 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
38183 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
38184 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
38185 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
38186 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
38187 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
38188 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
38189 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
38190 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
38191 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
38192 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
38194 ## ----------------------------------------- ##
38195 ## Report this to wx-dev@lists.wxwidgets.org ##
38196 ## ----------------------------------------- ##
38198 ) | sed "s/^/$as_me: WARNING: /" >&2
38201 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
38202 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
38203 if test "${ac_cv_header_GL_glu_h+set}" = set; then
38204 echo $ECHO_N "(cached) $ECHO_C" >&6
38206 ac_cv_header_GL_glu_h
=$ac_header_preproc
38208 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
38209 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
38212 if test $ac_cv_header_GL_glu_h = yes; then
38216 { echo "$as_me:$LINENO: checking for -lGL" >&5
38217 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
38220 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
38222 for ac_extension
in a so sl dylib dll.a
; do
38223 if test -f "$ac_dir/libGL.$ac_extension"; then
38224 ac_find_libraries
=$ac_dir
38230 if test "$ac_find_libraries" != "" ; then
38231 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
38232 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
38235 if test "$ac_find_libraries" = "default location"; then
38238 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
38240 if test $result = 0; then
38243 ac_path_to_link
=" -L$ac_find_libraries"
38247 if test "$ac_path_to_link" != " -L/usr/lib" ; then
38248 LDFLAGS_GL
="$ac_path_to_link"
38251 { echo "$as_me:$LINENO: checking for -lGLU" >&5
38252 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
38255 for ac_dir
in $SEARCH_LIB;
38257 for ac_extension
in a so sl dylib dll.a
; do
38258 if test -f "$ac_dir/libGLU.$ac_extension"; then
38259 ac_find_libraries
=$ac_dir
38265 if test "$ac_find_libraries" != "" ; then
38267 if test "$ac_find_libraries" = "default location"; then
38270 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
38272 if test $result = 0; then
38275 ac_path_to_link
=" -L$ac_find_libraries"
38279 if test "$ac_path_to_link" != " -L/usr/lib" -a \
38280 "$ac_path_to_link" != "$LDFLAGS_GL"; then
38281 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
38285 OPENGL_LIBS
="-lGL -lGLU"
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; }
38293 { echo "$as_me:$LINENO: result: no" >&5
38294 echo "${ECHO_T}no" >&6; }
38297 if test "$found_gl" != 1; then
38298 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
38299 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
38302 for ac_dir
in $SEARCH_LIB;
38304 for ac_extension
in a so sl dylib dll.a
; do
38305 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
38306 ac_find_libraries
=$ac_dir
38312 if test "$ac_find_libraries" != "" ; then
38314 if test "$ac_find_libraries" = "default location"; then
38317 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
38319 if test $result = 0; then
38322 ac_path_to_link
=" -L$ac_find_libraries"
38326 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
38327 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
38328 { echo "$as_me:$LINENO: result: yes" >&5
38329 echo "${ECHO_T}yes" >&6; }
38331 { echo "$as_me:$LINENO: result: no" >&5
38332 echo "${ECHO_T}no" >&6; }
38344 if test "x$OPENGL_LIBS" = "x"; then
38345 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
38346 echo "$as_me: error: OpenGL libraries not available" >&2;}
38347 { (exit 1); exit 1; }; }
38351 if test "$wxUSE_OPENGL" = "yes"; then
38353 cat >>confdefs.h
<<\_ACEOF
38354 #define wxUSE_OPENGL 1
38357 cat >>confdefs.h
<<\_ACEOF
38358 #define wxUSE_GLCANVAS 1
38361 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
38366 if test -n "$TOOLKIT" ; then
38367 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
38372 if test "$wxUSE_SHARED" = "yes"; then
38376 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
38377 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
38382 if test "$wxUSE_SHARED" = "yes"; then
38386 *-*-cygwin* | *-*-mingw* )
38387 wx_cv_version_script
=no
38391 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
38392 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
38393 if test "${wx_cv_version_script+set}" = set; then
38394 echo $ECHO_N "(cached) $ECHO_C" >&6
38397 echo "VER_1 { *; };" >conftest.sym
38398 echo "int main() { return 0; }" >conftest.cpp
38401 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
38402 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
38403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38404 (eval $ac_try) 2>&5
38406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38407 (exit $ac_status); }; } ; then
38408 if test -s conftest.stderr
; then
38409 wx_cv_version_script
=no
38411 wx_cv_version_script
=yes
38414 wx_cv_version_script
=no
38417 if test $wx_cv_version_script = yes
38419 echo "struct B { virtual ~B() { } }; \
38420 struct D : public B { }; \
38421 void F() { D d; }" > conftest.cpp
38424 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
38425 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
38426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38427 (eval $ac_try) 2>&5
38429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38430 (exit $ac_status); }; } &&
38432 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
38433 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
38434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38435 (eval $ac_try) 2>&5
38437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38438 (exit $ac_status); }; }
38441 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
38442 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
38443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38444 (eval $ac_try) 2>&5
38446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38447 (exit $ac_status); }; }
38449 wx_cv_version_script
=yes
38451 wx_cv_version_script
=no
38456 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
38457 rm -f conftest1.output conftest2.output conftest3.output
38460 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
38461 echo "${ECHO_T}$wx_cv_version_script" >&6; }
38463 if test $wx_cv_version_script = yes ; then
38464 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
38471 *-*-linux* | *-*-gnu* )
38472 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
38473 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
38477 if test "$GCC" = yes ; then
38478 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
38480 saveLdflags
="$LDFLAGS"
38481 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
38482 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
38483 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
38484 cat >conftest.
$ac_ext <<_ACEOF
38487 cat confdefs.h
>>conftest.
$ac_ext
38488 cat >>conftest.
$ac_ext <<_ACEOF
38489 /* end confdefs.h. */
38499 rm -f conftest.
$ac_objext conftest
$ac_exeext
38500 if { (ac_try
="$ac_link"
38501 case "(($ac_try" in
38502 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38503 *) ac_try_echo=$ac_try;;
38505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38506 (eval "$ac_link") 2>conftest.er1
38508 grep -v '^ *+' conftest.er1 >conftest.err
38510 cat conftest.err >&5
38511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38512 (exit $ac_status); } &&
38513 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38514 { (case "(($ac_try" in
38515 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38516 *) ac_try_echo
=$ac_try;;
38518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38519 (eval "$ac_try") 2>&5
38521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38522 (exit $ac_status); }; } &&
38523 { ac_try
='test -s conftest$ac_exeext'
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_try") 2>&5
38531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38532 (exit $ac_status); }; }; then
38534 { echo "$as_me:$LINENO: result: yes" >&5
38535 echo "${ECHO_T}yes" >&6; }
38536 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
38537 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
38540 echo "$as_me: failed program was:" >&5
38541 sed 's/^/| /' conftest.$ac_ext >&5
38544 { echo "$as_me:$LINENO: result: no" >&5
38545 echo "${ECHO_T}no" >&6; }
38546 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
38547 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
38548 LDFLAGS="$saveLdflags -Wl,-R,/"
38549 cat >conftest.$ac_ext <<_ACEOF
38552 cat confdefs.h >>conftest.$ac_ext
38553 cat >>conftest.$ac_ext <<_ACEOF
38554 /* end confdefs.h. */
38564 rm -f conftest.$ac_objext conftest$ac_exeext
38565 if { (ac_try="$ac_link"
38566 case "(($ac_try" in
38567 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38568 *) ac_try_echo
=$ac_try;;
38570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38571 (eval "$ac_link") 2>conftest.er1
38573 grep -v '^ *+' conftest.er1
>conftest.err
38575 cat conftest.err
>&5
38576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38577 (exit $ac_status); } &&
38578 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38579 { (case "(($ac_try" in
38580 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38581 *) ac_try_echo=$ac_try;;
38583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38584 (eval "$ac_try") 2>&5
38586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38587 (exit $ac_status); }; } &&
38588 { ac_try='test -s conftest$ac_exeext'
38589 { (case "(($ac_try" in
38590 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38591 *) ac_try_echo
=$ac_try;;
38593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38594 (eval "$ac_try") 2>&5
38596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38597 (exit $ac_status); }; }; then
38599 { echo "$as_me:$LINENO: result: yes" >&5
38600 echo "${ECHO_T}yes" >&6; }
38601 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
38602 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
38605 echo "$as_me: failed program was:" >&5
38606 sed 's/^/| /' conftest.
$ac_ext >&5
38609 { echo "$as_me:$LINENO: result: no" >&5
38610 echo "${ECHO_T}no" >&6; }
38614 rm -f core conftest.err conftest.
$ac_objext \
38615 conftest
$ac_exeext conftest.
$ac_ext
38619 rm -f core conftest.err conftest.
$ac_objext \
38620 conftest
$ac_exeext conftest.
$ac_ext
38621 LDFLAGS
="$saveLdflags"
38623 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
38624 WXCONFIG_RPATH
="-R\$libdir"
38629 install_name_tool
=`which install_name_tool`
38630 if test "$install_name_tool" -a -x "$install_name_tool"; then
38631 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
38632 cat <<EOF >change-install-names
38634 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
38635 inst_cmd="install_name_tool "
38636 for i in \${libnames} ; do
38637 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
38641 chmod +x change
-install-names
38645 *-*-cygwin* | *-*-mingw32* )
38646 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
38650 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
38651 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
38656 if test $wxUSE_RPATH = "no"; then
38657 SAMPLES_RPATH_FLAG
=''
38658 SAMPLES_RPATH_POSTLINK
=''
38666 config_linkage_component
="-static"
38673 lib_unicode_suffix
=
38675 if test "$wxUSE_UNICODE" = "yes"; then
38676 lib_unicode_suffix
=u
38677 WX_CHARTYPE
="unicode"
38682 WX_DEBUGTYPE
="release"
38684 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
38686 WX_DEBUGTYPE
="debug"
38690 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
38691 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
38694 if test "$wxUSE_DEBUG_INFO" = "yes"; then
38698 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
38700 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
38702 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
38704 if test "$cross_compiling" = "yes"; then
38705 HOST_SUFFIX
="-$host_alias"
38706 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
38707 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
38710 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
38711 if test "${TOOLKIT_DIR}" = "os2"; then
38712 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
38714 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
38719 if test "$wxUSE_COCOA" = 1; then
38722 ac_cpp
='$CPP $CPPFLAGS'
38723 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38724 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38725 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38729 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
38730 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
38731 cat >conftest.
$ac_ext <<_ACEOF
38734 cat confdefs.h
>>conftest.
$ac_ext
38735 cat >>conftest.
$ac_ext <<_ACEOF
38736 /* end confdefs.h. */
38737 #include <AppKit/NSEvent.h>
38738 #include <CoreFoundation/CoreFoundation.h>
38748 rm -f conftest.
$ac_objext
38749 if { (ac_try
="$ac_compile"
38750 case "(($ac_try" in
38751 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38752 *) ac_try_echo=$ac_try;;
38754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38755 (eval "$ac_compile") 2>conftest.er1
38757 grep -v '^ *+' conftest.er1 >conftest.err
38759 cat conftest.err >&5
38760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38761 (exit $ac_status); } &&
38762 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38763 { (case "(($ac_try" in
38764 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38765 *) ac_try_echo
=$ac_try;;
38767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38768 (eval "$ac_try") 2>&5
38770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38771 (exit $ac_status); }; } &&
38772 { ac_try
='test -s conftest.$ac_objext'
38773 { (case "(($ac_try" in
38774 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38775 *) ac_try_echo=$ac_try;;
38777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38778 (eval "$ac_try") 2>&5
38780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38781 (exit $ac_status); }; }; then
38782 { echo "$as_me:$LINENO: result: no" >&5
38783 echo "${ECHO_T}no" >&6; }
38785 echo "$as_me: failed program was:" >&5
38786 sed 's/^/| /' conftest.$ac_ext >&5
38788 { echo "$as_me:$LINENO: result: yes" >&5
38789 echo "${ECHO_T}yes" >&6; }
38790 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
38791 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
38792 cat >conftest.$ac_ext <<_ACEOF
38795 cat confdefs.h >>conftest.$ac_ext
38796 cat >>conftest.$ac_ext <<_ACEOF
38797 /* end confdefs.h. */
38798 #define __Point__ 1
38799 #include <AppKit/NSEvent.h>
38800 #include <CoreFoundation/CoreFoundation.h>
38810 rm -f conftest.$ac_objext
38811 if { (ac_try="$ac_compile"
38812 case "(($ac_try" in
38813 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38814 *) ac_try_echo
=$ac_try;;
38816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38817 (eval "$ac_compile") 2>conftest.er1
38819 grep -v '^ *+' conftest.er1
>conftest.err
38821 cat conftest.err
>&5
38822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38823 (exit $ac_status); } &&
38824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38825 { (case "(($ac_try" in
38826 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38827 *) ac_try_echo=$ac_try;;
38829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38830 (eval "$ac_try") 2>&5
38832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38833 (exit $ac_status); }; } &&
38834 { ac_try='test -s conftest.$ac_objext'
38835 { (case "(($ac_try" in
38836 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38837 *) ac_try_echo
=$ac_try;;
38839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38840 (eval "$ac_try") 2>&5
38842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38843 (exit $ac_status); }; }; then
38844 { echo "$as_me:$LINENO: result: yes" >&5
38845 echo "${ECHO_T}yes" >&6; }
38846 cat >>confdefs.h
<<\_ACEOF
38847 #define __Point__ 1
38852 echo "$as_me: failed program was:" >&5
38853 sed 's/^/| /' conftest.
$ac_ext >&5
38855 { { echo "$as_me:$LINENO: error: no
38856 See \`config.log' for more details." >&5
38857 echo "$as_me: error: no
38858 See \`config.log' for more details." >&2;}
38859 { (exit 1); exit 1; }; }
38863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38867 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38869 ac_cpp
='$CPP $CPPFLAGS'
38870 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38871 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38872 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38876 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
38877 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
38878 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
38880 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
38882 # Extract the first word of "Rez", so it can be a program name with args.
38883 set dummy Rez
; ac_word
=$2
38884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
38885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
38886 if test "${ac_cv_prog_REZ+set}" = set; then
38887 echo $ECHO_N "(cached) $ECHO_C" >&6
38889 if test -n "$REZ"; then
38890 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
38892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38893 for as_dir
in $PATH
38896 test -z "$as_dir" && as_dir
=.
38897 for ac_exec_ext
in '' $ac_executable_extensions; do
38898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
38899 ac_cv_prog_REZ
="Rez"
38900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38907 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
38910 REZ
=$ac_cv_prog_REZ
38911 if test -n "$REZ"; then
38912 { echo "$as_me:$LINENO: result: $REZ" >&5
38913 echo "${ECHO_T}$REZ" >&6; }
38915 { echo "$as_me:$LINENO: result: no" >&5
38916 echo "${ECHO_T}no" >&6; }
38920 # Extract the first word of "DeRez", so it can be a program name with args.
38921 set dummy DeRez
; ac_word
=$2
38922 { echo "$as_me:$LINENO: checking for $ac_word" >&5
38923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
38924 if test "${ac_cv_prog_DEREZ+set}" = set; then
38925 echo $ECHO_N "(cached) $ECHO_C" >&6
38927 if test -n "$DEREZ"; then
38928 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
38930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38931 for as_dir
in $PATH
38934 test -z "$as_dir" && as_dir
=.
38935 for ac_exec_ext
in '' $ac_executable_extensions; do
38936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
38937 ac_cv_prog_DEREZ
="DeRez"
38938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38945 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
38948 DEREZ
=$ac_cv_prog_DEREZ
38949 if test -n "$DEREZ"; then
38950 { echo "$as_me:$LINENO: result: $DEREZ" >&5
38951 echo "${ECHO_T}$DEREZ" >&6; }
38953 { echo "$as_me:$LINENO: result: no" >&5
38954 echo "${ECHO_T}no" >&6; }
38958 # Extract the first word of "SetFile", so it can be a program name with args.
38959 set dummy SetFile
; ac_word
=$2
38960 { echo "$as_me:$LINENO: checking for $ac_word" >&5
38961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
38962 if test "${ac_cv_prog_SETFILE+set}" = set; then
38963 echo $ECHO_N "(cached) $ECHO_C" >&6
38965 if test -n "$SETFILE"; then
38966 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
38968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38969 for as_dir
in $PATH
38972 test -z "$as_dir" && as_dir
=.
38973 for ac_exec_ext
in '' $ac_executable_extensions; do
38974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
38975 ac_cv_prog_SETFILE
="SetFile"
38976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38983 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
38986 SETFILE
=$ac_cv_prog_SETFILE
38987 if test -n "$SETFILE"; then
38988 { echo "$as_me:$LINENO: result: $SETFILE" >&5
38989 echo "${ECHO_T}$SETFILE" >&6; }
38991 { echo "$as_me:$LINENO: result: no" >&5
38992 echo "${ECHO_T}no" >&6; }
38997 MACSETFILE
="\$(SETFILE)"
38999 if test "$wxUSE_MAC" = 1; then
39000 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
39002 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
39004 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
39005 RESCOMP
="echo -n \| $REZ"
39006 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
39012 if test "$wxUSE_PM" = 1; then
39014 WXCONFIG_RESFLAGS
="-ep"
39016 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
39018 POSTLINK_COMMAND
="@true"
39025 { echo "$as_me:$LINENO: checking for mode_t" >&5
39026 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
39027 if test "${ac_cv_type_mode_t+set}" = set; then
39028 echo $ECHO_N "(cached) $ECHO_C" >&6
39030 cat >conftest.
$ac_ext <<_ACEOF
39033 cat confdefs.h
>>conftest.
$ac_ext
39034 cat >>conftest.
$ac_ext <<_ACEOF
39035 /* end confdefs.h. */
39036 $ac_includes_default
39037 typedef mode_t ac__type_new_;
39041 if ((ac__type_new_ *) 0)
39043 if (sizeof (ac__type_new_))
39049 rm -f conftest.
$ac_objext
39050 if { (ac_try
="$ac_compile"
39051 case "(($ac_try" in
39052 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39053 *) ac_try_echo=$ac_try;;
39055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39056 (eval "$ac_compile") 2>conftest.er1
39058 grep -v '^ *+' conftest.er1 >conftest.err
39060 cat conftest.err >&5
39061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39062 (exit $ac_status); } &&
39063 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39064 { (case "(($ac_try" in
39065 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39066 *) ac_try_echo
=$ac_try;;
39068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39069 (eval "$ac_try") 2>&5
39071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39072 (exit $ac_status); }; } &&
39073 { ac_try
='test -s conftest.$ac_objext'
39074 { (case "(($ac_try" in
39075 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39076 *) ac_try_echo=$ac_try;;
39078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39079 (eval "$ac_try") 2>&5
39081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39082 (exit $ac_status); }; }; then
39083 ac_cv_type_mode_t=yes
39085 echo "$as_me: failed program was:" >&5
39086 sed 's/^/| /' conftest.$ac_ext >&5
39088 ac_cv_type_mode_t=no
39091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39093 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
39094 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
39095 if test $ac_cv_type_mode_t = yes; then
39099 cat >>confdefs.h <<_ACEOF
39105 { echo "$as_me:$LINENO: checking for off_t" >&5
39106 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
39107 if test "${ac_cv_type_off_t+set}" = set; then
39108 echo $ECHO_N "(cached) $ECHO_C" >&6
39110 cat >conftest.$ac_ext <<_ACEOF
39113 cat confdefs.h >>conftest.$ac_ext
39114 cat >>conftest.$ac_ext <<_ACEOF
39115 /* end confdefs.h. */
39116 $ac_includes_default
39117 typedef off_t ac__type_new_;
39121 if ((ac__type_new_ *) 0)
39123 if (sizeof (ac__type_new_))
39129 rm -f conftest.$ac_objext
39130 if { (ac_try="$ac_compile"
39131 case "(($ac_try" in
39132 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39133 *) ac_try_echo
=$ac_try;;
39135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39136 (eval "$ac_compile") 2>conftest.er1
39138 grep -v '^ *+' conftest.er1
>conftest.err
39140 cat conftest.err
>&5
39141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39142 (exit $ac_status); } &&
39143 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39144 { (case "(($ac_try" in
39145 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39146 *) ac_try_echo=$ac_try;;
39148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39149 (eval "$ac_try") 2>&5
39151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39152 (exit $ac_status); }; } &&
39153 { ac_try='test -s conftest.$ac_objext'
39154 { (case "(($ac_try" in
39155 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39156 *) ac_try_echo
=$ac_try;;
39158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39159 (eval "$ac_try") 2>&5
39161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39162 (exit $ac_status); }; }; then
39163 ac_cv_type_off_t
=yes
39165 echo "$as_me: failed program was:" >&5
39166 sed 's/^/| /' conftest.
$ac_ext >&5
39168 ac_cv_type_off_t
=no
39171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39173 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
39174 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
39175 if test $ac_cv_type_off_t = yes; then
39179 cat >>confdefs.h
<<_ACEOF
39180 #define off_t long int
39185 { echo "$as_me:$LINENO: checking for pid_t" >&5
39186 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
39187 if test "${ac_cv_type_pid_t+set}" = set; then
39188 echo $ECHO_N "(cached) $ECHO_C" >&6
39190 cat >conftest.
$ac_ext <<_ACEOF
39193 cat confdefs.h
>>conftest.
$ac_ext
39194 cat >>conftest.
$ac_ext <<_ACEOF
39195 /* end confdefs.h. */
39196 $ac_includes_default
39197 typedef pid_t ac__type_new_;
39201 if ((ac__type_new_ *) 0)
39203 if (sizeof (ac__type_new_))
39209 rm -f conftest.
$ac_objext
39210 if { (ac_try
="$ac_compile"
39211 case "(($ac_try" in
39212 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39213 *) ac_try_echo=$ac_try;;
39215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39216 (eval "$ac_compile") 2>conftest.er1
39218 grep -v '^ *+' conftest.er1 >conftest.err
39220 cat conftest.err >&5
39221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39222 (exit $ac_status); } &&
39223 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39224 { (case "(($ac_try" in
39225 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39226 *) ac_try_echo
=$ac_try;;
39228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39229 (eval "$ac_try") 2>&5
39231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39232 (exit $ac_status); }; } &&
39233 { ac_try
='test -s conftest.$ac_objext'
39234 { (case "(($ac_try" in
39235 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39236 *) ac_try_echo=$ac_try;;
39238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39239 (eval "$ac_try") 2>&5
39241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39242 (exit $ac_status); }; }; then
39243 ac_cv_type_pid_t=yes
39245 echo "$as_me: failed program was:" >&5
39246 sed 's/^/| /' conftest.$ac_ext >&5
39248 ac_cv_type_pid_t=no
39251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39253 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
39254 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
39255 if test $ac_cv_type_pid_t = yes; then
39259 cat >>confdefs.h <<_ACEOF
39265 { echo "$as_me:$LINENO: checking for size_t" >&5
39266 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
39267 if test "${ac_cv_type_size_t+set}" = set; then
39268 echo $ECHO_N "(cached) $ECHO_C" >&6
39270 cat >conftest.$ac_ext <<_ACEOF
39273 cat confdefs.h >>conftest.$ac_ext
39274 cat >>conftest.$ac_ext <<_ACEOF
39275 /* end confdefs.h. */
39276 $ac_includes_default
39277 typedef size_t ac__type_new_;
39281 if ((ac__type_new_ *) 0)
39283 if (sizeof (ac__type_new_))
39289 rm -f conftest.$ac_objext
39290 if { (ac_try="$ac_compile"
39291 case "(($ac_try" in
39292 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39293 *) ac_try_echo
=$ac_try;;
39295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39296 (eval "$ac_compile") 2>conftest.er1
39298 grep -v '^ *+' conftest.er1
>conftest.err
39300 cat conftest.err
>&5
39301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39302 (exit $ac_status); } &&
39303 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39304 { (case "(($ac_try" in
39305 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39306 *) ac_try_echo=$ac_try;;
39308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39309 (eval "$ac_try") 2>&5
39311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39312 (exit $ac_status); }; } &&
39313 { ac_try='test -s conftest.$ac_objext'
39314 { (case "(($ac_try" in
39315 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39316 *) ac_try_echo
=$ac_try;;
39318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39319 (eval "$ac_try") 2>&5
39321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39322 (exit $ac_status); }; }; then
39323 ac_cv_type_size_t
=yes
39325 echo "$as_me: failed program was:" >&5
39326 sed 's/^/| /' conftest.
$ac_ext >&5
39328 ac_cv_type_size_t
=no
39331 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39333 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
39334 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
39335 if test $ac_cv_type_size_t = yes; then
39339 cat >>confdefs.h
<<_ACEOF
39340 #define size_t unsigned int
39345 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
39346 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
39347 if test "${ac_cv_type_uid_t+set}" = set; then
39348 echo $ECHO_N "(cached) $ECHO_C" >&6
39350 cat >conftest.
$ac_ext <<_ACEOF
39353 cat confdefs.h
>>conftest.
$ac_ext
39354 cat >>conftest.
$ac_ext <<_ACEOF
39355 /* end confdefs.h. */
39356 #include <sys/types.h>
39359 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
39360 $EGREP "uid_t" >/dev
/null
2>&1; then
39361 ac_cv_type_uid_t
=yes
39363 ac_cv_type_uid_t
=no
39368 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
39369 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
39370 if test $ac_cv_type_uid_t = no
; then
39372 cat >>confdefs.h
<<\_ACEOF
39377 cat >>confdefs.h
<<\_ACEOF
39384 { echo "$as_me:$LINENO: checking for ssize_t" >&5
39385 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
39386 if test "${ac_cv_type_ssize_t+set}" = set; then
39387 echo $ECHO_N "(cached) $ECHO_C" >&6
39389 cat >conftest.
$ac_ext <<_ACEOF
39392 cat confdefs.h
>>conftest.
$ac_ext
39393 cat >>conftest.
$ac_ext <<_ACEOF
39394 /* end confdefs.h. */
39395 $ac_includes_default
39396 typedef ssize_t ac__type_new_;
39400 if ((ac__type_new_ *) 0)
39402 if (sizeof (ac__type_new_))
39408 rm -f conftest.
$ac_objext
39409 if { (ac_try
="$ac_compile"
39410 case "(($ac_try" in
39411 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39412 *) ac_try_echo=$ac_try;;
39414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39415 (eval "$ac_compile") 2>conftest.er1
39417 grep -v '^ *+' conftest.er1 >conftest.err
39419 cat conftest.err >&5
39420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39421 (exit $ac_status); } &&
39422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39423 { (case "(($ac_try" in
39424 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39425 *) ac_try_echo
=$ac_try;;
39427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39428 (eval "$ac_try") 2>&5
39430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39431 (exit $ac_status); }; } &&
39432 { ac_try
='test -s conftest.$ac_objext'
39433 { (case "(($ac_try" in
39434 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39435 *) ac_try_echo=$ac_try;;
39437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39438 (eval "$ac_try") 2>&5
39440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39441 (exit $ac_status); }; }; then
39442 ac_cv_type_ssize_t=yes
39444 echo "$as_me: failed program was:" >&5
39445 sed 's/^/| /' conftest.$ac_ext >&5
39447 ac_cv_type_ssize_t=no
39450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39452 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
39453 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
39454 if test $ac_cv_type_ssize_t = yes; then
39456 cat >>confdefs.h <<_ACEOF
39457 #define HAVE_SSIZE_T 1
39465 ac_cpp='$CXXCPP $CPPFLAGS'
39466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39469 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
39470 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
39471 if test "${wx_cv_size_t_is_uint+set}" = set; then
39472 echo $ECHO_N "(cached) $ECHO_C" >&6
39475 cat >conftest.$ac_ext <<_ACEOF
39478 cat confdefs.h >>conftest.$ac_ext
39479 cat >>conftest.$ac_ext <<_ACEOF
39480 /* end confdefs.h. */
39481 #include <stddef.h>
39488 struct Foo { void foo(size_t); void foo(unsigned int); };
39496 rm -f conftest.$ac_objext
39497 if { (ac_try="$ac_compile"
39498 case "(($ac_try" in
39499 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39500 *) ac_try_echo
=$ac_try;;
39502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39503 (eval "$ac_compile") 2>conftest.er1
39505 grep -v '^ *+' conftest.er1
>conftest.err
39507 cat conftest.err
>&5
39508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39509 (exit $ac_status); } &&
39510 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39511 { (case "(($ac_try" in
39512 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39513 *) ac_try_echo=$ac_try;;
39515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39516 (eval "$ac_try") 2>&5
39518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39519 (exit $ac_status); }; } &&
39520 { ac_try='test -s conftest.$ac_objext'
39521 { (case "(($ac_try" in
39522 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39523 *) ac_try_echo
=$ac_try;;
39525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39526 (eval "$ac_try") 2>&5
39528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39529 (exit $ac_status); }; }; then
39530 wx_cv_size_t_is_uint
=no
39532 echo "$as_me: failed program was:" >&5
39533 sed 's/^/| /' conftest.
$ac_ext >&5
39535 wx_cv_size_t_is_uint
=yes
39539 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39543 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
39544 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
39546 if test "$wx_cv_size_t_is_uint" = "yes"; then
39547 cat >>confdefs.h
<<\_ACEOF
39548 #define wxSIZE_T_IS_UINT 1
39552 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
39553 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
39554 if test "${wx_cv_size_t_is_ulong+set}" = set; then
39555 echo $ECHO_N "(cached) $ECHO_C" >&6
39557 cat >conftest.
$ac_ext <<_ACEOF
39560 cat confdefs.h
>>conftest.
$ac_ext
39561 cat >>conftest.
$ac_ext <<_ACEOF
39562 /* end confdefs.h. */
39563 #include <stddef.h>
39570 struct Foo { void foo(size_t); void foo(unsigned long); };
39578 rm -f conftest.
$ac_objext
39579 if { (ac_try
="$ac_compile"
39580 case "(($ac_try" in
39581 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39582 *) ac_try_echo=$ac_try;;
39584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39585 (eval "$ac_compile") 2>conftest.er1
39587 grep -v '^ *+' conftest.er1 >conftest.err
39589 cat conftest.err >&5
39590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39591 (exit $ac_status); } &&
39592 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39593 { (case "(($ac_try" in
39594 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39595 *) ac_try_echo
=$ac_try;;
39597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39598 (eval "$ac_try") 2>&5
39600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39601 (exit $ac_status); }; } &&
39602 { ac_try
='test -s conftest.$ac_objext'
39603 { (case "(($ac_try" in
39604 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39605 *) ac_try_echo=$ac_try;;
39607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39608 (eval "$ac_try") 2>&5
39610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39611 (exit $ac_status); }; }; then
39612 wx_cv_size_t_is_ulong=no
39614 echo "$as_me: failed program was:" >&5
39615 sed 's/^/| /' conftest.$ac_ext >&5
39617 wx_cv_size_t_is_ulong=yes
39621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39624 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
39625 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
39627 if test "$wx_cv_size_t_is_ulong" = "yes"; then
39628 cat >>confdefs.h <<\_ACEOF
39629 #define wxSIZE_T_IS_ULONG 1
39636 ac_cpp='$CPP $CPPFLAGS'
39637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39642 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
39643 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
39644 if test "${wx_cv_struct_pw_gecos+set}" = set; then
39645 echo $ECHO_N "(cached) $ECHO_C" >&6
39648 cat >conftest.$ac_ext <<_ACEOF
39651 cat confdefs.h >>conftest.$ac_ext
39652 cat >>conftest.$ac_ext <<_ACEOF
39653 /* end confdefs.h. */
39667 rm -f conftest.$ac_objext
39668 if { (ac_try="$ac_compile"
39669 case "(($ac_try" in
39670 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39671 *) ac_try_echo
=$ac_try;;
39673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39674 (eval "$ac_compile") 2>conftest.er1
39676 grep -v '^ *+' conftest.er1
>conftest.err
39678 cat conftest.err
>&5
39679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39680 (exit $ac_status); } &&
39681 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39682 { (case "(($ac_try" in
39683 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39684 *) ac_try_echo=$ac_try;;
39686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39687 (eval "$ac_try") 2>&5
39689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39690 (exit $ac_status); }; } &&
39691 { ac_try='test -s conftest.$ac_objext'
39692 { (case "(($ac_try" in
39693 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39694 *) ac_try_echo
=$ac_try;;
39696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39697 (eval "$ac_try") 2>&5
39699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39700 (exit $ac_status); }; }; then
39702 wx_cv_struct_pw_gecos
=yes
39705 echo "$as_me: failed program was:" >&5
39706 sed 's/^/| /' conftest.
$ac_ext >&5
39709 wx_cv_struct_pw_gecos
=no
39714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39718 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
39719 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
39721 if test "$wx_cv_struct_pw_gecos" = "yes"; then
39722 cat >>confdefs.h
<<\_ACEOF
39723 #define HAVE_PW_GECOS 1
39729 if test "$wxUSE_WCHAR_T" = "yes"; then
39730 cat >>confdefs.h
<<\_ACEOF
39731 #define wxUSE_WCHAR_T 1
39738 for ac_func
in wcslen
39740 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39741 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39743 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39744 echo $ECHO_N "(cached) $ECHO_C" >&6
39746 cat >conftest.
$ac_ext <<_ACEOF
39749 cat confdefs.h
>>conftest.
$ac_ext
39750 cat >>conftest.
$ac_ext <<_ACEOF
39751 /* end confdefs.h. */
39752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39754 #define $ac_func innocuous_$ac_func
39756 /* System header to define __stub macros and hopefully few prototypes,
39757 which can conflict with char $ac_func (); below.
39758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39759 <limits.h> exists even on freestanding compilers. */
39762 # include <limits.h>
39764 # include <assert.h>
39769 /* Override any GCC internal prototype to avoid an error.
39770 Use char because int might match the return type of a GCC
39771 builtin and then its argument prototype would still apply. */
39776 /* The GNU C library defines this for functions which it implements
39777 to always fail with ENOSYS. Some functions are actually named
39778 something starting with __ and the normal name is an alias. */
39779 #if defined __stub_$ac_func || defined __stub___$ac_func
39786 return $ac_func ();
39791 rm -f conftest.
$ac_objext conftest
$ac_exeext
39792 if { (ac_try
="$ac_link"
39793 case "(($ac_try" in
39794 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39795 *) ac_try_echo=$ac_try;;
39797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39798 (eval "$ac_link") 2>conftest.er1
39800 grep -v '^ *+' conftest.er1 >conftest.err
39802 cat conftest.err >&5
39803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39804 (exit $ac_status); } &&
39805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39806 { (case "(($ac_try" in
39807 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39808 *) ac_try_echo
=$ac_try;;
39810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39811 (eval "$ac_try") 2>&5
39813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39814 (exit $ac_status); }; } &&
39815 { ac_try
='test -s conftest$ac_exeext'
39816 { (case "(($ac_try" in
39817 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39818 *) ac_try_echo=$ac_try;;
39820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39821 (eval "$ac_try") 2>&5
39823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39824 (exit $ac_status); }; }; then
39825 eval "$as_ac_var=yes"
39827 echo "$as_me: failed program was:" >&5
39828 sed 's/^/| /' conftest.$ac_ext >&5
39830 eval "$as_ac_var=no"
39833 rm -f core conftest.err conftest.$ac_objext \
39834 conftest$ac_exeext conftest.$ac_ext
39836 ac_res=`eval echo '${'$as_ac_var'}'`
39837 { echo "$as_me:$LINENO: result: $ac_res" >&5
39838 echo "${ECHO_T}$ac_res" >&6; }
39839 if test `eval echo '${'$as_ac_var'}'` = yes; then
39840 cat >>confdefs.h <<_ACEOF
39841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39848 if test "$WCSLEN_FOUND" = 0; then
39849 if test "$TOOLKIT" = "MSW"; then
39850 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
39851 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
39852 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
39853 echo $ECHO_N "(cached) $ECHO_C" >&6
39855 ac_check_lib_save_LIBS=$LIBS
39856 LIBS="-lmsvcrt $LIBS"
39857 cat >conftest.$ac_ext <<_ACEOF
39860 cat confdefs.h >>conftest.$ac_ext
39861 cat >>conftest.$ac_ext <<_ACEOF
39862 /* end confdefs.h. */
39864 /* Override any GCC internal prototype to avoid an error.
39865 Use char because int might match the return type of a GCC
39866 builtin and then its argument prototype would still apply. */
39879 rm -f conftest.$ac_objext conftest$ac_exeext
39880 if { (ac_try="$ac_link"
39881 case "(($ac_try" in
39882 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39883 *) ac_try_echo
=$ac_try;;
39885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39886 (eval "$ac_link") 2>conftest.er1
39888 grep -v '^ *+' conftest.er1
>conftest.err
39890 cat conftest.err
>&5
39891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39892 (exit $ac_status); } &&
39893 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39894 { (case "(($ac_try" in
39895 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39896 *) ac_try_echo=$ac_try;;
39898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39899 (eval "$ac_try") 2>&5
39901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39902 (exit $ac_status); }; } &&
39903 { ac_try='test -s conftest$ac_exeext'
39904 { (case "(($ac_try" in
39905 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39906 *) ac_try_echo
=$ac_try;;
39908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39909 (eval "$ac_try") 2>&5
39911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39912 (exit $ac_status); }; }; then
39913 ac_cv_lib_msvcrt_wcslen
=yes
39915 echo "$as_me: failed program was:" >&5
39916 sed 's/^/| /' conftest.
$ac_ext >&5
39918 ac_cv_lib_msvcrt_wcslen
=no
39921 rm -f core conftest.err conftest.
$ac_objext \
39922 conftest
$ac_exeext conftest.
$ac_ext
39923 LIBS
=$ac_check_lib_save_LIBS
39925 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
39926 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
39927 if test $ac_cv_lib_msvcrt_wcslen = yes; then
39932 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
39933 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
39934 if test "${ac_cv_lib_w_wcslen+set}" = set; then
39935 echo $ECHO_N "(cached) $ECHO_C" >&6
39937 ac_check_lib_save_LIBS
=$LIBS
39939 cat >conftest.
$ac_ext <<_ACEOF
39942 cat confdefs.h
>>conftest.
$ac_ext
39943 cat >>conftest.
$ac_ext <<_ACEOF
39944 /* end confdefs.h. */
39946 /* Override any GCC internal prototype to avoid an error.
39947 Use char because int might match the return type of a GCC
39948 builtin and then its argument prototype would still apply. */
39961 rm -f conftest.
$ac_objext conftest
$ac_exeext
39962 if { (ac_try
="$ac_link"
39963 case "(($ac_try" in
39964 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39965 *) ac_try_echo=$ac_try;;
39967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39968 (eval "$ac_link") 2>conftest.er1
39970 grep -v '^ *+' conftest.er1 >conftest.err
39972 cat conftest.err >&5
39973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39974 (exit $ac_status); } &&
39975 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39976 { (case "(($ac_try" in
39977 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39978 *) ac_try_echo
=$ac_try;;
39980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39981 (eval "$ac_try") 2>&5
39983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39984 (exit $ac_status); }; } &&
39985 { ac_try
='test -s conftest$ac_exeext'
39986 { (case "(($ac_try" in
39987 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39988 *) ac_try_echo=$ac_try;;
39990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39991 (eval "$ac_try") 2>&5
39993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39994 (exit $ac_status); }; }; then
39995 ac_cv_lib_w_wcslen=yes
39997 echo "$as_me: failed program was:" >&5
39998 sed 's/^/| /' conftest.$ac_ext >&5
40000 ac_cv_lib_w_wcslen=no
40003 rm -f core conftest.err conftest.$ac_objext \
40004 conftest$ac_exeext conftest.$ac_ext
40005 LIBS=$ac_check_lib_save_LIBS
40007 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
40008 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
40009 if test $ac_cv_lib_w_wcslen = yes; then
40019 if test "$WCSLEN_FOUND" = 1; then
40020 cat >>confdefs.h <<\_ACEOF
40021 #define HAVE_WCSLEN 1
40026 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
40027 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
40030 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
40031 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
40032 if test "${ac_cv_type_mbstate_t+set}" = set; then
40033 echo $ECHO_N "(cached) $ECHO_C" >&6
40035 cat >conftest.$ac_ext <<_ACEOF
40038 cat confdefs.h >>conftest.$ac_ext
40039 cat >>conftest.$ac_ext <<_ACEOF
40040 /* end confdefs.h. */
40043 typedef mbstate_t ac__type_new_;
40047 if ((ac__type_new_ *) 0)
40049 if (sizeof (ac__type_new_))
40055 rm -f conftest.$ac_objext
40056 if { (ac_try="$ac_compile"
40057 case "(($ac_try" in
40058 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40059 *) ac_try_echo
=$ac_try;;
40061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40062 (eval "$ac_compile") 2>conftest.er1
40064 grep -v '^ *+' conftest.er1
>conftest.err
40066 cat conftest.err
>&5
40067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40068 (exit $ac_status); } &&
40069 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40070 { (case "(($ac_try" in
40071 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40072 *) ac_try_echo=$ac_try;;
40074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40075 (eval "$ac_try") 2>&5
40077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40078 (exit $ac_status); }; } &&
40079 { ac_try='test -s conftest.$ac_objext'
40080 { (case "(($ac_try" in
40081 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40082 *) ac_try_echo
=$ac_try;;
40084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40085 (eval "$ac_try") 2>&5
40087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40088 (exit $ac_status); }; }; then
40089 ac_cv_type_mbstate_t
=yes
40091 echo "$as_me: failed program was:" >&5
40092 sed 's/^/| /' conftest.
$ac_ext >&5
40094 ac_cv_type_mbstate_t
=no
40097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40099 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
40100 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
40101 if test $ac_cv_type_mbstate_t = yes; then
40103 cat >>confdefs.h
<<_ACEOF
40104 #define HAVE_MBSTATE_T 1
40108 for ac_func
in wcsrtombs
40110 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40111 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40113 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40114 echo $ECHO_N "(cached) $ECHO_C" >&6
40116 cat >conftest.
$ac_ext <<_ACEOF
40119 cat confdefs.h
>>conftest.
$ac_ext
40120 cat >>conftest.
$ac_ext <<_ACEOF
40121 /* end confdefs.h. */
40122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40124 #define $ac_func innocuous_$ac_func
40126 /* System header to define __stub macros and hopefully few prototypes,
40127 which can conflict with char $ac_func (); below.
40128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40129 <limits.h> exists even on freestanding compilers. */
40132 # include <limits.h>
40134 # include <assert.h>
40139 /* Override any GCC internal prototype to avoid an error.
40140 Use char because int might match the return type of a GCC
40141 builtin and then its argument prototype would still apply. */
40146 /* The GNU C library defines this for functions which it implements
40147 to always fail with ENOSYS. Some functions are actually named
40148 something starting with __ and the normal name is an alias. */
40149 #if defined __stub_$ac_func || defined __stub___$ac_func
40156 return $ac_func ();
40161 rm -f conftest.
$ac_objext conftest
$ac_exeext
40162 if { (ac_try
="$ac_link"
40163 case "(($ac_try" in
40164 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40165 *) ac_try_echo=$ac_try;;
40167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40168 (eval "$ac_link") 2>conftest.er1
40170 grep -v '^ *+' conftest.er1 >conftest.err
40172 cat conftest.err >&5
40173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40174 (exit $ac_status); } &&
40175 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40176 { (case "(($ac_try" in
40177 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40178 *) ac_try_echo
=$ac_try;;
40180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40181 (eval "$ac_try") 2>&5
40183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40184 (exit $ac_status); }; } &&
40185 { ac_try
='test -s conftest$ac_exeext'
40186 { (case "(($ac_try" in
40187 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40188 *) ac_try_echo=$ac_try;;
40190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40191 (eval "$ac_try") 2>&5
40193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40194 (exit $ac_status); }; }; then
40195 eval "$as_ac_var=yes"
40197 echo "$as_me: failed program was:" >&5
40198 sed 's/^/| /' conftest.$ac_ext >&5
40200 eval "$as_ac_var=no"
40203 rm -f core conftest.err conftest.$ac_objext \
40204 conftest$ac_exeext conftest.$ac_ext
40206 ac_res=`eval echo '${'$as_ac_var'}'`
40207 { echo "$as_me:$LINENO: result: $ac_res" >&5
40208 echo "${ECHO_T}$ac_res" >&6; }
40209 if test `eval echo '${'$as_ac_var'}'` = yes; then
40210 cat >>confdefs.h <<_ACEOF
40211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40220 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
40221 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
40226 for ac_func in snprintf vsnprintf
40228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40229 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40231 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40232 echo $ECHO_N "(cached) $ECHO_C" >&6
40234 cat >conftest.$ac_ext <<_ACEOF
40237 cat confdefs.h >>conftest.$ac_ext
40238 cat >>conftest.$ac_ext <<_ACEOF
40239 /* end confdefs.h. */
40240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40242 #define $ac_func innocuous_$ac_func
40244 /* System header to define __stub macros and hopefully few prototypes,
40245 which can conflict with char $ac_func (); below.
40246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40247 <limits.h> exists even on freestanding compilers. */
40250 # include <limits.h>
40252 # include <assert.h>
40257 /* Override any GCC internal prototype to avoid an error.
40258 Use char because int might match the return type of a GCC
40259 builtin and then its argument prototype would still apply. */
40264 /* The GNU C library defines this for functions which it implements
40265 to always fail with ENOSYS. Some functions are actually named
40266 something starting with __ and the normal name is an alias. */
40267 #if defined __stub_$ac_func || defined __stub___$ac_func
40274 return $ac_func ();
40279 rm -f conftest.$ac_objext conftest$ac_exeext
40280 if { (ac_try="$ac_link"
40281 case "(($ac_try" in
40282 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40283 *) ac_try_echo
=$ac_try;;
40285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40286 (eval "$ac_link") 2>conftest.er1
40288 grep -v '^ *+' conftest.er1
>conftest.err
40290 cat conftest.err
>&5
40291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40292 (exit $ac_status); } &&
40293 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40294 { (case "(($ac_try" in
40295 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40296 *) ac_try_echo=$ac_try;;
40298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40299 (eval "$ac_try") 2>&5
40301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40302 (exit $ac_status); }; } &&
40303 { ac_try='test -s conftest$ac_exeext'
40304 { (case "(($ac_try" in
40305 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40306 *) ac_try_echo
=$ac_try;;
40308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40309 (eval "$ac_try") 2>&5
40311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40312 (exit $ac_status); }; }; then
40313 eval "$as_ac_var=yes"
40315 echo "$as_me: failed program was:" >&5
40316 sed 's/^/| /' conftest.
$ac_ext >&5
40318 eval "$as_ac_var=no"
40321 rm -f core conftest.err conftest.
$ac_objext \
40322 conftest
$ac_exeext conftest.
$ac_ext
40324 ac_res
=`eval echo '${'$as_ac_var'}'`
40325 { echo "$as_me:$LINENO: result: $ac_res" >&5
40326 echo "${ECHO_T}$ac_res" >&6; }
40327 if test `eval echo '${'$as_ac_var'}'` = yes; then
40328 cat >>confdefs.h
<<_ACEOF
40329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40336 if test "$ac_cv_func_vsnprintf" = "yes"; then
40337 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
40338 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
40339 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
40340 echo $ECHO_N "(cached) $ECHO_C" >&6
40343 cat >conftest.
$ac_ext <<_ACEOF
40346 cat confdefs.h
>>conftest.
$ac_ext
40347 cat >>conftest.
$ac_ext <<_ACEOF
40348 /* end confdefs.h. */
40351 #include <stdarg.h>
40353 #if __MSL__ >= 0x6000
40355 using namespace std;
40365 vsnprintf(buf, 10u, "%s", ap);
40371 rm -f conftest.
$ac_objext
40372 if { (ac_try
="$ac_compile"
40373 case "(($ac_try" in
40374 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40375 *) ac_try_echo=$ac_try;;
40377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40378 (eval "$ac_compile") 2>conftest.er1
40380 grep -v '^ *+' conftest.er1 >conftest.err
40382 cat conftest.err >&5
40383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40384 (exit $ac_status); } &&
40385 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40386 { (case "(($ac_try" in
40387 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40388 *) ac_try_echo
=$ac_try;;
40390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40391 (eval "$ac_try") 2>&5
40393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40394 (exit $ac_status); }; } &&
40395 { ac_try
='test -s conftest.$ac_objext'
40396 { (case "(($ac_try" in
40397 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40398 *) ac_try_echo=$ac_try;;
40400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40401 (eval "$ac_try") 2>&5
40403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40404 (exit $ac_status); }; }; then
40405 wx_cv_func_vsnprintf_decl=yes
40407 echo "$as_me: failed program was:" >&5
40408 sed 's/^/| /' conftest.$ac_ext >&5
40410 wx_cv_func_vsnprintf_decl=no
40414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40418 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
40419 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
40421 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
40422 cat >>confdefs.h <<\_ACEOF
40423 #define HAVE_VSNPRINTF_DECL 1
40427 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
40428 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
40429 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
40430 echo $ECHO_N "(cached) $ECHO_C" >&6
40433 cat >conftest.$ac_ext <<_ACEOF
40436 cat confdefs.h >>conftest.$ac_ext
40437 cat >>conftest.$ac_ext <<_ACEOF
40438 /* end confdefs.h. */
40441 #include <stdarg.h>
40443 #if __MSL__ >= 0x6000
40445 using namespace std;
40455 const char *fmt = "%s";
40456 vsnprintf(buf, 10u, fmt, ap);
40462 rm -f conftest.$ac_objext
40463 if { (ac_try="$ac_compile"
40464 case "(($ac_try" in
40465 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40466 *) ac_try_echo
=$ac_try;;
40468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40469 (eval "$ac_compile") 2>conftest.er1
40471 grep -v '^ *+' conftest.er1
>conftest.err
40473 cat conftest.err
>&5
40474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40475 (exit $ac_status); } &&
40476 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40477 { (case "(($ac_try" in
40478 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40479 *) ac_try_echo=$ac_try;;
40481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40482 (eval "$ac_try") 2>&5
40484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40485 (exit $ac_status); }; } &&
40486 { ac_try='test -s conftest.$ac_objext'
40487 { (case "(($ac_try" in
40488 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40489 *) ac_try_echo
=$ac_try;;
40491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40492 (eval "$ac_try") 2>&5
40494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40495 (exit $ac_status); }; }; then
40496 wx_cv_func_broken_vsnprintf_decl
=no
40498 echo "$as_me: failed program was:" >&5
40499 sed 's/^/| /' conftest.
$ac_ext >&5
40501 wx_cv_func_broken_vsnprintf_decl
=yes
40505 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40509 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
40510 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
40512 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
40513 cat >>confdefs.h
<<\_ACEOF
40514 #define HAVE_BROKEN_VSNPRINTF_DECL 1
40521 if test "$ac_cv_func_snprintf" = "yes"; then
40522 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
40523 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
40524 if test "${wx_cv_func_snprintf_decl+set}" = set; then
40525 echo $ECHO_N "(cached) $ECHO_C" >&6
40528 cat >conftest.
$ac_ext <<_ACEOF
40531 cat confdefs.h
>>conftest.
$ac_ext
40532 cat >>conftest.
$ac_ext <<_ACEOF
40533 /* end confdefs.h. */
40536 #include <stdarg.h>
40538 #if __MSL__ >= 0x6000
40540 using namespace std;
40549 snprintf(buf, 10u, "%s", "wx");
40555 rm -f conftest.
$ac_objext
40556 if { (ac_try
="$ac_compile"
40557 case "(($ac_try" in
40558 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40559 *) ac_try_echo=$ac_try;;
40561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40562 (eval "$ac_compile") 2>conftest.er1
40564 grep -v '^ *+' conftest.er1 >conftest.err
40566 cat conftest.err >&5
40567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40568 (exit $ac_status); } &&
40569 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40570 { (case "(($ac_try" in
40571 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40572 *) ac_try_echo
=$ac_try;;
40574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40575 (eval "$ac_try") 2>&5
40577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40578 (exit $ac_status); }; } &&
40579 { ac_try
='test -s conftest.$ac_objext'
40580 { (case "(($ac_try" in
40581 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40582 *) ac_try_echo=$ac_try;;
40584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40585 (eval "$ac_try") 2>&5
40587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40588 (exit $ac_status); }; }; then
40589 wx_cv_func_snprintf_decl=yes
40591 echo "$as_me: failed program was:" >&5
40592 sed 's/^/| /' conftest.$ac_ext >&5
40594 wx_cv_func_snprintf_decl=no
40598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40602 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
40603 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
40605 if test "$wx_cv_func_snprintf_decl" = "yes"; then
40606 cat >>confdefs.h <<\_ACEOF
40607 #define HAVE_SNPRINTF_DECL 1
40611 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
40612 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
40613 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
40614 echo $ECHO_N "(cached) $ECHO_C" >&6
40617 cat >conftest.$ac_ext <<_ACEOF
40620 cat confdefs.h >>conftest.$ac_ext
40621 cat >>conftest.$ac_ext <<_ACEOF
40622 /* end confdefs.h. */
40625 #include <stdarg.h>
40627 #if __MSL__ >= 0x6000
40629 using namespace std;
40638 const char *fmt = "%s";
40639 snprintf(buf, 10u, fmt, "wx");
40645 rm -f conftest.$ac_objext
40646 if { (ac_try="$ac_compile"
40647 case "(($ac_try" in
40648 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40649 *) ac_try_echo
=$ac_try;;
40651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40652 (eval "$ac_compile") 2>conftest.er1
40654 grep -v '^ *+' conftest.er1
>conftest.err
40656 cat conftest.err
>&5
40657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40658 (exit $ac_status); } &&
40659 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40660 { (case "(($ac_try" in
40661 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40662 *) ac_try_echo=$ac_try;;
40664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40665 (eval "$ac_try") 2>&5
40667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40668 (exit $ac_status); }; } &&
40669 { ac_try='test -s conftest.$ac_objext'
40670 { (case "(($ac_try" in
40671 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40672 *) ac_try_echo
=$ac_try;;
40674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40675 (eval "$ac_try") 2>&5
40677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40678 (exit $ac_status); }; }; then
40679 wx_cv_func_broken_snprintf_decl
=no
40681 echo "$as_me: failed program was:" >&5
40682 sed 's/^/| /' conftest.
$ac_ext >&5
40684 wx_cv_func_broken_snprintf_decl
=yes
40688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40692 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
40693 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
40695 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
40696 cat >>confdefs.h
<<\_ACEOF
40697 #define HAVE_BROKEN_SNPRINTF_DECL 1
40703 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
40705 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
40706 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
40707 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
40708 echo $ECHO_N "(cached) $ECHO_C" >&6
40711 if test "$cross_compiling" = yes; then
40713 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
40714 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
40715 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
40716 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
40717 wx_cv_func_snprintf_pos_params
=no
40721 cat >conftest.
$ac_ext <<_ACEOF
40724 cat confdefs.h
>>conftest.
$ac_ext
40725 cat >>conftest.
$ac_ext <<_ACEOF
40726 /* end confdefs.h. */
40733 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
40734 if (strcmp ("2 3 1", buffer) == 0)
40740 rm -f conftest
$ac_exeext
40741 if { (ac_try
="$ac_link"
40742 case "(($ac_try" in
40743 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40744 *) ac_try_echo=$ac_try;;
40746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40747 (eval "$ac_link") 2>&5
40749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40750 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40751 { (case "(($ac_try" in
40752 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40753 *) ac_try_echo
=$ac_try;;
40755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40756 (eval "$ac_try") 2>&5
40758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40759 (exit $ac_status); }; }; then
40760 wx_cv_func_snprintf_pos_params
=no
40762 echo "$as_me: program exited with status $ac_status" >&5
40763 echo "$as_me: failed program was:" >&5
40764 sed 's/^/| /' conftest.
$ac_ext >&5
40766 ( exit $ac_status )
40767 wx_cv_func_snprintf_pos_params
=yes
40769 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
40776 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
40777 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
40779 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
40780 cat >>confdefs.h
<<\_ACEOF
40781 #define HAVE_UNIX98_PRINTF 1
40788 if test "$wxUSE_UNICODE" = yes; then
40791 for ac_func
in swprintf
40793 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40794 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40796 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40797 echo $ECHO_N "(cached) $ECHO_C" >&6
40799 cat >conftest.
$ac_ext <<_ACEOF
40802 cat confdefs.h
>>conftest.
$ac_ext
40803 cat >>conftest.
$ac_ext <<_ACEOF
40804 /* end confdefs.h. */
40805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40807 #define $ac_func innocuous_$ac_func
40809 /* System header to define __stub macros and hopefully few prototypes,
40810 which can conflict with char $ac_func (); below.
40811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40812 <limits.h> exists even on freestanding compilers. */
40815 # include <limits.h>
40817 # include <assert.h>
40822 /* Override any GCC internal prototype to avoid an error.
40823 Use char because int might match the return type of a GCC
40824 builtin and then its argument prototype would still apply. */
40829 /* The GNU C library defines this for functions which it implements
40830 to always fail with ENOSYS. Some functions are actually named
40831 something starting with __ and the normal name is an alias. */
40832 #if defined __stub_$ac_func || defined __stub___$ac_func
40839 return $ac_func ();
40844 rm -f conftest.
$ac_objext conftest
$ac_exeext
40845 if { (ac_try
="$ac_link"
40846 case "(($ac_try" in
40847 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40848 *) ac_try_echo=$ac_try;;
40850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40851 (eval "$ac_link") 2>conftest.er1
40853 grep -v '^ *+' conftest.er1 >conftest.err
40855 cat conftest.err >&5
40856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40857 (exit $ac_status); } &&
40858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40859 { (case "(($ac_try" in
40860 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40861 *) ac_try_echo
=$ac_try;;
40863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40864 (eval "$ac_try") 2>&5
40866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40867 (exit $ac_status); }; } &&
40868 { ac_try
='test -s conftest$ac_exeext'
40869 { (case "(($ac_try" in
40870 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40871 *) ac_try_echo=$ac_try;;
40873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40874 (eval "$ac_try") 2>&5
40876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40877 (exit $ac_status); }; }; then
40878 eval "$as_ac_var=yes"
40880 echo "$as_me: failed program was:" >&5
40881 sed 's/^/| /' conftest.$ac_ext >&5
40883 eval "$as_ac_var=no"
40886 rm -f core conftest.err conftest.$ac_objext \
40887 conftest$ac_exeext conftest.$ac_ext
40889 ac_res=`eval echo '${'$as_ac_var'}'`
40890 { echo "$as_me:$LINENO: result: $ac_res" >&5
40891 echo "${ECHO_T}$ac_res" >&6; }
40892 if test `eval echo '${'$as_ac_var'}'` = yes; then
40893 cat >>confdefs.h <<_ACEOF
40894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40901 if test "$ac_cv_func_swprintf" = "yes"; then
40902 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
40903 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
40904 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
40905 echo $ECHO_N "(cached) $ECHO_C" >&6
40908 cat >conftest.$ac_ext <<_ACEOF
40911 cat confdefs.h >>conftest.$ac_ext
40912 cat >>conftest.$ac_ext <<_ACEOF
40913 /* end confdefs.h. */
40916 #include <stdarg.h>
40924 const wchar_t *fmt = L"test";
40925 swprintf(buf, 10u, fmt);
40931 rm -f conftest.$ac_objext
40932 if { (ac_try="$ac_compile"
40933 case "(($ac_try" in
40934 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40935 *) ac_try_echo
=$ac_try;;
40937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40938 (eval "$ac_compile") 2>conftest.er1
40940 grep -v '^ *+' conftest.er1
>conftest.err
40942 cat conftest.err
>&5
40943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40944 (exit $ac_status); } &&
40945 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40946 { (case "(($ac_try" in
40947 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40948 *) ac_try_echo=$ac_try;;
40950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40951 (eval "$ac_try") 2>&5
40953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40954 (exit $ac_status); }; } &&
40955 { ac_try='test -s conftest.$ac_objext'
40956 { (case "(($ac_try" in
40957 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40958 *) ac_try_echo
=$ac_try;;
40960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40961 (eval "$ac_try") 2>&5
40963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40964 (exit $ac_status); }; }; then
40965 wx_cv_func_broken_swprintf_decl
=no
40967 echo "$as_me: failed program was:" >&5
40968 sed 's/^/| /' conftest.
$ac_ext >&5
40970 wx_cv_func_broken_swprintf_decl
=yes
40974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40978 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
40979 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
40981 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
40982 cat >>confdefs.h
<<\_ACEOF
40983 #define HAVE_BROKEN_SWPRINTF_DECL 1
40989 wchar_headers
="#include <stdio.h>
40990 #include <wchar.h>"
40994 for ac_header
in widec.h
40996 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40997 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40998 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41000 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41001 echo $ECHO_N "(cached) $ECHO_C" >&6
41003 ac_res
=`eval echo '${'$as_ac_Header'}'`
41004 { echo "$as_me:$LINENO: result: $ac_res" >&5
41005 echo "${ECHO_T}$ac_res" >&6; }
41007 # Is the header compilable?
41008 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
41009 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
41010 cat >conftest.
$ac_ext <<_ACEOF
41013 cat confdefs.h
>>conftest.
$ac_ext
41014 cat >>conftest.
$ac_ext <<_ACEOF
41015 /* end confdefs.h. */
41016 $ac_includes_default
41017 #include <$ac_header>
41019 rm -f conftest.
$ac_objext
41020 if { (ac_try
="$ac_compile"
41021 case "(($ac_try" in
41022 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41023 *) ac_try_echo=$ac_try;;
41025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41026 (eval "$ac_compile") 2>conftest.er1
41028 grep -v '^ *+' conftest.er1 >conftest.err
41030 cat conftest.err >&5
41031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41032 (exit $ac_status); } &&
41033 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41034 { (case "(($ac_try" in
41035 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41036 *) ac_try_echo
=$ac_try;;
41038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41039 (eval "$ac_try") 2>&5
41041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41042 (exit $ac_status); }; } &&
41043 { ac_try
='test -s conftest.$ac_objext'
41044 { (case "(($ac_try" in
41045 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41046 *) ac_try_echo=$ac_try;;
41048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41049 (eval "$ac_try") 2>&5
41051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41052 (exit $ac_status); }; }; then
41053 ac_header_compiler=yes
41055 echo "$as_me: failed program was:" >&5
41056 sed 's/^/| /' conftest.$ac_ext >&5
41058 ac_header_compiler=no
41061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41062 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41063 echo "${ECHO_T}$ac_header_compiler" >&6; }
41065 # Is the header present?
41066 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
41067 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
41068 cat >conftest.$ac_ext <<_ACEOF
41071 cat confdefs.h >>conftest.$ac_ext
41072 cat >>conftest.$ac_ext <<_ACEOF
41073 /* end confdefs.h. */
41074 #include <$ac_header>
41076 if { (ac_try="$ac_cpp conftest.$ac_ext"
41077 case "(($ac_try" in
41078 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41079 *) ac_try_echo
=$ac_try;;
41081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41082 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
41084 grep -v '^ *+' conftest.er1
>conftest.err
41086 cat conftest.err
>&5
41087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41088 (exit $ac_status); } >/dev
/null
; then
41089 if test -s conftest.err
; then
41090 ac_cpp_err
=$ac_c_preproc_warn_flag
41091 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
41098 if test -z "$ac_cpp_err"; then
41099 ac_header_preproc
=yes
41101 echo "$as_me: failed program was:" >&5
41102 sed 's/^/| /' conftest.
$ac_ext >&5
41104 ac_header_preproc
=no
41107 rm -f conftest.err conftest.
$ac_ext
41108 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41109 echo "${ECHO_T}$ac_header_preproc" >&6; }
41111 # So? What about this header?
41112 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41114 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41115 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41116 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41117 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41118 ac_header_preproc
=yes
41121 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41122 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41123 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41124 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41125 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41126 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41127 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41128 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41129 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41130 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41131 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41132 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41134 ## ----------------------------------------- ##
41135 ## Report this to wx-dev@lists.wxwidgets.org ##
41136 ## ----------------------------------------- ##
41138 ) | sed "s/^/$as_me: WARNING: /" >&2
41141 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41142 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41143 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41144 echo $ECHO_N "(cached) $ECHO_C" >&6
41146 eval "$as_ac_Header=\$ac_header_preproc"
41148 ac_res
=`eval echo '${'$as_ac_Header'}'`
41149 { echo "$as_me:$LINENO: result: $ac_res" >&5
41150 echo "${ECHO_T}$ac_res" >&6; }
41153 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41154 cat >>confdefs.h
<<_ACEOF
41155 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41162 if test "$ac_cv_header_widec_h" = "yes"; then
41163 wchar_headers
="$wchar_headers
41164 #include <widec.h>"
41169 for wx_func
in wputc wputchar putws fputws wprintf vswprintf
41171 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41172 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41173 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41174 echo $ECHO_N "(cached) $ECHO_C" >&6
41177 cat >conftest.
$ac_ext <<_ACEOF
41181 cat confdefs.h
>>conftest.
$ac_ext
41182 cat >>conftest.
$ac_ext <<_ACEOF
41183 /* end confdefs.h. */
41186 $ac_includes_default
41202 rm -f conftest.
$ac_objext conftest
$ac_exeext
41203 if { (ac_try
="$ac_link"
41204 case "(($ac_try" in
41205 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41206 *) ac_try_echo=$ac_try;;
41208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41209 (eval "$ac_link") 2>conftest.er1
41211 grep -v '^ *+' conftest.er1 >conftest.err
41213 cat conftest.err >&5
41214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41215 (exit $ac_status); } &&
41216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41217 { (case "(($ac_try" in
41218 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41219 *) ac_try_echo
=$ac_try;;
41221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41222 (eval "$ac_try") 2>&5
41224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41225 (exit $ac_status); }; } &&
41226 { ac_try
='test -s conftest$ac_exeext'
41227 { (case "(($ac_try" in
41228 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41229 *) ac_try_echo=$ac_try;;
41231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41232 (eval "$ac_try") 2>&5
41234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41235 (exit $ac_status); }; }; then
41236 eval wx_cv_func_$wx_func=yes
41238 echo "$as_me: failed program was:" >&5
41239 sed 's/^/| /' conftest.$ac_ext >&5
41241 eval wx_cv_func_$wx_func=no
41244 rm -f core conftest.err conftest.$ac_objext \
41245 conftest$ac_exeext conftest.$ac_ext
41248 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41249 { echo "$as_me:$LINENO: result: $ac_res" >&5
41250 echo "${ECHO_T}$ac_res" >&6; }
41252 if eval test \$wx_cv_func_$wx_func = yes
41254 cat >>confdefs.h <<_ACEOF
41255 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41266 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
41267 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
41268 cat >conftest.$ac_ext <<_ACEOF
41271 cat confdefs.h >>conftest.$ac_ext
41272 cat >>conftest.$ac_ext <<_ACEOF
41273 /* end confdefs.h. */
41283 rm -f conftest.$ac_objext
41284 if { (ac_try="$ac_compile"
41285 case "(($ac_try" in
41286 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41287 *) ac_try_echo
=$ac_try;;
41289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41290 (eval "$ac_compile") 2>conftest.er1
41292 grep -v '^ *+' conftest.er1
>conftest.err
41294 cat conftest.err
>&5
41295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41296 (exit $ac_status); } &&
41297 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41298 { (case "(($ac_try" in
41299 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41300 *) ac_try_echo=$ac_try;;
41302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41303 (eval "$ac_try") 2>&5
41305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41306 (exit $ac_status); }; } &&
41307 { ac_try='test -s conftest.$ac_objext'
41308 { (case "(($ac_try" in
41309 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41310 *) ac_try_echo
=$ac_try;;
41312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41313 (eval "$ac_try") 2>&5
41315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41316 (exit $ac_status); }; }; then
41317 { echo "$as_me:$LINENO: result: yes" >&5
41318 echo "${ECHO_T}yes" >&6; }
41319 cat >>confdefs.h
<<\_ACEOF
41320 #define HAVE__VSNWPRINTF 1
41324 echo "$as_me: failed program was:" >&5
41325 sed 's/^/| /' conftest.
$ac_ext >&5
41327 { echo "$as_me:$LINENO: result: no" >&5
41328 echo "${ECHO_T}no" >&6; }
41331 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
41334 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
41336 for wx_func
in fnmatch
41338 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41339 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41340 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41341 echo $ECHO_N "(cached) $ECHO_C" >&6
41344 cat >conftest.
$ac_ext <<_ACEOF
41348 cat confdefs.h
>>conftest.
$ac_ext
41349 cat >>conftest.
$ac_ext <<_ACEOF
41350 /* end confdefs.h. */
41352 #include <fnmatch.h>
41353 $ac_includes_default
41369 rm -f conftest.
$ac_objext conftest
$ac_exeext
41370 if { (ac_try
="$ac_link"
41371 case "(($ac_try" in
41372 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41373 *) ac_try_echo=$ac_try;;
41375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41376 (eval "$ac_link") 2>conftest.er1
41378 grep -v '^ *+' conftest.er1 >conftest.err
41380 cat conftest.err >&5
41381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41382 (exit $ac_status); } &&
41383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41384 { (case "(($ac_try" in
41385 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41386 *) ac_try_echo
=$ac_try;;
41388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41389 (eval "$ac_try") 2>&5
41391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41392 (exit $ac_status); }; } &&
41393 { ac_try
='test -s conftest$ac_exeext'
41394 { (case "(($ac_try" in
41395 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41396 *) ac_try_echo=$ac_try;;
41398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41399 (eval "$ac_try") 2>&5
41401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41402 (exit $ac_status); }; }; then
41403 eval wx_cv_func_$wx_func=yes
41405 echo "$as_me: failed program was:" >&5
41406 sed 's/^/| /' conftest.$ac_ext >&5
41408 eval wx_cv_func_$wx_func=no
41411 rm -f core conftest.err conftest.$ac_objext \
41412 conftest$ac_exeext conftest.$ac_ext
41415 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41416 { echo "$as_me:$LINENO: result: $ac_res" >&5
41417 echo "${ECHO_T}$ac_res" >&6; }
41419 if eval test \$wx_cv_func_$wx_func = yes
41421 cat >>confdefs.h <<_ACEOF
41422 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41434 if test "$wxUSE_FILE" = "yes"; then
41436 for wx_func in fsync
41438 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41439 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41440 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41441 echo $ECHO_N "(cached) $ECHO_C" >&6
41444 cat >conftest.$ac_ext <<_ACEOF
41448 cat confdefs.h >>conftest.$ac_ext
41449 cat >>conftest.$ac_ext <<_ACEOF
41450 /* end confdefs.h. */
41453 $ac_includes_default
41469 rm -f conftest.$ac_objext conftest$ac_exeext
41470 if { (ac_try="$ac_link"
41471 case "(($ac_try" in
41472 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41473 *) ac_try_echo
=$ac_try;;
41475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41476 (eval "$ac_link") 2>conftest.er1
41478 grep -v '^ *+' conftest.er1
>conftest.err
41480 cat conftest.err
>&5
41481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41482 (exit $ac_status); } &&
41483 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41484 { (case "(($ac_try" in
41485 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41486 *) ac_try_echo=$ac_try;;
41488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41489 (eval "$ac_try") 2>&5
41491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41492 (exit $ac_status); }; } &&
41493 { ac_try='test -s conftest$ac_exeext'
41494 { (case "(($ac_try" in
41495 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41496 *) ac_try_echo
=$ac_try;;
41498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41499 (eval "$ac_try") 2>&5
41501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41502 (exit $ac_status); }; }; then
41503 eval wx_cv_func_
$wx_func=yes
41505 echo "$as_me: failed program was:" >&5
41506 sed 's/^/| /' conftest.
$ac_ext >&5
41508 eval wx_cv_func_
$wx_func=no
41511 rm -f core conftest.err conftest.
$ac_objext \
41512 conftest
$ac_exeext conftest.
$ac_ext
41515 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
41516 { echo "$as_me:$LINENO: result: $ac_res" >&5
41517 echo "${ECHO_T}$ac_res" >&6; }
41519 if eval test \
$wx_cv_func_$wx_func = yes
41521 cat >>confdefs.h
<<_ACEOF
41522 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41535 for wx_func
in round
41537 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41538 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41539 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41540 echo $ECHO_N "(cached) $ECHO_C" >&6
41543 cat >conftest.
$ac_ext <<_ACEOF
41547 cat confdefs.h
>>conftest.
$ac_ext
41548 cat >>conftest.
$ac_ext <<_ACEOF
41549 /* end confdefs.h. */
41552 $ac_includes_default
41568 rm -f conftest.
$ac_objext conftest
$ac_exeext
41569 if { (ac_try
="$ac_link"
41570 case "(($ac_try" in
41571 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41572 *) ac_try_echo=$ac_try;;
41574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41575 (eval "$ac_link") 2>conftest.er1
41577 grep -v '^ *+' conftest.er1 >conftest.err
41579 cat conftest.err >&5
41580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41581 (exit $ac_status); } &&
41582 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41583 { (case "(($ac_try" in
41584 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41585 *) ac_try_echo
=$ac_try;;
41587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41588 (eval "$ac_try") 2>&5
41590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41591 (exit $ac_status); }; } &&
41592 { ac_try
='test -s conftest$ac_exeext'
41593 { (case "(($ac_try" in
41594 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41595 *) ac_try_echo=$ac_try;;
41597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41598 (eval "$ac_try") 2>&5
41600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41601 (exit $ac_status); }; }; then
41602 eval wx_cv_func_$wx_func=yes
41604 echo "$as_me: failed program was:" >&5
41605 sed 's/^/| /' conftest.$ac_ext >&5
41607 eval wx_cv_func_$wx_func=no
41610 rm -f core conftest.err conftest.$ac_objext \
41611 conftest$ac_exeext conftest.$ac_ext
41614 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41615 { echo "$as_me:$LINENO: result: $ac_res" >&5
41616 echo "${ECHO_T}$ac_res" >&6; }
41618 if eval test \$wx_cv_func_$wx_func = yes
41620 cat >>confdefs.h <<_ACEOF
41621 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41632 if test "$TOOLKIT" != "MSW"; then
41638 # Check whether --with-libiconv-prefix was given.
41639 if test "${with_libiconv_prefix+set}" = set; then
41640 withval=$with_libiconv_prefix;
41641 for dir in `echo "$withval" | tr : ' '`; do
41642 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
41643 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
41649 { echo "$as_me:$LINENO: checking for iconv" >&5
41650 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
41651 if test "${am_cv_func_iconv+set}" = set; then
41652 echo $ECHO_N "(cached) $ECHO_C" >&6
41655 am_cv_func_iconv="no, consider installing GNU libiconv"
41657 cat >conftest.$ac_ext <<_ACEOF
41660 cat confdefs.h >>conftest.$ac_ext
41661 cat >>conftest.$ac_ext <<_ACEOF
41662 /* end confdefs.h. */
41663 #include <stdlib.h>
41668 iconv_t cd = iconv_open("","");
41669 iconv(cd,NULL,NULL,NULL,NULL);
41675 rm -f conftest.$ac_objext conftest$ac_exeext
41676 if { (ac_try="$ac_link"
41677 case "(($ac_try" in
41678 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41679 *) ac_try_echo
=$ac_try;;
41681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41682 (eval "$ac_link") 2>conftest.er1
41684 grep -v '^ *+' conftest.er1
>conftest.err
41686 cat conftest.err
>&5
41687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41688 (exit $ac_status); } &&
41689 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41690 { (case "(($ac_try" in
41691 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41692 *) ac_try_echo=$ac_try;;
41694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41695 (eval "$ac_try") 2>&5
41697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41698 (exit $ac_status); }; } &&
41699 { ac_try='test -s conftest$ac_exeext'
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_try") 2>&5
41707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41708 (exit $ac_status); }; }; then
41709 am_cv_func_iconv
=yes
41711 echo "$as_me: failed program was:" >&5
41712 sed 's/^/| /' conftest.
$ac_ext >&5
41717 rm -f core conftest.err conftest.
$ac_objext \
41718 conftest
$ac_exeext conftest.
$ac_ext
41719 if test "$am_cv_func_iconv" != yes; then
41720 am_save_LIBS
="$LIBS"
41721 LIBS
="$LIBS -liconv"
41722 cat >conftest.
$ac_ext <<_ACEOF
41725 cat confdefs.h
>>conftest.
$ac_ext
41726 cat >>conftest.
$ac_ext <<_ACEOF
41727 /* end confdefs.h. */
41728 #include <stdlib.h>
41733 iconv_t cd = iconv_open("","");
41734 iconv(cd,NULL,NULL,NULL,NULL);
41740 rm -f conftest.
$ac_objext conftest
$ac_exeext
41741 if { (ac_try
="$ac_link"
41742 case "(($ac_try" in
41743 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41744 *) ac_try_echo=$ac_try;;
41746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41747 (eval "$ac_link") 2>conftest.er1
41749 grep -v '^ *+' conftest.er1 >conftest.err
41751 cat conftest.err >&5
41752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41753 (exit $ac_status); } &&
41754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41755 { (case "(($ac_try" in
41756 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41757 *) ac_try_echo
=$ac_try;;
41759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41760 (eval "$ac_try") 2>&5
41762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41763 (exit $ac_status); }; } &&
41764 { ac_try
='test -s conftest$ac_exeext'
41765 { (case "(($ac_try" in
41766 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41767 *) ac_try_echo=$ac_try;;
41769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41770 (eval "$ac_try") 2>&5
41772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41773 (exit $ac_status); }; }; then
41774 am_cv_lib_iconv=yes
41775 am_cv_func_iconv=yes
41777 echo "$as_me: failed program was:" >&5
41778 sed 's/^/| /' conftest.$ac_ext >&5
41783 rm -f core conftest.err conftest.$ac_objext \
41784 conftest$ac_exeext conftest.$ac_ext
41785 LIBS="$am_save_LIBS"
41789 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
41790 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
41791 if test "$am_cv_func_iconv" = yes; then
41793 cat >>confdefs.h <<\_ACEOF
41794 #define HAVE_ICONV 1
41797 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
41798 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
41799 if test "${wx_cv_func_iconv_const+set}" = set; then
41800 echo $ECHO_N "(cached) $ECHO_C" >&6
41802 cat >conftest.$ac_ext <<_ACEOF
41805 cat confdefs.h >>conftest.$ac_ext
41806 cat >>conftest.$ac_ext <<_ACEOF
41807 /* end confdefs.h. */
41809 #include <stdlib.h>
41815 #if defined(__STDC__) || defined(__cplusplus)
41816 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41829 rm -f conftest.$ac_objext
41830 if { (ac_try="$ac_compile"
41831 case "(($ac_try" in
41832 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41833 *) ac_try_echo
=$ac_try;;
41835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41836 (eval "$ac_compile") 2>conftest.er1
41838 grep -v '^ *+' conftest.er1
>conftest.err
41840 cat conftest.err
>&5
41841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41842 (exit $ac_status); } &&
41843 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41844 { (case "(($ac_try" in
41845 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41846 *) ac_try_echo=$ac_try;;
41848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41849 (eval "$ac_try") 2>&5
41851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41852 (exit $ac_status); }; } &&
41853 { ac_try='test -s conftest.$ac_objext'
41854 { (case "(($ac_try" in
41855 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41856 *) ac_try_echo
=$ac_try;;
41858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41859 (eval "$ac_try") 2>&5
41861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41862 (exit $ac_status); }; }; then
41863 wx_cv_func_iconv_const
="no"
41865 echo "$as_me: failed program was:" >&5
41866 sed 's/^/| /' conftest.
$ac_ext >&5
41868 wx_cv_func_iconv_const
="yes"
41872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41875 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
41876 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
41879 if test "x$wx_cv_func_iconv_const" = "xyes"; then
41880 iconv_const
="const"
41884 cat >>confdefs.h
<<_ACEOF
41885 #define ICONV_CONST $iconv_const
41890 if test "$am_cv_lib_iconv" = yes; then
41895 LIBS
="$LIBICONV $LIBS"
41897 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
41899 for ac_func
in sigaction
41901 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41902 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41904 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41905 echo $ECHO_N "(cached) $ECHO_C" >&6
41907 cat >conftest.
$ac_ext <<_ACEOF
41910 cat confdefs.h
>>conftest.
$ac_ext
41911 cat >>conftest.
$ac_ext <<_ACEOF
41912 /* end confdefs.h. */
41913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41915 #define $ac_func innocuous_$ac_func
41917 /* System header to define __stub macros and hopefully few prototypes,
41918 which can conflict with char $ac_func (); below.
41919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41920 <limits.h> exists even on freestanding compilers. */
41923 # include <limits.h>
41925 # include <assert.h>
41930 /* Override any GCC internal prototype to avoid an error.
41931 Use char because int might match the return type of a GCC
41932 builtin and then its argument prototype would still apply. */
41937 /* The GNU C library defines this for functions which it implements
41938 to always fail with ENOSYS. Some functions are actually named
41939 something starting with __ and the normal name is an alias. */
41940 #if defined __stub_$ac_func || defined __stub___$ac_func
41947 return $ac_func ();
41952 rm -f conftest.
$ac_objext conftest
$ac_exeext
41953 if { (ac_try
="$ac_link"
41954 case "(($ac_try" in
41955 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41956 *) ac_try_echo=$ac_try;;
41958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41959 (eval "$ac_link") 2>conftest.er1
41961 grep -v '^ *+' conftest.er1 >conftest.err
41963 cat conftest.err >&5
41964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41965 (exit $ac_status); } &&
41966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41967 { (case "(($ac_try" in
41968 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41969 *) ac_try_echo
=$ac_try;;
41971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41972 (eval "$ac_try") 2>&5
41974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41975 (exit $ac_status); }; } &&
41976 { ac_try
='test -s conftest$ac_exeext'
41977 { (case "(($ac_try" in
41978 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41979 *) ac_try_echo=$ac_try;;
41981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41982 (eval "$ac_try") 2>&5
41984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41985 (exit $ac_status); }; }; then
41986 eval "$as_ac_var=yes"
41988 echo "$as_me: failed program was:" >&5
41989 sed 's/^/| /' conftest.$ac_ext >&5
41991 eval "$as_ac_var=no"
41994 rm -f core conftest.err conftest.$ac_objext \
41995 conftest$ac_exeext conftest.$ac_ext
41997 ac_res=`eval echo '${'$as_ac_var'}'`
41998 { echo "$as_me:$LINENO: result: $ac_res" >&5
41999 echo "${ECHO_T}$ac_res" >&6; }
42000 if test `eval echo '${'$as_ac_var'}'` = yes; then
42001 cat >>confdefs.h <<_ACEOF
42002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42009 if test "$ac_cv_func_sigaction" = "no"; then
42010 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
42011 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
42012 wxUSE_ON_FATAL_EXCEPTION=no
42015 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42016 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
42017 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
42018 if test "${wx_cv_type_sa_handler+set}" = set; then
42019 echo $ECHO_N "(cached) $ECHO_C" >&6
42023 ac_cpp='$CXXCPP $CPPFLAGS'
42024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42028 cat >conftest.$ac_ext <<_ACEOF
42031 cat confdefs.h >>conftest.$ac_ext
42032 cat >>conftest.$ac_ext <<_ACEOF
42033 /* end confdefs.h. */
42034 #include <signal.h>
42039 extern void testSigHandler(int);
42041 struct sigaction sa;
42042 sa.sa_handler = testSigHandler;
42048 rm -f conftest.$ac_objext
42049 if { (ac_try="$ac_compile"
42050 case "(($ac_try" in
42051 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42052 *) ac_try_echo
=$ac_try;;
42054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42055 (eval "$ac_compile") 2>conftest.er1
42057 grep -v '^ *+' conftest.er1
>conftest.err
42059 cat conftest.err
>&5
42060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42061 (exit $ac_status); } &&
42062 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42063 { (case "(($ac_try" in
42064 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42065 *) ac_try_echo=$ac_try;;
42067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42068 (eval "$ac_try") 2>&5
42070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42071 (exit $ac_status); }; } &&
42072 { ac_try='test -s conftest.$ac_objext'
42073 { (case "(($ac_try" in
42074 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42075 *) ac_try_echo
=$ac_try;;
42077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42078 (eval "$ac_try") 2>&5
42080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42081 (exit $ac_status); }; }; then
42083 wx_cv_type_sa_handler
=int
42086 echo "$as_me: failed program was:" >&5
42087 sed 's/^/| /' conftest.
$ac_ext >&5
42090 wx_cv_type_sa_handler
=void
42094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42096 ac_cpp
='$CPP $CPPFLAGS'
42097 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42098 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42099 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42103 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
42104 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
42106 cat >>confdefs.h
<<_ACEOF
42107 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
42113 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
42114 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
42115 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
42116 if test "${wx_cv_func_backtrace+set}" = set; then
42117 echo $ECHO_N "(cached) $ECHO_C" >&6
42121 ac_cpp
='$CXXCPP $CPPFLAGS'
42122 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42123 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42124 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42126 cat >conftest.
$ac_ext <<_ACEOF
42129 cat confdefs.h
>>conftest.
$ac_ext
42130 cat >>conftest.
$ac_ext <<_ACEOF
42131 /* end confdefs.h. */
42132 #include <execinfo.h>
42140 backtrace(trace, 1);
42141 messages = backtrace_symbols(trace, 1);
42147 rm -f conftest.
$ac_objext
42148 if { (ac_try
="$ac_compile"
42149 case "(($ac_try" in
42150 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42151 *) ac_try_echo=$ac_try;;
42153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42154 (eval "$ac_compile") 2>conftest.er1
42156 grep -v '^ *+' conftest.er1 >conftest.err
42158 cat conftest.err >&5
42159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42160 (exit $ac_status); } &&
42161 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42162 { (case "(($ac_try" in
42163 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42164 *) ac_try_echo
=$ac_try;;
42166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42167 (eval "$ac_try") 2>&5
42169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42170 (exit $ac_status); }; } &&
42171 { ac_try
='test -s conftest.$ac_objext'
42172 { (case "(($ac_try" in
42173 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42174 *) ac_try_echo=$ac_try;;
42176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42177 (eval "$ac_try") 2>&5
42179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42180 (exit $ac_status); }; }; then
42181 wx_cv_func_backtrace=yes
42183 echo "$as_me: failed program was:" >&5
42184 sed 's/^/| /' conftest.$ac_ext >&5
42186 wx_cv_func_backtrace=no
42190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42192 ac_cpp='$CPP $CPPFLAGS'
42193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42200 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
42201 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
42204 if test "$wx_cv_func_backtrace" = "no"; then
42205 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
42206 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
42207 wxUSE_STACKWALKER=no
42209 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
42210 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
42211 if test "${wx_cv_func_cxa_demangle+set}" = set; then
42212 echo $ECHO_N "(cached) $ECHO_C" >&6
42216 ac_cpp='$CXXCPP $CPPFLAGS'
42217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42221 cat >conftest.$ac_ext <<_ACEOF
42224 cat confdefs.h >>conftest.$ac_ext
42225 cat >>conftest.$ac_ext <<_ACEOF
42226 /* end confdefs.h. */
42227 #include <cxxabi.h>
42233 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
42239 rm -f conftest.$ac_objext conftest$ac_exeext
42240 if { (ac_try="$ac_link"
42241 case "(($ac_try" in
42242 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42243 *) ac_try_echo
=$ac_try;;
42245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42246 (eval "$ac_link") 2>conftest.er1
42248 grep -v '^ *+' conftest.er1
>conftest.err
42250 cat conftest.err
>&5
42251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42252 (exit $ac_status); } &&
42253 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42254 { (case "(($ac_try" in
42255 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42256 *) ac_try_echo=$ac_try;;
42258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42259 (eval "$ac_try") 2>&5
42261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42262 (exit $ac_status); }; } &&
42263 { ac_try='test -s conftest$ac_exeext'
42264 { (case "(($ac_try" in
42265 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42266 *) ac_try_echo
=$ac_try;;
42268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42269 (eval "$ac_try") 2>&5
42271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42272 (exit $ac_status); }; }; then
42273 wx_cv_func_cxa_demangle
=yes
42275 echo "$as_me: failed program was:" >&5
42276 sed 's/^/| /' conftest.
$ac_ext >&5
42278 wx_cv_func_cxa_demangle
=no
42282 rm -f core conftest.err conftest.
$ac_objext \
42283 conftest
$ac_exeext conftest.
$ac_ext
42285 ac_cpp
='$CPP $CPPFLAGS'
42286 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42287 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42288 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42293 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
42294 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
42296 if test "$wx_cv_func_cxa_demangle" = "yes"; then
42297 cat >>confdefs.h
<<\_ACEOF
42298 #define HAVE_CXA_DEMANGLE 1
42305 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
42306 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
42307 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
42308 wxUSE_STACKWALKER
=no
42314 for ac_func
in mkstemp mktemp
42316 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42317 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42319 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42320 echo $ECHO_N "(cached) $ECHO_C" >&6
42322 cat >conftest.
$ac_ext <<_ACEOF
42325 cat confdefs.h
>>conftest.
$ac_ext
42326 cat >>conftest.
$ac_ext <<_ACEOF
42327 /* end confdefs.h. */
42328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42330 #define $ac_func innocuous_$ac_func
42332 /* System header to define __stub macros and hopefully few prototypes,
42333 which can conflict with char $ac_func (); below.
42334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42335 <limits.h> exists even on freestanding compilers. */
42338 # include <limits.h>
42340 # include <assert.h>
42345 /* Override any GCC internal prototype to avoid an error.
42346 Use char because int might match the return type of a GCC
42347 builtin and then its argument prototype would still apply. */
42352 /* The GNU C library defines this for functions which it implements
42353 to always fail with ENOSYS. Some functions are actually named
42354 something starting with __ and the normal name is an alias. */
42355 #if defined __stub_$ac_func || defined __stub___$ac_func
42362 return $ac_func ();
42367 rm -f conftest.
$ac_objext conftest
$ac_exeext
42368 if { (ac_try
="$ac_link"
42369 case "(($ac_try" in
42370 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42371 *) ac_try_echo=$ac_try;;
42373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42374 (eval "$ac_link") 2>conftest.er1
42376 grep -v '^ *+' conftest.er1 >conftest.err
42378 cat conftest.err >&5
42379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42380 (exit $ac_status); } &&
42381 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42382 { (case "(($ac_try" in
42383 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42384 *) ac_try_echo
=$ac_try;;
42386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42387 (eval "$ac_try") 2>&5
42389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42390 (exit $ac_status); }; } &&
42391 { ac_try
='test -s conftest$ac_exeext'
42392 { (case "(($ac_try" in
42393 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42394 *) ac_try_echo=$ac_try;;
42396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42397 (eval "$ac_try") 2>&5
42399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42400 (exit $ac_status); }; }; then
42401 eval "$as_ac_var=yes"
42403 echo "$as_me: failed program was:" >&5
42404 sed 's/^/| /' conftest.$ac_ext >&5
42406 eval "$as_ac_var=no"
42409 rm -f core conftest.err conftest.$ac_objext \
42410 conftest$ac_exeext conftest.$ac_ext
42412 ac_res=`eval echo '${'$as_ac_var'}'`
42413 { echo "$as_me:$LINENO: result: $ac_res" >&5
42414 echo "${ECHO_T}$ac_res" >&6; }
42415 if test `eval echo '${'$as_ac_var'}'` = yes; then
42416 cat >>confdefs.h <<_ACEOF
42417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42424 { echo "$as_me:$LINENO: checking for statfs" >&5
42425 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
42426 if test "${wx_cv_func_statfs+set}" = set; then
42427 echo $ECHO_N "(cached) $ECHO_C" >&6
42429 cat >conftest.$ac_ext <<_ACEOF
42432 cat confdefs.h >>conftest.$ac_ext
42433 cat >>conftest.$ac_ext <<_ACEOF
42434 /* end confdefs.h. */
42436 #if defined(__BSD__)
42437 #include <sys/param.h>
42438 #include <sys/mount.h>
42440 #include <sys/vfs.h>
42458 rm -f conftest.$ac_objext
42459 if { (ac_try="$ac_compile"
42460 case "(($ac_try" in
42461 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42462 *) ac_try_echo
=$ac_try;;
42464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42465 (eval "$ac_compile") 2>conftest.er1
42467 grep -v '^ *+' conftest.er1
>conftest.err
42469 cat conftest.err
>&5
42470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42471 (exit $ac_status); } &&
42472 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42473 { (case "(($ac_try" in
42474 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42475 *) ac_try_echo=$ac_try;;
42477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42478 (eval "$ac_try") 2>&5
42480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42481 (exit $ac_status); }; } &&
42482 { ac_try='test -s conftest.$ac_objext'
42483 { (case "(($ac_try" in
42484 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42485 *) ac_try_echo
=$ac_try;;
42487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42488 (eval "$ac_try") 2>&5
42490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42491 (exit $ac_status); }; }; then
42492 wx_cv_func_statfs
=yes
42494 echo "$as_me: failed program was:" >&5
42495 sed 's/^/| /' conftest.
$ac_ext >&5
42497 wx_cv_func_statfs
=no
42501 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42504 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
42505 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
42507 if test "$wx_cv_func_statfs" = "yes"; then
42508 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
42509 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
42510 if test "${wx_cv_func_statfs_decl+set}" = set; then
42511 echo $ECHO_N "(cached) $ECHO_C" >&6
42514 ac_cpp
='$CXXCPP $CPPFLAGS'
42515 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42516 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42517 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42519 cat >conftest.
$ac_ext <<_ACEOF
42522 cat confdefs.h
>>conftest.
$ac_ext
42523 cat >>conftest.
$ac_ext <<_ACEOF
42524 /* end confdefs.h. */
42526 #if defined(__BSD__)
42527 #include <sys/param.h>
42528 #include <sys/mount.h>
42530 #include <sys/vfs.h>
42544 rm -f conftest.
$ac_objext
42545 if { (ac_try
="$ac_compile"
42546 case "(($ac_try" in
42547 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42548 *) ac_try_echo=$ac_try;;
42550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42551 (eval "$ac_compile") 2>conftest.er1
42553 grep -v '^ *+' conftest.er1 >conftest.err
42555 cat conftest.err >&5
42556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42557 (exit $ac_status); } &&
42558 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42559 { (case "(($ac_try" in
42560 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42561 *) ac_try_echo
=$ac_try;;
42563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42564 (eval "$ac_try") 2>&5
42566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42567 (exit $ac_status); }; } &&
42568 { ac_try
='test -s conftest.$ac_objext'
42569 { (case "(($ac_try" in
42570 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42571 *) ac_try_echo=$ac_try;;
42573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42574 (eval "$ac_try") 2>&5
42576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42577 (exit $ac_status); }; }; then
42578 wx_cv_func_statfs_decl=yes
42580 echo "$as_me: failed program was:" >&5
42581 sed 's/^/| /' conftest.$ac_ext >&5
42583 wx_cv_func_statfs_decl=no
42587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42589 ac_cpp='$CPP $CPPFLAGS'
42590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42596 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
42597 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
42599 if test "$wx_cv_func_statfs_decl" = "yes"; then
42600 cat >>confdefs.h <<\_ACEOF
42601 #define HAVE_STATFS_DECL 1
42606 wx_cv_type_statvfs_t="struct statfs"
42607 cat >>confdefs.h <<\_ACEOF
42608 #define HAVE_STATFS 1
42612 { echo "$as_me:$LINENO: checking for statvfs" >&5
42613 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
42614 if test "${wx_cv_func_statvfs+set}" = set; then
42615 echo $ECHO_N "(cached) $ECHO_C" >&6
42617 cat >conftest.$ac_ext <<_ACEOF
42620 cat confdefs.h >>conftest.$ac_ext
42621 cat >>conftest.$ac_ext <<_ACEOF
42622 /* end confdefs.h. */
42624 #include <stddef.h>
42625 #include <sys/statvfs.h>
42631 statvfs("/", NULL);
42637 rm -f conftest.$ac_objext
42638 if { (ac_try="$ac_compile"
42639 case "(($ac_try" in
42640 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42641 *) ac_try_echo
=$ac_try;;
42643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42644 (eval "$ac_compile") 2>conftest.er1
42646 grep -v '^ *+' conftest.er1
>conftest.err
42648 cat conftest.err
>&5
42649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42650 (exit $ac_status); } &&
42651 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42652 { (case "(($ac_try" in
42653 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42654 *) ac_try_echo=$ac_try;;
42656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42657 (eval "$ac_try") 2>&5
42659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42660 (exit $ac_status); }; } &&
42661 { ac_try='test -s conftest.$ac_objext'
42662 { (case "(($ac_try" in
42663 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42664 *) ac_try_echo
=$ac_try;;
42666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42667 (eval "$ac_try") 2>&5
42669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42670 (exit $ac_status); }; }; then
42671 wx_cv_func_statvfs
=yes
42673 echo "$as_me: failed program was:" >&5
42674 sed 's/^/| /' conftest.
$ac_ext >&5
42676 wx_cv_func_statvfs
=no
42680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42683 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
42684 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
42686 if test "$wx_cv_func_statvfs" = "yes"; then
42687 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
42688 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
42689 if test "${wx_cv_type_statvfs_t+set}" = set; then
42690 echo $ECHO_N "(cached) $ECHO_C" >&6
42693 ac_cpp
='$CXXCPP $CPPFLAGS'
42694 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42695 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42696 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42698 cat >conftest.
$ac_ext <<_ACEOF
42701 cat confdefs.h
>>conftest.
$ac_ext
42702 cat >>conftest.
$ac_ext <<_ACEOF
42703 /* end confdefs.h. */
42705 #include <sys/statvfs.h>
42722 rm -f conftest.
$ac_objext
42723 if { (ac_try
="$ac_compile"
42724 case "(($ac_try" in
42725 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42726 *) ac_try_echo=$ac_try;;
42728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42729 (eval "$ac_compile") 2>conftest.er1
42731 grep -v '^ *+' conftest.er1 >conftest.err
42733 cat conftest.err >&5
42734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42735 (exit $ac_status); } &&
42736 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42737 { (case "(($ac_try" in
42738 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42739 *) ac_try_echo
=$ac_try;;
42741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42742 (eval "$ac_try") 2>&5
42744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42745 (exit $ac_status); }; } &&
42746 { ac_try
='test -s conftest.$ac_objext'
42747 { (case "(($ac_try" in
42748 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42749 *) ac_try_echo=$ac_try;;
42751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42752 (eval "$ac_try") 2>&5
42754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42755 (exit $ac_status); }; }; then
42756 wx_cv_type_statvfs_t=statvfs_t
42758 echo "$as_me: failed program was:" >&5
42759 sed 's/^/| /' conftest.$ac_ext >&5
42762 cat >conftest.$ac_ext <<_ACEOF
42765 cat confdefs.h >>conftest.$ac_ext
42766 cat >>conftest.$ac_ext <<_ACEOF
42767 /* end confdefs.h. */
42769 #include <sys/statvfs.h>
42786 rm -f conftest.$ac_objext
42787 if { (ac_try="$ac_compile"
42788 case "(($ac_try" in
42789 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42790 *) ac_try_echo
=$ac_try;;
42792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42793 (eval "$ac_compile") 2>conftest.er1
42795 grep -v '^ *+' conftest.er1
>conftest.err
42797 cat conftest.err
>&5
42798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42799 (exit $ac_status); } &&
42800 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42801 { (case "(($ac_try" in
42802 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42803 *) ac_try_echo=$ac_try;;
42805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42806 (eval "$ac_try") 2>&5
42808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42809 (exit $ac_status); }; } &&
42810 { ac_try='test -s conftest.$ac_objext'
42811 { (case "(($ac_try" in
42812 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42813 *) ac_try_echo
=$ac_try;;
42815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42816 (eval "$ac_try") 2>&5
42818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42819 (exit $ac_status); }; }; then
42820 wx_cv_type_statvfs_t
="struct statvfs"
42822 echo "$as_me: failed program was:" >&5
42823 sed 's/^/| /' conftest.
$ac_ext >&5
42825 wx_cv_type_statvfs_t
="unknown"
42829 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42834 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42836 ac_cpp
='$CPP $CPPFLAGS'
42837 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42838 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42839 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42843 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
42844 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
42846 if test "$wx_cv_type_statvfs_t" != "unknown"; then
42847 cat >>confdefs.h
<<\_ACEOF
42848 #define HAVE_STATVFS 1
42853 wx_cv_type_statvfs_t
="unknown"
42857 if test "$wx_cv_type_statvfs_t" != "unknown"; then
42858 cat >>confdefs.h
<<_ACEOF
42859 #define WX_STATFS_T $wx_cv_type_statvfs_t
42863 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
42864 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
42867 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42870 for ac_func
in fcntl flock
42872 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42873 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42875 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42876 echo $ECHO_N "(cached) $ECHO_C" >&6
42878 cat >conftest.
$ac_ext <<_ACEOF
42881 cat confdefs.h
>>conftest.
$ac_ext
42882 cat >>conftest.
$ac_ext <<_ACEOF
42883 /* end confdefs.h. */
42884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42886 #define $ac_func innocuous_$ac_func
42888 /* System header to define __stub macros and hopefully few prototypes,
42889 which can conflict with char $ac_func (); below.
42890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42891 <limits.h> exists even on freestanding compilers. */
42894 # include <limits.h>
42896 # include <assert.h>
42901 /* Override any GCC internal prototype to avoid an error.
42902 Use char because int might match the return type of a GCC
42903 builtin and then its argument prototype would still apply. */
42908 /* The GNU C library defines this for functions which it implements
42909 to always fail with ENOSYS. Some functions are actually named
42910 something starting with __ and the normal name is an alias. */
42911 #if defined __stub_$ac_func || defined __stub___$ac_func
42918 return $ac_func ();
42923 rm -f conftest.
$ac_objext conftest
$ac_exeext
42924 if { (ac_try
="$ac_link"
42925 case "(($ac_try" in
42926 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42927 *) ac_try_echo=$ac_try;;
42929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42930 (eval "$ac_link") 2>conftest.er1
42932 grep -v '^ *+' conftest.er1 >conftest.err
42934 cat conftest.err >&5
42935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42936 (exit $ac_status); } &&
42937 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42938 { (case "(($ac_try" in
42939 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42940 *) ac_try_echo
=$ac_try;;
42942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42943 (eval "$ac_try") 2>&5
42945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42946 (exit $ac_status); }; } &&
42947 { ac_try
='test -s conftest$ac_exeext'
42948 { (case "(($ac_try" in
42949 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42950 *) ac_try_echo=$ac_try;;
42952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42953 (eval "$ac_try") 2>&5
42955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42956 (exit $ac_status); }; }; then
42957 eval "$as_ac_var=yes"
42959 echo "$as_me: failed program was:" >&5
42960 sed 's/^/| /' conftest.$ac_ext >&5
42962 eval "$as_ac_var=no"
42965 rm -f core conftest.err conftest.$ac_objext \
42966 conftest$ac_exeext conftest.$ac_ext
42968 ac_res=`eval echo '${'$as_ac_var'}'`
42969 { echo "$as_me:$LINENO: result: $ac_res" >&5
42970 echo "${ECHO_T}$ac_res" >&6; }
42971 if test `eval echo '${'$as_ac_var'}'` = yes; then
42972 cat >>confdefs.h <<_ACEOF
42973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42980 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
42981 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
42982 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
42983 wxUSE_SNGLINST_CHECKER=no
42988 for ac_func in timegm
42990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42991 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42993 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42994 echo $ECHO_N "(cached) $ECHO_C" >&6
42996 cat >conftest.$ac_ext <<_ACEOF
42999 cat confdefs.h >>conftest.$ac_ext
43000 cat >>conftest.$ac_ext <<_ACEOF
43001 /* end confdefs.h. */
43002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43004 #define $ac_func innocuous_$ac_func
43006 /* System header to define __stub macros and hopefully few prototypes,
43007 which can conflict with char $ac_func (); below.
43008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43009 <limits.h> exists even on freestanding compilers. */
43012 # include <limits.h>
43014 # include <assert.h>
43019 /* Override any GCC internal prototype to avoid an error.
43020 Use char because int might match the return type of a GCC
43021 builtin and then its argument prototype would still apply. */
43026 /* The GNU C library defines this for functions which it implements
43027 to always fail with ENOSYS. Some functions are actually named
43028 something starting with __ and the normal name is an alias. */
43029 #if defined __stub_$ac_func || defined __stub___$ac_func
43036 return $ac_func ();
43041 rm -f conftest.$ac_objext conftest$ac_exeext
43042 if { (ac_try="$ac_link"
43043 case "(($ac_try" in
43044 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43045 *) ac_try_echo
=$ac_try;;
43047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43048 (eval "$ac_link") 2>conftest.er1
43050 grep -v '^ *+' conftest.er1
>conftest.err
43052 cat conftest.err
>&5
43053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43054 (exit $ac_status); } &&
43055 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43056 { (case "(($ac_try" in
43057 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43058 *) ac_try_echo=$ac_try;;
43060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43061 (eval "$ac_try") 2>&5
43063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43064 (exit $ac_status); }; } &&
43065 { ac_try='test -s conftest$ac_exeext'
43066 { (case "(($ac_try" in
43067 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43068 *) ac_try_echo
=$ac_try;;
43070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43071 (eval "$ac_try") 2>&5
43073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43074 (exit $ac_status); }; }; then
43075 eval "$as_ac_var=yes"
43077 echo "$as_me: failed program was:" >&5
43078 sed 's/^/| /' conftest.
$ac_ext >&5
43080 eval "$as_ac_var=no"
43083 rm -f core conftest.err conftest.
$ac_objext \
43084 conftest
$ac_exeext conftest.
$ac_ext
43086 ac_res
=`eval echo '${'$as_ac_var'}'`
43087 { echo "$as_me:$LINENO: result: $ac_res" >&5
43088 echo "${ECHO_T}$ac_res" >&6; }
43089 if test `eval echo '${'$as_ac_var'}'` = yes; then
43090 cat >>confdefs.h
<<_ACEOF
43091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43100 for ac_func
in putenv setenv
43102 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43103 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43105 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43106 echo $ECHO_N "(cached) $ECHO_C" >&6
43108 cat >conftest.
$ac_ext <<_ACEOF
43111 cat confdefs.h
>>conftest.
$ac_ext
43112 cat >>conftest.
$ac_ext <<_ACEOF
43113 /* end confdefs.h. */
43114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43116 #define $ac_func innocuous_$ac_func
43118 /* System header to define __stub macros and hopefully few prototypes,
43119 which can conflict with char $ac_func (); below.
43120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43121 <limits.h> exists even on freestanding compilers. */
43124 # include <limits.h>
43126 # include <assert.h>
43131 /* Override any GCC internal prototype to avoid an error.
43132 Use char because int might match the return type of a GCC
43133 builtin and then its argument prototype would still apply. */
43138 /* The GNU C library defines this for functions which it implements
43139 to always fail with ENOSYS. Some functions are actually named
43140 something starting with __ and the normal name is an alias. */
43141 #if defined __stub_$ac_func || defined __stub___$ac_func
43148 return $ac_func ();
43153 rm -f conftest.
$ac_objext conftest
$ac_exeext
43154 if { (ac_try
="$ac_link"
43155 case "(($ac_try" in
43156 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43157 *) ac_try_echo=$ac_try;;
43159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43160 (eval "$ac_link") 2>conftest.er1
43162 grep -v '^ *+' conftest.er1 >conftest.err
43164 cat conftest.err >&5
43165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43166 (exit $ac_status); } &&
43167 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43168 { (case "(($ac_try" in
43169 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43170 *) ac_try_echo
=$ac_try;;
43172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43173 (eval "$ac_try") 2>&5
43175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43176 (exit $ac_status); }; } &&
43177 { ac_try
='test -s conftest$ac_exeext'
43178 { (case "(($ac_try" in
43179 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43180 *) ac_try_echo=$ac_try;;
43182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43183 (eval "$ac_try") 2>&5
43185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43186 (exit $ac_status); }; }; then
43187 eval "$as_ac_var=yes"
43189 echo "$as_me: failed program was:" >&5
43190 sed 's/^/| /' conftest.$ac_ext >&5
43192 eval "$as_ac_var=no"
43195 rm -f core conftest.err conftest.$ac_objext \
43196 conftest$ac_exeext conftest.$ac_ext
43198 ac_res=`eval echo '${'$as_ac_var'}'`
43199 { echo "$as_me:$LINENO: result: $ac_res" >&5
43200 echo "${ECHO_T}$ac_res" >&6; }
43201 if test `eval echo '${'$as_ac_var'}'` = yes; then
43202 cat >>confdefs.h <<_ACEOF
43203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43210 HAVE_SOME_SLEEP_FUNC=0
43211 if test "$USE_BEOS" = 1; then
43212 cat >>confdefs.h <<\_ACEOF
43213 #define HAVE_SLEEP 1
43216 HAVE_SOME_SLEEP_FUNC=1
43219 if test "$USE_DARWIN" = 1; then
43220 cat >>confdefs.h <<\_ACEOF
43221 #define HAVE_USLEEP 1
43224 HAVE_SOME_SLEEP_FUNC=1
43227 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
43230 for ac_func in nanosleep
43232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43233 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43235 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43236 echo $ECHO_N "(cached) $ECHO_C" >&6
43238 cat >conftest.$ac_ext <<_ACEOF
43241 cat confdefs.h >>conftest.$ac_ext
43242 cat >>conftest.$ac_ext <<_ACEOF
43243 /* end confdefs.h. */
43244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43246 #define $ac_func innocuous_$ac_func
43248 /* System header to define __stub macros and hopefully few prototypes,
43249 which can conflict with char $ac_func (); below.
43250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43251 <limits.h> exists even on freestanding compilers. */
43254 # include <limits.h>
43256 # include <assert.h>
43261 /* Override any GCC internal prototype to avoid an error.
43262 Use char because int might match the return type of a GCC
43263 builtin and then its argument prototype would still apply. */
43268 /* The GNU C library defines this for functions which it implements
43269 to always fail with ENOSYS. Some functions are actually named
43270 something starting with __ and the normal name is an alias. */
43271 #if defined __stub_$ac_func || defined __stub___$ac_func
43278 return $ac_func ();
43283 rm -f conftest.$ac_objext conftest$ac_exeext
43284 if { (ac_try="$ac_link"
43285 case "(($ac_try" in
43286 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43287 *) ac_try_echo
=$ac_try;;
43289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43290 (eval "$ac_link") 2>conftest.er1
43292 grep -v '^ *+' conftest.er1
>conftest.err
43294 cat conftest.err
>&5
43295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43296 (exit $ac_status); } &&
43297 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43298 { (case "(($ac_try" in
43299 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43300 *) ac_try_echo=$ac_try;;
43302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43303 (eval "$ac_try") 2>&5
43305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43306 (exit $ac_status); }; } &&
43307 { ac_try='test -s conftest$ac_exeext'
43308 { (case "(($ac_try" in
43309 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43310 *) ac_try_echo
=$ac_try;;
43312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43313 (eval "$ac_try") 2>&5
43315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43316 (exit $ac_status); }; }; then
43317 eval "$as_ac_var=yes"
43319 echo "$as_me: failed program was:" >&5
43320 sed 's/^/| /' conftest.
$ac_ext >&5
43322 eval "$as_ac_var=no"
43325 rm -f core conftest.err conftest.
$ac_objext \
43326 conftest
$ac_exeext conftest.
$ac_ext
43328 ac_res
=`eval echo '${'$as_ac_var'}'`
43329 { echo "$as_me:$LINENO: result: $ac_res" >&5
43330 echo "${ECHO_T}$ac_res" >&6; }
43331 if test `eval echo '${'$as_ac_var'}'` = yes; then
43332 cat >>confdefs.h
<<_ACEOF
43333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43335 cat >>confdefs.h
<<\_ACEOF
43336 #define HAVE_NANOSLEEP 1
43341 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
43342 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
43343 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
43344 echo $ECHO_N "(cached) $ECHO_C" >&6
43346 ac_check_lib_save_LIBS
=$LIBS
43347 LIBS
="-lposix4 $LIBS"
43348 cat >conftest.
$ac_ext <<_ACEOF
43351 cat confdefs.h
>>conftest.
$ac_ext
43352 cat >>conftest.
$ac_ext <<_ACEOF
43353 /* end confdefs.h. */
43355 /* Override any GCC internal prototype to avoid an error.
43356 Use char because int might match the return type of a GCC
43357 builtin and then its argument prototype would still apply. */
43365 return nanosleep ();
43370 rm -f conftest.
$ac_objext conftest
$ac_exeext
43371 if { (ac_try
="$ac_link"
43372 case "(($ac_try" in
43373 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43374 *) ac_try_echo=$ac_try;;
43376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43377 (eval "$ac_link") 2>conftest.er1
43379 grep -v '^ *+' conftest.er1 >conftest.err
43381 cat conftest.err >&5
43382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43383 (exit $ac_status); } &&
43384 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43385 { (case "(($ac_try" in
43386 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43387 *) ac_try_echo
=$ac_try;;
43389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43390 (eval "$ac_try") 2>&5
43392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43393 (exit $ac_status); }; } &&
43394 { ac_try
='test -s conftest$ac_exeext'
43395 { (case "(($ac_try" in
43396 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43397 *) ac_try_echo=$ac_try;;
43399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43400 (eval "$ac_try") 2>&5
43402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43403 (exit $ac_status); }; }; then
43404 ac_cv_lib_posix4_nanosleep=yes
43406 echo "$as_me: failed program was:" >&5
43407 sed 's/^/| /' conftest.$ac_ext >&5
43409 ac_cv_lib_posix4_nanosleep=no
43412 rm -f core conftest.err conftest.$ac_objext \
43413 conftest$ac_exeext conftest.$ac_ext
43414 LIBS=$ac_check_lib_save_LIBS
43416 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
43417 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
43418 if test $ac_cv_lib_posix4_nanosleep = yes; then
43420 cat >>confdefs.h <<\_ACEOF
43421 #define HAVE_NANOSLEEP 1
43424 POSIX4_LINK=" -lposix4"
43429 for wx_func in usleep
43431 { echo "$as_me:$LINENO: checking for $wx_func" >&5
43432 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
43433 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
43434 echo $ECHO_N "(cached) $ECHO_C" >&6
43437 cat >conftest.$ac_ext <<_ACEOF
43441 cat confdefs.h >>conftest.$ac_ext
43442 cat >>conftest.$ac_ext <<_ACEOF
43443 /* end confdefs.h. */
43446 $ac_includes_default
43462 rm -f conftest.$ac_objext conftest$ac_exeext
43463 if { (ac_try="$ac_link"
43464 case "(($ac_try" in
43465 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43466 *) ac_try_echo
=$ac_try;;
43468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43469 (eval "$ac_link") 2>conftest.er1
43471 grep -v '^ *+' conftest.er1
>conftest.err
43473 cat conftest.err
>&5
43474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43475 (exit $ac_status); } &&
43476 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43477 { (case "(($ac_try" in
43478 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43479 *) ac_try_echo=$ac_try;;
43481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43482 (eval "$ac_try") 2>&5
43484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43485 (exit $ac_status); }; } &&
43486 { ac_try='test -s conftest$ac_exeext'
43487 { (case "(($ac_try" in
43488 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43489 *) ac_try_echo
=$ac_try;;
43491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43492 (eval "$ac_try") 2>&5
43494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43495 (exit $ac_status); }; }; then
43496 eval wx_cv_func_
$wx_func=yes
43498 echo "$as_me: failed program was:" >&5
43499 sed 's/^/| /' conftest.
$ac_ext >&5
43501 eval wx_cv_func_
$wx_func=no
43504 rm -f core conftest.err conftest.
$ac_objext \
43505 conftest
$ac_exeext conftest.
$ac_ext
43508 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
43509 { echo "$as_me:$LINENO: result: $ac_res" >&5
43510 echo "${ECHO_T}$ac_res" >&6; }
43512 if eval test \
$wx_cv_func_$wx_func = yes
43514 cat >>confdefs.h
<<_ACEOF
43515 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
43521 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
43522 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
43539 for wx_func
in uname
43541 { echo "$as_me:$LINENO: checking for $wx_func" >&5
43542 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
43543 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
43544 echo $ECHO_N "(cached) $ECHO_C" >&6
43547 cat >conftest.
$ac_ext <<_ACEOF
43551 cat confdefs.h
>>conftest.
$ac_ext
43552 cat >>conftest.
$ac_ext <<_ACEOF
43553 /* end confdefs.h. */
43555 #include <sys/utsname.h>
43556 $ac_includes_default
43572 rm -f conftest.
$ac_objext conftest
$ac_exeext
43573 if { (ac_try
="$ac_link"
43574 case "(($ac_try" in
43575 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43576 *) ac_try_echo=$ac_try;;
43578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43579 (eval "$ac_link") 2>conftest.er1
43581 grep -v '^ *+' conftest.er1 >conftest.err
43583 cat conftest.err >&5
43584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43585 (exit $ac_status); } &&
43586 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43587 { (case "(($ac_try" in
43588 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43589 *) ac_try_echo
=$ac_try;;
43591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43592 (eval "$ac_try") 2>&5
43594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43595 (exit $ac_status); }; } &&
43596 { ac_try
='test -s conftest$ac_exeext'
43597 { (case "(($ac_try" in
43598 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43599 *) ac_try_echo=$ac_try;;
43601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43602 (eval "$ac_try") 2>&5
43604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43605 (exit $ac_status); }; }; then
43606 eval wx_cv_func_$wx_func=yes
43608 echo "$as_me: failed program was:" >&5
43609 sed 's/^/| /' conftest.$ac_ext >&5
43611 eval wx_cv_func_$wx_func=no
43614 rm -f core conftest.err conftest.$ac_objext \
43615 conftest$ac_exeext conftest.$ac_ext
43618 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
43619 { echo "$as_me:$LINENO: result: $ac_res" >&5
43620 echo "${ECHO_T}$ac_res" >&6; }
43622 if eval test \$wx_cv_func_$wx_func = yes
43624 cat >>confdefs.h <<_ACEOF
43625 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
43635 if test "$wx_cv_func_uname" != yes; then
43637 for wx_func in gethostname
43639 { echo "$as_me:$LINENO: checking for $wx_func" >&5
43640 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
43641 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
43642 echo $ECHO_N "(cached) $ECHO_C" >&6
43645 cat >conftest.$ac_ext <<_ACEOF
43649 cat confdefs.h >>conftest.$ac_ext
43650 cat >>conftest.$ac_ext <<_ACEOF
43651 /* end confdefs.h. */
43654 $ac_includes_default
43670 rm -f conftest.$ac_objext conftest$ac_exeext
43671 if { (ac_try="$ac_link"
43672 case "(($ac_try" in
43673 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43674 *) ac_try_echo
=$ac_try;;
43676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43677 (eval "$ac_link") 2>conftest.er1
43679 grep -v '^ *+' conftest.er1
>conftest.err
43681 cat conftest.err
>&5
43682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43683 (exit $ac_status); } &&
43684 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43685 { (case "(($ac_try" in
43686 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43687 *) ac_try_echo=$ac_try;;
43689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43690 (eval "$ac_try") 2>&5
43692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43693 (exit $ac_status); }; } &&
43694 { ac_try='test -s conftest$ac_exeext'
43695 { (case "(($ac_try" in
43696 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43697 *) ac_try_echo
=$ac_try;;
43699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43700 (eval "$ac_try") 2>&5
43702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43703 (exit $ac_status); }; }; then
43704 eval wx_cv_func_
$wx_func=yes
43706 echo "$as_me: failed program was:" >&5
43707 sed 's/^/| /' conftest.
$ac_ext >&5
43709 eval wx_cv_func_
$wx_func=no
43712 rm -f core conftest.err conftest.
$ac_objext \
43713 conftest
$ac_exeext conftest.
$ac_ext
43716 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
43717 { echo "$as_me:$LINENO: result: $ac_res" >&5
43718 echo "${ECHO_T}$ac_res" >&6; }
43720 if eval test \
$wx_cv_func_$wx_func = yes
43722 cat >>confdefs.h
<<_ACEOF
43723 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
43736 for wx_func
in strtok_r
43738 { echo "$as_me:$LINENO: checking for $wx_func" >&5
43739 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
43740 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
43741 echo $ECHO_N "(cached) $ECHO_C" >&6
43744 cat >conftest.
$ac_ext <<_ACEOF
43748 cat confdefs.h
>>conftest.
$ac_ext
43749 cat >>conftest.
$ac_ext <<_ACEOF
43750 /* end confdefs.h. */
43753 $ac_includes_default
43769 rm -f conftest.
$ac_objext conftest
$ac_exeext
43770 if { (ac_try
="$ac_link"
43771 case "(($ac_try" in
43772 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43773 *) ac_try_echo=$ac_try;;
43775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43776 (eval "$ac_link") 2>conftest.er1
43778 grep -v '^ *+' conftest.er1 >conftest.err
43780 cat conftest.err >&5
43781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43782 (exit $ac_status); } &&
43783 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43784 { (case "(($ac_try" in
43785 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43786 *) ac_try_echo
=$ac_try;;
43788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43789 (eval "$ac_try") 2>&5
43791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43792 (exit $ac_status); }; } &&
43793 { ac_try
='test -s conftest$ac_exeext'
43794 { (case "(($ac_try" in
43795 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43796 *) ac_try_echo=$ac_try;;
43798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43799 (eval "$ac_try") 2>&5
43801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43802 (exit $ac_status); }; }; then
43803 eval wx_cv_func_$wx_func=yes
43805 echo "$as_me: failed program was:" >&5
43806 sed 's/^/| /' conftest.$ac_ext >&5
43808 eval wx_cv_func_$wx_func=no
43811 rm -f core conftest.err conftest.$ac_objext \
43812 conftest$ac_exeext conftest.$ac_ext
43815 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
43816 { echo "$as_me:$LINENO: result: $ac_res" >&5
43817 echo "${ECHO_T}$ac_res" >&6; }
43819 if eval test \$wx_cv_func_$wx_func = yes
43821 cat >>confdefs.h <<_ACEOF
43822 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
43835 for ac_func in inet_addr
43837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43838 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43840 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43841 echo $ECHO_N "(cached) $ECHO_C" >&6
43843 cat >conftest.$ac_ext <<_ACEOF
43846 cat confdefs.h >>conftest.$ac_ext
43847 cat >>conftest.$ac_ext <<_ACEOF
43848 /* end confdefs.h. */
43849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43851 #define $ac_func innocuous_$ac_func
43853 /* System header to define __stub macros and hopefully few prototypes,
43854 which can conflict with char $ac_func (); below.
43855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43856 <limits.h> exists even on freestanding compilers. */
43859 # include <limits.h>
43861 # include <assert.h>
43866 /* Override any GCC internal prototype to avoid an error.
43867 Use char because int might match the return type of a GCC
43868 builtin and then its argument prototype would still apply. */
43873 /* The GNU C library defines this for functions which it implements
43874 to always fail with ENOSYS. Some functions are actually named
43875 something starting with __ and the normal name is an alias. */
43876 #if defined __stub_$ac_func || defined __stub___$ac_func
43883 return $ac_func ();
43888 rm -f conftest.$ac_objext conftest$ac_exeext
43889 if { (ac_try="$ac_link"
43890 case "(($ac_try" in
43891 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43892 *) ac_try_echo
=$ac_try;;
43894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43895 (eval "$ac_link") 2>conftest.er1
43897 grep -v '^ *+' conftest.er1
>conftest.err
43899 cat conftest.err
>&5
43900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43901 (exit $ac_status); } &&
43902 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43903 { (case "(($ac_try" in
43904 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43905 *) ac_try_echo=$ac_try;;
43907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43908 (eval "$ac_try") 2>&5
43910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43911 (exit $ac_status); }; } &&
43912 { ac_try='test -s conftest$ac_exeext'
43913 { (case "(($ac_try" in
43914 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43915 *) ac_try_echo
=$ac_try;;
43917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43918 (eval "$ac_try") 2>&5
43920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43921 (exit $ac_status); }; }; then
43922 eval "$as_ac_var=yes"
43924 echo "$as_me: failed program was:" >&5
43925 sed 's/^/| /' conftest.
$ac_ext >&5
43927 eval "$as_ac_var=no"
43930 rm -f core conftest.err conftest.
$ac_objext \
43931 conftest
$ac_exeext conftest.
$ac_ext
43933 ac_res
=`eval echo '${'$as_ac_var'}'`
43934 { echo "$as_me:$LINENO: result: $ac_res" >&5
43935 echo "${ECHO_T}$ac_res" >&6; }
43936 if test `eval echo '${'$as_ac_var'}'` = yes; then
43937 cat >>confdefs.h
<<_ACEOF
43938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43940 cat >>confdefs.h
<<\_ACEOF
43941 #define HAVE_INET_ADDR 1
43946 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
43947 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
43948 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
43949 echo $ECHO_N "(cached) $ECHO_C" >&6
43951 ac_check_lib_save_LIBS
=$LIBS
43953 cat >conftest.
$ac_ext <<_ACEOF
43956 cat confdefs.h
>>conftest.
$ac_ext
43957 cat >>conftest.
$ac_ext <<_ACEOF
43958 /* end confdefs.h. */
43960 /* Override any GCC internal prototype to avoid an error.
43961 Use char because int might match the return type of a GCC
43962 builtin and then its argument prototype would still apply. */
43970 return inet_addr ();
43975 rm -f conftest.
$ac_objext conftest
$ac_exeext
43976 if { (ac_try
="$ac_link"
43977 case "(($ac_try" in
43978 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43979 *) ac_try_echo=$ac_try;;
43981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43982 (eval "$ac_link") 2>conftest.er1
43984 grep -v '^ *+' conftest.er1 >conftest.err
43986 cat conftest.err >&5
43987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43988 (exit $ac_status); } &&
43989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43990 { (case "(($ac_try" in
43991 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43992 *) ac_try_echo
=$ac_try;;
43994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43995 (eval "$ac_try") 2>&5
43997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43998 (exit $ac_status); }; } &&
43999 { ac_try
='test -s conftest$ac_exeext'
44000 { (case "(($ac_try" in
44001 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44002 *) ac_try_echo=$ac_try;;
44004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44005 (eval "$ac_try") 2>&5
44007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44008 (exit $ac_status); }; }; then
44009 ac_cv_lib_nsl_inet_addr=yes
44011 echo "$as_me: failed program was:" >&5
44012 sed 's/^/| /' conftest.$ac_ext >&5
44014 ac_cv_lib_nsl_inet_addr=no
44017 rm -f core conftest.err conftest.$ac_objext \
44018 conftest$ac_exeext conftest.$ac_ext
44019 LIBS=$ac_check_lib_save_LIBS
44021 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
44022 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
44023 if test $ac_cv_lib_nsl_inet_addr = yes; then
44027 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
44028 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
44029 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
44030 echo $ECHO_N "(cached) $ECHO_C" >&6
44032 ac_check_lib_save_LIBS=$LIBS
44033 LIBS="-lresolv $LIBS"
44034 cat >conftest.$ac_ext <<_ACEOF
44037 cat confdefs.h >>conftest.$ac_ext
44038 cat >>conftest.$ac_ext <<_ACEOF
44039 /* end confdefs.h. */
44041 /* Override any GCC internal prototype to avoid an error.
44042 Use char because int might match the return type of a GCC
44043 builtin and then its argument prototype would still apply. */
44051 return inet_addr ();
44056 rm -f conftest.$ac_objext conftest$ac_exeext
44057 if { (ac_try="$ac_link"
44058 case "(($ac_try" in
44059 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44060 *) ac_try_echo
=$ac_try;;
44062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44063 (eval "$ac_link") 2>conftest.er1
44065 grep -v '^ *+' conftest.er1
>conftest.err
44067 cat conftest.err
>&5
44068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44069 (exit $ac_status); } &&
44070 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44071 { (case "(($ac_try" in
44072 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44073 *) ac_try_echo=$ac_try;;
44075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44076 (eval "$ac_try") 2>&5
44078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44079 (exit $ac_status); }; } &&
44080 { ac_try='test -s conftest$ac_exeext'
44081 { (case "(($ac_try" in
44082 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44083 *) ac_try_echo
=$ac_try;;
44085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44086 (eval "$ac_try") 2>&5
44088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44089 (exit $ac_status); }; }; then
44090 ac_cv_lib_resolv_inet_addr
=yes
44092 echo "$as_me: failed program was:" >&5
44093 sed 's/^/| /' conftest.
$ac_ext >&5
44095 ac_cv_lib_resolv_inet_addr
=no
44098 rm -f core conftest.err conftest.
$ac_objext \
44099 conftest
$ac_exeext conftest.
$ac_ext
44100 LIBS
=$ac_check_lib_save_LIBS
44102 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
44103 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
44104 if test $ac_cv_lib_resolv_inet_addr = yes; then
44108 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
44109 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
44110 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
44111 echo $ECHO_N "(cached) $ECHO_C" >&6
44113 ac_check_lib_save_LIBS
=$LIBS
44114 LIBS
="-lsocket $LIBS"
44115 cat >conftest.
$ac_ext <<_ACEOF
44118 cat confdefs.h
>>conftest.
$ac_ext
44119 cat >>conftest.
$ac_ext <<_ACEOF
44120 /* end confdefs.h. */
44122 /* Override any GCC internal prototype to avoid an error.
44123 Use char because int might match the return type of a GCC
44124 builtin and then its argument prototype would still apply. */
44132 return inet_addr ();
44137 rm -f conftest.
$ac_objext conftest
$ac_exeext
44138 if { (ac_try
="$ac_link"
44139 case "(($ac_try" in
44140 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44141 *) ac_try_echo=$ac_try;;
44143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44144 (eval "$ac_link") 2>conftest.er1
44146 grep -v '^ *+' conftest.er1 >conftest.err
44148 cat conftest.err >&5
44149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44150 (exit $ac_status); } &&
44151 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44152 { (case "(($ac_try" in
44153 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44154 *) ac_try_echo
=$ac_try;;
44156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44157 (eval "$ac_try") 2>&5
44159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44160 (exit $ac_status); }; } &&
44161 { ac_try
='test -s conftest$ac_exeext'
44162 { (case "(($ac_try" in
44163 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44164 *) ac_try_echo=$ac_try;;
44166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44167 (eval "$ac_try") 2>&5
44169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44170 (exit $ac_status); }; }; then
44171 ac_cv_lib_socket_inet_addr=yes
44173 echo "$as_me: failed program was:" >&5
44174 sed 's/^/| /' conftest.$ac_ext >&5
44176 ac_cv_lib_socket_inet_addr=no
44179 rm -f core conftest.err conftest.$ac_objext \
44180 conftest$ac_exeext conftest.$ac_ext
44181 LIBS=$ac_check_lib_save_LIBS
44183 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
44184 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
44185 if test $ac_cv_lib_socket_inet_addr = yes; then
44205 for ac_func in inet_aton
44207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44208 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44210 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44211 echo $ECHO_N "(cached) $ECHO_C" >&6
44213 cat >conftest.$ac_ext <<_ACEOF
44216 cat confdefs.h >>conftest.$ac_ext
44217 cat >>conftest.$ac_ext <<_ACEOF
44218 /* end confdefs.h. */
44219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44221 #define $ac_func innocuous_$ac_func
44223 /* System header to define __stub macros and hopefully few prototypes,
44224 which can conflict with char $ac_func (); below.
44225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44226 <limits.h> exists even on freestanding compilers. */
44229 # include <limits.h>
44231 # include <assert.h>
44236 /* Override any GCC internal prototype to avoid an error.
44237 Use char because int might match the return type of a GCC
44238 builtin and then its argument prototype would still apply. */
44243 /* The GNU C library defines this for functions which it implements
44244 to always fail with ENOSYS. Some functions are actually named
44245 something starting with __ and the normal name is an alias. */
44246 #if defined __stub_$ac_func || defined __stub___$ac_func
44253 return $ac_func ();
44258 rm -f conftest.$ac_objext conftest$ac_exeext
44259 if { (ac_try="$ac_link"
44260 case "(($ac_try" in
44261 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44262 *) ac_try_echo
=$ac_try;;
44264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44265 (eval "$ac_link") 2>conftest.er1
44267 grep -v '^ *+' conftest.er1
>conftest.err
44269 cat conftest.err
>&5
44270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44271 (exit $ac_status); } &&
44272 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44273 { (case "(($ac_try" in
44274 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44275 *) ac_try_echo=$ac_try;;
44277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44278 (eval "$ac_try") 2>&5
44280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44281 (exit $ac_status); }; } &&
44282 { ac_try='test -s conftest$ac_exeext'
44283 { (case "(($ac_try" in
44284 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44285 *) ac_try_echo
=$ac_try;;
44287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44288 (eval "$ac_try") 2>&5
44290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44291 (exit $ac_status); }; }; then
44292 eval "$as_ac_var=yes"
44294 echo "$as_me: failed program was:" >&5
44295 sed 's/^/| /' conftest.
$ac_ext >&5
44297 eval "$as_ac_var=no"
44300 rm -f core conftest.err conftest.
$ac_objext \
44301 conftest
$ac_exeext conftest.
$ac_ext
44303 ac_res
=`eval echo '${'$as_ac_var'}'`
44304 { echo "$as_me:$LINENO: result: $ac_res" >&5
44305 echo "${ECHO_T}$ac_res" >&6; }
44306 if test `eval echo '${'$as_ac_var'}'` = yes; then
44307 cat >>confdefs.h
<<_ACEOF
44308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44310 cat >>confdefs.h
<<\_ACEOF
44311 #define HAVE_INET_ATON 1
44316 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
44317 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
44318 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
44319 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
44320 echo $ECHO_N "(cached) $ECHO_C" >&6
44322 ac_check_lib_save_LIBS
=$LIBS
44323 LIBS
="-l$INET_LINK $LIBS"
44324 cat >conftest.
$ac_ext <<_ACEOF
44327 cat confdefs.h
>>conftest.
$ac_ext
44328 cat >>conftest.
$ac_ext <<_ACEOF
44329 /* end confdefs.h. */
44331 /* Override any GCC internal prototype to avoid an error.
44332 Use char because int might match the return type of a GCC
44333 builtin and then its argument prototype would still apply. */
44341 return inet_aton ();
44346 rm -f conftest.
$ac_objext conftest
$ac_exeext
44347 if { (ac_try
="$ac_link"
44348 case "(($ac_try" in
44349 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44350 *) ac_try_echo=$ac_try;;
44352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44353 (eval "$ac_link") 2>conftest.er1
44355 grep -v '^ *+' conftest.er1 >conftest.err
44357 cat conftest.err >&5
44358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44359 (exit $ac_status); } &&
44360 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44361 { (case "(($ac_try" in
44362 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44363 *) ac_try_echo
=$ac_try;;
44365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44366 (eval "$ac_try") 2>&5
44368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44369 (exit $ac_status); }; } &&
44370 { ac_try
='test -s conftest$ac_exeext'
44371 { (case "(($ac_try" in
44372 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44373 *) ac_try_echo=$ac_try;;
44375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44376 (eval "$ac_try") 2>&5
44378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44379 (exit $ac_status); }; }; then
44380 eval "$as_ac_Lib=yes"
44382 echo "$as_me: failed program was:" >&5
44383 sed 's/^/| /' conftest.$ac_ext >&5
44385 eval "$as_ac_Lib=no"
44388 rm -f core conftest.err conftest.$ac_objext \
44389 conftest$ac_exeext conftest.$ac_ext
44390 LIBS=$ac_check_lib_save_LIBS
44392 ac_res=`eval echo '${'$as_ac_Lib'}'`
44393 { echo "$as_me:$LINENO: result: $ac_res" >&5
44394 echo "${ECHO_T}$ac_res" >&6; }
44395 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
44396 cat >>confdefs.h <<\_ACEOF
44397 #define HAVE_INET_ATON 1
44407 if test "x$INET_LINK" != "x"; then
44408 cat >>confdefs.h <<\_ACEOF
44409 #define HAVE_INET_ADDR 1
44412 INET_LINK=" -l$INET_LINK"
44416 for wx_func in fdopen
44418 { echo "$as_me:$LINENO: checking for $wx_func" >&5
44419 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
44420 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
44421 echo $ECHO_N "(cached) $ECHO_C" >&6
44424 cat >conftest.$ac_ext <<_ACEOF
44428 cat confdefs.h >>conftest.$ac_ext
44429 cat >>conftest.$ac_ext <<_ACEOF
44430 /* end confdefs.h. */
44433 $ac_includes_default
44449 rm -f conftest.$ac_objext conftest$ac_exeext
44450 if { (ac_try="$ac_link"
44451 case "(($ac_try" in
44452 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44453 *) ac_try_echo
=$ac_try;;
44455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44456 (eval "$ac_link") 2>conftest.er1
44458 grep -v '^ *+' conftest.er1
>conftest.err
44460 cat conftest.err
>&5
44461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44462 (exit $ac_status); } &&
44463 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44464 { (case "(($ac_try" in
44465 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44466 *) ac_try_echo=$ac_try;;
44468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44469 (eval "$ac_try") 2>&5
44471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44472 (exit $ac_status); }; } &&
44473 { ac_try='test -s conftest$ac_exeext'
44474 { (case "(($ac_try" in
44475 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44476 *) ac_try_echo
=$ac_try;;
44478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44479 (eval "$ac_try") 2>&5
44481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44482 (exit $ac_status); }; }; then
44483 eval wx_cv_func_
$wx_func=yes
44485 echo "$as_me: failed program was:" >&5
44486 sed 's/^/| /' conftest.
$ac_ext >&5
44488 eval wx_cv_func_
$wx_func=no
44491 rm -f core conftest.err conftest.
$ac_objext \
44492 conftest
$ac_exeext conftest.
$ac_ext
44495 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
44496 { echo "$as_me:$LINENO: result: $ac_res" >&5
44497 echo "${ECHO_T}$ac_res" >&6; }
44499 if eval test \
$wx_cv_func_$wx_func = yes
44501 cat >>confdefs.h
<<_ACEOF
44502 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
44519 { echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
44520 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6; }
44521 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
44522 echo $ECHO_N "(cached) $ECHO_C" >&6
44524 ac_check_lib_save_LIBS
=$LIBS
44526 cat >conftest.
$ac_ext <<_ACEOF
44529 cat confdefs.h
>>conftest.
$ac_ext
44530 cat >>conftest.
$ac_ext <<_ACEOF
44531 /* end confdefs.h. */
44533 /* Override any GCC internal prototype to avoid an error.
44534 Use char because int might match the return type of a GCC
44535 builtin and then its argument prototype would still apply. */
44543 return esd_close ();
44548 rm -f conftest.
$ac_objext conftest
$ac_exeext
44549 if { (ac_try
="$ac_link"
44550 case "(($ac_try" in
44551 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44552 *) ac_try_echo=$ac_try;;
44554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44555 (eval "$ac_link") 2>conftest.er1
44557 grep -v '^ *+' conftest.er1 >conftest.err
44559 cat conftest.err >&5
44560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44561 (exit $ac_status); } &&
44562 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44563 { (case "(($ac_try" in
44564 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44565 *) ac_try_echo
=$ac_try;;
44567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44568 (eval "$ac_try") 2>&5
44570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44571 (exit $ac_status); }; } &&
44572 { ac_try
='test -s conftest$ac_exeext'
44573 { (case "(($ac_try" in
44574 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44575 *) ac_try_echo=$ac_try;;
44577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44578 (eval "$ac_try") 2>&5
44580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44581 (exit $ac_status); }; }; then
44582 ac_cv_lib_esd_esd_close=yes
44584 echo "$as_me: failed program was:" >&5
44585 sed 's/^/| /' conftest.$ac_ext >&5
44587 ac_cv_lib_esd_esd_close=no
44590 rm -f core conftest.err conftest.$ac_objext \
44591 conftest$ac_exeext conftest.$ac_ext
44592 LIBS=$ac_check_lib_save_LIBS
44594 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
44595 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6; }
44596 if test $ac_cv_lib_esd_esd_close = yes; then
44599 for ac_header in esd.h
44601 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44602 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44603 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44605 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44606 echo $ECHO_N "(cached) $ECHO_C" >&6
44608 ac_res=`eval echo '${'$as_ac_Header'}'`
44609 { echo "$as_me:$LINENO: result: $ac_res" >&5
44610 echo "${ECHO_T}$ac_res" >&6; }
44612 # Is the header compilable?
44613 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
44614 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
44615 cat >conftest.$ac_ext <<_ACEOF
44618 cat confdefs.h >>conftest.$ac_ext
44619 cat >>conftest.$ac_ext <<_ACEOF
44620 /* end confdefs.h. */
44621 $ac_includes_default
44622 #include <$ac_header>
44624 rm -f conftest.$ac_objext
44625 if { (ac_try="$ac_compile"
44626 case "(($ac_try" in
44627 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44628 *) ac_try_echo
=$ac_try;;
44630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44631 (eval "$ac_compile") 2>conftest.er1
44633 grep -v '^ *+' conftest.er1
>conftest.err
44635 cat conftest.err
>&5
44636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44637 (exit $ac_status); } &&
44638 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44639 { (case "(($ac_try" in
44640 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44641 *) ac_try_echo=$ac_try;;
44643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44644 (eval "$ac_try") 2>&5
44646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44647 (exit $ac_status); }; } &&
44648 { ac_try='test -s conftest.$ac_objext'
44649 { (case "(($ac_try" in
44650 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44651 *) ac_try_echo
=$ac_try;;
44653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44654 (eval "$ac_try") 2>&5
44656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44657 (exit $ac_status); }; }; then
44658 ac_header_compiler
=yes
44660 echo "$as_me: failed program was:" >&5
44661 sed 's/^/| /' conftest.
$ac_ext >&5
44663 ac_header_compiler
=no
44666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44667 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44668 echo "${ECHO_T}$ac_header_compiler" >&6; }
44670 # Is the header present?
44671 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
44672 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
44673 cat >conftest.
$ac_ext <<_ACEOF
44676 cat confdefs.h
>>conftest.
$ac_ext
44677 cat >>conftest.
$ac_ext <<_ACEOF
44678 /* end confdefs.h. */
44679 #include <$ac_header>
44681 if { (ac_try
="$ac_cpp conftest.$ac_ext"
44682 case "(($ac_try" in
44683 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44684 *) ac_try_echo=$ac_try;;
44686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44687 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
44689 grep -v '^ *+' conftest.er1 >conftest.err
44691 cat conftest.err >&5
44692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44693 (exit $ac_status); } >/dev/null; then
44694 if test -s conftest.err; then
44695 ac_cpp_err=$ac_c_preproc_warn_flag
44696 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
44703 if test -z "$ac_cpp_err"; then
44704 ac_header_preproc=yes
44706 echo "$as_me: failed program was:" >&5
44707 sed 's/^/| /' conftest.$ac_ext >&5
44709 ac_header_preproc=no
44712 rm -f conftest.err conftest.$ac_ext
44713 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44714 echo "${ECHO_T}$ac_header_preproc" >&6; }
44716 # So? What about this header?
44717 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
44719 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44720 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44721 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44722 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44723 ac_header_preproc=yes
44726 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44727 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44728 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44729 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44730 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44731 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44732 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44733 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44734 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44735 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44736 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44737 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44739 ## ----------------------------------------- ##
44740 ## Report this to wx-dev@lists.wxwidgets.org ##
44741 ## ----------------------------------------- ##
44743 ) | sed "s/^/$as_me: WARNING: /" >&2
44746 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44748 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44749 echo $ECHO_N "(cached) $ECHO_C" >&6
44751 eval "$as_ac_Header=\$ac_header_preproc"
44753 ac_res=`eval echo '${'$as_ac_Header'}'`
44754 { echo "$as_me:$LINENO: result: $ac_res" >&5
44755 echo "${ECHO_T}$ac_res" >&6; }
44758 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44759 cat >>confdefs.h <<_ACEOF
44760 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44763 EXTRALIBS_ESD="-lesd"
44774 { echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
44775 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6; }
44776 cat >conftest.$ac_ext <<_ACEOF
44779 cat confdefs.h >>conftest.$ac_ext
44780 cat >>conftest.$ac_ext <<_ACEOF
44781 /* end confdefs.h. */
44783 #include <linux/cdrom.h>
44786 #include <sys/cdio.h>
44792 struct cdrom_tocentry entry, old_entry;
44797 rm -f conftest.$ac_objext
44798 if { (ac_try="$ac_compile"
44799 case "(($ac_try" in
44800 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44801 *) ac_try_echo
=$ac_try;;
44803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44804 (eval "$ac_compile") 2>conftest.er1
44806 grep -v '^ *+' conftest.er1
>conftest.err
44808 cat conftest.err
>&5
44809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44810 (exit $ac_status); } &&
44811 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44812 { (case "(($ac_try" in
44813 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44814 *) ac_try_echo=$ac_try;;
44816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44817 (eval "$ac_try") 2>&5
44819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44820 (exit $ac_status); }; } &&
44821 { ac_try='test -s conftest.$ac_objext'
44822 { (case "(($ac_try" in
44823 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44824 *) ac_try_echo
=$ac_try;;
44826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44827 (eval "$ac_try") 2>&5
44829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44830 (exit $ac_status); }; }; then
44831 { echo "$as_me:$LINENO: result: yes" >&5
44832 echo "${ECHO_T}yes" >&6; }
44833 cat >>confdefs.h
<<\_ACEOF
44834 #define HAVE_KNOWN_CDROM_INTERFACE 1
44838 echo "$as_me: failed program was:" >&5
44839 sed 's/^/| /' conftest.
$ac_ext >&5
44841 { echo "$as_me:$LINENO: result: no" >&5
44842 echo "${ECHO_T}no" >&6; }
44845 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44848 cat >confcache
<<\_ACEOF
44849 # This file is a shell script that caches the results of configure
44850 # tests run on this system so they can be shared between configure
44851 # scripts and configure runs, see configure's option --config-cache.
44852 # It is not useful on other systems. If it contains results you don't
44853 # want to keep, you may remove or edit it.
44855 # config.status only pays attention to the cache file if you give it
44856 # the --recheck option to rerun configure.
44858 # `ac_cv_env_foo' variables (set or unset) will be overridden when
44859 # loading this file, other *unset* `ac_cv_foo' will be assigned the
44860 # following values.
44864 # The following way of writing the cache mishandles newlines in values,
44865 # but we know of no workaround that is simple, portable, and efficient.
44866 # So, we kill variables containing newlines.
44867 # Ultrix sh set writes to stderr and can't be redirected directly,
44868 # and sets the high bit in the cache file unless we assign to the vars.
44870 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
44871 eval ac_val
=\$
$ac_var
44875 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
44876 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
44879 _
| IFS
| as_nl
) ;; #(
44880 *) $as_unset $ac_var ;;
44886 case $as_nl`(ac_space=' '; set) 2>&1` in #(
44887 *${as_nl}ac_space
=\
*)
44888 # `set' does not quote correctly, so add quotes (double-quote
44889 # substitution turns \\\\ into \\, and sed turns \\ into \).
44892 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
44895 # `set' quotes correctly as required by POSIX, so do not add quotes.
44896 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
44905 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
44907 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
44909 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
44910 if test -w "$cache_file"; then
44911 test "x$cache_file" != "x/dev/null" &&
44912 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
44913 echo "$as_me: updating cache $cache_file" >&6;}
44914 cat confcache
>$cache_file
44916 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
44917 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
44923 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
44929 if test "$wxUSE_THREADS" = "yes" ; then
44930 if test "$USE_BEOS" = 1; then
44931 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
44932 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
44937 if test "$wxUSE_THREADS" = "yes" ; then
44940 THREAD_OPTS
="-pthread"
44942 *-*-solaris2* | *-*-sunos4* )
44943 if test "x$GCC" = "xyes"; then
44944 THREAD_OPTS
="-pthreads $THREAD_OPTS"
44946 THREAD_OPTS
="-mt $THREAD_OPTS"
44950 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
44952 *-*-darwin* | *-*-cygwin* )
44956 THREAD_OPTS
="pthreads"
44959 if test "x$GCC" = "xyes"; then
44960 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
44968 if test "x$GCC" = "xyes"; then
44974 if test "x$GCC" != "xyes"; then
44975 THREAD_OPTS
="-Ethread"
44980 THREAD_OPTS
="$THREAD_OPTS pthread none"
44983 for flag
in $THREAD_OPTS; do
44986 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
44987 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
44991 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
44992 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
44993 THREADS_CFLAGS
="$flag"
44997 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
44998 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
44999 THREADS_LINK
="-l$flag"
45004 save_CFLAGS
="$CFLAGS"
45005 LIBS
="$THREADS_LINK $LIBS"
45006 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
45008 cat >conftest.
$ac_ext <<_ACEOF
45011 cat confdefs.h
>>conftest.
$ac_ext
45012 cat >>conftest.
$ac_ext <<_ACEOF
45013 /* end confdefs.h. */
45014 #include <pthread.h>
45018 pthread_create(0,0,0,0);
45023 rm -f conftest.
$ac_objext conftest
$ac_exeext
45024 if { (ac_try
="$ac_link"
45025 case "(($ac_try" in
45026 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45027 *) ac_try_echo=$ac_try;;
45029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45030 (eval "$ac_link") 2>conftest.er1
45032 grep -v '^ *+' conftest.er1 >conftest.err
45034 cat conftest.err >&5
45035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45036 (exit $ac_status); } &&
45037 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45038 { (case "(($ac_try" in
45039 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45040 *) ac_try_echo
=$ac_try;;
45042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45043 (eval "$ac_try") 2>&5
45045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45046 (exit $ac_status); }; } &&
45047 { ac_try
='test -s conftest$ac_exeext'
45048 { (case "(($ac_try" in
45049 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45050 *) ac_try_echo=$ac_try;;
45052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45053 (eval "$ac_try") 2>&5
45055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45056 (exit $ac_status); }; }; then
45059 echo "$as_me: failed program was:" >&5
45060 sed 's/^/| /' conftest.$ac_ext >&5
45065 rm -f core conftest.err conftest.$ac_objext \
45066 conftest$ac_exeext conftest.$ac_ext
45069 CFLAGS="$save_CFLAGS"
45071 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
45072 echo "${ECHO_T}$THREADS_OK" >&6; }
45073 if test "x$THREADS_OK" = "xyes"; then
45081 if test "x$THREADS_OK" != "xyes"; then
45083 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
45084 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
45086 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
45087 LIBS="$THREADS_LINK $LIBS"
45089 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
45090 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
45094 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
45095 flag="-D_THREAD_SAFE"
45098 flag="-D_THREAD_SAFE"
45101 flag="-D_REENTRANT"
45102 if test "x$GCC" != "xyes"; then
45103 flag="$flag -D_RWSTD_MULTI_THREAD"
45106 *solaris* | alpha*-osf*)
45107 flag="-D_REENTRANT"
45110 { echo "$as_me:$LINENO: result: ${flag}" >&5
45111 echo "${ECHO_T}${flag}" >&6; }
45112 if test "x$flag" != xno; then
45113 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
45116 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
45120 if test "$wxUSE_THREADS" = "yes" ; then
45122 for ac_func in thr_setconcurrency
45124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45125 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45127 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45128 echo $ECHO_N "(cached) $ECHO_C" >&6
45130 cat >conftest.$ac_ext <<_ACEOF
45133 cat confdefs.h >>conftest.$ac_ext
45134 cat >>conftest.$ac_ext <<_ACEOF
45135 /* end confdefs.h. */
45136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45138 #define $ac_func innocuous_$ac_func
45140 /* System header to define __stub macros and hopefully few prototypes,
45141 which can conflict with char $ac_func (); below.
45142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45143 <limits.h> exists even on freestanding compilers. */
45146 # include <limits.h>
45148 # include <assert.h>
45153 /* Override any GCC internal prototype to avoid an error.
45154 Use char because int might match the return type of a GCC
45155 builtin and then its argument prototype would still apply. */
45160 /* The GNU C library defines this for functions which it implements
45161 to always fail with ENOSYS. Some functions are actually named
45162 something starting with __ and the normal name is an alias. */
45163 #if defined __stub_$ac_func || defined __stub___$ac_func
45170 return $ac_func ();
45175 rm -f conftest.$ac_objext conftest$ac_exeext
45176 if { (ac_try="$ac_link"
45177 case "(($ac_try" in
45178 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45179 *) ac_try_echo
=$ac_try;;
45181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45182 (eval "$ac_link") 2>conftest.er1
45184 grep -v '^ *+' conftest.er1
>conftest.err
45186 cat conftest.err
>&5
45187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45188 (exit $ac_status); } &&
45189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45190 { (case "(($ac_try" in
45191 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45192 *) ac_try_echo=$ac_try;;
45194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45195 (eval "$ac_try") 2>&5
45197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45198 (exit $ac_status); }; } &&
45199 { ac_try='test -s conftest$ac_exeext'
45200 { (case "(($ac_try" in
45201 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45202 *) ac_try_echo
=$ac_try;;
45204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45205 (eval "$ac_try") 2>&5
45207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45208 (exit $ac_status); }; }; then
45209 eval "$as_ac_var=yes"
45211 echo "$as_me: failed program was:" >&5
45212 sed 's/^/| /' conftest.
$ac_ext >&5
45214 eval "$as_ac_var=no"
45217 rm -f core conftest.err conftest.
$ac_objext \
45218 conftest
$ac_exeext conftest.
$ac_ext
45220 ac_res
=`eval echo '${'$as_ac_var'}'`
45221 { echo "$as_me:$LINENO: result: $ac_res" >&5
45222 echo "${ECHO_T}$ac_res" >&6; }
45223 if test `eval echo '${'$as_ac_var'}'` = yes; then
45224 cat >>confdefs.h
<<_ACEOF
45225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45232 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
45233 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
45234 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
45235 echo $ECHO_N "(cached) $ECHO_C" >&6
45238 cat >conftest.
$ac_ext <<_ACEOF
45241 cat confdefs.h
>>conftest.
$ac_ext
45242 cat >>conftest.
$ac_ext <<_ACEOF
45243 /* end confdefs.h. */
45244 #include <pthread.h>
45245 void ThreadCleanupFunc(void *p);
45252 pthread_cleanup_push(ThreadCleanupFunc, p);
45253 pthread_cleanup_pop(0);
45259 rm -f conftest.
$ac_objext
45260 if { (ac_try
="$ac_compile"
45261 case "(($ac_try" in
45262 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45263 *) ac_try_echo=$ac_try;;
45265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45266 (eval "$ac_compile") 2>conftest.er1
45268 grep -v '^ *+' conftest.er1 >conftest.err
45270 cat conftest.err >&5
45271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45272 (exit $ac_status); } &&
45273 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45274 { (case "(($ac_try" in
45275 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45276 *) ac_try_echo
=$ac_try;;
45278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45279 (eval "$ac_try") 2>&5
45281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45282 (exit $ac_status); }; } &&
45283 { ac_try
='test -s conftest.$ac_objext'
45284 { (case "(($ac_try" in
45285 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45286 *) ac_try_echo=$ac_try;;
45288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45289 (eval "$ac_try") 2>&5
45291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45292 (exit $ac_status); }; }; then
45294 wx_cv_func_pthread_cleanup=yes
45297 echo "$as_me: failed program was:" >&5
45298 sed 's/^/| /' conftest.$ac_ext >&5
45301 wx_cv_func_pthread_cleanup=no
45306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45309 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
45310 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
45311 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
45312 cat >>confdefs.h <<\_ACEOF
45313 #define wxHAVE_PTHREAD_CLEANUP 1
45319 for ac_header in sched.h
45321 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45322 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45323 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45324 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45325 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45326 echo $ECHO_N "(cached) $ECHO_C" >&6
45328 ac_res=`eval echo '${'$as_ac_Header'}'`
45329 { echo "$as_me:$LINENO: result: $ac_res" >&5
45330 echo "${ECHO_T}$ac_res" >&6; }
45332 # Is the header compilable?
45333 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
45334 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
45335 cat >conftest.$ac_ext <<_ACEOF
45338 cat confdefs.h >>conftest.$ac_ext
45339 cat >>conftest.$ac_ext <<_ACEOF
45340 /* end confdefs.h. */
45341 $ac_includes_default
45342 #include <$ac_header>
45344 rm -f conftest.$ac_objext
45345 if { (ac_try="$ac_compile"
45346 case "(($ac_try" in
45347 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45348 *) ac_try_echo
=$ac_try;;
45350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45351 (eval "$ac_compile") 2>conftest.er1
45353 grep -v '^ *+' conftest.er1
>conftest.err
45355 cat conftest.err
>&5
45356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45357 (exit $ac_status); } &&
45358 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45359 { (case "(($ac_try" in
45360 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45361 *) ac_try_echo=$ac_try;;
45363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45364 (eval "$ac_try") 2>&5
45366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45367 (exit $ac_status); }; } &&
45368 { ac_try='test -s conftest.$ac_objext'
45369 { (case "(($ac_try" in
45370 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45371 *) ac_try_echo
=$ac_try;;
45373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45374 (eval "$ac_try") 2>&5
45376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45377 (exit $ac_status); }; }; then
45378 ac_header_compiler
=yes
45380 echo "$as_me: failed program was:" >&5
45381 sed 's/^/| /' conftest.
$ac_ext >&5
45383 ac_header_compiler
=no
45386 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45387 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45388 echo "${ECHO_T}$ac_header_compiler" >&6; }
45390 # Is the header present?
45391 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
45392 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
45393 cat >conftest.
$ac_ext <<_ACEOF
45396 cat confdefs.h
>>conftest.
$ac_ext
45397 cat >>conftest.
$ac_ext <<_ACEOF
45398 /* end confdefs.h. */
45399 #include <$ac_header>
45401 if { (ac_try
="$ac_cpp conftest.$ac_ext"
45402 case "(($ac_try" in
45403 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45404 *) ac_try_echo=$ac_try;;
45406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45407 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
45409 grep -v '^ *+' conftest.er1 >conftest.err
45411 cat conftest.err >&5
45412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45413 (exit $ac_status); } >/dev/null; then
45414 if test -s conftest.err; then
45415 ac_cpp_err=$ac_c_preproc_warn_flag
45416 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
45423 if test -z "$ac_cpp_err"; then
45424 ac_header_preproc=yes
45426 echo "$as_me: failed program was:" >&5
45427 sed 's/^/| /' conftest.$ac_ext >&5
45429 ac_header_preproc=no
45432 rm -f conftest.err conftest.$ac_ext
45433 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45434 echo "${ECHO_T}$ac_header_preproc" >&6; }
45436 # So? What about this header?
45437 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45439 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45440 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45441 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45442 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45443 ac_header_preproc=yes
45446 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45447 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45448 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45449 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45450 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45451 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45452 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45453 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45454 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45455 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45456 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45457 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45459 ## ----------------------------------------- ##
45460 ## Report this to wx-dev@lists.wxwidgets.org ##
45461 ## ----------------------------------------- ##
45463 ) | sed "s/^/$as_me: WARNING: /" >&2
45466 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45467 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45468 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45469 echo $ECHO_N "(cached) $ECHO_C" >&6
45471 eval "$as_ac_Header=\$ac_header_preproc"
45473 ac_res=`eval echo '${'$as_ac_Header'}'`
45474 { echo "$as_me:$LINENO: result: $ac_res" >&5
45475 echo "${ECHO_T}$ac_res" >&6; }
45478 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45479 cat >>confdefs.h <<_ACEOF
45480 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45487 if test "$ac_cv_header_sched_h" = "yes"; then
45488 { echo "$as_me:$LINENO: checking for sched_yield" >&5
45489 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
45490 if test "${ac_cv_func_sched_yield+set}" = set; then
45491 echo $ECHO_N "(cached) $ECHO_C" >&6
45493 cat >conftest.$ac_ext <<_ACEOF
45496 cat confdefs.h >>conftest.$ac_ext
45497 cat >>conftest.$ac_ext <<_ACEOF
45498 /* end confdefs.h. */
45499 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
45500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45501 #define sched_yield innocuous_sched_yield
45503 /* System header to define __stub macros and hopefully few prototypes,
45504 which can conflict with char sched_yield (); below.
45505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45506 <limits.h> exists even on freestanding compilers. */
45509 # include <limits.h>
45511 # include <assert.h>
45516 /* Override any GCC internal prototype to avoid an error.
45517 Use char because int might match the return type of a GCC
45518 builtin and then its argument prototype would still apply. */
45522 char sched_yield ();
45523 /* The GNU C library defines this for functions which it implements
45524 to always fail with ENOSYS. Some functions are actually named
45525 something starting with __ and the normal name is an alias. */
45526 #if defined __stub_sched_yield || defined __stub___sched_yield
45533 return sched_yield ();
45538 rm -f conftest.$ac_objext conftest$ac_exeext
45539 if { (ac_try="$ac_link"
45540 case "(($ac_try" in
45541 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45542 *) ac_try_echo
=$ac_try;;
45544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45545 (eval "$ac_link") 2>conftest.er1
45547 grep -v '^ *+' conftest.er1
>conftest.err
45549 cat conftest.err
>&5
45550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45551 (exit $ac_status); } &&
45552 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45553 { (case "(($ac_try" in
45554 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45555 *) ac_try_echo=$ac_try;;
45557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45558 (eval "$ac_try") 2>&5
45560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45561 (exit $ac_status); }; } &&
45562 { ac_try='test -s conftest$ac_exeext'
45563 { (case "(($ac_try" in
45564 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45565 *) ac_try_echo
=$ac_try;;
45567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45568 (eval "$ac_try") 2>&5
45570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45571 (exit $ac_status); }; }; then
45572 ac_cv_func_sched_yield
=yes
45574 echo "$as_me: failed program was:" >&5
45575 sed 's/^/| /' conftest.
$ac_ext >&5
45577 ac_cv_func_sched_yield
=no
45580 rm -f core conftest.err conftest.
$ac_objext \
45581 conftest
$ac_exeext conftest.
$ac_ext
45583 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
45584 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
45585 if test $ac_cv_func_sched_yield = yes; then
45586 cat >>confdefs.h
<<\_ACEOF
45587 #define HAVE_SCHED_YIELD 1
45592 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
45593 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
45594 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
45595 echo $ECHO_N "(cached) $ECHO_C" >&6
45597 ac_check_lib_save_LIBS
=$LIBS
45598 LIBS
="-lposix4 $LIBS"
45599 cat >conftest.
$ac_ext <<_ACEOF
45602 cat confdefs.h
>>conftest.
$ac_ext
45603 cat >>conftest.
$ac_ext <<_ACEOF
45604 /* end confdefs.h. */
45606 /* Override any GCC internal prototype to avoid an error.
45607 Use char because int might match the return type of a GCC
45608 builtin and then its argument prototype would still apply. */
45612 char sched_yield ();
45616 return sched_yield ();
45621 rm -f conftest.
$ac_objext conftest
$ac_exeext
45622 if { (ac_try
="$ac_link"
45623 case "(($ac_try" in
45624 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45625 *) ac_try_echo=$ac_try;;
45627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45628 (eval "$ac_link") 2>conftest.er1
45630 grep -v '^ *+' conftest.er1 >conftest.err
45632 cat conftest.err >&5
45633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45634 (exit $ac_status); } &&
45635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45636 { (case "(($ac_try" in
45637 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45638 *) ac_try_echo
=$ac_try;;
45640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45641 (eval "$ac_try") 2>&5
45643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45644 (exit $ac_status); }; } &&
45645 { ac_try
='test -s conftest$ac_exeext'
45646 { (case "(($ac_try" in
45647 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45648 *) ac_try_echo=$ac_try;;
45650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45651 (eval "$ac_try") 2>&5
45653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45654 (exit $ac_status); }; }; then
45655 ac_cv_lib_posix4_sched_yield=yes
45657 echo "$as_me: failed program was:" >&5
45658 sed 's/^/| /' conftest.$ac_ext >&5
45660 ac_cv_lib_posix4_sched_yield=no
45663 rm -f core conftest.err conftest.$ac_objext \
45664 conftest$ac_exeext conftest.$ac_ext
45665 LIBS=$ac_check_lib_save_LIBS
45667 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
45668 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
45669 if test $ac_cv_lib_posix4_sched_yield = yes; then
45670 cat >>confdefs.h <<\_ACEOF
45671 #define HAVE_SCHED_YIELD 1
45673 POSIX4_LINK=" -lposix4"
45675 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
45676 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
45687 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
45688 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
45689 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
45690 echo $ECHO_N "(cached) $ECHO_C" >&6
45692 cat >conftest.$ac_ext <<_ACEOF
45695 cat confdefs.h >>conftest.$ac_ext
45696 cat >>conftest.$ac_ext <<_ACEOF
45697 /* end confdefs.h. */
45698 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
45699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45700 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
45702 /* System header to define __stub macros and hopefully few prototypes,
45703 which can conflict with char pthread_attr_getschedpolicy (); below.
45704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45705 <limits.h> exists even on freestanding compilers. */
45708 # include <limits.h>
45710 # include <assert.h>
45713 #undef pthread_attr_getschedpolicy
45715 /* Override any GCC internal prototype to avoid an error.
45716 Use char because int might match the return type of a GCC
45717 builtin and then its argument prototype would still apply. */
45721 char pthread_attr_getschedpolicy ();
45722 /* The GNU C library defines this for functions which it implements
45723 to always fail with ENOSYS. Some functions are actually named
45724 something starting with __ and the normal name is an alias. */
45725 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
45732 return pthread_attr_getschedpolicy ();
45737 rm -f conftest.$ac_objext conftest$ac_exeext
45738 if { (ac_try="$ac_link"
45739 case "(($ac_try" in
45740 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45741 *) ac_try_echo
=$ac_try;;
45743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45744 (eval "$ac_link") 2>conftest.er1
45746 grep -v '^ *+' conftest.er1
>conftest.err
45748 cat conftest.err
>&5
45749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45750 (exit $ac_status); } &&
45751 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45752 { (case "(($ac_try" in
45753 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45754 *) ac_try_echo=$ac_try;;
45756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45757 (eval "$ac_try") 2>&5
45759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45760 (exit $ac_status); }; } &&
45761 { ac_try='test -s conftest$ac_exeext'
45762 { (case "(($ac_try" in
45763 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45764 *) ac_try_echo
=$ac_try;;
45766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45767 (eval "$ac_try") 2>&5
45769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45770 (exit $ac_status); }; }; then
45771 ac_cv_func_pthread_attr_getschedpolicy
=yes
45773 echo "$as_me: failed program was:" >&5
45774 sed 's/^/| /' conftest.
$ac_ext >&5
45776 ac_cv_func_pthread_attr_getschedpolicy
=no
45779 rm -f core conftest.err conftest.
$ac_objext \
45780 conftest
$ac_exeext conftest.
$ac_ext
45782 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
45783 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
45784 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
45785 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
45786 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
45787 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
45788 echo $ECHO_N "(cached) $ECHO_C" >&6
45790 cat >conftest.
$ac_ext <<_ACEOF
45793 cat confdefs.h
>>conftest.
$ac_ext
45794 cat >>conftest.
$ac_ext <<_ACEOF
45795 /* end confdefs.h. */
45796 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
45797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45798 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
45800 /* System header to define __stub macros and hopefully few prototypes,
45801 which can conflict with char pthread_attr_setschedparam (); below.
45802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45803 <limits.h> exists even on freestanding compilers. */
45806 # include <limits.h>
45808 # include <assert.h>
45811 #undef pthread_attr_setschedparam
45813 /* Override any GCC internal prototype to avoid an error.
45814 Use char because int might match the return type of a GCC
45815 builtin and then its argument prototype would still apply. */
45819 char pthread_attr_setschedparam ();
45820 /* The GNU C library defines this for functions which it implements
45821 to always fail with ENOSYS. Some functions are actually named
45822 something starting with __ and the normal name is an alias. */
45823 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
45830 return pthread_attr_setschedparam ();
45835 rm -f conftest.
$ac_objext conftest
$ac_exeext
45836 if { (ac_try
="$ac_link"
45837 case "(($ac_try" in
45838 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45839 *) ac_try_echo=$ac_try;;
45841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45842 (eval "$ac_link") 2>conftest.er1
45844 grep -v '^ *+' conftest.er1 >conftest.err
45846 cat conftest.err >&5
45847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45848 (exit $ac_status); } &&
45849 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45850 { (case "(($ac_try" in
45851 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45852 *) ac_try_echo
=$ac_try;;
45854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45855 (eval "$ac_try") 2>&5
45857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45858 (exit $ac_status); }; } &&
45859 { ac_try
='test -s conftest$ac_exeext'
45860 { (case "(($ac_try" in
45861 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45862 *) ac_try_echo=$ac_try;;
45864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45865 (eval "$ac_try") 2>&5
45867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45868 (exit $ac_status); }; }; then
45869 ac_cv_func_pthread_attr_setschedparam=yes
45871 echo "$as_me: failed program was:" >&5
45872 sed 's/^/| /' conftest.$ac_ext >&5
45874 ac_cv_func_pthread_attr_setschedparam=no
45877 rm -f core conftest.err conftest.$ac_objext \
45878 conftest$ac_exeext conftest.$ac_ext
45880 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
45881 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
45882 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
45883 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
45884 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
45885 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
45886 echo $ECHO_N "(cached) $ECHO_C" >&6
45888 cat >conftest.$ac_ext <<_ACEOF
45891 cat confdefs.h >>conftest.$ac_ext
45892 cat >>conftest.$ac_ext <<_ACEOF
45893 /* end confdefs.h. */
45894 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
45895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45896 #define sched_get_priority_max innocuous_sched_get_priority_max
45898 /* System header to define __stub macros and hopefully few prototypes,
45899 which can conflict with char sched_get_priority_max (); below.
45900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45901 <limits.h> exists even on freestanding compilers. */
45904 # include <limits.h>
45906 # include <assert.h>
45909 #undef sched_get_priority_max
45911 /* Override any GCC internal prototype to avoid an error.
45912 Use char because int might match the return type of a GCC
45913 builtin and then its argument prototype would still apply. */
45917 char sched_get_priority_max ();
45918 /* The GNU C library defines this for functions which it implements
45919 to always fail with ENOSYS. Some functions are actually named
45920 something starting with __ and the normal name is an alias. */
45921 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
45928 return sched_get_priority_max ();
45933 rm -f conftest.$ac_objext conftest$ac_exeext
45934 if { (ac_try="$ac_link"
45935 case "(($ac_try" in
45936 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45937 *) ac_try_echo
=$ac_try;;
45939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45940 (eval "$ac_link") 2>conftest.er1
45942 grep -v '^ *+' conftest.er1
>conftest.err
45944 cat conftest.err
>&5
45945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45946 (exit $ac_status); } &&
45947 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45948 { (case "(($ac_try" in
45949 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45950 *) ac_try_echo=$ac_try;;
45952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45953 (eval "$ac_try") 2>&5
45955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45956 (exit $ac_status); }; } &&
45957 { ac_try='test -s conftest$ac_exeext'
45958 { (case "(($ac_try" in
45959 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45960 *) ac_try_echo
=$ac_try;;
45962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45963 (eval "$ac_try") 2>&5
45965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45966 (exit $ac_status); }; }; then
45967 ac_cv_func_sched_get_priority_max
=yes
45969 echo "$as_me: failed program was:" >&5
45970 sed 's/^/| /' conftest.
$ac_ext >&5
45972 ac_cv_func_sched_get_priority_max
=no
45975 rm -f core conftest.err conftest.
$ac_objext \
45976 conftest
$ac_exeext conftest.
$ac_ext
45978 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
45979 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
45980 if test $ac_cv_func_sched_get_priority_max = yes; then
45983 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
45984 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
45985 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
45986 echo $ECHO_N "(cached) $ECHO_C" >&6
45988 ac_check_lib_save_LIBS
=$LIBS
45989 LIBS
="-lposix4 $LIBS"
45990 cat >conftest.
$ac_ext <<_ACEOF
45993 cat confdefs.h
>>conftest.
$ac_ext
45994 cat >>conftest.
$ac_ext <<_ACEOF
45995 /* end confdefs.h. */
45997 /* Override any GCC internal prototype to avoid an error.
45998 Use char because int might match the return type of a GCC
45999 builtin and then its argument prototype would still apply. */
46003 char sched_get_priority_max ();
46007 return sched_get_priority_max ();
46012 rm -f conftest.
$ac_objext conftest
$ac_exeext
46013 if { (ac_try
="$ac_link"
46014 case "(($ac_try" in
46015 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46016 *) ac_try_echo=$ac_try;;
46018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46019 (eval "$ac_link") 2>conftest.er1
46021 grep -v '^ *+' conftest.er1 >conftest.err
46023 cat conftest.err >&5
46024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46025 (exit $ac_status); } &&
46026 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46027 { (case "(($ac_try" in
46028 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46029 *) ac_try_echo
=$ac_try;;
46031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46032 (eval "$ac_try") 2>&5
46034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46035 (exit $ac_status); }; } &&
46036 { ac_try
='test -s conftest$ac_exeext'
46037 { (case "(($ac_try" in
46038 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46039 *) ac_try_echo=$ac_try;;
46041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46042 (eval "$ac_try") 2>&5
46044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46045 (exit $ac_status); }; }; then
46046 ac_cv_lib_posix4_sched_get_priority_max=yes
46048 echo "$as_me: failed program was:" >&5
46049 sed 's/^/| /' conftest.$ac_ext >&5
46051 ac_cv_lib_posix4_sched_get_priority_max=no
46054 rm -f core conftest.err conftest.$ac_objext \
46055 conftest$ac_exeext conftest.$ac_ext
46056 LIBS=$ac_check_lib_save_LIBS
46058 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
46059 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
46060 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
46063 POSIX4_LINK=" -lposix4"
46077 if test "$HAVE_PRIOR_FUNCS" = 1; then
46078 cat >>confdefs.h <<\_ACEOF
46079 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
46083 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
46084 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
46087 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
46088 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
46089 if test "${ac_cv_func_pthread_cancel+set}" = set; then
46090 echo $ECHO_N "(cached) $ECHO_C" >&6
46092 cat >conftest.$ac_ext <<_ACEOF
46095 cat confdefs.h >>conftest.$ac_ext
46096 cat >>conftest.$ac_ext <<_ACEOF
46097 /* end confdefs.h. */
46098 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
46099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46100 #define pthread_cancel innocuous_pthread_cancel
46102 /* System header to define __stub macros and hopefully few prototypes,
46103 which can conflict with char pthread_cancel (); below.
46104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46105 <limits.h> exists even on freestanding compilers. */
46108 # include <limits.h>
46110 # include <assert.h>
46113 #undef pthread_cancel
46115 /* Override any GCC internal prototype to avoid an error.
46116 Use char because int might match the return type of a GCC
46117 builtin and then its argument prototype would still apply. */
46121 char pthread_cancel ();
46122 /* The GNU C library defines this for functions which it implements
46123 to always fail with ENOSYS. Some functions are actually named
46124 something starting with __ and the normal name is an alias. */
46125 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
46132 return pthread_cancel ();
46137 rm -f conftest.$ac_objext conftest$ac_exeext
46138 if { (ac_try="$ac_link"
46139 case "(($ac_try" in
46140 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46141 *) ac_try_echo
=$ac_try;;
46143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46144 (eval "$ac_link") 2>conftest.er1
46146 grep -v '^ *+' conftest.er1
>conftest.err
46148 cat conftest.err
>&5
46149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46150 (exit $ac_status); } &&
46151 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46152 { (case "(($ac_try" in
46153 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46154 *) ac_try_echo=$ac_try;;
46156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46157 (eval "$ac_try") 2>&5
46159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46160 (exit $ac_status); }; } &&
46161 { ac_try='test -s conftest$ac_exeext'
46162 { (case "(($ac_try" in
46163 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46164 *) ac_try_echo
=$ac_try;;
46166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46167 (eval "$ac_try") 2>&5
46169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46170 (exit $ac_status); }; }; then
46171 ac_cv_func_pthread_cancel
=yes
46173 echo "$as_me: failed program was:" >&5
46174 sed 's/^/| /' conftest.
$ac_ext >&5
46176 ac_cv_func_pthread_cancel
=no
46179 rm -f core conftest.err conftest.
$ac_objext \
46180 conftest
$ac_exeext conftest.
$ac_ext
46182 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
46183 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
46184 if test $ac_cv_func_pthread_cancel = yes; then
46185 cat >>confdefs.h
<<\_ACEOF
46186 #define HAVE_PTHREAD_CANCEL 1
46190 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
46191 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
46195 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
46196 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
46197 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
46198 echo $ECHO_N "(cached) $ECHO_C" >&6
46200 cat >conftest.
$ac_ext <<_ACEOF
46203 cat confdefs.h
>>conftest.
$ac_ext
46204 cat >>conftest.
$ac_ext <<_ACEOF
46205 /* end confdefs.h. */
46206 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
46207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46208 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
46210 /* System header to define __stub macros and hopefully few prototypes,
46211 which can conflict with char pthread_attr_setstacksize (); below.
46212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46213 <limits.h> exists even on freestanding compilers. */
46216 # include <limits.h>
46218 # include <assert.h>
46221 #undef pthread_attr_setstacksize
46223 /* Override any GCC internal prototype to avoid an error.
46224 Use char because int might match the return type of a GCC
46225 builtin and then its argument prototype would still apply. */
46229 char pthread_attr_setstacksize ();
46230 /* The GNU C library defines this for functions which it implements
46231 to always fail with ENOSYS. Some functions are actually named
46232 something starting with __ and the normal name is an alias. */
46233 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
46240 return pthread_attr_setstacksize ();
46245 rm -f conftest.
$ac_objext conftest
$ac_exeext
46246 if { (ac_try
="$ac_link"
46247 case "(($ac_try" in
46248 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46249 *) ac_try_echo=$ac_try;;
46251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46252 (eval "$ac_link") 2>conftest.er1
46254 grep -v '^ *+' conftest.er1 >conftest.err
46256 cat conftest.err >&5
46257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46258 (exit $ac_status); } &&
46259 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46260 { (case "(($ac_try" in
46261 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46262 *) ac_try_echo
=$ac_try;;
46264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46265 (eval "$ac_try") 2>&5
46267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46268 (exit $ac_status); }; } &&
46269 { ac_try
='test -s conftest$ac_exeext'
46270 { (case "(($ac_try" in
46271 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46272 *) ac_try_echo=$ac_try;;
46274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46275 (eval "$ac_try") 2>&5
46277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46278 (exit $ac_status); }; }; then
46279 ac_cv_func_pthread_attr_setstacksize=yes
46281 echo "$as_me: failed program was:" >&5
46282 sed 's/^/| /' conftest.$ac_ext >&5
46284 ac_cv_func_pthread_attr_setstacksize=no
46287 rm -f core conftest.err conftest.$ac_objext \
46288 conftest$ac_exeext conftest.$ac_ext
46290 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
46291 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
46292 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
46293 cat >>confdefs.h <<\_ACEOF
46294 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
46301 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
46302 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
46303 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
46304 echo $ECHO_N "(cached) $ECHO_C" >&6
46307 cat >conftest.$ac_ext <<_ACEOF
46310 cat confdefs.h >>conftest.$ac_ext
46311 cat >>conftest.$ac_ext <<_ACEOF
46312 /* end confdefs.h. */
46313 #include <pthread.h>
46318 pthread_mutexattr_t attr;
46319 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
46325 rm -f conftest.$ac_objext
46326 if { (ac_try="$ac_compile"
46327 case "(($ac_try" in
46328 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46329 *) ac_try_echo
=$ac_try;;
46331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46332 (eval "$ac_compile") 2>conftest.er1
46334 grep -v '^ *+' conftest.er1
>conftest.err
46336 cat conftest.err
>&5
46337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46338 (exit $ac_status); } &&
46339 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46340 { (case "(($ac_try" in
46341 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46342 *) ac_try_echo=$ac_try;;
46344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46345 (eval "$ac_try") 2>&5
46347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46348 (exit $ac_status); }; } &&
46349 { ac_try='test -s conftest.$ac_objext'
46350 { (case "(($ac_try" in
46351 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46352 *) ac_try_echo
=$ac_try;;
46354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46355 (eval "$ac_try") 2>&5
46357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46358 (exit $ac_status); }; }; then
46359 wx_cv_type_pthread_mutexattr_t
=yes
46361 echo "$as_me: failed program was:" >&5
46362 sed 's/^/| /' conftest.
$ac_ext >&5
46364 wx_cv_type_pthread_mutexattr_t
=no
46368 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46371 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
46372 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
46374 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
46375 cat >>confdefs.h
<<\_ACEOF
46376 #define HAVE_PTHREAD_MUTEXATTR_T 1
46380 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
46381 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
46382 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
46383 echo $ECHO_N "(cached) $ECHO_C" >&6
46386 cat >conftest.
$ac_ext <<_ACEOF
46389 cat confdefs.h
>>conftest.
$ac_ext
46390 cat >>conftest.
$ac_ext <<_ACEOF
46391 /* end confdefs.h. */
46392 #include <pthread.h>
46397 pthread_mutexattr_t attr;
46398 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
46404 rm -f conftest.
$ac_objext
46405 if { (ac_try
="$ac_compile"
46406 case "(($ac_try" in
46407 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46408 *) ac_try_echo=$ac_try;;
46410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46411 (eval "$ac_compile") 2>conftest.er1
46413 grep -v '^ *+' conftest.er1 >conftest.err
46415 cat conftest.err >&5
46416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46417 (exit $ac_status); } &&
46418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46419 { (case "(($ac_try" in
46420 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46421 *) ac_try_echo
=$ac_try;;
46423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46424 (eval "$ac_try") 2>&5
46426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46427 (exit $ac_status); }; } &&
46428 { ac_try
='test -s conftest.$ac_objext'
46429 { (case "(($ac_try" in
46430 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46431 *) ac_try_echo=$ac_try;;
46433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46434 (eval "$ac_try") 2>&5
46436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46437 (exit $ac_status); }; }; then
46438 wx_cv_func_pthread_mutexattr_settype_decl=yes
46440 echo "$as_me: failed program was:" >&5
46441 sed 's/^/| /' conftest.$ac_ext >&5
46443 wx_cv_func_pthread_mutexattr_settype_decl=no
46447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46450 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
46451 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
46452 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
46453 cat >>confdefs.h <<\_ACEOF
46454 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
46459 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
46460 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
46461 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
46462 echo $ECHO_N "(cached) $ECHO_C" >&6
46465 cat >conftest.$ac_ext <<_ACEOF
46468 cat confdefs.h >>conftest.$ac_ext
46469 cat >>conftest.$ac_ext <<_ACEOF
46470 /* end confdefs.h. */
46471 #include <pthread.h>
46476 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
46482 rm -f conftest.$ac_objext
46483 if { (ac_try="$ac_compile"
46484 case "(($ac_try" in
46485 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46486 *) ac_try_echo
=$ac_try;;
46488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46489 (eval "$ac_compile") 2>conftest.er1
46491 grep -v '^ *+' conftest.er1
>conftest.err
46493 cat conftest.err
>&5
46494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46495 (exit $ac_status); } &&
46496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46497 { (case "(($ac_try" in
46498 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46499 *) ac_try_echo=$ac_try;;
46501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46502 (eval "$ac_try") 2>&5
46504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46505 (exit $ac_status); }; } &&
46506 { ac_try='test -s conftest.$ac_objext'
46507 { (case "(($ac_try" in
46508 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46509 *) ac_try_echo
=$ac_try;;
46511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46512 (eval "$ac_try") 2>&5
46514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46515 (exit $ac_status); }; }; then
46517 wx_cv_type_pthread_rec_mutex_init
=yes
46520 echo "$as_me: failed program was:" >&5
46521 sed 's/^/| /' conftest.
$ac_ext >&5
46524 wx_cv_type_pthread_rec_mutex_init
=no
46529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46532 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
46533 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
46534 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
46535 cat >>confdefs.h
<<\_ACEOF
46536 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
46540 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
46541 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
46547 if test "$wxUSE_THREADS" = "yes" ; then
46550 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
46551 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
46552 if test "${wx_cv_cflags_mthread+set}" = set; then
46553 echo $ECHO_N "(cached) $ECHO_C" >&6
46556 CFLAGS_OLD
="$CFLAGS"
46557 CFLAGS
="-mthreads $CFLAGS"
46558 cat >conftest.
$ac_ext <<_ACEOF
46561 cat confdefs.h
>>conftest.
$ac_ext
46562 cat >>conftest.
$ac_ext <<_ACEOF
46563 /* end confdefs.h. */
46573 rm -f conftest.
$ac_objext
46574 if { (ac_try
="$ac_compile"
46575 case "(($ac_try" in
46576 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46577 *) ac_try_echo=$ac_try;;
46579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46580 (eval "$ac_compile") 2>conftest.er1
46582 grep -v '^ *+' conftest.er1 >conftest.err
46584 cat conftest.err >&5
46585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46586 (exit $ac_status); } &&
46587 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46588 { (case "(($ac_try" in
46589 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46590 *) ac_try_echo
=$ac_try;;
46592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46593 (eval "$ac_try") 2>&5
46595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46596 (exit $ac_status); }; } &&
46597 { ac_try
='test -s conftest.$ac_objext'
46598 { (case "(($ac_try" in
46599 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46600 *) ac_try_echo=$ac_try;;
46602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46603 (eval "$ac_try") 2>&5
46605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46606 (exit $ac_status); }; }; then
46607 wx_cv_cflags_mthread=yes
46609 echo "$as_me: failed program was:" >&5
46610 sed 's/^/| /' conftest.$ac_ext >&5
46612 wx_cv_cflags_mthread=no
46616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46620 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
46621 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
46623 if test "$wx_cv_cflags_mthread" = "yes"; then
46624 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
46625 LDFLAGS="$LDFLAGS -mthreads"
46627 CFLAGS="$CFLAGS_OLD"
46631 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
46632 LDFLAGS="$LDFLAGS -Zmt"
46638 { echo "$as_me:$LINENO: checking for localtime_r" >&5
46639 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
46640 if test "${ac_cv_func_localtime_r+set}" = set; then
46641 echo $ECHO_N "(cached) $ECHO_C" >&6
46643 cat >conftest.$ac_ext <<_ACEOF
46646 cat confdefs.h >>conftest.$ac_ext
46647 cat >>conftest.$ac_ext <<_ACEOF
46648 /* end confdefs.h. */
46649 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
46650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46651 #define localtime_r innocuous_localtime_r
46653 /* System header to define __stub macros and hopefully few prototypes,
46654 which can conflict with char localtime_r (); below.
46655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46656 <limits.h> exists even on freestanding compilers. */
46659 # include <limits.h>
46661 # include <assert.h>
46666 /* Override any GCC internal prototype to avoid an error.
46667 Use char because int might match the return type of a GCC
46668 builtin and then its argument prototype would still apply. */
46672 char localtime_r ();
46673 /* The GNU C library defines this for functions which it implements
46674 to always fail with ENOSYS. Some functions are actually named
46675 something starting with __ and the normal name is an alias. */
46676 #if defined __stub_localtime_r || defined __stub___localtime_r
46683 return localtime_r ();
46688 rm -f conftest.$ac_objext conftest$ac_exeext
46689 if { (ac_try="$ac_link"
46690 case "(($ac_try" in
46691 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46692 *) ac_try_echo
=$ac_try;;
46694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46695 (eval "$ac_link") 2>conftest.er1
46697 grep -v '^ *+' conftest.er1
>conftest.err
46699 cat conftest.err
>&5
46700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46701 (exit $ac_status); } &&
46702 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46703 { (case "(($ac_try" in
46704 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46705 *) ac_try_echo=$ac_try;;
46707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46708 (eval "$ac_try") 2>&5
46710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46711 (exit $ac_status); }; } &&
46712 { ac_try='test -s conftest$ac_exeext'
46713 { (case "(($ac_try" in
46714 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46715 *) ac_try_echo
=$ac_try;;
46717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46718 (eval "$ac_try") 2>&5
46720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46721 (exit $ac_status); }; }; then
46722 ac_cv_func_localtime_r
=yes
46724 echo "$as_me: failed program was:" >&5
46725 sed 's/^/| /' conftest.
$ac_ext >&5
46727 ac_cv_func_localtime_r
=no
46730 rm -f core conftest.err conftest.
$ac_objext \
46731 conftest
$ac_exeext conftest.
$ac_ext
46733 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
46734 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
46735 if test $ac_cv_func_localtime_r = yes; then
46736 cat >>confdefs.h
<<\_ACEOF
46737 #define HAVE_LOCALTIME_R 1
46742 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
46743 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
46744 if test "${ac_cv_func_gmtime_r+set}" = set; then
46745 echo $ECHO_N "(cached) $ECHO_C" >&6
46747 cat >conftest.
$ac_ext <<_ACEOF
46750 cat confdefs.h
>>conftest.
$ac_ext
46751 cat >>conftest.
$ac_ext <<_ACEOF
46752 /* end confdefs.h. */
46753 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
46754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46755 #define gmtime_r innocuous_gmtime_r
46757 /* System header to define __stub macros and hopefully few prototypes,
46758 which can conflict with char gmtime_r (); below.
46759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46760 <limits.h> exists even on freestanding compilers. */
46763 # include <limits.h>
46765 # include <assert.h>
46770 /* Override any GCC internal prototype to avoid an error.
46771 Use char because int might match the return type of a GCC
46772 builtin and then its argument prototype would still apply. */
46777 /* The GNU C library defines this for functions which it implements
46778 to always fail with ENOSYS. Some functions are actually named
46779 something starting with __ and the normal name is an alias. */
46780 #if defined __stub_gmtime_r || defined __stub___gmtime_r
46787 return gmtime_r ();
46792 rm -f conftest.
$ac_objext conftest
$ac_exeext
46793 if { (ac_try
="$ac_link"
46794 case "(($ac_try" in
46795 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46796 *) ac_try_echo=$ac_try;;
46798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46799 (eval "$ac_link") 2>conftest.er1
46801 grep -v '^ *+' conftest.er1 >conftest.err
46803 cat conftest.err >&5
46804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46805 (exit $ac_status); } &&
46806 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46807 { (case "(($ac_try" in
46808 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46809 *) ac_try_echo
=$ac_try;;
46811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46812 (eval "$ac_try") 2>&5
46814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46815 (exit $ac_status); }; } &&
46816 { ac_try
='test -s conftest$ac_exeext'
46817 { (case "(($ac_try" in
46818 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46819 *) ac_try_echo=$ac_try;;
46821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46822 (eval "$ac_try") 2>&5
46824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46825 (exit $ac_status); }; }; then
46826 ac_cv_func_gmtime_r=yes
46828 echo "$as_me: failed program was:" >&5
46829 sed 's/^/| /' conftest.$ac_ext >&5
46831 ac_cv_func_gmtime_r=no
46834 rm -f core conftest.err conftest.$ac_objext \
46835 conftest$ac_exeext conftest.$ac_ext
46837 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
46838 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
46839 if test $ac_cv_func_gmtime_r = yes; then
46840 cat >>confdefs.h <<\_ACEOF
46841 #define HAVE_GMTIME_R 1
46846 { echo "$as_me:$LINENO: checking for readdir_r" >&5
46847 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
46848 if test "${ac_cv_func_readdir_r+set}" = set; then
46849 echo $ECHO_N "(cached) $ECHO_C" >&6
46851 cat >conftest.$ac_ext <<_ACEOF
46854 cat confdefs.h >>conftest.$ac_ext
46855 cat >>conftest.$ac_ext <<_ACEOF
46856 /* end confdefs.h. */
46857 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
46858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46859 #define readdir_r innocuous_readdir_r
46861 /* System header to define __stub macros and hopefully few prototypes,
46862 which can conflict with char readdir_r (); below.
46863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46864 <limits.h> exists even on freestanding compilers. */
46867 # include <limits.h>
46869 # include <assert.h>
46874 /* Override any GCC internal prototype to avoid an error.
46875 Use char because int might match the return type of a GCC
46876 builtin and then its argument prototype would still apply. */
46881 /* The GNU C library defines this for functions which it implements
46882 to always fail with ENOSYS. Some functions are actually named
46883 something starting with __ and the normal name is an alias. */
46884 #if defined __stub_readdir_r || defined __stub___readdir_r
46891 return readdir_r ();
46896 rm -f conftest.$ac_objext conftest$ac_exeext
46897 if { (ac_try="$ac_link"
46898 case "(($ac_try" in
46899 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46900 *) ac_try_echo
=$ac_try;;
46902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46903 (eval "$ac_link") 2>conftest.er1
46905 grep -v '^ *+' conftest.er1
>conftest.err
46907 cat conftest.err
>&5
46908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46909 (exit $ac_status); } &&
46910 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46911 { (case "(($ac_try" in
46912 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46913 *) ac_try_echo=$ac_try;;
46915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46916 (eval "$ac_try") 2>&5
46918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46919 (exit $ac_status); }; } &&
46920 { ac_try='test -s conftest$ac_exeext'
46921 { (case "(($ac_try" in
46922 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46923 *) ac_try_echo
=$ac_try;;
46925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46926 (eval "$ac_try") 2>&5
46928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46929 (exit $ac_status); }; }; then
46930 ac_cv_func_readdir_r
=yes
46932 echo "$as_me: failed program was:" >&5
46933 sed 's/^/| /' conftest.
$ac_ext >&5
46935 ac_cv_func_readdir_r
=no
46938 rm -f core conftest.err conftest.
$ac_objext \
46939 conftest
$ac_exeext conftest.
$ac_ext
46941 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
46942 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
46943 if test $ac_cv_func_readdir_r = yes; then
46944 cat >>confdefs.h
<<\_ACEOF
46945 #define HAVE_READDIR_R 1
46954 ac_cpp
='$CPP $CPPFLAGS'
46955 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46956 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46957 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46959 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
46960 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
46962 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
46963 echo $ECHO_N "(cached) $ECHO_C" >&6
46967 ################################################################
46969 ac_cv_func_which_gethostbyname_r
=unknown
46972 # ONE ARGUMENT (sanity check)
46975 # This should fail, as there is no variant of gethostbyname_r() that takes
46976 # a single argument. If it actually compiles, then we can assume that
46977 # netdb.h is not declaring the function, and the compiler is thereby
46978 # assuming an implicit prototype. In which case, we're out of luck.
46980 cat >conftest.
$ac_ext <<_ACEOF
46983 cat confdefs.h
>>conftest.
$ac_ext
46984 cat >>conftest.
$ac_ext <<_ACEOF
46985 /* end confdefs.h. */
46991 char *name = "www.gnu.org";
46992 (void)gethostbyname_r(name) /* ; */
46998 rm -f conftest.
$ac_objext
46999 if { (ac_try
="$ac_compile"
47000 case "(($ac_try" in
47001 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47002 *) ac_try_echo=$ac_try;;
47004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47005 (eval "$ac_compile") 2>conftest.er1
47007 grep -v '^ *+' conftest.er1 >conftest.err
47009 cat conftest.err >&5
47010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47011 (exit $ac_status); } &&
47012 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47013 { (case "(($ac_try" in
47014 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47015 *) ac_try_echo
=$ac_try;;
47017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47018 (eval "$ac_try") 2>&5
47020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47021 (exit $ac_status); }; } &&
47022 { ac_try
='test -s conftest.$ac_objext'
47023 { (case "(($ac_try" in
47024 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47025 *) ac_try_echo=$ac_try;;
47027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47028 (eval "$ac_try") 2>&5
47030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47031 (exit $ac_status); }; }; then
47032 ac_cv_func_which_gethostbyname_r=no
47034 echo "$as_me: failed program was:" >&5
47035 sed 's/^/| /' conftest.$ac_ext >&5
47040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47047 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
47049 cat >conftest.$ac_ext <<_ACEOF
47052 cat confdefs.h >>conftest.$ac_ext
47053 cat >>conftest.$ac_ext <<_ACEOF
47054 /* end confdefs.h. */
47060 char *name = "www.gnu.org";
47061 struct hostent ret, *retp;
47065 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
47071 rm -f conftest.$ac_objext
47072 if { (ac_try="$ac_compile"
47073 case "(($ac_try" in
47074 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47075 *) ac_try_echo
=$ac_try;;
47077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47078 (eval "$ac_compile") 2>conftest.er1
47080 grep -v '^ *+' conftest.er1
>conftest.err
47082 cat conftest.err
>&5
47083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47084 (exit $ac_status); } &&
47085 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47086 { (case "(($ac_try" in
47087 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47088 *) ac_try_echo=$ac_try;;
47090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47091 (eval "$ac_try") 2>&5
47093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47094 (exit $ac_status); }; } &&
47095 { ac_try='test -s conftest.$ac_objext'
47096 { (case "(($ac_try" in
47097 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47098 *) ac_try_echo
=$ac_try;;
47100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47101 (eval "$ac_try") 2>&5
47103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47104 (exit $ac_status); }; }; then
47105 ac_cv_func_which_gethostbyname_r
=six
47107 echo "$as_me: failed program was:" >&5
47108 sed 's/^/| /' conftest.
$ac_ext >&5
47113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47122 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
47124 cat >conftest.
$ac_ext <<_ACEOF
47127 cat confdefs.h
>>conftest.
$ac_ext
47128 cat >>conftest.
$ac_ext <<_ACEOF
47129 /* end confdefs.h. */
47135 char *name = "www.gnu.org";
47136 struct hostent ret;
47140 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
47146 rm -f conftest.
$ac_objext
47147 if { (ac_try
="$ac_compile"
47148 case "(($ac_try" in
47149 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47150 *) ac_try_echo=$ac_try;;
47152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47153 (eval "$ac_compile") 2>conftest.er1
47155 grep -v '^ *+' conftest.er1 >conftest.err
47157 cat conftest.err >&5
47158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47159 (exit $ac_status); } &&
47160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47161 { (case "(($ac_try" in
47162 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47163 *) ac_try_echo
=$ac_try;;
47165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47166 (eval "$ac_try") 2>&5
47168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47169 (exit $ac_status); }; } &&
47170 { ac_try
='test -s conftest.$ac_objext'
47171 { (case "(($ac_try" in
47172 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47173 *) ac_try_echo=$ac_try;;
47175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47176 (eval "$ac_try") 2>&5
47178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47179 (exit $ac_status); }; }; then
47180 ac_cv_func_which_gethostbyname_r=five
47182 echo "$as_me: failed program was:" >&5
47183 sed 's/^/| /' conftest.$ac_ext >&5
47188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47194 # (e.g. AIX, HP-UX, Tru64)
47197 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
47199 cat >conftest.$ac_ext <<_ACEOF
47202 cat confdefs.h >>conftest.$ac_ext
47203 cat >>conftest.$ac_ext <<_ACEOF
47204 /* end confdefs.h. */
47210 char *name = "www.gnu.org";
47211 struct hostent ret;
47212 struct hostent_data data;
47213 (void)gethostbyname_r(name, &ret, &data) /* ; */
47219 rm -f conftest.$ac_objext
47220 if { (ac_try="$ac_compile"
47221 case "(($ac_try" in
47222 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47223 *) ac_try_echo
=$ac_try;;
47225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47226 (eval "$ac_compile") 2>conftest.er1
47228 grep -v '^ *+' conftest.er1
>conftest.err
47230 cat conftest.err
>&5
47231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47232 (exit $ac_status); } &&
47233 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47234 { (case "(($ac_try" in
47235 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47236 *) ac_try_echo=$ac_try;;
47238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47239 (eval "$ac_try") 2>&5
47241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47242 (exit $ac_status); }; } &&
47243 { ac_try='test -s conftest.$ac_objext'
47244 { (case "(($ac_try" in
47245 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47246 *) ac_try_echo
=$ac_try;;
47248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47249 (eval "$ac_try") 2>&5
47251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47252 (exit $ac_status); }; }; then
47253 ac_cv_func_which_gethostbyname_r
=three
47255 echo "$as_me: failed program was:" >&5
47256 sed 's/^/| /' conftest.
$ac_ext >&5
47261 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47265 ################################################################
47270 case "$ac_cv_func_which_gethostbyname_r" in
47272 { echo "$as_me:$LINENO: result: three" >&5
47273 echo "${ECHO_T}three" >&6; }
47274 cat >>confdefs.h
<<\_ACEOF
47275 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
47281 { echo "$as_me:$LINENO: result: five" >&5
47282 echo "${ECHO_T}five" >&6; }
47283 cat >>confdefs.h
<<\_ACEOF
47284 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
47290 { echo "$as_me:$LINENO: result: six" >&5
47291 echo "${ECHO_T}six" >&6; }
47292 cat >>confdefs.h
<<\_ACEOF
47293 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
47299 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
47300 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
47304 { echo "$as_me:$LINENO: result: can't tell" >&5
47305 echo "${ECHO_T}can't tell" >&6; }
47309 { { echo "$as_me:$LINENO: error: internal error" >&5
47310 echo "$as_me: error: internal error" >&2;}
47311 { (exit 1); exit 1; }; }
47316 ac_cpp
='$CPP $CPPFLAGS'
47317 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47318 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47319 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47323 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
47324 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
47325 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
47326 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
47327 if test "${ac_cv_func_gethostbyname+set}" = set; then
47328 echo $ECHO_N "(cached) $ECHO_C" >&6
47330 cat >conftest.
$ac_ext <<_ACEOF
47333 cat confdefs.h
>>conftest.
$ac_ext
47334 cat >>conftest.
$ac_ext <<_ACEOF
47335 /* end confdefs.h. */
47336 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
47337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47338 #define gethostbyname innocuous_gethostbyname
47340 /* System header to define __stub macros and hopefully few prototypes,
47341 which can conflict with char gethostbyname (); below.
47342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47343 <limits.h> exists even on freestanding compilers. */
47346 # include <limits.h>
47348 # include <assert.h>
47351 #undef gethostbyname
47353 /* Override any GCC internal prototype to avoid an error.
47354 Use char because int might match the return type of a GCC
47355 builtin and then its argument prototype would still apply. */
47359 char gethostbyname ();
47360 /* The GNU C library defines this for functions which it implements
47361 to always fail with ENOSYS. Some functions are actually named
47362 something starting with __ and the normal name is an alias. */
47363 #if defined __stub_gethostbyname || defined __stub___gethostbyname
47370 return gethostbyname ();
47375 rm -f conftest.
$ac_objext conftest
$ac_exeext
47376 if { (ac_try
="$ac_link"
47377 case "(($ac_try" in
47378 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47379 *) ac_try_echo=$ac_try;;
47381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47382 (eval "$ac_link") 2>conftest.er1
47384 grep -v '^ *+' conftest.er1 >conftest.err
47386 cat conftest.err >&5
47387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47388 (exit $ac_status); } &&
47389 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47390 { (case "(($ac_try" in
47391 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47392 *) ac_try_echo
=$ac_try;;
47394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47395 (eval "$ac_try") 2>&5
47397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47398 (exit $ac_status); }; } &&
47399 { ac_try
='test -s conftest$ac_exeext'
47400 { (case "(($ac_try" in
47401 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47402 *) ac_try_echo=$ac_try;;
47404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47405 (eval "$ac_try") 2>&5
47407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47408 (exit $ac_status); }; }; then
47409 ac_cv_func_gethostbyname=yes
47411 echo "$as_me: failed program was:" >&5
47412 sed 's/^/| /' conftest.$ac_ext >&5
47414 ac_cv_func_gethostbyname=no
47417 rm -f core conftest.err conftest.$ac_objext \
47418 conftest$ac_exeext conftest.$ac_ext
47420 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
47421 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
47422 if test $ac_cv_func_gethostbyname = yes; then
47423 cat >>confdefs.h <<\_ACEOF
47424 #define HAVE_GETHOSTBYNAME 1
47431 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
47432 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
47433 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
47434 echo $ECHO_N "(cached) $ECHO_C" >&6
47438 ac_cpp='$CXXCPP $CPPFLAGS'
47439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47444 cat >conftest.$ac_ext <<_ACEOF
47447 cat confdefs.h >>conftest.$ac_ext
47448 cat >>conftest.$ac_ext <<_ACEOF
47449 /* end confdefs.h. */
47457 struct servent *se, *res;
47460 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
47466 rm -f conftest.$ac_objext
47467 if { (ac_try="$ac_compile"
47468 case "(($ac_try" in
47469 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47470 *) ac_try_echo
=$ac_try;;
47472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47473 (eval "$ac_compile") 2>conftest.er1
47475 grep -v '^ *+' conftest.er1
>conftest.err
47477 cat conftest.err
>&5
47478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47479 (exit $ac_status); } &&
47480 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47481 { (case "(($ac_try" in
47482 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47483 *) ac_try_echo=$ac_try;;
47485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47486 (eval "$ac_try") 2>&5
47488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47489 (exit $ac_status); }; } &&
47490 { ac_try='test -s conftest.$ac_objext'
47491 { (case "(($ac_try" in
47492 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47493 *) ac_try_echo
=$ac_try;;
47495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47496 (eval "$ac_try") 2>&5
47498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47499 (exit $ac_status); }; }; then
47500 ac_cv_func_which_getservbyname_r
=six
47502 echo "$as_me: failed program was:" >&5
47503 sed 's/^/| /' conftest.
$ac_ext >&5
47506 cat >conftest.
$ac_ext <<_ACEOF
47509 cat confdefs.h
>>conftest.
$ac_ext
47510 cat >>conftest.
$ac_ext <<_ACEOF
47511 /* end confdefs.h. */
47519 struct servent *se;
47522 (void) getservbyname_r(name, proto, se, buffer, buflen)
47528 rm -f conftest.
$ac_objext
47529 if { (ac_try
="$ac_compile"
47530 case "(($ac_try" in
47531 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47532 *) ac_try_echo=$ac_try;;
47534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47535 (eval "$ac_compile") 2>conftest.er1
47537 grep -v '^ *+' conftest.er1 >conftest.err
47539 cat conftest.err >&5
47540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47541 (exit $ac_status); } &&
47542 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47543 { (case "(($ac_try" in
47544 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47545 *) ac_try_echo
=$ac_try;;
47547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47548 (eval "$ac_try") 2>&5
47550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47551 (exit $ac_status); }; } &&
47552 { ac_try
='test -s conftest.$ac_objext'
47553 { (case "(($ac_try" in
47554 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47555 *) ac_try_echo=$ac_try;;
47557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47558 (eval "$ac_try") 2>&5
47560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47561 (exit $ac_status); }; }; then
47562 ac_cv_func_which_getservbyname_r=five
47564 echo "$as_me: failed program was:" >&5
47565 sed 's/^/| /' conftest.$ac_ext >&5
47568 cat >conftest.$ac_ext <<_ACEOF
47571 cat confdefs.h >>conftest.$ac_ext
47572 cat >>conftest.$ac_ext <<_ACEOF
47573 /* end confdefs.h. */
47581 struct servent *se;
47582 struct servent_data data;
47583 (void) getservbyname_r(name, proto, se, &data);
47589 rm -f conftest.$ac_objext
47590 if { (ac_try="$ac_compile"
47591 case "(($ac_try" in
47592 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47593 *) ac_try_echo
=$ac_try;;
47595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47596 (eval "$ac_compile") 2>conftest.er1
47598 grep -v '^ *+' conftest.er1
>conftest.err
47600 cat conftest.err
>&5
47601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47602 (exit $ac_status); } &&
47603 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47604 { (case "(($ac_try" in
47605 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47606 *) ac_try_echo=$ac_try;;
47608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47609 (eval "$ac_try") 2>&5
47611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47612 (exit $ac_status); }; } &&
47613 { ac_try='test -s conftest.$ac_objext'
47614 { (case "(($ac_try" in
47615 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47616 *) ac_try_echo
=$ac_try;;
47618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47619 (eval "$ac_try") 2>&5
47621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47622 (exit $ac_status); }; }; then
47623 ac_cv_func_which_getservbyname_r
=four
47625 echo "$as_me: failed program was:" >&5
47626 sed 's/^/| /' conftest.
$ac_ext >&5
47628 ac_cv_func_which_getservbyname_r
=no
47632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47642 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47644 ac_cpp
='$CPP $CPPFLAGS'
47645 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47646 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47647 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47652 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
47653 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
47655 if test $ac_cv_func_which_getservbyname_r = six
; then
47656 cat >>confdefs.h
<<\_ACEOF
47657 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
47660 elif test $ac_cv_func_which_getservbyname_r = five
; then
47661 cat >>confdefs.h
<<\_ACEOF
47662 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
47665 elif test $ac_cv_func_which_getservbyname_r = four
; then
47666 cat >>confdefs.h
<<\_ACEOF
47667 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
47673 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
47674 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
47676 for ac_func
in getservbyname
47678 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47679 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47681 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47682 echo $ECHO_N "(cached) $ECHO_C" >&6
47684 cat >conftest.
$ac_ext <<_ACEOF
47687 cat confdefs.h
>>conftest.
$ac_ext
47688 cat >>conftest.
$ac_ext <<_ACEOF
47689 /* end confdefs.h. */
47690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47692 #define $ac_func innocuous_$ac_func
47694 /* System header to define __stub macros and hopefully few prototypes,
47695 which can conflict with char $ac_func (); below.
47696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47697 <limits.h> exists even on freestanding compilers. */
47700 # include <limits.h>
47702 # include <assert.h>
47707 /* Override any GCC internal prototype to avoid an error.
47708 Use char because int might match the return type of a GCC
47709 builtin and then its argument prototype would still apply. */
47714 /* The GNU C library defines this for functions which it implements
47715 to always fail with ENOSYS. Some functions are actually named
47716 something starting with __ and the normal name is an alias. */
47717 #if defined __stub_$ac_func || defined __stub___$ac_func
47724 return $ac_func ();
47729 rm -f conftest.
$ac_objext conftest
$ac_exeext
47730 if { (ac_try
="$ac_link"
47731 case "(($ac_try" in
47732 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47733 *) ac_try_echo=$ac_try;;
47735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47736 (eval "$ac_link") 2>conftest.er1
47738 grep -v '^ *+' conftest.er1 >conftest.err
47740 cat conftest.err >&5
47741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47742 (exit $ac_status); } &&
47743 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47744 { (case "(($ac_try" in
47745 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47746 *) ac_try_echo
=$ac_try;;
47748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47749 (eval "$ac_try") 2>&5
47751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47752 (exit $ac_status); }; } &&
47753 { ac_try
='test -s conftest$ac_exeext'
47754 { (case "(($ac_try" in
47755 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47756 *) ac_try_echo=$ac_try;;
47758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47759 (eval "$ac_try") 2>&5
47761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47762 (exit $ac_status); }; }; then
47763 eval "$as_ac_var=yes"
47765 echo "$as_me: failed program was:" >&5
47766 sed 's/^/| /' conftest.$ac_ext >&5
47768 eval "$as_ac_var=no"
47771 rm -f core conftest.err conftest.$ac_objext \
47772 conftest$ac_exeext conftest.$ac_ext
47774 ac_res=`eval echo '${'$as_ac_var'}'`
47775 { echo "$as_me:$LINENO: result: $ac_res" >&5
47776 echo "${ECHO_T}$ac_res" >&6; }
47777 if test `eval echo '${'$as_ac_var'}'` = yes; then
47778 cat >>confdefs.h <<_ACEOF
47779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47781 cat >>confdefs.h <<\_ACEOF
47782 #define HAVE_GETSERVBYNAME 1
47790 if test "$wxUSE_THREADS" = "yes"; then
47791 cat >>confdefs.h <<\_ACEOF
47792 #define wxUSE_THREADS 1
47796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
47798 if test "$wx_cv_func_strtok_r" = "yes"; then
47799 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
47800 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
47801 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
47802 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
47803 { echo "$as_me:$LINENO: result: yes" >&5
47804 echo "${ECHO_T}yes" >&6; }
47806 { echo "$as_me:$LINENO: result: no" >&5
47807 echo "${ECHO_T}no" >&6; }
47812 if test "$WXGTK20" = 1 ; then
47813 cat >>confdefs.h <<_ACEOF
47814 #define __WXGTK20__ $WXGTK20
47820 if test "$WXGTK12" = 1 ; then
47821 cat >>confdefs.h <<_ACEOF
47822 #define __WXGTK12__ $WXGTK12
47827 if test "$WXGTK127" = 1 ; then
47828 cat >>confdefs.h <<_ACEOF
47829 #define __WXGTK127__ $WXGTK127
47834 if test "$WXGPE" = 1 ; then
47835 cat >>confdefs.h <<_ACEOF
47836 #define __WXGPE__ $WXGPE
47842 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
47847 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
47848 wxUSE_DEBUG_INFO=yes
47849 if test "$GCC" = yes; then
47850 DEBUG_CFLAGS="-ggdb"
47854 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
47855 cat >>confdefs.h <<\_ACEOF
47859 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
47861 if test "$wxUSE_GTK" = 1 ; then
47862 if test "x$wxGTK_VERSION" = "x1" ; then
47863 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
47868 if test "$wxUSE_MEM_TRACING" = "yes" ; then
47869 cat >>confdefs.h <<\_ACEOF
47870 #define wxUSE_MEMORY_TRACING 1
47873 cat >>confdefs.h <<\_ACEOF
47874 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
47877 cat >>confdefs.h <<\_ACEOF
47878 #define wxUSE_DEBUG_NEW_ALWAYS 1
47881 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
47884 if test "$wxUSE_DMALLOC" = "yes" ; then
47885 DMALLOC_LIBS="-ldmallocthcxx"
47889 if test "$wxUSE_PROFILE" = "yes" ; then
47890 PROFILE_FLAGS=" -pg"
47893 if test "$GCC" = "yes" ; then
47894 if test "$wxUSE_NO_RTTI" = "yes" ; then
47895 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
47897 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47898 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
47900 if test "$wxUSE_PERMISSIVE" = "yes" ; then
47901 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
47906 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
47909 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
47915 if test "$wxUSE_OPTIMISE" = "no" ; then
47916 if test "$GCC" = yes ; then
47917 OPTIMISE_CFLAGS="-O0"
47920 if test "$GCC" = yes ; then
47922 *-pc-os2_emx | *-pc-os2-emx )
47923 OPTIMISE_CFLAGS="-O2"
47926 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
47930 OPTIMISE_CFLAGS="-O"
47935 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
47936 cat >>confdefs.h <<\_ACEOF
47937 #define WXWIN_COMPATIBILITY_2_4 1
47941 WXWIN_COMPATIBILITY_2_6="yes"
47944 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
47945 cat >>confdefs.h <<\_ACEOF
47946 #define WXWIN_COMPATIBILITY_2_6 1
47950 WXWIN_COMPATIBILITY_2_8="yes"
47953 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
47954 cat >>confdefs.h <<\_ACEOF
47955 #define WXWIN_COMPATIBILITY_2_8 1
47961 if test "$wxUSE_GUI" = "yes"; then
47962 cat >>confdefs.h <<\_ACEOF
47963 #define wxUSE_GUI 1
47970 if test "$wxUSE_UNIX" = "yes"; then
47971 cat >>confdefs.h <<\_ACEOF
47972 #define wxUSE_UNIX 1
47978 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
47982 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
47983 if test "$USE_DARWIN" = 1; then
47985 elif test "$USE_DOS" = 1; then
47989 for ac_func in dlopen
47991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47992 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47994 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47995 echo $ECHO_N "(cached) $ECHO_C" >&6
47997 cat >conftest.$ac_ext <<_ACEOF
48000 cat confdefs.h >>conftest.$ac_ext
48001 cat >>conftest.$ac_ext <<_ACEOF
48002 /* end confdefs.h. */
48003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48005 #define $ac_func innocuous_$ac_func
48007 /* System header to define __stub macros and hopefully few prototypes,
48008 which can conflict with char $ac_func (); below.
48009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48010 <limits.h> exists even on freestanding compilers. */
48013 # include <limits.h>
48015 # include <assert.h>
48020 /* Override any GCC internal prototype to avoid an error.
48021 Use char because int might match the return type of a GCC
48022 builtin and then its argument prototype would still apply. */
48027 /* The GNU C library defines this for functions which it implements
48028 to always fail with ENOSYS. Some functions are actually named
48029 something starting with __ and the normal name is an alias. */
48030 #if defined __stub_$ac_func || defined __stub___$ac_func
48037 return $ac_func ();
48042 rm -f conftest.$ac_objext conftest$ac_exeext
48043 if { (ac_try="$ac_link"
48044 case "(($ac_try" in
48045 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48046 *) ac_try_echo
=$ac_try;;
48048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48049 (eval "$ac_link") 2>conftest.er1
48051 grep -v '^ *+' conftest.er1
>conftest.err
48053 cat conftest.err
>&5
48054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48055 (exit $ac_status); } &&
48056 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48057 { (case "(($ac_try" in
48058 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48059 *) ac_try_echo=$ac_try;;
48061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48062 (eval "$ac_try") 2>&5
48064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48065 (exit $ac_status); }; } &&
48066 { ac_try='test -s conftest$ac_exeext'
48067 { (case "(($ac_try" in
48068 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48069 *) ac_try_echo
=$ac_try;;
48071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48072 (eval "$ac_try") 2>&5
48074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48075 (exit $ac_status); }; }; then
48076 eval "$as_ac_var=yes"
48078 echo "$as_me: failed program was:" >&5
48079 sed 's/^/| /' conftest.
$ac_ext >&5
48081 eval "$as_ac_var=no"
48084 rm -f core conftest.err conftest.
$ac_objext \
48085 conftest
$ac_exeext conftest.
$ac_ext
48087 ac_res
=`eval echo '${'$as_ac_var'}'`
48088 { echo "$as_me:$LINENO: result: $ac_res" >&5
48089 echo "${ECHO_T}$ac_res" >&6; }
48090 if test `eval echo '${'$as_ac_var'}'` = yes; then
48091 cat >>confdefs.h
<<_ACEOF
48092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48095 cat >>confdefs.h
<<\_ACEOF
48096 #define HAVE_DLOPEN 1
48103 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
48104 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
48105 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
48106 echo $ECHO_N "(cached) $ECHO_C" >&6
48108 ac_check_lib_save_LIBS
=$LIBS
48110 cat >conftest.
$ac_ext <<_ACEOF
48113 cat confdefs.h
>>conftest.
$ac_ext
48114 cat >>conftest.
$ac_ext <<_ACEOF
48115 /* end confdefs.h. */
48117 /* Override any GCC internal prototype to avoid an error.
48118 Use char because int might match the return type of a GCC
48119 builtin and then its argument prototype would still apply. */
48132 rm -f conftest.
$ac_objext conftest
$ac_exeext
48133 if { (ac_try
="$ac_link"
48134 case "(($ac_try" in
48135 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48136 *) ac_try_echo=$ac_try;;
48138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48139 (eval "$ac_link") 2>conftest.er1
48141 grep -v '^ *+' conftest.er1 >conftest.err
48143 cat conftest.err >&5
48144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48145 (exit $ac_status); } &&
48146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48147 { (case "(($ac_try" in
48148 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48149 *) ac_try_echo
=$ac_try;;
48151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48152 (eval "$ac_try") 2>&5
48154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48155 (exit $ac_status); }; } &&
48156 { ac_try
='test -s conftest$ac_exeext'
48157 { (case "(($ac_try" in
48158 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48159 *) ac_try_echo=$ac_try;;
48161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48162 (eval "$ac_try") 2>&5
48164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48165 (exit $ac_status); }; }; then
48166 ac_cv_lib_dl_dlopen=yes
48168 echo "$as_me: failed program was:" >&5
48169 sed 's/^/| /' conftest.$ac_ext >&5
48171 ac_cv_lib_dl_dlopen=no
48174 rm -f core conftest.err conftest.$ac_objext \
48175 conftest$ac_exeext conftest.$ac_ext
48176 LIBS=$ac_check_lib_save_LIBS
48178 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
48179 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
48180 if test $ac_cv_lib_dl_dlopen = yes; then
48182 cat >>confdefs.h <<\_ACEOF
48183 #define HAVE_DLOPEN 1
48187 DL_LINK=" -ldl$DL_LINK"
48192 for ac_func in shl_load
48194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48195 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48197 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48198 echo $ECHO_N "(cached) $ECHO_C" >&6
48200 cat >conftest.$ac_ext <<_ACEOF
48203 cat confdefs.h >>conftest.$ac_ext
48204 cat >>conftest.$ac_ext <<_ACEOF
48205 /* end confdefs.h. */
48206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48208 #define $ac_func innocuous_$ac_func
48210 /* System header to define __stub macros and hopefully few prototypes,
48211 which can conflict with char $ac_func (); below.
48212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48213 <limits.h> exists even on freestanding compilers. */
48216 # include <limits.h>
48218 # include <assert.h>
48223 /* Override any GCC internal prototype to avoid an error.
48224 Use char because int might match the return type of a GCC
48225 builtin and then its argument prototype would still apply. */
48230 /* The GNU C library defines this for functions which it implements
48231 to always fail with ENOSYS. Some functions are actually named
48232 something starting with __ and the normal name is an alias. */
48233 #if defined __stub_$ac_func || defined __stub___$ac_func
48240 return $ac_func ();
48245 rm -f conftest.$ac_objext conftest$ac_exeext
48246 if { (ac_try="$ac_link"
48247 case "(($ac_try" in
48248 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48249 *) ac_try_echo
=$ac_try;;
48251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48252 (eval "$ac_link") 2>conftest.er1
48254 grep -v '^ *+' conftest.er1
>conftest.err
48256 cat conftest.err
>&5
48257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48258 (exit $ac_status); } &&
48259 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48260 { (case "(($ac_try" in
48261 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48262 *) ac_try_echo=$ac_try;;
48264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48265 (eval "$ac_try") 2>&5
48267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48268 (exit $ac_status); }; } &&
48269 { ac_try='test -s conftest$ac_exeext'
48270 { (case "(($ac_try" in
48271 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48272 *) ac_try_echo
=$ac_try;;
48274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48275 (eval "$ac_try") 2>&5
48277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48278 (exit $ac_status); }; }; then
48279 eval "$as_ac_var=yes"
48281 echo "$as_me: failed program was:" >&5
48282 sed 's/^/| /' conftest.
$ac_ext >&5
48284 eval "$as_ac_var=no"
48287 rm -f core conftest.err conftest.
$ac_objext \
48288 conftest
$ac_exeext conftest.
$ac_ext
48290 ac_res
=`eval echo '${'$as_ac_var'}'`
48291 { echo "$as_me:$LINENO: result: $ac_res" >&5
48292 echo "${ECHO_T}$ac_res" >&6; }
48293 if test `eval echo '${'$as_ac_var'}'` = yes; then
48294 cat >>confdefs.h
<<_ACEOF
48295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48298 cat >>confdefs.h
<<\_ACEOF
48299 #define HAVE_SHL_LOAD 1
48306 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
48307 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
48308 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
48309 echo $ECHO_N "(cached) $ECHO_C" >&6
48311 ac_check_lib_save_LIBS
=$LIBS
48312 LIBS
="-lshl_load $LIBS"
48313 cat >conftest.
$ac_ext <<_ACEOF
48316 cat confdefs.h
>>conftest.
$ac_ext
48317 cat >>conftest.
$ac_ext <<_ACEOF
48318 /* end confdefs.h. */
48320 /* Override any GCC internal prototype to avoid an error.
48321 Use char because int might match the return type of a GCC
48322 builtin and then its argument prototype would still apply. */
48335 rm -f conftest.
$ac_objext conftest
$ac_exeext
48336 if { (ac_try
="$ac_link"
48337 case "(($ac_try" in
48338 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48339 *) ac_try_echo=$ac_try;;
48341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48342 (eval "$ac_link") 2>conftest.er1
48344 grep -v '^ *+' conftest.er1 >conftest.err
48346 cat conftest.err >&5
48347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48348 (exit $ac_status); } &&
48349 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48350 { (case "(($ac_try" in
48351 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48352 *) ac_try_echo
=$ac_try;;
48354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48355 (eval "$ac_try") 2>&5
48357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48358 (exit $ac_status); }; } &&
48359 { ac_try
='test -s conftest$ac_exeext'
48360 { (case "(($ac_try" in
48361 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48362 *) ac_try_echo=$ac_try;;
48364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48365 (eval "$ac_try") 2>&5
48367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48368 (exit $ac_status); }; }; then
48369 ac_cv_lib_shl_load_dld=yes
48371 echo "$as_me: failed program was:" >&5
48372 sed 's/^/| /' conftest.$ac_ext >&5
48374 ac_cv_lib_shl_load_dld=no
48377 rm -f core conftest.err conftest.$ac_objext \
48378 conftest$ac_exeext conftest.$ac_ext
48379 LIBS=$ac_check_lib_save_LIBS
48381 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
48382 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
48383 if test $ac_cv_lib_shl_load_dld = yes; then
48386 DL_LINK=" -ldld$DL_LINK"
48402 if test "$HAVE_DL_FUNCS" = 1; then
48404 for ac_func in dlerror
48406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48407 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48409 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48410 echo $ECHO_N "(cached) $ECHO_C" >&6
48412 cat >conftest.$ac_ext <<_ACEOF
48415 cat confdefs.h >>conftest.$ac_ext
48416 cat >>conftest.$ac_ext <<_ACEOF
48417 /* end confdefs.h. */
48418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48420 #define $ac_func innocuous_$ac_func
48422 /* System header to define __stub macros and hopefully few prototypes,
48423 which can conflict with char $ac_func (); below.
48424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48425 <limits.h> exists even on freestanding compilers. */
48428 # include <limits.h>
48430 # include <assert.h>
48435 /* Override any GCC internal prototype to avoid an error.
48436 Use char because int might match the return type of a GCC
48437 builtin and then its argument prototype would still apply. */
48442 /* The GNU C library defines this for functions which it implements
48443 to always fail with ENOSYS. Some functions are actually named
48444 something starting with __ and the normal name is an alias. */
48445 #if defined __stub_$ac_func || defined __stub___$ac_func
48452 return $ac_func ();
48457 rm -f conftest.$ac_objext conftest$ac_exeext
48458 if { (ac_try="$ac_link"
48459 case "(($ac_try" in
48460 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48461 *) ac_try_echo
=$ac_try;;
48463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48464 (eval "$ac_link") 2>conftest.er1
48466 grep -v '^ *+' conftest.er1
>conftest.err
48468 cat conftest.err
>&5
48469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48470 (exit $ac_status); } &&
48471 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48472 { (case "(($ac_try" in
48473 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48474 *) ac_try_echo=$ac_try;;
48476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48477 (eval "$ac_try") 2>&5
48479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48480 (exit $ac_status); }; } &&
48481 { ac_try='test -s conftest$ac_exeext'
48482 { (case "(($ac_try" in
48483 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48484 *) ac_try_echo
=$ac_try;;
48486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48487 (eval "$ac_try") 2>&5
48489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48490 (exit $ac_status); }; }; then
48491 eval "$as_ac_var=yes"
48493 echo "$as_me: failed program was:" >&5
48494 sed 's/^/| /' conftest.
$ac_ext >&5
48496 eval "$as_ac_var=no"
48499 rm -f core conftest.err conftest.
$ac_objext \
48500 conftest
$ac_exeext conftest.
$ac_ext
48502 ac_res
=`eval echo '${'$as_ac_var'}'`
48503 { echo "$as_me:$LINENO: result: $ac_res" >&5
48504 echo "${ECHO_T}$ac_res" >&6; }
48505 if test `eval echo '${'$as_ac_var'}'` = yes; then
48506 cat >>confdefs.h
<<_ACEOF
48507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48509 cat >>confdefs.h
<<\_ACEOF
48510 #define HAVE_DLERROR 1
48515 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
48516 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
48517 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
48518 echo $ECHO_N "(cached) $ECHO_C" >&6
48520 ac_check_lib_save_LIBS
=$LIBS
48522 cat >conftest.
$ac_ext <<_ACEOF
48525 cat confdefs.h
>>conftest.
$ac_ext
48526 cat >>conftest.
$ac_ext <<_ACEOF
48527 /* end confdefs.h. */
48529 /* Override any GCC internal prototype to avoid an error.
48530 Use char because int might match the return type of a GCC
48531 builtin and then its argument prototype would still apply. */
48544 rm -f conftest.
$ac_objext conftest
$ac_exeext
48545 if { (ac_try
="$ac_link"
48546 case "(($ac_try" in
48547 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48548 *) ac_try_echo=$ac_try;;
48550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48551 (eval "$ac_link") 2>conftest.er1
48553 grep -v '^ *+' conftest.er1 >conftest.err
48555 cat conftest.err >&5
48556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48557 (exit $ac_status); } &&
48558 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48559 { (case "(($ac_try" in
48560 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48561 *) ac_try_echo
=$ac_try;;
48563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48564 (eval "$ac_try") 2>&5
48566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48567 (exit $ac_status); }; } &&
48568 { ac_try
='test -s conftest$ac_exeext'
48569 { (case "(($ac_try" in
48570 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48571 *) ac_try_echo=$ac_try;;
48573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48574 (eval "$ac_try") 2>&5
48576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48577 (exit $ac_status); }; }; then
48578 ac_cv_lib_dl_dlerror=yes
48580 echo "$as_me: failed program was:" >&5
48581 sed 's/^/| /' conftest.$ac_ext >&5
48583 ac_cv_lib_dl_dlerror=no
48586 rm -f core conftest.err conftest.$ac_objext \
48587 conftest$ac_exeext conftest.$ac_ext
48588 LIBS=$ac_check_lib_save_LIBS
48590 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
48591 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
48592 if test $ac_cv_lib_dl_dlerror = yes; then
48593 cat >>confdefs.h <<\_ACEOF
48594 #define HAVE_DLERROR 1
48607 if test "$HAVE_DL_FUNCS" = 0; then
48608 if test "$HAVE_SHL_FUNCS" = 0; then
48609 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
48610 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
48611 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
48612 wxUSE_DYNAMIC_LOADER=no
48613 wxUSE_DYNLIB_CLASS=no
48615 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
48616 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
48623 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
48624 cat >>confdefs.h <<\_ACEOF
48625 #define wxUSE_DYNAMIC_LOADER 1
48629 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
48630 cat >>confdefs.h <<\_ACEOF
48631 #define wxUSE_DYNLIB_CLASS 1
48638 if test "$wxUSE_PLUGINS" = "yes" ; then
48639 if test "$wxUSE_SHARED" = "no" ; then
48640 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
48641 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
48644 if test "$wxUSE_MONOLITHIC" = "yes" ; then
48645 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
48646 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
48649 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
48650 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
48651 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
48654 if test "$wxUSE_PLUGINS" = "yes" ; then
48655 cat >>confdefs.h <<\_ACEOF
48656 #define wxUSE_PLUGINS 1
48663 if test "$wxUSE_STL" = "yes"; then
48664 cat >>confdefs.h <<\_ACEOF
48665 #define wxUSE_STL 1
48670 if test "$wxUSE_APPLE_IEEE" = "yes"; then
48671 cat >>confdefs.h <<\_ACEOF
48672 #define wxUSE_APPLE_IEEE 1
48677 if test "$wxUSE_TIMER" = "yes"; then
48678 cat >>confdefs.h <<\_ACEOF
48679 #define wxUSE_TIMER 1
48684 if test "$USE_UNIX" = "1" ; then
48685 if test "$wxUSE_MGL" != 1; then
48686 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
48687 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
48688 if test "${ac_cv_header_sys_soundcard+set}" = set; then
48689 echo $ECHO_N "(cached) $ECHO_C" >&6
48692 cat >conftest.$ac_ext <<_ACEOF
48695 cat confdefs.h >>conftest.$ac_ext
48696 cat >>conftest.$ac_ext <<_ACEOF
48697 /* end confdefs.h. */
48699 #include <sys/ioctl.h>
48700 #include <sys/soundcard.h>
48706 ioctl(0, SNDCTL_DSP_SPEED, 0);
48712 rm -f conftest.$ac_objext conftest$ac_exeext
48713 if { (ac_try="$ac_link"
48714 case "(($ac_try" in
48715 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48716 *) ac_try_echo
=$ac_try;;
48718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48719 (eval "$ac_link") 2>conftest.er1
48721 grep -v '^ *+' conftest.er1
>conftest.err
48723 cat conftest.err
>&5
48724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48725 (exit $ac_status); } &&
48726 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48727 { (case "(($ac_try" in
48728 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48729 *) ac_try_echo=$ac_try;;
48731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48732 (eval "$ac_try") 2>&5
48734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48735 (exit $ac_status); }; } &&
48736 { ac_try='test -s conftest$ac_exeext'
48737 { (case "(($ac_try" in
48738 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48739 *) ac_try_echo
=$ac_try;;
48741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48742 (eval "$ac_try") 2>&5
48744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48745 (exit $ac_status); }; }; then
48746 ac_cv_header_sys_soundcard
=yes
48748 echo "$as_me: failed program was:" >&5
48749 sed 's/^/| /' conftest.
$ac_ext >&5
48753 LIBS
="$saveLibs -lossaudio"
48754 cat >conftest.
$ac_ext <<_ACEOF
48757 cat confdefs.h
>>conftest.
$ac_ext
48758 cat >>conftest.
$ac_ext <<_ACEOF
48759 /* end confdefs.h. */
48761 #include <sys/ioctl.h>
48762 #include <sys/soundcard.h>
48768 ioctl(0, SNDCTL_DSP_SPEED, 0);
48774 rm -f conftest.
$ac_objext conftest
$ac_exeext
48775 if { (ac_try
="$ac_link"
48776 case "(($ac_try" in
48777 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48778 *) ac_try_echo=$ac_try;;
48780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48781 (eval "$ac_link") 2>conftest.er1
48783 grep -v '^ *+' conftest.er1 >conftest.err
48785 cat conftest.err >&5
48786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48787 (exit $ac_status); } &&
48788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48789 { (case "(($ac_try" in
48790 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48791 *) ac_try_echo
=$ac_try;;
48793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48794 (eval "$ac_try") 2>&5
48796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48797 (exit $ac_status); }; } &&
48798 { ac_try
='test -s conftest$ac_exeext'
48799 { (case "(($ac_try" in
48800 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48801 *) ac_try_echo=$ac_try;;
48803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48804 (eval "$ac_try") 2>&5
48806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48807 (exit $ac_status); }; }; then
48808 ac_cv_header_sys_soundcard=yes
48810 echo "$as_me: failed program was:" >&5
48811 sed 's/^/| /' conftest.$ac_ext >&5
48815 ac_cv_header_sys_soundcard=no
48820 rm -f core conftest.err conftest.$ac_objext \
48821 conftest$ac_exeext conftest.$ac_ext
48826 rm -f core conftest.err conftest.$ac_objext \
48827 conftest$ac_exeext conftest.$ac_ext
48830 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
48831 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
48834 if test "$ac_cv_header_sys_soundcard" = "yes"; then
48835 cat >>confdefs.h <<\_ACEOF
48836 #define HAVE_SYS_SOUNDCARD_H 1
48840 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
48845 if test "$wxUSE_SOUND" = "yes"; then
48846 if test "$USE_UNIX" = "1" ; then
48847 if test "$wxUSE_LIBSDL" != "no"; then
48849 # Check whether --with-sdl-prefix was given.
48850 if test "${with_sdl_prefix+set}" = set; then
48851 withval=$with_sdl_prefix; sdl_prefix="$withval"
48857 # Check whether --with-sdl-exec-prefix was given.
48858 if test "${with_sdl_exec_prefix+set}" = set; then
48859 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
48864 # Check whether --enable-sdltest was given.
48865 if test "${enable_sdltest+set}" = set; then
48866 enableval=$enable_sdltest;
48872 if test x$sdl_exec_prefix != x ; then
48873 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
48874 if test x${SDL_CONFIG+set} != xset ; then
48875 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
48878 if test x$sdl_prefix != x ; then
48879 sdl_args="$sdl_args --prefix=$sdl_prefix"
48880 if test x${SDL_CONFIG+set} != xset ; then
48881 SDL_CONFIG=$sdl_prefix/bin/sdl-config
48885 if test "x$prefix" != xNONE; then
48886 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
48888 # Extract the first word of "sdl-config", so it can be a program name with args.
48889 set dummy sdl-config; ac_word=$2
48890 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48892 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
48893 echo $ECHO_N "(cached) $ECHO_C" >&6
48895 case $SDL_CONFIG in
48897 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
48900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48901 for as_dir in $PATH
48904 test -z "$as_dir" && as_dir=.
48905 for ac_exec_ext in '' $ac_executable_extensions; do
48906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
48907 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
48908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48915 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
48919 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
48920 if test -n "$SDL_CONFIG"; then
48921 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
48922 echo "${ECHO_T}$SDL_CONFIG" >&6; }
48924 { echo "$as_me:$LINENO: result: no" >&5
48925 echo "${ECHO_T}no" >&6; }
48929 min_sdl_version=1.2.0
48930 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
48931 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
48933 if test "$SDL_CONFIG" = "no" ; then
48936 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
48937 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
48939 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
48940 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48941 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
48942 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48943 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
48944 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48945 if test "x$enable_sdltest" = "xyes" ; then
48946 ac_save_CFLAGS="$CFLAGS"
48947 ac_save_CXXFLAGS="$CXXFLAGS"
48948 ac_save_LIBS="$LIBS"
48949 CFLAGS="$CFLAGS $SDL_CFLAGS"
48950 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
48951 LIBS="$LIBS $SDL_LIBS"
48953 if test "$cross_compiling" = yes; then
48954 echo $ac_n "cross compiling; assumed OK... $ac_c"
48956 cat >conftest.$ac_ext <<_ACEOF
48959 cat confdefs.h >>conftest.$ac_ext
48960 cat >>conftest.$ac_ext <<_ACEOF
48961 /* end confdefs.h. */
48964 #include <stdlib.h>
48965 #include <string.h>
48969 my_strdup (char *str)
48975 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
48976 strcpy (new_str, str);
48984 int main (int argc, char *argv[])
48986 int major, minor, micro;
48989 /* This hangs on some systems (?)
48990 system ("touch conf.sdltest");
48992 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
48994 /* HP/UX 9 (%@#!) writes to sscanf strings */
48995 tmp_version = my_strdup("$min_sdl_version");
48996 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
48997 printf("%s, bad version string\n", "$min_sdl_version");
49001 if (($sdl_major_version > major) ||
49002 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
49003 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
49009 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
49010 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
49011 printf("*** best to upgrade to the required version.\n");
49012 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
49013 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
49014 printf("*** config.cache before re-running configure\n");
49021 rm -f conftest$ac_exeext
49022 if { (ac_try="$ac_link"
49023 case "(($ac_try" in
49024 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49025 *) ac_try_echo
=$ac_try;;
49027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49028 (eval "$ac_link") 2>&5
49030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49031 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
49032 { (case "(($ac_try" in
49033 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49034 *) ac_try_echo=$ac_try;;
49036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49037 (eval "$ac_try") 2>&5
49039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49040 (exit $ac_status); }; }; then
49043 echo "$as_me: program exited with status $ac_status" >&5
49044 echo "$as_me: failed program was:" >&5
49045 sed 's/^/| /' conftest.$ac_ext >&5
49047 ( exit $ac_status )
49050 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
49054 CFLAGS="$ac_save_CFLAGS"
49055 CXXFLAGS="$ac_save_CXXFLAGS"
49056 LIBS="$ac_save_LIBS"
49059 if test "x$no_sdl" = x ; then
49060 { echo "$as_me:$LINENO: result: yes" >&5
49061 echo "${ECHO_T}yes" >&6; }
49063 EXTRALIBS_SDL="$SDL_LIBS"
49064 CFLAGS="$SDL_CFLAGS $CFLAGS"
49065 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
49066 cat >>confdefs.h <<\_ACEOF
49067 #define wxUSE_LIBSDL 1
49072 { echo "$as_me:$LINENO: result: no" >&5
49073 echo "${ECHO_T}no" >&6; }
49074 if test "$SDL_CONFIG" = "no" ; then
49075 echo "*** The sdl-config script installed by SDL could not be found"
49076 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
49077 echo "*** your path, or set the SDL_CONFIG environment variable to the"
49078 echo "*** full path to sdl-config."
49080 if test -f conf.sdltest ; then
49083 echo "*** Could not run SDL test program, checking why..."
49084 CFLAGS="$CFLAGS $SDL_CFLAGS"
49085 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
49086 LIBS="$LIBS $SDL_LIBS"
49087 cat >conftest.$ac_ext <<_ACEOF
49090 cat confdefs.h >>conftest.$ac_ext
49091 cat >>conftest.$ac_ext <<_ACEOF
49092 /* end confdefs.h. */
49097 int main(int argc, char *argv[])
49100 #define main K_and_R_C_main
49110 rm -f conftest.$ac_objext conftest$ac_exeext
49111 if { (ac_try="$ac_link"
49112 case "(($ac_try" in
49113 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49114 *) ac_try_echo
=$ac_try;;
49116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49117 (eval "$ac_link") 2>conftest.er1
49119 grep -v '^ *+' conftest.er1
>conftest.err
49121 cat conftest.err
>&5
49122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49123 (exit $ac_status); } &&
49124 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49125 { (case "(($ac_try" in
49126 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49127 *) ac_try_echo=$ac_try;;
49129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49130 (eval "$ac_try") 2>&5
49132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49133 (exit $ac_status); }; } &&
49134 { ac_try='test -s conftest$ac_exeext'
49135 { (case "(($ac_try" in
49136 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49137 *) ac_try_echo
=$ac_try;;
49139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49140 (eval "$ac_try") 2>&5
49142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49143 (exit $ac_status); }; }; then
49144 echo "*** The test program compiled, but did not run. This usually means"
49145 echo "*** that the run-time linker is not finding SDL or finding the wrong"
49146 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
49147 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
49148 echo "*** to the installed location Also, make sure you have run ldconfig if that"
49149 echo "*** is required on your system"
49151 echo "*** If you have an old version installed, it is best to remove it, although"
49152 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
49154 echo "$as_me: failed program was:" >&5
49155 sed 's/^/| /' conftest.
$ac_ext >&5
49157 echo "*** The test program failed to compile or link. See the file config.log for the"
49158 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
49159 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
49160 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
49163 rm -f core conftest.err conftest.
$ac_objext \
49164 conftest
$ac_exeext conftest.
$ac_ext
49165 CFLAGS
="$ac_save_CFLAGS"
49166 CXXFLAGS
="$ac_save_CXXFLAGS"
49167 LIBS
="$ac_save_LIBS"
49178 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
49183 if test "$wxUSE_MGL" = 1; then
49184 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
49185 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
49191 if test "$wxUSE_SOUND" = "yes"; then
49192 cat >>confdefs.h
<<\_ACEOF
49193 #define wxUSE_SOUND 1
49196 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
49199 if test "$WXGTK20" = 1; then
49202 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
49203 if test -n "$ac_tool_prefix"; then
49204 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
49205 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
49206 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49208 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
49209 echo $ECHO_N "(cached) $ECHO_C" >&6
49211 case $PKG_CONFIG in
49213 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
49216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49217 for as_dir
in $PATH
49220 test -z "$as_dir" && as_dir
=.
49221 for ac_exec_ext
in '' $ac_executable_extensions; do
49222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
49223 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
49224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49234 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
49235 if test -n "$PKG_CONFIG"; then
49236 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
49237 echo "${ECHO_T}$PKG_CONFIG" >&6; }
49239 { echo "$as_me:$LINENO: result: no" >&5
49240 echo "${ECHO_T}no" >&6; }
49245 if test -z "$ac_cv_path_PKG_CONFIG"; then
49246 ac_pt_PKG_CONFIG
=$PKG_CONFIG
49247 # Extract the first word of "pkg-config", so it can be a program name with args.
49248 set dummy pkg
-config; ac_word
=$2
49249 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49251 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
49252 echo $ECHO_N "(cached) $ECHO_C" >&6
49254 case $ac_pt_PKG_CONFIG in
49256 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
49259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49260 for as_dir
in $PATH
49263 test -z "$as_dir" && as_dir
=.
49264 for ac_exec_ext
in '' $ac_executable_extensions; do
49265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
49266 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
49267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49277 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
49278 if test -n "$ac_pt_PKG_CONFIG"; then
49279 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
49280 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
49282 { echo "$as_me:$LINENO: result: no" >&5
49283 echo "${ECHO_T}no" >&6; }
49286 if test "x$ac_pt_PKG_CONFIG" = x
; then
49289 case $cross_compiling:$ac_tool_warned in
49291 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49292 whose name does not start with the host triplet. If you think this
49293 configuration is useful to you, please write to autoconf@gnu.org." >&5
49294 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49295 whose name does not start with the host triplet. If you think this
49296 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49297 ac_tool_warned
=yes ;;
49299 PKG_CONFIG
=$ac_pt_PKG_CONFIG
49302 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
49306 if test -n "$PKG_CONFIG"; then
49307 _pkg_min_version
=0.9.0
49308 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
49309 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
49310 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
49311 { echo "$as_me:$LINENO: result: yes" >&5
49312 echo "${ECHO_T}yes" >&6; }
49314 { echo "$as_me:$LINENO: result: no" >&5
49315 echo "${ECHO_T}no" >&6; }
49321 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
49322 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49326 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
49327 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
49329 if test -n "$PKG_CONFIG"; then
49330 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
49331 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
49333 if test -n "$PKG_CONFIG" && \
49334 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
49335 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
49337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49338 (exit $ac_status); }; then
49339 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
49347 if test -n "$PKG_CONFIG"; then
49348 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
49349 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
49351 if test -n "$PKG_CONFIG" && \
49352 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
49353 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
49355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49356 (exit $ac_status); }; then
49357 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
49368 if test $pkg_failed = yes; then
49370 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49371 _pkg_short_errors_supported
=yes
49373 _pkg_short_errors_supported
=no
49375 if test $_pkg_short_errors_supported = yes; then
49376 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
49378 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
49380 # Put the nasty error message in config.log where it belongs
49381 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
49384 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
49385 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
49386 wxUSE_LIBGNOMEPRINT
="no"
49389 elif test $pkg_failed = untried
; then
49391 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
49392 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
49393 wxUSE_LIBGNOMEPRINT
="no"
49397 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
49398 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
49399 { echo "$as_me:$LINENO: result: yes" >&5
49400 echo "${ECHO_T}yes" >&6; }
49402 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
49403 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
49404 cat >>confdefs.h
<<\_ACEOF
49405 #define wxUSE_LIBGNOMEPRINT 1
49413 if test "$wxUSE_MIMETYPE" = "yes" ; then
49414 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49418 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
49419 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
49421 if test -n "$PKG_CONFIG"; then
49422 if test -n "$GNOMEVFS_CFLAGS"; then
49423 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
49425 if test -n "$PKG_CONFIG" && \
49426 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
49427 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
49429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49430 (exit $ac_status); }; then
49431 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
49439 if test -n "$PKG_CONFIG"; then
49440 if test -n "$GNOMEVFS_LIBS"; then
49441 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
49443 if test -n "$PKG_CONFIG" && \
49444 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
49445 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
49447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49448 (exit $ac_status); }; then
49449 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
49460 if test $pkg_failed = yes; then
49462 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49463 _pkg_short_errors_supported
=yes
49465 _pkg_short_errors_supported
=no
49467 if test $_pkg_short_errors_supported = yes; then
49468 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
49470 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
49472 # Put the nasty error message in config.log where it belongs
49473 echo "$GNOMEVFS_PKG_ERRORS" >&5
49476 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
49477 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
49478 wxUSE_LIBGNOMEVFS
="no"
49481 elif test $pkg_failed = untried
; then
49483 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
49484 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
49485 wxUSE_LIBGNOMEVFS
="no"
49489 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
49490 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
49491 { echo "$as_me:$LINENO: result: yes" >&5
49492 echo "${ECHO_T}yes" >&6; }
49494 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
49495 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
49496 cat >>confdefs.h
<<\_ACEOF
49497 #define wxUSE_LIBGNOMEVFS 1
49505 if test "$wxUSE_LIBHILDON" = "yes" ; then
49508 { echo "$as_me:$LINENO: checking for HILDON" >&5
49509 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
49511 if test -n "$PKG_CONFIG"; then
49512 if test -n "$HILDON_CFLAGS"; then
49513 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
49515 if test -n "$PKG_CONFIG" && \
49516 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
49517 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
49519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49520 (exit $ac_status); }; then
49521 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
49529 if test -n "$PKG_CONFIG"; then
49530 if test -n "$HILDON_LIBS"; then
49531 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
49533 if test -n "$PKG_CONFIG" && \
49534 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
49535 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
49537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49538 (exit $ac_status); }; then
49539 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
49550 if test $pkg_failed = yes; then
49552 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49553 _pkg_short_errors_supported
=yes
49555 _pkg_short_errors_supported
=no
49557 if test $_pkg_short_errors_supported = yes; then
49558 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
49560 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
49562 # Put the nasty error message in config.log where it belongs
49563 echo "$HILDON_PKG_ERRORS" >&5
49566 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
49567 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
49568 wxUSE_LIBHILDON
="no"
49571 elif test $pkg_failed = untried
; then
49573 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
49574 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
49575 wxUSE_LIBHILDON
="no"
49579 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
49580 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
49581 { echo "$as_me:$LINENO: result: yes" >&5
49582 echo "${ECHO_T}yes" >&6; }
49584 EXTRALIBS_HILDON
="$HILDON_LIBS"
49585 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
49586 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
49587 cat >>confdefs.h
<<\_ACEOF
49588 #define wxUSE_LIBHILDON 1
49596 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
49597 cat >>confdefs.h
<<\_ACEOF
49598 #define wxUSE_CMDLINE_PARSER 1
49603 if test "$wxUSE_STOPWATCH" = "yes"; then
49604 cat >>confdefs.h
<<\_ACEOF
49605 #define wxUSE_STOPWATCH 1
49610 if test "$wxUSE_DATETIME" = "yes"; then
49611 cat >>confdefs.h
<<\_ACEOF
49612 #define wxUSE_DATETIME 1
49617 if test "$wxUSE_FILE" = "yes"; then
49618 cat >>confdefs.h
<<\_ACEOF
49619 #define wxUSE_FILE 1
49624 if test "$wxUSE_FFILE" = "yes"; then
49625 cat >>confdefs.h
<<\_ACEOF
49626 #define wxUSE_FFILE 1
49631 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
49632 if test "$wxUSE_STREAMS" != yes; then
49633 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
49634 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
49635 wxUSE_ARCHIVE_STREAMS
=no
49637 cat >>confdefs.h
<<\_ACEOF
49638 #define wxUSE_ARCHIVE_STREAMS 1
49644 if test "$wxUSE_ZIPSTREAM" = "yes"; then
49645 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
49646 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
49647 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
49648 elif test "$wxUSE_ZLIB" = "no"; then
49649 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
49650 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
49652 cat >>confdefs.h
<<\_ACEOF
49653 #define wxUSE_ZIPSTREAM 1
49659 if test "$wxUSE_TARSTREAM" = "yes"; then
49660 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
49661 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
49662 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
49664 cat >>confdefs.h
<<\_ACEOF
49665 #define wxUSE_TARSTREAM 1
49671 if test "$wxUSE_FILESYSTEM" = "yes"; then
49672 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
49673 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
49674 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
49675 wxUSE_FILESYSTEM
=no
49677 cat >>confdefs.h
<<\_ACEOF
49678 #define wxUSE_FILESYSTEM 1
49684 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
49685 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
49686 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
49687 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
49689 cat >>confdefs.h
<<\_ACEOF
49690 #define wxUSE_FS_ARCHIVE 1
49696 if test "$wxUSE_FS_ZIP" = "yes"; then
49697 if test "$wxUSE_FS_ARCHIVE" != yes; then
49698 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
49699 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
49701 cat >>confdefs.h
<<\_ACEOF
49702 #define wxUSE_FS_ZIP 1
49708 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
49709 if test "$USE_UNIX" != 1; then
49710 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
49711 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
49712 wxUSE_ON_FATAL_EXCEPTION
=no
49714 cat >>confdefs.h
<<\_ACEOF
49715 #define wxUSE_ON_FATAL_EXCEPTION 1
49721 if test "$wxUSE_STACKWALKER" = "yes"; then
49722 cat >>confdefs.h
<<\_ACEOF
49723 #define wxUSE_STACKWALKER 1
49728 if test "$wxUSE_DEBUGREPORT" = "yes"; then
49729 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
49730 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
49731 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
49732 wxUSE_DEBUGREPORT
=no
49734 cat >>confdefs.h
<<\_ACEOF
49735 #define wxUSE_DEBUGREPORT 1
49738 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
49739 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
49744 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
49745 cat >>confdefs.h
<<\_ACEOF
49746 #define wxUSE_SNGLINST_CHECKER 1
49751 if test "$wxUSE_BUSYINFO" = "yes"; then
49752 cat >>confdefs.h
<<\_ACEOF
49753 #define wxUSE_BUSYINFO 1
49758 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
49759 cat >>confdefs.h
<<\_ACEOF
49760 #define wxUSE_STD_IOSTREAM 1
49765 if test "$wxUSE_STD_STRING" = "yes"; then
49766 cat >>confdefs.h
<<\_ACEOF
49767 #define wxUSE_STD_STRING 1
49772 if test "$wxUSE_STDPATHS" = "yes"; then
49773 cat >>confdefs.h
<<\_ACEOF
49774 #define wxUSE_STDPATHS 1
49779 if test "$wxUSE_TEXTBUFFER" = "yes"; then
49780 cat >>confdefs.h
<<\_ACEOF
49781 #define wxUSE_TEXTBUFFER 1
49786 if test "$wxUSE_TEXTFILE" = "yes"; then
49787 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
49788 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
49789 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
49791 cat >>confdefs.h
<<\_ACEOF
49792 #define wxUSE_TEXTFILE 1
49798 if test "$wxUSE_CONFIG" = "yes" ; then
49799 if test "$wxUSE_TEXTFILE" != "yes"; then
49800 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
49801 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
49803 cat >>confdefs.h
<<\_ACEOF
49804 #define wxUSE_CONFIG 1
49807 cat >>confdefs.h
<<\_ACEOF
49808 #define wxUSE_CONFIG_NATIVE 1
49811 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
49815 if test "$wxUSE_INTL" = "yes" ; then
49816 if test "$wxUSE_FILE" != "yes"; then
49817 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
49818 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
49820 cat >>confdefs.h
<<\_ACEOF
49821 #define wxUSE_INTL 1
49824 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
49825 GUIDIST
="$GUIDIST INTL_DIST"
49829 if test "$wxUSE_LOG" = "yes"; then
49830 cat >>confdefs.h
<<\_ACEOF
49831 #define wxUSE_LOG 1
49835 if test "$wxUSE_LOGGUI" = "yes"; then
49836 cat >>confdefs.h
<<\_ACEOF
49837 #define wxUSE_LOGGUI 1
49842 if test "$wxUSE_LOGWINDOW" = "yes"; then
49843 cat >>confdefs.h
<<\_ACEOF
49844 #define wxUSE_LOGWINDOW 1
49849 if test "$wxUSE_LOGDIALOG" = "yes"; then
49850 cat >>confdefs.h
<<\_ACEOF
49851 #define wxUSE_LOG_DIALOG 1
49856 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
49859 if test "$wxUSE_LONGLONG" = "yes"; then
49860 cat >>confdefs.h
<<\_ACEOF
49861 #define wxUSE_LONGLONG 1
49866 if test "$wxUSE_GEOMETRY" = "yes"; then
49867 cat >>confdefs.h
<<\_ACEOF
49868 #define wxUSE_GEOMETRY 1
49873 if test "$wxUSE_STREAMS" = "yes" ; then
49874 cat >>confdefs.h
<<\_ACEOF
49875 #define wxUSE_STREAMS 1
49880 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
49881 cat >>confdefs.h
<<\_ACEOF
49882 #define wxUSE_PRINTF_POS_PARAMS 1
49889 if test "$wxUSE_DATETIME" = "yes"; then
49891 for ac_func
in strptime
49893 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49894 { echo "$as_me:$LINENO: checking for $ac_func" >&5
49895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
49896 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
49897 echo $ECHO_N "(cached) $ECHO_C" >&6
49899 cat >conftest.
$ac_ext <<_ACEOF
49902 cat confdefs.h
>>conftest.
$ac_ext
49903 cat >>conftest.
$ac_ext <<_ACEOF
49904 /* end confdefs.h. */
49905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49907 #define $ac_func innocuous_$ac_func
49909 /* System header to define __stub macros and hopefully few prototypes,
49910 which can conflict with char $ac_func (); below.
49911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49912 <limits.h> exists even on freestanding compilers. */
49915 # include <limits.h>
49917 # include <assert.h>
49922 /* Override any GCC internal prototype to avoid an error.
49923 Use char because int might match the return type of a GCC
49924 builtin and then its argument prototype would still apply. */
49929 /* The GNU C library defines this for functions which it implements
49930 to always fail with ENOSYS. Some functions are actually named
49931 something starting with __ and the normal name is an alias. */
49932 #if defined __stub_$ac_func || defined __stub___$ac_func
49939 return $ac_func ();
49944 rm -f conftest.
$ac_objext conftest
$ac_exeext
49945 if { (ac_try
="$ac_link"
49946 case "(($ac_try" in
49947 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49948 *) ac_try_echo=$ac_try;;
49950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49951 (eval "$ac_link") 2>conftest.er1
49953 grep -v '^ *+' conftest.er1 >conftest.err
49955 cat conftest.err >&5
49956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49957 (exit $ac_status); } &&
49958 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49959 { (case "(($ac_try" in
49960 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49961 *) ac_try_echo
=$ac_try;;
49963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49964 (eval "$ac_try") 2>&5
49966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49967 (exit $ac_status); }; } &&
49968 { ac_try
='test -s conftest$ac_exeext'
49969 { (case "(($ac_try" in
49970 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49971 *) ac_try_echo=$ac_try;;
49973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49974 (eval "$ac_try") 2>&5
49976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49977 (exit $ac_status); }; }; then
49978 eval "$as_ac_var=yes"
49980 echo "$as_me: failed program was:" >&5
49981 sed 's/^/| /' conftest.$ac_ext >&5
49983 eval "$as_ac_var=no"
49986 rm -f core conftest.err conftest.$ac_objext \
49987 conftest$ac_exeext conftest.$ac_ext
49989 ac_res=`eval echo '${'$as_ac_var'}'`
49990 { echo "$as_me:$LINENO: result: $ac_res" >&5
49991 echo "${ECHO_T}$ac_res" >&6; }
49992 if test `eval echo '${'$as_ac_var'}'` = yes; then
49993 cat >>confdefs.h <<_ACEOF
49994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50000 if test "$ac_cv_func_strptime" = "yes"; then
50001 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
50002 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
50003 if test "${wx_cv_func_strptime_decl+set}" = set; then
50004 echo $ECHO_N "(cached) $ECHO_C" >&6
50008 ac_cpp='$CXXCPP $CPPFLAGS'
50009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50013 cat >conftest.$ac_ext <<_ACEOF
50016 cat confdefs.h >>conftest.$ac_ext
50017 cat >>conftest.$ac_ext <<_ACEOF
50018 /* end confdefs.h. */
50027 strptime("foo", "bar", &t);
50033 rm -f conftest.$ac_objext
50034 if { (ac_try="$ac_compile"
50035 case "(($ac_try" in
50036 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50037 *) ac_try_echo
=$ac_try;;
50039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50040 (eval "$ac_compile") 2>conftest.er1
50042 grep -v '^ *+' conftest.er1
>conftest.err
50044 cat conftest.err
>&5
50045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50046 (exit $ac_status); } &&
50047 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
50048 { (case "(($ac_try" in
50049 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50050 *) ac_try_echo=$ac_try;;
50052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50053 (eval "$ac_try") 2>&5
50055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50056 (exit $ac_status); }; } &&
50057 { ac_try='test -s conftest.$ac_objext'
50058 { (case "(($ac_try" in
50059 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50060 *) ac_try_echo
=$ac_try;;
50062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50063 (eval "$ac_try") 2>&5
50065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50066 (exit $ac_status); }; }; then
50067 wx_cv_func_strptime_decl
=yes
50069 echo "$as_me: failed program was:" >&5
50070 sed 's/^/| /' conftest.
$ac_ext >&5
50072 wx_cv_func_strptime_decl
=no
50076 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50078 ac_cpp
='$CPP $CPPFLAGS'
50079 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50080 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50081 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
50086 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
50087 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
50089 if test "$wx_cv_func_strptime_decl" = "yes"; then
50090 cat >>confdefs.h
<<\_ACEOF
50091 #define HAVE_STRPTIME_DECL 1
50096 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
50097 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
50098 if test "${wx_cv_var_timezone+set}" = set; then
50099 echo $ECHO_N "(cached) $ECHO_C" >&6
50103 ac_cpp
='$CXXCPP $CPPFLAGS'
50104 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50105 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50106 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
50108 cat >conftest.
$ac_ext <<_ACEOF
50111 cat confdefs.h
>>conftest.
$ac_ext
50112 cat >>conftest.
$ac_ext <<_ACEOF
50113 /* end confdefs.h. */
50128 rm -f conftest.
$ac_objext
50129 if { (ac_try
="$ac_compile"
50130 case "(($ac_try" in
50131 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50132 *) ac_try_echo=$ac_try;;
50134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50135 (eval "$ac_compile") 2>conftest.er1
50137 grep -v '^ *+' conftest.er1 >conftest.err
50139 cat conftest.err >&5
50140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50141 (exit $ac_status); } &&
50142 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
50143 { (case "(($ac_try" in
50144 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50145 *) ac_try_echo
=$ac_try;;
50147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50148 (eval "$ac_try") 2>&5
50150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50151 (exit $ac_status); }; } &&
50152 { ac_try
='test -s conftest.$ac_objext'
50153 { (case "(($ac_try" in
50154 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50155 *) ac_try_echo=$ac_try;;
50157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50158 (eval "$ac_try") 2>&5
50160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50161 (exit $ac_status); }; }; then
50163 wx_cv_var_timezone=timezone
50166 echo "$as_me: failed program was:" >&5
50167 sed 's/^/| /' conftest.$ac_ext >&5
50170 cat >conftest.$ac_ext <<_ACEOF
50173 cat confdefs.h >>conftest.$ac_ext
50174 cat >>conftest.$ac_ext <<_ACEOF
50175 /* end confdefs.h. */
50190 rm -f conftest.$ac_objext
50191 if { (ac_try="$ac_compile"
50192 case "(($ac_try" in
50193 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50194 *) ac_try_echo
=$ac_try;;
50196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50197 (eval "$ac_compile") 2>conftest.er1
50199 grep -v '^ *+' conftest.er1
>conftest.err
50201 cat conftest.err
>&5
50202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50203 (exit $ac_status); } &&
50204 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
50205 { (case "(($ac_try" in
50206 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50207 *) ac_try_echo=$ac_try;;
50209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50210 (eval "$ac_try") 2>&5
50212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50213 (exit $ac_status); }; } &&
50214 { ac_try='test -s conftest.$ac_objext'
50215 { (case "(($ac_try" in
50216 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50217 *) ac_try_echo
=$ac_try;;
50219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50220 (eval "$ac_try") 2>&5
50222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50223 (exit $ac_status); }; }; then
50225 wx_cv_var_timezone
=_timezone
50228 echo "$as_me: failed program was:" >&5
50229 sed 's/^/| /' conftest.
$ac_ext >&5
50232 cat >conftest.
$ac_ext <<_ACEOF
50235 cat confdefs.h
>>conftest.
$ac_ext
50236 cat >>conftest.
$ac_ext <<_ACEOF
50237 /* end confdefs.h. */
50252 rm -f conftest.
$ac_objext
50253 if { (ac_try
="$ac_compile"
50254 case "(($ac_try" in
50255 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50256 *) ac_try_echo=$ac_try;;
50258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50259 (eval "$ac_compile") 2>conftest.er1
50261 grep -v '^ *+' conftest.er1 >conftest.err
50263 cat conftest.err >&5
50264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50265 (exit $ac_status); } &&
50266 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
50267 { (case "(($ac_try" in
50268 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50269 *) ac_try_echo
=$ac_try;;
50271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50272 (eval "$ac_try") 2>&5
50274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50275 (exit $ac_status); }; } &&
50276 { ac_try
='test -s conftest.$ac_objext'
50277 { (case "(($ac_try" in
50278 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50279 *) ac_try_echo=$ac_try;;
50281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50282 (eval "$ac_try") 2>&5
50284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50285 (exit $ac_status); }; }; then
50287 wx_cv_var_timezone=__timezone
50290 echo "$as_me: failed program was:" >&5
50291 sed 's/^/| /' conftest.$ac_ext >&5
50294 if test "$USE_DOS" = 0 ; then
50295 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
50296 echo "$as_me: WARNING: no timezone variable" >&2;}
50302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50314 ac_cpp='$CPP $CPPFLAGS'
50315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50322 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
50323 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
50325 if test "x$wx_cv_var_timezone" != x ; then
50326 cat >>confdefs.h <<_ACEOF
50327 #define WX_TIMEZONE $wx_cv_var_timezone
50333 for ac_func in localtime
50335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50336 { echo "$as_me:$LINENO: checking for $ac_func" >&5
50337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
50338 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
50339 echo $ECHO_N "(cached) $ECHO_C" >&6
50341 cat >conftest.$ac_ext <<_ACEOF
50344 cat confdefs.h >>conftest.$ac_ext
50345 cat >>conftest.$ac_ext <<_ACEOF
50346 /* end confdefs.h. */
50347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50349 #define $ac_func innocuous_$ac_func
50351 /* System header to define __stub macros and hopefully few prototypes,
50352 which can conflict with char $ac_func (); below.
50353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50354 <limits.h> exists even on freestanding compilers. */
50357 # include <limits.h>
50359 # include <assert.h>
50364 /* Override any GCC internal prototype to avoid an error.
50365 Use char because int might match the return type of a GCC
50366 builtin and then its argument prototype would still apply. */
50371 /* The GNU C library defines this for functions which it implements
50372 to always fail with ENOSYS. Some functions are actually named
50373 something starting with __ and the normal name is an alias. */
50374 #if defined __stub_$ac_func || defined __stub___$ac_func
50381 return $ac_func ();
50386 rm -f conftest.$ac_objext conftest$ac_exeext
50387 if { (ac_try="$ac_link"
50388 case "(($ac_try" in
50389 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50390 *) ac_try_echo
=$ac_try;;
50392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50393 (eval "$ac_link") 2>conftest.er1
50395 grep -v '^ *+' conftest.er1
>conftest.err
50397 cat conftest.err
>&5
50398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50399 (exit $ac_status); } &&
50400 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50401 { (case "(($ac_try" in
50402 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50403 *) ac_try_echo=$ac_try;;
50405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50406 (eval "$ac_try") 2>&5
50408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50409 (exit $ac_status); }; } &&
50410 { ac_try='test -s conftest$ac_exeext'
50411 { (case "(($ac_try" in
50412 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50413 *) ac_try_echo
=$ac_try;;
50415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50416 (eval "$ac_try") 2>&5
50418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50419 (exit $ac_status); }; }; then
50420 eval "$as_ac_var=yes"
50422 echo "$as_me: failed program was:" >&5
50423 sed 's/^/| /' conftest.
$ac_ext >&5
50425 eval "$as_ac_var=no"
50428 rm -f core conftest.err conftest.
$ac_objext \
50429 conftest
$ac_exeext conftest.
$ac_ext
50431 ac_res
=`eval echo '${'$as_ac_var'}'`
50432 { echo "$as_me:$LINENO: result: $ac_res" >&5
50433 echo "${ECHO_T}$ac_res" >&6; }
50434 if test `eval echo '${'$as_ac_var'}'` = yes; then
50435 cat >>confdefs.h
<<_ACEOF
50436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50443 if test "$ac_cv_func_localtime" = "yes"; then
50444 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
50445 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
50446 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
50447 echo $ECHO_N "(cached) $ECHO_C" >&6
50450 cat >conftest.
$ac_ext <<_ACEOF
50453 cat confdefs.h
>>conftest.
$ac_ext
50454 cat >>conftest.
$ac_ext <<_ACEOF
50455 /* end confdefs.h. */
50470 rm -f conftest.
$ac_objext
50471 if { (ac_try
="$ac_compile"
50472 case "(($ac_try" in
50473 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50474 *) ac_try_echo=$ac_try;;
50476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50477 (eval "$ac_compile") 2>conftest.er1
50479 grep -v '^ *+' conftest.er1 >conftest.err
50481 cat conftest.err >&5
50482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50483 (exit $ac_status); } &&
50484 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50485 { (case "(($ac_try" in
50486 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50487 *) ac_try_echo
=$ac_try;;
50489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50490 (eval "$ac_try") 2>&5
50492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50493 (exit $ac_status); }; } &&
50494 { ac_try
='test -s conftest.$ac_objext'
50495 { (case "(($ac_try" in
50496 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50497 *) ac_try_echo=$ac_try;;
50499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50500 (eval "$ac_try") 2>&5
50502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50503 (exit $ac_status); }; }; then
50505 wx_cv_struct_tm_has_gmtoff=yes
50508 echo "$as_me: failed program was:" >&5
50509 sed 's/^/| /' conftest.$ac_ext >&5
50511 wx_cv_struct_tm_has_gmtoff=no
50515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50518 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
50519 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
50522 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
50523 cat >>confdefs.h <<\_ACEOF
50524 #define WX_GMTOFF_IN_TM 1
50531 for ac_func in gettimeofday ftime
50533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50534 { echo "$as_me:$LINENO: checking for $ac_func" >&5
50535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
50536 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
50537 echo $ECHO_N "(cached) $ECHO_C" >&6
50539 cat >conftest.$ac_ext <<_ACEOF
50542 cat confdefs.h >>conftest.$ac_ext
50543 cat >>conftest.$ac_ext <<_ACEOF
50544 /* end confdefs.h. */
50545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50547 #define $ac_func innocuous_$ac_func
50549 /* System header to define __stub macros and hopefully few prototypes,
50550 which can conflict with char $ac_func (); below.
50551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50552 <limits.h> exists even on freestanding compilers. */
50555 # include <limits.h>
50557 # include <assert.h>
50562 /* Override any GCC internal prototype to avoid an error.
50563 Use char because int might match the return type of a GCC
50564 builtin and then its argument prototype would still apply. */
50569 /* The GNU C library defines this for functions which it implements
50570 to always fail with ENOSYS. Some functions are actually named
50571 something starting with __ and the normal name is an alias. */
50572 #if defined __stub_$ac_func || defined __stub___$ac_func
50579 return $ac_func ();
50584 rm -f conftest.$ac_objext conftest$ac_exeext
50585 if { (ac_try="$ac_link"
50586 case "(($ac_try" in
50587 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50588 *) ac_try_echo
=$ac_try;;
50590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50591 (eval "$ac_link") 2>conftest.er1
50593 grep -v '^ *+' conftest.er1
>conftest.err
50595 cat conftest.err
>&5
50596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50597 (exit $ac_status); } &&
50598 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50599 { (case "(($ac_try" in
50600 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50601 *) ac_try_echo=$ac_try;;
50603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50604 (eval "$ac_try") 2>&5
50606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50607 (exit $ac_status); }; } &&
50608 { ac_try='test -s conftest$ac_exeext'
50609 { (case "(($ac_try" in
50610 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50611 *) ac_try_echo
=$ac_try;;
50613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50614 (eval "$ac_try") 2>&5
50616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50617 (exit $ac_status); }; }; then
50618 eval "$as_ac_var=yes"
50620 echo "$as_me: failed program was:" >&5
50621 sed 's/^/| /' conftest.
$ac_ext >&5
50623 eval "$as_ac_var=no"
50626 rm -f core conftest.err conftest.
$ac_objext \
50627 conftest
$ac_exeext conftest.
$ac_ext
50629 ac_res
=`eval echo '${'$as_ac_var'}'`
50630 { echo "$as_me:$LINENO: result: $ac_res" >&5
50631 echo "${ECHO_T}$ac_res" >&6; }
50632 if test `eval echo '${'$as_ac_var'}'` = yes; then
50633 cat >>confdefs.h
<<_ACEOF
50634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50641 if test "$ac_cv_func_gettimeofday" = "yes"; then
50642 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
50643 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
50644 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
50645 echo $ECHO_N "(cached) $ECHO_C" >&6
50648 cat >conftest.
$ac_ext <<_ACEOF
50651 cat confdefs.h
>>conftest.
$ac_ext
50652 cat >>conftest.
$ac_ext <<_ACEOF
50653 /* end confdefs.h. */
50655 #include <sys/time.h>
50656 #include <unistd.h>
50663 gettimeofday(&tv, NULL);
50669 rm -f conftest.
$ac_objext
50670 if { (ac_try
="$ac_compile"
50671 case "(($ac_try" in
50672 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50673 *) ac_try_echo=$ac_try;;
50675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50676 (eval "$ac_compile") 2>conftest.er1
50678 grep -v '^ *+' conftest.er1 >conftest.err
50680 cat conftest.err >&5
50681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50682 (exit $ac_status); } &&
50683 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50684 { (case "(($ac_try" in
50685 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50686 *) ac_try_echo
=$ac_try;;
50688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50689 (eval "$ac_try") 2>&5
50691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50692 (exit $ac_status); }; } &&
50693 { ac_try
='test -s conftest.$ac_objext'
50694 { (case "(($ac_try" in
50695 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50696 *) ac_try_echo=$ac_try;;
50698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50699 (eval "$ac_try") 2>&5
50701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50702 (exit $ac_status); }; }; then
50703 wx_cv_func_gettimeofday_has_2_args=yes
50705 echo "$as_me: failed program was:" >&5
50706 sed 's/^/| /' conftest.$ac_ext >&5
50708 cat >conftest.$ac_ext <<_ACEOF
50711 cat confdefs.h >>conftest.$ac_ext
50712 cat >>conftest.$ac_ext <<_ACEOF
50713 /* end confdefs.h. */
50715 #include <sys/time.h>
50716 #include <unistd.h>
50729 rm -f conftest.$ac_objext
50730 if { (ac_try="$ac_compile"
50731 case "(($ac_try" in
50732 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50733 *) ac_try_echo
=$ac_try;;
50735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50736 (eval "$ac_compile") 2>conftest.er1
50738 grep -v '^ *+' conftest.er1
>conftest.err
50740 cat conftest.err
>&5
50741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50742 (exit $ac_status); } &&
50743 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50744 { (case "(($ac_try" in
50745 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50746 *) ac_try_echo=$ac_try;;
50748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50749 (eval "$ac_try") 2>&5
50751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50752 (exit $ac_status); }; } &&
50753 { ac_try='test -s conftest.$ac_objext'
50754 { (case "(($ac_try" in
50755 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50756 *) ac_try_echo
=$ac_try;;
50758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50759 (eval "$ac_try") 2>&5
50761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50762 (exit $ac_status); }; }; then
50763 wx_cv_func_gettimeofday_has_2_args
=no
50765 echo "$as_me: failed program was:" >&5
50766 sed 's/^/| /' conftest.
$ac_ext >&5
50769 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
50770 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
50771 wx_cv_func_gettimeofday_has_2_args
=unknown
50776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50780 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50783 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
50784 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
50786 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
50787 cat >>confdefs.h
<<\_ACEOF
50788 #define WX_GETTIMEOFDAY_NO_TZ 1
50794 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
50798 if test "$wxUSE_SOCKETS" = "yes"; then
50799 if test "$wxUSE_MGL" = "1"; then
50800 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
50801 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
50806 if test "$wxUSE_SOCKETS" = "yes"; then
50807 if test "$TOOLKIT" != "MSW"; then
50808 { echo "$as_me:$LINENO: checking for socket" >&5
50809 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
50810 if test "${ac_cv_func_socket+set}" = set; then
50811 echo $ECHO_N "(cached) $ECHO_C" >&6
50813 cat >conftest.
$ac_ext <<_ACEOF
50816 cat confdefs.h
>>conftest.
$ac_ext
50817 cat >>conftest.
$ac_ext <<_ACEOF
50818 /* end confdefs.h. */
50819 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
50820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50821 #define socket innocuous_socket
50823 /* System header to define __stub macros and hopefully few prototypes,
50824 which can conflict with char socket (); below.
50825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50826 <limits.h> exists even on freestanding compilers. */
50829 # include <limits.h>
50831 # include <assert.h>
50836 /* Override any GCC internal prototype to avoid an error.
50837 Use char because int might match the return type of a GCC
50838 builtin and then its argument prototype would still apply. */
50843 /* The GNU C library defines this for functions which it implements
50844 to always fail with ENOSYS. Some functions are actually named
50845 something starting with __ and the normal name is an alias. */
50846 #if defined __stub_socket || defined __stub___socket
50858 rm -f conftest.
$ac_objext conftest
$ac_exeext
50859 if { (ac_try
="$ac_link"
50860 case "(($ac_try" in
50861 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50862 *) ac_try_echo=$ac_try;;
50864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50865 (eval "$ac_link") 2>conftest.er1
50867 grep -v '^ *+' conftest.er1 >conftest.err
50869 cat conftest.err >&5
50870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50871 (exit $ac_status); } &&
50872 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50873 { (case "(($ac_try" in
50874 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50875 *) ac_try_echo
=$ac_try;;
50877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50878 (eval "$ac_try") 2>&5
50880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50881 (exit $ac_status); }; } &&
50882 { ac_try
='test -s conftest$ac_exeext'
50883 { (case "(($ac_try" in
50884 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50885 *) ac_try_echo=$ac_try;;
50887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50888 (eval "$ac_try") 2>&5
50890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50891 (exit $ac_status); }; }; then
50892 ac_cv_func_socket=yes
50894 echo "$as_me: failed program was:" >&5
50895 sed 's/^/| /' conftest.$ac_ext >&5
50897 ac_cv_func_socket=no
50900 rm -f core conftest.err conftest.$ac_objext \
50901 conftest$ac_exeext conftest.$ac_ext
50903 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
50904 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
50905 if test $ac_cv_func_socket = yes; then
50909 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
50910 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
50911 if test "${ac_cv_lib_socket_socket+set}" = set; then
50912 echo $ECHO_N "(cached) $ECHO_C" >&6
50914 ac_check_lib_save_LIBS=$LIBS
50915 LIBS="-lsocket $LIBS"
50916 cat >conftest.$ac_ext <<_ACEOF
50919 cat confdefs.h >>conftest.$ac_ext
50920 cat >>conftest.$ac_ext <<_ACEOF
50921 /* end confdefs.h. */
50923 /* Override any GCC internal prototype to avoid an error.
50924 Use char because int might match the return type of a GCC
50925 builtin and then its argument prototype would still apply. */
50938 rm -f conftest.$ac_objext conftest$ac_exeext
50939 if { (ac_try="$ac_link"
50940 case "(($ac_try" in
50941 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50942 *) ac_try_echo
=$ac_try;;
50944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50945 (eval "$ac_link") 2>conftest.er1
50947 grep -v '^ *+' conftest.er1
>conftest.err
50949 cat conftest.err
>&5
50950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50951 (exit $ac_status); } &&
50952 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50953 { (case "(($ac_try" in
50954 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50955 *) ac_try_echo=$ac_try;;
50957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50958 (eval "$ac_try") 2>&5
50960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50961 (exit $ac_status); }; } &&
50962 { ac_try='test -s conftest$ac_exeext'
50963 { (case "(($ac_try" in
50964 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50965 *) ac_try_echo
=$ac_try;;
50967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50968 (eval "$ac_try") 2>&5
50970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50971 (exit $ac_status); }; }; then
50972 ac_cv_lib_socket_socket
=yes
50974 echo "$as_me: failed program was:" >&5
50975 sed 's/^/| /' conftest.
$ac_ext >&5
50977 ac_cv_lib_socket_socket
=no
50980 rm -f core conftest.err conftest.
$ac_objext \
50981 conftest
$ac_exeext conftest.
$ac_ext
50982 LIBS
=$ac_check_lib_save_LIBS
50984 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
50985 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
50986 if test $ac_cv_lib_socket_socket = yes; then
50987 if test "$INET_LINK" != " -lsocket"; then
50988 INET_LINK
="$INET_LINK -lsocket"
50992 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
50993 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
51006 if test "$wxUSE_SOCKETS" = "yes" ; then
51007 if test "$TOOLKIT" != "MSW"; then
51008 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
51009 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
51010 if test "${wx_cv_type_getsockname3+set}" = set; then
51011 echo $ECHO_N "(cached) $ECHO_C" >&6
51015 ac_cpp
='$CXXCPP $CPPFLAGS'
51016 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51017 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51018 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
51020 cat >conftest.
$ac_ext <<_ACEOF
51023 cat confdefs.h
>>conftest.
$ac_ext
51024 cat >>conftest.
$ac_ext <<_ACEOF
51025 /* end confdefs.h. */
51027 #include <sys/types.h>
51028 #include <sys/socket.h>
51035 getsockname(0, 0, &len);
51041 rm -f conftest.
$ac_objext
51042 if { (ac_try
="$ac_compile"
51043 case "(($ac_try" in
51044 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51045 *) ac_try_echo=$ac_try;;
51047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51048 (eval "$ac_compile") 2>conftest.er1
51050 grep -v '^ *+' conftest.er1 >conftest.err
51052 cat conftest.err >&5
51053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51054 (exit $ac_status); } &&
51055 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
51056 { (case "(($ac_try" in
51057 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51058 *) ac_try_echo
=$ac_try;;
51060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51061 (eval "$ac_try") 2>&5
51063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51064 (exit $ac_status); }; } &&
51065 { ac_try
='test -s conftest.$ac_objext'
51066 { (case "(($ac_try" in
51067 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51068 *) ac_try_echo=$ac_try;;
51070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51071 (eval "$ac_try") 2>&5
51073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51074 (exit $ac_status); }; }; then
51075 wx_cv_type_getsockname3=socklen_t
51077 echo "$as_me: failed program was:" >&5
51078 sed 's/^/| /' conftest.$ac_ext >&5
51081 CFLAGS_OLD="$CFLAGS"
51082 if test "$GCC" = yes ; then
51083 CFLAGS="-Werror $CFLAGS"
51086 cat >conftest.$ac_ext <<_ACEOF
51089 cat confdefs.h >>conftest.$ac_ext
51090 cat >>conftest.$ac_ext <<_ACEOF
51091 /* end confdefs.h. */
51093 #include <sys/types.h>
51094 #include <sys/socket.h>
51101 getsockname(0, 0, &len);
51107 rm -f conftest.$ac_objext
51108 if { (ac_try="$ac_compile"
51109 case "(($ac_try" in
51110 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51111 *) ac_try_echo
=$ac_try;;
51113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51114 (eval "$ac_compile") 2>conftest.er1
51116 grep -v '^ *+' conftest.er1
>conftest.err
51118 cat conftest.err
>&5
51119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51120 (exit $ac_status); } &&
51121 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
51122 { (case "(($ac_try" in
51123 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51124 *) ac_try_echo=$ac_try;;
51126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51127 (eval "$ac_try") 2>&5
51129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51130 (exit $ac_status); }; } &&
51131 { ac_try='test -s conftest.$ac_objext'
51132 { (case "(($ac_try" in
51133 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51134 *) ac_try_echo
=$ac_try;;
51136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51137 (eval "$ac_try") 2>&5
51139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51140 (exit $ac_status); }; }; then
51141 wx_cv_type_getsockname3
=size_t
51143 echo "$as_me: failed program was:" >&5
51144 sed 's/^/| /' conftest.
$ac_ext >&5
51146 cat >conftest.
$ac_ext <<_ACEOF
51149 cat confdefs.h
>>conftest.
$ac_ext
51150 cat >>conftest.
$ac_ext <<_ACEOF
51151 /* end confdefs.h. */
51153 #include <sys/types.h>
51154 #include <sys/socket.h>
51161 getsockname(0, 0, &len);
51167 rm -f conftest.
$ac_objext
51168 if { (ac_try
="$ac_compile"
51169 case "(($ac_try" in
51170 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51171 *) ac_try_echo=$ac_try;;
51173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51174 (eval "$ac_compile") 2>conftest.er1
51176 grep -v '^ *+' conftest.er1 >conftest.err
51178 cat conftest.err >&5
51179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51180 (exit $ac_status); } &&
51181 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
51182 { (case "(($ac_try" in
51183 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51184 *) ac_try_echo
=$ac_try;;
51186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51187 (eval "$ac_try") 2>&5
51189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51190 (exit $ac_status); }; } &&
51191 { ac_try
='test -s conftest.$ac_objext'
51192 { (case "(($ac_try" in
51193 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51194 *) ac_try_echo=$ac_try;;
51196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51197 (eval "$ac_try") 2>&5
51199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51200 (exit $ac_status); }; }; then
51201 wx_cv_type_getsockname3=int
51203 echo "$as_me: failed program was:" >&5
51204 sed 's/^/| /' conftest.$ac_ext >&5
51206 wx_cv_type_getsockname3=unknown
51210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51216 CFLAGS="$CFLAGS_OLD"
51221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51223 ac_cpp='$CPP $CPPFLAGS'
51224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51230 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
51231 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
51233 if test "$wx_cv_type_getsockname3" = "unknown"; then
51235 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
51236 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
51238 cat >>confdefs.h <<_ACEOF
51239 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
51243 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
51244 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
51245 if test "${wx_cv_type_getsockopt5+set}" = set; then
51246 echo $ECHO_N "(cached) $ECHO_C" >&6
51249 cat >conftest.$ac_ext <<_ACEOF
51252 cat confdefs.h >>conftest.$ac_ext
51253 cat >>conftest.$ac_ext <<_ACEOF
51254 /* end confdefs.h. */
51256 #include <sys/types.h>
51257 #include <sys/socket.h>
51264 getsockopt(0, 0, 0, 0, &len);
51270 rm -f conftest.$ac_objext
51271 if { (ac_try="$ac_compile"
51272 case "(($ac_try" in
51273 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51274 *) ac_try_echo
=$ac_try;;
51276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51277 (eval "$ac_compile") 2>conftest.er1
51279 grep -v '^ *+' conftest.er1
>conftest.err
51281 cat conftest.err
>&5
51282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51283 (exit $ac_status); } &&
51284 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51285 { (case "(($ac_try" in
51286 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51287 *) ac_try_echo=$ac_try;;
51289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51290 (eval "$ac_try") 2>&5
51292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51293 (exit $ac_status); }; } &&
51294 { ac_try='test -s conftest.$ac_objext'
51295 { (case "(($ac_try" in
51296 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51297 *) ac_try_echo
=$ac_try;;
51299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51300 (eval "$ac_try") 2>&5
51302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51303 (exit $ac_status); }; }; then
51304 wx_cv_type_getsockopt5
=socklen_t
51306 echo "$as_me: failed program was:" >&5
51307 sed 's/^/| /' conftest.
$ac_ext >&5
51311 ac_cpp
='$CXXCPP $CPPFLAGS'
51312 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51313 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51314 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
51316 cat >conftest.
$ac_ext <<_ACEOF
51319 cat confdefs.h
>>conftest.
$ac_ext
51320 cat >>conftest.
$ac_ext <<_ACEOF
51321 /* end confdefs.h. */
51323 #include <sys/types.h>
51324 #include <sys/socket.h>
51331 getsockopt(0, 0, 0, 0, &len);
51337 rm -f conftest.
$ac_objext
51338 if { (ac_try
="$ac_compile"
51339 case "(($ac_try" in
51340 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51341 *) ac_try_echo=$ac_try;;
51343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51344 (eval "$ac_compile") 2>conftest.er1
51346 grep -v '^ *+' conftest.er1 >conftest.err
51348 cat conftest.err >&5
51349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51350 (exit $ac_status); } &&
51351 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
51352 { (case "(($ac_try" in
51353 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51354 *) ac_try_echo
=$ac_try;;
51356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51357 (eval "$ac_try") 2>&5
51359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51360 (exit $ac_status); }; } &&
51361 { ac_try
='test -s conftest.$ac_objext'
51362 { (case "(($ac_try" in
51363 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51364 *) ac_try_echo=$ac_try;;
51366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51367 (eval "$ac_try") 2>&5
51369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51370 (exit $ac_status); }; }; then
51371 wx_cv_type_getsockopt5=size_t
51373 echo "$as_me: failed program was:" >&5
51374 sed 's/^/| /' conftest.$ac_ext >&5
51376 cat >conftest.$ac_ext <<_ACEOF
51379 cat confdefs.h >>conftest.$ac_ext
51380 cat >>conftest.$ac_ext <<_ACEOF
51381 /* end confdefs.h. */
51383 #include <sys/types.h>
51384 #include <sys/socket.h>
51391 getsockopt(0, 0, 0, 0, &len);
51397 rm -f conftest.$ac_objext
51398 if { (ac_try="$ac_compile"
51399 case "(($ac_try" in
51400 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51401 *) ac_try_echo
=$ac_try;;
51403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51404 (eval "$ac_compile") 2>conftest.er1
51406 grep -v '^ *+' conftest.er1
>conftest.err
51408 cat conftest.err
>&5
51409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51410 (exit $ac_status); } &&
51411 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
51412 { (case "(($ac_try" in
51413 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51414 *) ac_try_echo=$ac_try;;
51416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51417 (eval "$ac_try") 2>&5
51419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51420 (exit $ac_status); }; } &&
51421 { ac_try='test -s conftest.$ac_objext'
51422 { (case "(($ac_try" in
51423 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51424 *) ac_try_echo
=$ac_try;;
51426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51427 (eval "$ac_try") 2>&5
51429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51430 (exit $ac_status); }; }; then
51431 wx_cv_type_getsockopt5
=int
51433 echo "$as_me: failed program was:" >&5
51434 sed 's/^/| /' conftest.
$ac_ext >&5
51436 wx_cv_type_getsockopt5
=unknown
51440 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51444 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51446 ac_cpp
='$CPP $CPPFLAGS'
51447 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51448 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51449 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
51455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51458 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
51459 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
51461 if test "$wx_cv_type_getsockopt5" = "unknown"; then
51463 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
51464 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
51466 cat >>confdefs.h
<<_ACEOF
51467 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
51474 if test "$wxUSE_SOCKETS" = "yes" ; then
51475 cat >>confdefs.h
<<\_ACEOF
51476 #define wxUSE_SOCKETS 1
51479 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
51482 if test "$wxUSE_PROTOCOL" = "yes"; then
51483 if test "$wxUSE_SOCKETS" != "yes"; then
51484 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
51485 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
51490 if test "$wxUSE_PROTOCOL" = "yes"; then
51491 cat >>confdefs.h
<<\_ACEOF
51492 #define wxUSE_PROTOCOL 1
51496 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
51497 cat >>confdefs.h
<<\_ACEOF
51498 #define wxUSE_PROTOCOL_HTTP 1
51502 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
51503 cat >>confdefs.h
<<\_ACEOF
51504 #define wxUSE_PROTOCOL_FTP 1
51508 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
51509 cat >>confdefs.h
<<\_ACEOF
51510 #define wxUSE_PROTOCOL_FILE 1
51515 if test "$wxUSE_FS_INET" = "yes"; then
51516 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
51517 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
51522 if test "$wxUSE_URL" = "yes"; then
51523 if test "$wxUSE_PROTOCOL" != "yes"; then
51524 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
51525 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
51528 if test "$wxUSE_URL" = "yes"; then
51529 cat >>confdefs.h
<<\_ACEOF
51530 #define wxUSE_URL 1
51536 if test "$wxUSE_VARIANT" = "yes"; then
51537 cat >>confdefs.h
<<\_ACEOF
51538 #define wxUSE_VARIANT 1
51543 if test "$wxUSE_FS_INET" = "yes"; then
51544 cat >>confdefs.h
<<\_ACEOF
51545 #define wxUSE_FS_INET 1
51551 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
51554 if test "$TOOLKIT" = "MSW"; then
51557 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
51558 if test "$USE_DARWIN" = 1; then
51559 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
51560 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
51562 ac_cpp
='$CXXCPP $CPPFLAGS'
51563 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51564 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51565 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
51567 cat >conftest.
$ac_ext <<_ACEOF
51570 cat confdefs.h
>>conftest.
$ac_ext
51571 cat >>conftest.
$ac_ext <<_ACEOF
51572 /* end confdefs.h. */
51573 #include <IOKit/hid/IOHIDLib.h>
51577 IOHIDQueueInterface *qi = NULL;
51578 IOHIDCallbackFunction cb = NULL;
51579 qi->setEventCallout(NULL, cb, NULL, NULL);
51584 rm -f conftest.
$ac_objext
51585 if { (ac_try
="$ac_compile"
51586 case "(($ac_try" in
51587 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51588 *) ac_try_echo=$ac_try;;
51590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51591 (eval "$ac_compile") 2>conftest.er1
51593 grep -v '^ *+' conftest.er1 >conftest.err
51595 cat conftest.err >&5
51596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51597 (exit $ac_status); } &&
51598 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
51599 { (case "(($ac_try" in
51600 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51601 *) ac_try_echo
=$ac_try;;
51603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51604 (eval "$ac_try") 2>&5
51606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51607 (exit $ac_status); }; } &&
51608 { ac_try
='test -s conftest.$ac_objext'
51609 { (case "(($ac_try" in
51610 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51611 *) ac_try_echo=$ac_try;;
51613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51614 (eval "$ac_try") 2>&5
51616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51617 (exit $ac_status); }; }; then
51621 echo "$as_me: failed program was:" >&5
51622 sed 's/^/| /' conftest.$ac_ext >&5
51627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51629 ac_cpp='$CPP $CPPFLAGS'
51630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51634 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
51635 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
51639 if test "$wxUSE_MGL" != "1"; then
51640 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
51641 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
51642 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
51643 echo $ECHO_N "(cached) $ECHO_C" >&6
51645 cat >conftest.$ac_ext <<_ACEOF
51648 cat confdefs.h >>conftest.$ac_ext
51649 cat >>conftest.$ac_ext <<_ACEOF
51650 /* end confdefs.h. */
51653 #include <linux/joystick.h>
51655 rm -f conftest.$ac_objext
51656 if { (ac_try="$ac_compile"
51657 case "(($ac_try" in
51658 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51659 *) ac_try_echo
=$ac_try;;
51661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51662 (eval "$ac_compile") 2>conftest.er1
51664 grep -v '^ *+' conftest.er1
>conftest.err
51666 cat conftest.err
>&5
51667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51668 (exit $ac_status); } &&
51669 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51670 { (case "(($ac_try" in
51671 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51672 *) ac_try_echo=$ac_try;;
51674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51675 (eval "$ac_try") 2>&5
51677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51678 (exit $ac_status); }; } &&
51679 { ac_try='test -s conftest.$ac_objext'
51680 { (case "(($ac_try" in
51681 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51682 *) ac_try_echo
=$ac_try;;
51684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51685 (eval "$ac_try") 2>&5
51687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51688 (exit $ac_status); }; }; then
51689 ac_cv_header_linux_joystick_h
=yes
51691 echo "$as_me: failed program was:" >&5
51692 sed 's/^/| /' conftest.
$ac_ext >&5
51694 ac_cv_header_linux_joystick_h
=no
51697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51699 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
51700 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
51701 if test $ac_cv_header_linux_joystick_h = yes; then
51709 if test "$wxUSE_JOYSTICK" = "yes"; then
51710 cat >>confdefs.h
<<\_ACEOF
51711 #define wxUSE_JOYSTICK 1
51714 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
51716 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
51717 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
51723 if test "$wxUSE_FONTMAP" = "yes" ; then
51724 cat >>confdefs.h
<<\_ACEOF
51725 #define wxUSE_FONTMAP 1
51730 if test "$wxUSE_UNICODE" = "yes" ; then
51731 cat >>confdefs.h
<<\_ACEOF
51732 #define wxUSE_UNICODE 1
51736 if test "$USE_WIN32" != 1; then
51737 wxUSE_UNICODE_MSLU
=no
51740 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
51741 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
51742 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
51743 if test "${ac_cv_lib_unicows_main+set}" = set; then
51744 echo $ECHO_N "(cached) $ECHO_C" >&6
51746 ac_check_lib_save_LIBS
=$LIBS
51747 LIBS
="-lunicows $LIBS"
51748 cat >conftest.
$ac_ext <<_ACEOF
51751 cat confdefs.h
>>conftest.
$ac_ext
51752 cat >>conftest.
$ac_ext <<_ACEOF
51753 /* end confdefs.h. */
51764 rm -f conftest.
$ac_objext conftest
$ac_exeext
51765 if { (ac_try
="$ac_link"
51766 case "(($ac_try" in
51767 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51768 *) ac_try_echo=$ac_try;;
51770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51771 (eval "$ac_link") 2>conftest.er1
51773 grep -v '^ *+' conftest.er1 >conftest.err
51775 cat conftest.err >&5
51776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51777 (exit $ac_status); } &&
51778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51779 { (case "(($ac_try" in
51780 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51781 *) ac_try_echo
=$ac_try;;
51783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51784 (eval "$ac_try") 2>&5
51786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51787 (exit $ac_status); }; } &&
51788 { ac_try
='test -s conftest$ac_exeext'
51789 { (case "(($ac_try" in
51790 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51791 *) ac_try_echo=$ac_try;;
51793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51794 (eval "$ac_try") 2>&5
51796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51797 (exit $ac_status); }; }; then
51798 ac_cv_lib_unicows_main=yes
51800 echo "$as_me: failed program was:" >&5
51801 sed 's/^/| /' conftest.$ac_ext >&5
51803 ac_cv_lib_unicows_main=no
51806 rm -f core conftest.err conftest.$ac_objext \
51807 conftest$ac_exeext conftest.$ac_ext
51808 LIBS=$ac_check_lib_save_LIBS
51810 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
51811 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
51812 if test $ac_cv_lib_unicows_main = yes; then
51814 cat >>confdefs.h <<\_ACEOF
51815 #define wxUSE_UNICODE_MSLU 1
51821 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
51822 Applications will only run on Windows NT/2000/XP!" >&5
51823 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
51824 Applications will only run on Windows NT/2000/XP!" >&2;}
51825 wxUSE_UNICODE_MSLU=no
51832 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
51833 cat >>confdefs.h <<\_ACEOF
51834 #define wxUSE_EXPERIMENTAL_PRINTF 1
51840 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
51841 cat >>confdefs.h <<\_ACEOF
51842 #define wxUSE_POSTSCRIPT 1
51847 cat >>confdefs.h <<\_ACEOF
51848 #define wxUSE_AFM_FOR_POSTSCRIPT 1
51852 cat >>confdefs.h <<\_ACEOF
51853 #define wxUSE_NORMALIZED_PS_FONTS 1
51858 if test "$wxUSE_CONSTRAINTS" = "yes"; then
51859 cat >>confdefs.h <<\_ACEOF
51860 #define wxUSE_CONSTRAINTS 1
51863 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
51866 if test "$wxUSE_MDI" = "yes"; then
51867 cat >>confdefs.h <<\_ACEOF
51868 #define wxUSE_MDI 1
51872 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
51873 cat >>confdefs.h <<\_ACEOF
51874 #define wxUSE_MDI_ARCHITECTURE 1
51877 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
51881 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
51882 cat >>confdefs.h <<\_ACEOF
51883 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
51886 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
51887 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
51888 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
51892 if test "$wxUSE_HELP" = "yes"; then
51893 cat >>confdefs.h <<\_ACEOF
51894 #define wxUSE_HELP 1
51897 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
51899 if test "$wxUSE_MSW" = 1; then
51900 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
51901 cat >>confdefs.h <<\_ACEOF
51902 #define wxUSE_MS_HTML_HELP 1
51908 if test "$wxUSE_WXHTML_HELP" = "yes"; then
51909 if test "$wxUSE_HTML" = "yes"; then
51910 cat >>confdefs.h <<\_ACEOF
51911 #define wxUSE_WXHTML_HELP 1
51915 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
51916 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
51917 wxUSE_WXHTML_HELP=no
51922 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
51923 if test "$wxUSE_CONSTRAINTS" != "yes"; then
51924 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
51925 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
51927 cat >>confdefs.h <<\_ACEOF
51928 #define wxUSE_PRINTING_ARCHITECTURE 1
51932 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
51935 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
51936 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
51937 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
51938 { (exit 1); exit 1; }; }
51942 if test "$wxUSE_METAFILE" = "yes"; then
51943 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
51944 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
51945 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
51951 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
51952 -o "$wxUSE_CLIPBOARD" = "yes" \
51953 -o "$wxUSE_OLE" = "yes" \
51954 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
51956 for ac_header in ole2.h
51958 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51959 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
51960 { echo "$as_me:$LINENO: checking for $ac_header" >&5
51961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
51962 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
51963 echo $ECHO_N "(cached) $ECHO_C" >&6
51965 ac_res=`eval echo '${'$as_ac_Header'}'`
51966 { echo "$as_me:$LINENO: result: $ac_res" >&5
51967 echo "${ECHO_T}$ac_res" >&6; }
51969 # Is the header compilable?
51970 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
51971 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
51972 cat >conftest.$ac_ext <<_ACEOF
51975 cat confdefs.h >>conftest.$ac_ext
51976 cat >>conftest.$ac_ext <<_ACEOF
51977 /* end confdefs.h. */
51978 $ac_includes_default
51979 #include <$ac_header>
51981 rm -f conftest.$ac_objext
51982 if { (ac_try="$ac_compile"
51983 case "(($ac_try" in
51984 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51985 *) ac_try_echo
=$ac_try;;
51987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51988 (eval "$ac_compile") 2>conftest.er1
51990 grep -v '^ *+' conftest.er1
>conftest.err
51992 cat conftest.err
>&5
51993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51994 (exit $ac_status); } &&
51995 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51996 { (case "(($ac_try" in
51997 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51998 *) ac_try_echo=$ac_try;;
52000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52001 (eval "$ac_try") 2>&5
52003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52004 (exit $ac_status); }; } &&
52005 { ac_try='test -s conftest.$ac_objext'
52006 { (case "(($ac_try" in
52007 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
52008 *) ac_try_echo
=$ac_try;;
52010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52011 (eval "$ac_try") 2>&5
52013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52014 (exit $ac_status); }; }; then
52015 ac_header_compiler
=yes
52017 echo "$as_me: failed program was:" >&5
52018 sed 's/^/| /' conftest.
$ac_ext >&5
52020 ac_header_compiler
=no
52023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
52024 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52025 echo "${ECHO_T}$ac_header_compiler" >&6; }
52027 # Is the header present?
52028 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
52029 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
52030 cat >conftest.
$ac_ext <<_ACEOF
52033 cat confdefs.h
>>conftest.
$ac_ext
52034 cat >>conftest.
$ac_ext <<_ACEOF
52035 /* end confdefs.h. */
52036 #include <$ac_header>
52038 if { (ac_try
="$ac_cpp conftest.$ac_ext"
52039 case "(($ac_try" in
52040 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
52041 *) ac_try_echo=$ac_try;;
52043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52044 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
52046 grep -v '^ *+' conftest.er1 >conftest.err
52048 cat conftest.err >&5
52049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52050 (exit $ac_status); } >/dev/null; then
52051 if test -s conftest.err; then
52052 ac_cpp_err=$ac_c_preproc_warn_flag
52053 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52060 if test -z "$ac_cpp_err"; then
52061 ac_header_preproc=yes
52063 echo "$as_me: failed program was:" >&5
52064 sed 's/^/| /' conftest.$ac_ext >&5
52066 ac_header_preproc=no
52069 rm -f conftest.err conftest.$ac_ext
52070 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52071 echo "${ECHO_T}$ac_header_preproc" >&6; }
52073 # So? What about this header?
52074 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52076 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52077 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52078 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52079 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52080 ac_header_preproc=yes
52083 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52084 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52085 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52086 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52087 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52088 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52089 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52090 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52091 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52092 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52093 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52094 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52096 ## ----------------------------------------- ##
52097 ## Report this to wx-dev@lists.wxwidgets.org ##
52098 ## ----------------------------------------- ##
52100 ) | sed "s/^/$as_me: WARNING: /" >&2
52103 { echo "$as_me:$LINENO: checking for $ac_header" >&5
52104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
52105 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
52106 echo $ECHO_N "(cached) $ECHO_C" >&6
52108 eval "$as_ac_Header=\$ac_header_preproc"
52110 ac_res=`eval echo '${'$as_ac_Header'}'`
52111 { echo "$as_me:$LINENO: result: $ac_res" >&5
52112 echo "${ECHO_T}$ac_res" >&6; }
52115 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52116 cat >>confdefs.h <<_ACEOF
52117 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52125 if test "$ac_cv_header_ole2_h" = "yes" ; then
52126 if test "$GCC" = yes ; then
52127 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
52128 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
52129 cat >conftest.$ac_ext <<_ACEOF
52132 cat confdefs.h >>conftest.$ac_ext
52133 cat >>conftest.$ac_ext <<_ACEOF
52134 /* end confdefs.h. */
52135 #include <windows.h>
52145 rm -f conftest.$ac_objext
52146 if { (ac_try="$ac_compile"
52147 case "(($ac_try" in
52148 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
52149 *) ac_try_echo
=$ac_try;;
52151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52152 (eval "$ac_compile") 2>conftest.er1
52154 grep -v '^ *+' conftest.er1
>conftest.err
52156 cat conftest.err
>&5
52157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52158 (exit $ac_status); } &&
52159 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
52160 { (case "(($ac_try" in
52161 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
52162 *) ac_try_echo=$ac_try;;
52164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52165 (eval "$ac_try") 2>&5
52167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52168 (exit $ac_status); }; } &&
52169 { ac_try='test -s conftest.$ac_objext'
52170 { (case "(($ac_try" in
52171 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
52172 *) ac_try_echo
=$ac_try;;
52174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52175 (eval "$ac_try") 2>&5
52177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52178 (exit $ac_status); }; }; then
52179 { echo "$as_me:$LINENO: result: no" >&5
52180 echo "${ECHO_T}no" >&6; }
52182 echo "$as_me: failed program was:" >&5
52183 sed 's/^/| /' conftest.
$ac_ext >&5
52185 { echo "$as_me:$LINENO: result: yes" >&5
52186 echo "${ECHO_T}yes" >&6; }
52187 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
52190 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
52191 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
52192 if test "$wxUSE_OLE" = "yes" ; then
52193 cat >>confdefs.h
<<\_ACEOF
52194 #define wxUSE_OLE 1
52197 cat >>confdefs.h
<<\_ACEOF
52198 #define wxUSE_OLE_AUTOMATION 1
52201 cat >>confdefs.h
<<\_ACEOF
52202 #define wxUSE_ACTIVEX 1
52205 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
52209 if test "$wxUSE_DATAOBJ" = "yes" ; then
52210 cat >>confdefs.h
<<\_ACEOF
52211 #define wxUSE_DATAOBJ 1
52216 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
52217 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
52220 wxUSE_DRAG_AND_DROP
=no
52225 if test "$wxUSE_METAFILE" = "yes"; then
52226 cat >>confdefs.h
<<\_ACEOF
52227 #define wxUSE_METAFILE 1
52231 cat >>confdefs.h
<<\_ACEOF
52232 #define wxUSE_ENH_METAFILE 1
52238 if test "$wxUSE_IPC" = "yes"; then
52239 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
52240 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
52241 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
52245 if test "$wxUSE_IPC" = "yes"; then
52246 cat >>confdefs.h
<<\_ACEOF
52247 #define wxUSE_IPC 1
52250 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
52254 if test "$wxUSE_DATAOBJ" = "yes"; then
52255 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
52256 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
52257 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
52260 cat >>confdefs.h
<<\_ACEOF
52261 #define wxUSE_DATAOBJ 1
52266 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
52267 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
52269 wxUSE_DRAG_AND_DROP
=no
52272 if test "$wxUSE_CLIPBOARD" = "yes"; then
52273 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
52274 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
52275 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
52279 if test "$wxUSE_CLIPBOARD" = "yes"; then
52280 cat >>confdefs.h
<<\_ACEOF
52281 #define wxUSE_CLIPBOARD 1
52287 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
52288 if test "$wxUSE_GTK" = 1; then
52289 if test "$WXGTK12" != 1; then
52290 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
52291 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
52292 wxUSE_DRAG_AND_DROP
=no
52296 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
52297 "$wxUSE_DFB" = 1; then
52298 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
52299 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
52300 wxUSE_DRAG_AND_DROP
=no
52303 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
52304 cat >>confdefs.h
<<\_ACEOF
52305 #define wxUSE_DRAG_AND_DROP 1
52312 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
52313 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
52316 if test "$wxUSE_SPLINES" = "yes" ; then
52317 cat >>confdefs.h
<<\_ACEOF
52318 #define wxUSE_SPLINES 1
52323 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
52324 cat >>confdefs.h
<<\_ACEOF
52325 #define wxUSE_MOUSEWHEEL 1
52332 if test "$wxUSE_CONTROLS" = "yes"; then
52336 if test "$wxUSE_ACCEL" = "yes"; then
52337 cat >>confdefs.h
<<\_ACEOF
52338 #define wxUSE_ACCEL 1
52344 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
52345 cat >>confdefs.h
<<\_ACEOF
52346 #define wxUSE_ANIMATIONCTRL 1
52350 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
52353 if test "$wxUSE_BUTTON" = "yes"; then
52354 cat >>confdefs.h
<<\_ACEOF
52355 #define wxUSE_BUTTON 1
52361 if test "$wxUSE_BMPBUTTON" = "yes"; then
52362 cat >>confdefs.h
<<\_ACEOF
52363 #define wxUSE_BMPBUTTON 1
52369 if test "$wxUSE_CALCTRL" = "yes"; then
52370 cat >>confdefs.h
<<\_ACEOF
52371 #define wxUSE_CALENDARCTRL 1
52375 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
52378 if test "$wxUSE_CARET" = "yes"; then
52379 cat >>confdefs.h
<<\_ACEOF
52380 #define wxUSE_CARET 1
52384 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
52387 if test "$wxUSE_COLLPANE" = "yes"; then
52388 cat >>confdefs.h
<<\_ACEOF
52389 #define wxUSE_COLLPANE 1
52393 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
52396 if test "$wxUSE_COMBOBOX" = "yes"; then
52397 cat >>confdefs.h
<<\_ACEOF
52398 #define wxUSE_COMBOBOX 1
52404 if test "$wxUSE_COMBOCTRL" = "yes"; then
52405 cat >>confdefs.h
<<\_ACEOF
52406 #define wxUSE_COMBOCTRL 1
52412 if test "$wxUSE_CHOICE" = "yes"; then
52413 cat >>confdefs.h
<<\_ACEOF
52414 #define wxUSE_CHOICE 1
52420 if test "$wxUSE_CHOICEBOOK" = "yes"; then
52421 cat >>confdefs.h
<<\_ACEOF
52422 #define wxUSE_CHOICEBOOK 1
52428 if test "$wxUSE_CHECKBOX" = "yes"; then
52429 cat >>confdefs.h
<<\_ACEOF
52430 #define wxUSE_CHECKBOX 1
52436 if test "$wxUSE_CHECKLST" = "yes"; then
52437 cat >>confdefs.h
<<\_ACEOF
52438 #define wxUSE_CHECKLISTBOX 1
52442 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
52445 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
52446 cat >>confdefs.h
<<\_ACEOF
52447 #define wxUSE_COLOURPICKERCTRL 1
52453 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
52454 cat >>confdefs.h
<<\_ACEOF
52455 #define wxUSE_DATEPICKCTRL 1
52461 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
52462 cat >>confdefs.h
<<\_ACEOF
52463 #define wxUSE_DIRPICKERCTRL 1
52469 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
52470 cat >>confdefs.h
<<\_ACEOF
52471 #define wxUSE_FILEPICKERCTRL 1
52477 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
52478 cat >>confdefs.h
<<\_ACEOF
52479 #define wxUSE_FONTPICKERCTRL 1
52485 if test "$wxUSE_DISPLAY" = "yes"; then
52486 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
52487 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
52488 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
52491 cat >>confdefs.h
<<\_ACEOF
52492 #define wxUSE_DISPLAY 1
52495 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
52499 if test "$wxUSE_DETECT_SM" = "yes"; then
52500 cat >>confdefs.h
<<\_ACEOF
52501 #define wxUSE_DETECT_SM 1
52506 if test "$wxUSE_GAUGE" = "yes"; then
52507 cat >>confdefs.h
<<\_ACEOF
52508 #define wxUSE_GAUGE 1
52514 if test "$wxUSE_GRID" = "yes"; then
52515 cat >>confdefs.h
<<\_ACEOF
52516 #define wxUSE_GRID 1
52520 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
52523 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
52524 cat >>confdefs.h
<<\_ACEOF
52525 #define wxUSE_HYPERLINKCTRL 1
52531 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
52532 cat >>confdefs.h
<<\_ACEOF
52533 #define wxUSE_BITMAPCOMBOBOX 1
52539 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
52540 cat >>confdefs.h
<<\_ACEOF
52541 #define wxUSE_DATAVIEWCTRL 1
52545 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
52548 if test "$wxUSE_IMAGLIST" = "yes"; then
52549 cat >>confdefs.h
<<\_ACEOF
52550 #define wxUSE_IMAGLIST 1
52555 if test "$wxUSE_LISTBOOK" = "yes"; then
52556 cat >>confdefs.h
<<\_ACEOF
52557 #define wxUSE_LISTBOOK 1
52563 if test "$wxUSE_LISTBOX" = "yes"; then
52564 cat >>confdefs.h
<<\_ACEOF
52565 #define wxUSE_LISTBOX 1
52569 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
52572 if test "$wxUSE_LISTCTRL" = "yes"; then
52573 if test "$wxUSE_IMAGLIST" = "yes"; then
52574 cat >>confdefs.h
<<\_ACEOF
52575 #define wxUSE_LISTCTRL 1
52579 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
52581 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
52582 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
52586 if test "$wxUSE_NOTEBOOK" = "yes"; then
52587 cat >>confdefs.h
<<\_ACEOF
52588 #define wxUSE_NOTEBOOK 1
52592 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
52595 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
52596 cat >>confdefs.h
<<\_ACEOF
52597 #define wxUSE_ODCOMBOBOX 1
52601 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
52605 if test "$wxUSE_RADIOBOX" = "yes"; then
52606 cat >>confdefs.h
<<\_ACEOF
52607 #define wxUSE_RADIOBOX 1
52613 if test "$wxUSE_RADIOBTN" = "yes"; then
52614 cat >>confdefs.h
<<\_ACEOF
52615 #define wxUSE_RADIOBTN 1
52621 if test "$wxUSE_SASH" = "yes"; then
52622 cat >>confdefs.h
<<\_ACEOF
52623 #define wxUSE_SASH 1
52626 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
52629 if test "$wxUSE_SCROLLBAR" = "yes"; then
52630 cat >>confdefs.h
<<\_ACEOF
52631 #define wxUSE_SCROLLBAR 1
52635 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
52638 if test "$wxUSE_SEARCHCTRL" = "yes"; then
52639 cat >>confdefs.h
<<\_ACEOF
52640 #define wxUSE_SEARCHCTRL 1
52646 if test "$wxUSE_SLIDER" = "yes"; then
52647 cat >>confdefs.h
<<\_ACEOF
52648 #define wxUSE_SLIDER 1
52654 if test "$wxUSE_SPINBTN" = "yes"; then
52655 cat >>confdefs.h
<<\_ACEOF
52656 #define wxUSE_SPINBTN 1
52662 if test "$wxUSE_SPINCTRL" = "yes"; then
52663 cat >>confdefs.h
<<\_ACEOF
52664 #define wxUSE_SPINCTRL 1
52670 if test "$wxUSE_SPLITTER" = "yes"; then
52671 cat >>confdefs.h
<<\_ACEOF
52672 #define wxUSE_SPLITTER 1
52675 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
52678 if test "$wxUSE_STATBMP" = "yes"; then
52679 cat >>confdefs.h
<<\_ACEOF
52680 #define wxUSE_STATBMP 1
52686 if test "$wxUSE_STATBOX" = "yes"; then
52687 cat >>confdefs.h
<<\_ACEOF
52688 #define wxUSE_STATBOX 1
52694 if test "$wxUSE_STATTEXT" = "yes"; then
52695 cat >>confdefs.h
<<\_ACEOF
52696 #define wxUSE_STATTEXT 1
52702 if test "$wxUSE_STATLINE" = "yes"; then
52703 cat >>confdefs.h
<<\_ACEOF
52704 #define wxUSE_STATLINE 1
52710 if test "$wxUSE_STATUSBAR" = "yes"; then
52711 cat >>confdefs.h
<<\_ACEOF
52712 #define wxUSE_NATIVE_STATUSBAR 1
52715 cat >>confdefs.h
<<\_ACEOF
52716 #define wxUSE_STATUSBAR 1
52721 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
52724 if test "$wxUSE_TAB_DIALOG" = "yes"; then
52725 cat >>confdefs.h
<<\_ACEOF
52726 #define wxUSE_TAB_DIALOG 1
52731 if test "$wxUSE_TEXTCTRL" = "yes"; then
52732 cat >>confdefs.h
<<\_ACEOF
52733 #define wxUSE_TEXTCTRL 1
52737 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
52740 if test "$wxUSE_TOGGLEBTN" = "yes"; then
52741 if test "$wxUSE_COCOA" = 1 ; then
52742 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
52743 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
52747 if test "$wxUSE_TOGGLEBTN" = "yes"; then
52748 cat >>confdefs.h
<<\_ACEOF
52749 #define wxUSE_TOGGLEBTN 1
52756 if test "$wxUSE_TOOLBAR" = "yes"; then
52757 cat >>confdefs.h
<<\_ACEOF
52758 #define wxUSE_TOOLBAR 1
52763 if test "$wxUSE_UNIVERSAL" = "yes"; then
52764 wxUSE_TOOLBAR_NATIVE
="no"
52766 wxUSE_TOOLBAR_NATIVE
="yes"
52767 cat >>confdefs.h
<<\_ACEOF
52768 #define wxUSE_TOOLBAR_NATIVE 1
52773 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
52776 if test "$wxUSE_TOOLTIPS" = "yes"; then
52777 if test "$wxUSE_MOTIF" = 1; then
52778 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
52779 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
52781 if test "$wxUSE_UNIVERSAL" = "yes"; then
52782 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
52783 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
52785 cat >>confdefs.h
<<\_ACEOF
52786 #define wxUSE_TOOLTIPS 1
52793 if test "$wxUSE_TREEBOOK" = "yes"; then
52794 cat >>confdefs.h
<<\_ACEOF
52795 #define wxUSE_TREEBOOK 1
52801 if test "$wxUSE_TOOLBOOK" = "yes"; then
52802 cat >>confdefs.h
<<\_ACEOF
52803 #define wxUSE_TOOLBOOK 1
52809 if test "$wxUSE_TREECTRL" = "yes"; then
52810 if test "$wxUSE_IMAGLIST" = "yes"; then
52811 cat >>confdefs.h
<<\_ACEOF
52812 #define wxUSE_TREECTRL 1
52816 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
52818 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
52819 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
52823 if test "$wxUSE_POPUPWIN" = "yes"; then
52824 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
52825 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
52826 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
52828 if test "$wxUSE_PM" = 1; then
52829 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
52830 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
52832 cat >>confdefs.h
<<\_ACEOF
52833 #define wxUSE_POPUPWIN 1
52836 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
52843 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
52844 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
52845 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
52846 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
52848 cat >>confdefs.h
<<\_ACEOF
52849 #define wxUSE_DIALUP_MANAGER 1
52852 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
52856 if test "$wxUSE_TIPWINDOW" = "yes"; then
52857 if test "$wxUSE_PM" = 1; then
52858 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
52859 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
52861 cat >>confdefs.h
<<\_ACEOF
52862 #define wxUSE_TIPWINDOW 1
52868 if test "$USES_CONTROLS" = 1; then
52869 cat >>confdefs.h
<<\_ACEOF
52870 #define wxUSE_CONTROLS 1
52876 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
52877 cat >>confdefs.h
<<\_ACEOF
52878 #define wxUSE_ACCESSIBILITY 1
52881 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
52884 if test "$wxUSE_DC_CACHEING" = "yes"; then
52885 cat >>confdefs.h
<<\_ACEOF
52886 #define wxUSE_DC_CACHEING 1
52891 if test "$wxUSE_DRAGIMAGE" = "yes"; then
52892 cat >>confdefs.h
<<\_ACEOF
52893 #define wxUSE_DRAGIMAGE 1
52896 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
52899 if test "$wxUSE_EXCEPTIONS" = "yes"; then
52900 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
52901 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
52902 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
52904 cat >>confdefs.h
<<\_ACEOF
52905 #define wxUSE_EXCEPTIONS 1
52908 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
52913 if test "$wxUSE_HTML" = "yes"; then
52914 cat >>confdefs.h
<<\_ACEOF
52915 #define wxUSE_HTML 1
52919 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
52920 if test "$wxUSE_MAC" = 1; then
52921 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
52924 if test "$wxUSE_WEBKIT" = "yes"; then
52925 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
52926 old_CPPFLAGS
="$CPPFLAGS"
52927 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
52928 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
52929 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
52930 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
52931 echo $ECHO_N "(cached) $ECHO_C" >&6
52933 cat >conftest.
$ac_ext <<_ACEOF
52936 cat confdefs.h
>>conftest.
$ac_ext
52937 cat >>conftest.
$ac_ext <<_ACEOF
52938 /* end confdefs.h. */
52940 #include <Carbon/Carbon.h>
52941 #include <WebKit/WebKit.h>
52944 #include <WebKit/HIWebView.h>
52946 rm -f conftest.
$ac_objext
52947 if { (ac_try
="$ac_compile"
52948 case "(($ac_try" in
52949 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
52950 *) ac_try_echo=$ac_try;;
52952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52953 (eval "$ac_compile") 2>conftest.er1
52955 grep -v '^ *+' conftest.er1 >conftest.err
52957 cat conftest.err >&5
52958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52959 (exit $ac_status); } &&
52960 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
52961 { (case "(($ac_try" in
52962 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
52963 *) ac_try_echo
=$ac_try;;
52965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52966 (eval "$ac_try") 2>&5
52968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52969 (exit $ac_status); }; } &&
52970 { ac_try
='test -s conftest.$ac_objext'
52971 { (case "(($ac_try" in
52972 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
52973 *) ac_try_echo=$ac_try;;
52975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52976 (eval "$ac_try") 2>&5
52978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52979 (exit $ac_status); }; }; then
52980 ac_cv_header_WebKit_HIWebView_h=yes
52982 echo "$as_me: failed program was:" >&5
52983 sed 's/^/| /' conftest.$ac_ext >&5
52985 ac_cv_header_WebKit_HIWebView_h=no
52988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52990 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
52991 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
52992 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
52994 cat >>confdefs.h <<\_ACEOF
52995 #define wxUSE_WEBKIT 1
52998 WEBKIT_LINK="-framework WebKit"
53002 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
53003 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
53009 CPPFLAGS="$old_CPPFLAGS"
53010 elif test "$wxUSE_COCOA" = 1; then
53011 cat >>confdefs.h <<\_ACEOF
53012 #define wxUSE_WEBKIT 1
53021 if test "$wxUSE_XRC" = "yes"; then
53022 if test "$wxUSE_XML" != "yes"; then
53023 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
53024 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
53027 cat >>confdefs.h <<\_ACEOF
53028 #define wxUSE_XRC 1
53032 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
53037 if test "$wxUSE_AUI" = "yes"; then
53038 cat >>confdefs.h <<\_ACEOF
53039 #define wxUSE_AUI 1
53043 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
53046 if test "$wxUSE_MENUS" = "yes"; then
53047 cat >>confdefs.h <<\_ACEOF
53048 #define wxUSE_MENUS 1
53051 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
53054 if test "$wxUSE_METAFILE" = "yes"; then
53055 cat >>confdefs.h <<\_ACEOF
53056 #define wxUSE_METAFILE 1
53061 if test "$wxUSE_MIMETYPE" = "yes"; then
53062 cat >>confdefs.h <<\_ACEOF
53063 #define wxUSE_MIMETYPE 1
53068 if test "$wxUSE_MINIFRAME" = "yes"; then
53069 cat >>confdefs.h <<\_ACEOF
53070 #define wxUSE_MINIFRAME 1
53073 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
53076 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
53077 cat >>confdefs.h <<\_ACEOF
53078 #define wxUSE_SYSTEM_OPTIONS 1
53081 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
53082 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
53083 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
53088 if test "$wxUSE_VALIDATORS" = "yes"; then
53089 cat >>confdefs.h <<\_ACEOF
53090 #define wxUSE_VALIDATORS 1
53093 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
53096 if test "$wxUSE_PALETTE" = "yes" ; then
53097 if test "$wxUSE_DFB" = 1; then
53098 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
53099 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
53102 cat >>confdefs.h <<\_ACEOF
53103 #define wxUSE_PALETTE 1
53109 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
53110 LIBS=" -lunicows $LIBS"
53114 if test "$wxUSE_RICHTEXT" = "yes"; then
53115 cat >>confdefs.h <<\_ACEOF
53116 #define wxUSE_RICHTEXT 1
53120 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
53124 if test "$wxUSE_IMAGE" = "yes" ; then
53125 cat >>confdefs.h <<\_ACEOF
53126 #define wxUSE_IMAGE 1
53130 if test "$wxUSE_GIF" = "yes" ; then
53131 cat >>confdefs.h <<\_ACEOF
53132 #define wxUSE_GIF 1
53137 if test "$wxUSE_PCX" = "yes" ; then
53138 cat >>confdefs.h <<\_ACEOF
53139 #define wxUSE_PCX 1
53144 if test "$wxUSE_TGA" = "yes" ; then
53145 cat >>confdefs.h <<\_ACEOF
53146 #define wxUSE_TGA 1
53151 if test "$wxUSE_IFF" = "yes" ; then
53152 cat >>confdefs.h <<\_ACEOF
53153 #define wxUSE_IFF 1
53158 if test "$wxUSE_PNM" = "yes" ; then
53159 cat >>confdefs.h <<\_ACEOF
53160 #define wxUSE_PNM 1
53165 if test "$wxUSE_XPM" = "yes" ; then
53166 cat >>confdefs.h <<\_ACEOF
53167 #define wxUSE_XPM 1
53172 if test "$wxUSE_ICO_CUR" = "yes" ; then
53173 cat >>confdefs.h <<\_ACEOF
53174 #define wxUSE_ICO_CUR 1
53181 if test "$wxUSE_ABOUTDLG" = "yes"; then
53182 cat >>confdefs.h <<\_ACEOF
53183 #define wxUSE_ABOUTDLG 1
53188 if test "$wxUSE_CHOICEDLG" = "yes"; then
53189 cat >>confdefs.h <<\_ACEOF
53190 #define wxUSE_CHOICEDLG 1
53195 if test "$wxUSE_COLOURDLG" = "yes"; then
53196 cat >>confdefs.h <<\_ACEOF
53197 #define wxUSE_COLOURDLG 1
53202 if test "$wxUSE_FILEDLG" = "yes"; then
53203 cat >>confdefs.h <<\_ACEOF
53204 #define wxUSE_FILEDLG 1
53209 if test "$wxUSE_FINDREPLDLG" = "yes"; then
53210 cat >>confdefs.h <<\_ACEOF
53211 #define wxUSE_FINDREPLDLG 1
53216 if test "$wxUSE_FONTDLG" = "yes"; then
53217 cat >>confdefs.h <<\_ACEOF
53218 #define wxUSE_FONTDLG 1
53223 if test "$wxUSE_DIRDLG" = "yes"; then
53224 if test "$wxUSE_TREECTRL" != "yes"; then
53225 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
53226 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
53228 cat >>confdefs.h <<\_ACEOF
53229 #define wxUSE_DIRDLG 1
53235 if test "$wxUSE_MSGDLG" = "yes"; then
53236 cat >>confdefs.h <<\_ACEOF
53237 #define wxUSE_MSGDLG 1
53242 if test "$wxUSE_NUMBERDLG" = "yes"; then
53243 cat >>confdefs.h <<\_ACEOF
53244 #define wxUSE_NUMBERDLG 1
53249 if test "$wxUSE_PROGRESSDLG" = "yes"; then
53250 if test "$wxUSE_CONSTRAINTS" != "yes"; then
53251 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
53252 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
53254 cat >>confdefs.h <<\_ACEOF
53255 #define wxUSE_PROGRESSDLG 1
53261 if test "$wxUSE_SPLASH" = "yes"; then
53262 cat >>confdefs.h <<\_ACEOF
53263 #define wxUSE_SPLASH 1
53266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
53269 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
53270 if test "$wxUSE_CONSTRAINTS" != "yes"; then
53271 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
53272 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
53274 cat >>confdefs.h <<\_ACEOF
53275 #define wxUSE_STARTUP_TIPS 1
53281 if test "$wxUSE_TEXTDLG" = "yes"; then
53282 cat >>confdefs.h <<\_ACEOF
53283 #define wxUSE_TEXTDLG 1
53288 if test "$wxUSE_WIZARDDLG" = "yes"; then
53289 cat >>confdefs.h <<\_ACEOF
53290 #define wxUSE_WIZARDDLG 1
53293 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
53297 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
53298 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
53299 cat >>confdefs.h <<\_ACEOF
53300 #define wxUSE_GRAPHICS_CONTEXT 1
53303 elif test "$wxUSE_GTK" != 1; then
53304 cat >>confdefs.h <<\_ACEOF
53305 #define wxUSE_GRAPHICS_CONTEXT 1
53311 { echo "$as_me:$LINENO: checking for CAIRO" >&5
53312 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
53314 if test -n "$PKG_CONFIG"; then
53315 if test -n "$CAIRO_CFLAGS"; then
53316 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
53318 if test -n "$PKG_CONFIG" && \
53319 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
53320 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
53322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53323 (exit $ac_status); }; then
53324 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
53332 if test -n "$PKG_CONFIG"; then
53333 if test -n "$CAIRO_LIBS"; then
53334 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
53336 if test -n "$PKG_CONFIG" && \
53337 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
53338 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
53340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53341 (exit $ac_status); }; then
53342 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
53353 if test $pkg_failed = yes; then
53355 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
53356 _pkg_short_errors_supported=yes
53358 _pkg_short_errors_supported=no
53360 if test $_pkg_short_errors_supported = yes; then
53361 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
53363 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
53365 # Put the nasty error message in config.log where it belongs
53366 echo "$CAIRO_PKG_ERRORS" >&5
53368 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
53369 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
53371 elif test $pkg_failed = untried; then
53372 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
53373 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
53376 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
53377 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
53378 { echo "$as_me:$LINENO: result: yes" >&5
53379 echo "${ECHO_T}yes" >&6; }
53380 cat >>confdefs.h <<\_ACEOF
53381 #define wxUSE_GRAPHICS_CONTEXT 1
53391 if test "$wxUSE_MEDIACTRL" = "yes"; then
53394 if test "$wxUSE_GTK" = 1; then
53395 wxUSE_GSTREAMER="no"
53397 GST_VERSION_MAJOR=0
53398 GST_VERSION_MINOR=10
53399 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
53401 if test "$wxUSE_GSTREAMER8" = "no"; then
53404 { echo "$as_me:$LINENO: checking for GST" >&5
53405 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
53407 if test -n "$PKG_CONFIG"; then
53408 if test -n "$GST_CFLAGS"; then
53409 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
53411 if test -n "$PKG_CONFIG" && \
53412 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
53413 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
53415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53416 (exit $ac_status); }; then
53417 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
53425 if test -n "$PKG_CONFIG"; then
53426 if test -n "$GST_LIBS"; then
53427 pkg_cv_GST_LIBS="$GST_LIBS"
53429 if test -n "$PKG_CONFIG" && \
53430 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
53431 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
53433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53434 (exit $ac_status); }; then
53435 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
53446 if test $pkg_failed = yes; then
53448 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
53449 _pkg_short_errors_supported=yes
53451 _pkg_short_errors_supported=no
53453 if test $_pkg_short_errors_supported = yes; then
53454 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
53456 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
53458 # Put the nasty error message in config.log where it belongs
53459 echo "$GST_PKG_ERRORS" >&5
53462 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
53463 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
53464 GST_VERSION_MINOR=8
53467 elif test $pkg_failed = untried; then
53469 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
53470 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
53471 GST_VERSION_MINOR=8
53475 GST_CFLAGS=$pkg_cv_GST_CFLAGS
53476 GST_LIBS=$pkg_cv_GST_LIBS
53477 { echo "$as_me:$LINENO: result: yes" >&5
53478 echo "${ECHO_T}yes" >&6; }
53480 wxUSE_GSTREAMER="yes"
53481 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
53485 GST_VERSION_MINOR=8
53488 if test $GST_VERSION_MINOR = "8"; then
53489 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
53492 { echo "$as_me:$LINENO: checking for GST" >&5
53493 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
53495 if test -n "$PKG_CONFIG"; then
53496 if test -n "$GST_CFLAGS"; then
53497 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
53499 if test -n "$PKG_CONFIG" && \
53500 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
53501 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
53503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53504 (exit $ac_status); }; then
53505 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
53513 if test -n "$PKG_CONFIG"; then
53514 if test -n "$GST_LIBS"; then
53515 pkg_cv_GST_LIBS="$GST_LIBS"
53517 if test -n "$PKG_CONFIG" && \
53518 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
53519 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
53521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53522 (exit $ac_status); }; then
53523 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
53534 if test $pkg_failed = yes; then
53536 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
53537 _pkg_short_errors_supported=yes
53539 _pkg_short_errors_supported=no
53541 if test $_pkg_short_errors_supported = yes; then
53542 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
53544 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
53546 # Put the nasty error message in config.log where it belongs
53547 echo "$GST_PKG_ERRORS" >&5
53550 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
53551 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
53553 elif test $pkg_failed = untried; then
53555 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
53556 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
53559 GST_CFLAGS=$pkg_cv_GST_CFLAGS
53560 GST_LIBS=$pkg_cv_GST_LIBS
53561 { echo "$as_me:$LINENO: result: yes" >&5
53562 echo "${ECHO_T}yes" >&6; }
53563 wxUSE_GSTREAMER="yes"
53568 if test "$wxUSE_GSTREAMER" = "yes"; then
53571 if "$GCC" = yes; then
53572 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
53573 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
53577 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
53578 LIBS="$GST_LIBS $LIBS"
53580 cat >>confdefs.h <<\_ACEOF
53581 #define wxUSE_GSTREAMER 1
53589 if test $USE_MEDIA = 1; then
53590 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
53591 cat >>confdefs.h <<\_ACEOF
53592 #define wxUSE_MEDIACTRL 1
53599 if test "$cross_compiling" = "yes"; then
53602 OSINFO=`uname
-s -r -m`
53603 OSINFO="\"$OSINFO\""
53606 cat >>confdefs.h <<_ACEOF
53607 #define WXWIN_OS_DESCRIPTION $OSINFO
53612 if test "x$prefix" != "xNONE"; then
53615 wxPREFIX=$ac_default_prefix
53618 cat >>confdefs.h <<_ACEOF
53619 #define wxINSTALL_PREFIX "$wxPREFIX"
53625 CORE_BASE_LIBS="net base"
53626 CORE_GUI_LIBS="adv core"
53628 if test "$wxUSE_XML" = "yes" ; then
53629 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
53631 if test "$wxUSE_ODBC" != "no" ; then
53632 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
53633 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
53635 if test "$wxUSE_HTML" = "yes" ; then
53636 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
53638 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
53639 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
53641 if test "$wxUSE_XRC" = "yes" ; then
53642 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
53644 if test "$wxUSE_AUI" = "yes" ; then
53645 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
53648 if test "$wxUSE_GUI" != "yes"; then
53657 if test "$wxUSE_MAC" = 1 ; then
53658 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
53659 if test "$USE_DARWIN" = 1; then
53660 LDFLAGS="$LDFLAGS -framework QuickTime"
53662 LDFLAGS="$LDFLAGS -lQuickTimeLib"
53665 if test "$USE_DARWIN" = 1; then
53666 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
53668 LDFLAGS="$LDFLAGS -lCarbonLib"
53671 if test "$wxUSE_COCOA" = 1 ; then
53672 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
53673 if test "$wxUSE_MEDIACTRL" = "yes"; then
53674 LDFLAGS="$LDFLAGS -framework QuickTime"
53677 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
53678 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
53681 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
53683 if test "$wxUSE_GUI" = "yes"; then
53686 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
53687 dynamic erase event exec font image minimal mobile \
53688 mobile/wxedit mobile/styles propsize render \
53689 rotate shaped vscroll widgets"
53691 if test "$wxUSE_MONOLITHIC" != "yes"; then
53692 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
53694 if test "$TOOLKIT" = "MSW"; then
53695 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
53696 if test "$wxUSE_UNIVERSAL" != "yes"; then
53697 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
53700 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
53701 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
53704 SAMPLES_SUBDIRS="console"
53708 if test "x$INTELCC" = "xyes" ; then
53709 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
53710 elif test "$GCC" = yes ; then
53711 CWARNINGS="-Wall -Wundef"
53714 if test "x$INTELCXX" = "xyes" ; then
53715 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
53716 elif test "$GXX" = yes ; then
53717 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
53721 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
53722 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
53725 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
53726 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
53727 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
53730 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
53731 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
53732 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
53734 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
53737 if test "x$MWCC" = "xyes"; then
53739 CC="$CC -cwd source -I-"
53740 CXX="$CXX -cwd source -I-"
53745 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
53746 EXTRALIBS_XML="$EXPAT_LINK"
53747 EXTRALIBS_HTML="$MSPACK_LINK"
53748 EXTRALIBS_ODBC="$ODBC_LINK"
53749 if test "$wxUSE_GUI" = "yes"; then
53750 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
53752 if test "$wxUSE_OPENGL" = "yes"; then
53753 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
53756 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
53758 WXCONFIG_LIBS="$LIBS"
53760 if test "$wxUSE_REGEX" = "builtin" ; then
53761 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
53763 if test "$wxUSE_EXPAT" = "builtin" ; then
53764 wxconfig_3rdparty="expat $wxconfig_3rdparty"
53766 if test "$wxUSE_ODBC" = "builtin" ; then
53767 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
53769 if test "$wxUSE_LIBTIFF" = "builtin" ; then
53770 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
53772 if test "$wxUSE_LIBJPEG" = "builtin" ; then
53773 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
53775 if test "$wxUSE_LIBPNG" = "builtin" ; then
53776 wxconfig_3rdparty="png $wxconfig_3rdparty"
53778 if test "$wxUSE_ZLIB" = "builtin" ; then
53779 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
53782 for i in $wxconfig_3rdparty ; do
53783 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
53787 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
53790 case "$wxUNIV_THEMES" in
53792 cat >>confdefs.h <<\_ACEOF
53793 #define wxUSE_ALL_THEMES 1
53799 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a
-z A
-Z`; do
53800 cat >>confdefs.h <<_ACEOF
53801 #define wxUSE_THEME_$t 1
53818 if test $wxUSE_MONOLITHIC = "yes" ; then
53824 if test $wxUSE_PLUGINS = "yes" ; then
53830 if test $wxUSE_ODBC != "no" ; then
53836 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
53842 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
53872 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
53883 TOOLKIT_DESC="GTK+"
53884 if test "$WXGTK20" = 1; then
53885 TOOLKIT_DESC="$TOOLKIT_DESC 2"
53886 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
53887 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
53889 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
53890 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
53892 if test "$wxUSE_LIBHILDON" = "yes"; then
53893 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
53896 if test "$TOOLKIT_EXTRA" != ""; then
53897 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
53903 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
53907 TOOLKIT_DESC="base only"
53911 if test "$wxUSE_WINE" = "yes"; then
53912 BAKEFILE_FORCE_PLATFORM=win32
53915 if test "$wxUSE_MAC" = 1 ; then
53916 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
53917 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
53918 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
53920 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
53922 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
53923 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
53924 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
53925 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
53928 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
53929 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
53932 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
53934 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
53935 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
53936 if test "${wx_cv_gcc_pch_bug+set}" = set; then
53937 echo $ECHO_N "(cached) $ECHO_C" >&6
53940 echo '#include <stdio.h>
53941 const wchar_t test_var[] = L"awidetest";' > conftest.h
53943 echo '#include "conftest.h"
53946 printf("%ls", test_var);
53950 wx_cv_gcc_pch_bug="pch not supported"
53952 if $CXX conftest.h >/dev/null 2>&1
53956 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
53958 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
53959 grep awidetest >/dev/null
53961 wx_cv_gcc_pch_bug=no
53963 wx_cv_gcc_pch_bug=yes
53968 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
53971 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
53972 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
53974 if test "$wx_cv_gcc_pch_bug" = yes; then
53982 if test "x$BAKEFILE_HOST" = "x"; then
53983 if test "x${host}" = "x" ; then
53984 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
53985 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
53986 { (exit 1); exit 1; }; }
53989 BAKEFILE_HOST="${host}"
53992 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
53994 if test -n "$ac_tool_prefix"; then
53995 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
53996 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
53997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53999 if test "${ac_cv_prog_RANLIB+set}" = set; then
54000 echo $ECHO_N "(cached) $ECHO_C" >&6
54002 if test -n "$RANLIB"; then
54003 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
54005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54006 for as_dir in $PATH
54009 test -z "$as_dir" && as_dir=.
54010 for ac_exec_ext in '' $ac_executable_extensions; do
54011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54012 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
54013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54022 RANLIB=$ac_cv_prog_RANLIB
54023 if test -n "$RANLIB"; then
54024 { echo "$as_me:$LINENO: result: $RANLIB" >&5
54025 echo "${ECHO_T}$RANLIB" >&6; }
54027 { echo "$as_me:$LINENO: result: no" >&5
54028 echo "${ECHO_T}no" >&6; }
54033 if test -z "$ac_cv_prog_RANLIB"; then
54034 ac_ct_RANLIB=$RANLIB
54035 # Extract the first word of "ranlib", so it can be a program name with args.
54036 set dummy ranlib; ac_word=$2
54037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54039 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
54040 echo $ECHO_N "(cached) $ECHO_C" >&6
54042 if test -n "$ac_ct_RANLIB"; then
54043 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
54045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54046 for as_dir in $PATH
54049 test -z "$as_dir" && as_dir=.
54050 for ac_exec_ext in '' $ac_executable_extensions; do
54051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54052 ac_cv_prog_ac_ct_RANLIB="ranlib"
54053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54062 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
54063 if test -n "$ac_ct_RANLIB"; then
54064 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
54065 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
54067 { echo "$as_me:$LINENO: result: no" >&5
54068 echo "${ECHO_T}no" >&6; }
54071 if test "x$ac_ct_RANLIB" = x; then
54074 case $cross_compiling:$ac_tool_warned in
54076 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
54077 whose name does not start with the host triplet. If you think this
54078 configuration is useful to you, please write to autoconf@gnu.org." >&5
54079 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
54080 whose name does not start with the host triplet. If you think this
54081 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
54082 ac_tool_warned=yes ;;
54084 RANLIB=$ac_ct_RANLIB
54087 RANLIB="$ac_cv_prog_RANLIB"
54090 # Find a good install program. We prefer a C program (faster),
54091 # so one script is as good as another. But avoid the broken or
54092 # incompatible versions:
54093 # SysV /etc/install, /usr/sbin/install
54094 # SunOS /usr/etc/install
54095 # IRIX /sbin/install
54097 # AmigaOS /C/install, which installs bootblocks on floppy discs
54098 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
54099 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
54100 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
54101 # OS/2's system install, which has a completely different semantic
54102 # ./install, which can be erroneously created by make from ./install.sh.
54103 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
54104 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
54105 if test -z "$INSTALL"; then
54106 if test "${ac_cv_path_install+set}" = set; then
54107 echo $ECHO_N "(cached) $ECHO_C" >&6
54109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54110 for as_dir in $PATH
54113 test -z "$as_dir" && as_dir=.
54114 # Account for people who put trailing slashes in PATH elements.
54116 ./ | .// | /cC/* | \
54117 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
54118 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
54121 # OSF1 and SCO ODT 3.0 have their own names for install.
54122 # Don't use installbsd from OSF since it installs stuff as root
54124 for ac_prog in ginstall scoinst install; do
54125 for ac_exec_ext in '' $ac_executable_extensions; do
54126 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
54127 if test $ac_prog = install &&
54128 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
54129 # AIX install. It has an incompatible calling convention.
54131 elif test $ac_prog = install &&
54132 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
54133 # program-specific install script used by HP pwplus--don't use.
54136 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
54149 if test "${ac_cv_path_install+set}" = set; then
54150 INSTALL=$ac_cv_path_install
54152 # As a last resort, use the slow shell script. Don't cache a
54153 # value for INSTALL within a source directory, because that will
54154 # break other packages using the cache if that directory is
54155 # removed, or if the value is a relative name.
54156 INSTALL=$ac_install_sh
54159 { echo "$as_me:$LINENO: result: $INSTALL" >&5
54160 echo "${ECHO_T}$INSTALL" >&6; }
54162 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
54163 # It thinks the first close brace ends the variable substitution.
54164 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
54166 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
54168 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
54170 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
54171 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
54173 if test "$LN_S" = "ln -s"; then
54174 { echo "$as_me:$LINENO: result: yes" >&5
54175 echo "${ECHO_T}yes" >&6; }
54177 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
54178 echo "${ECHO_T}no, using $LN_S" >&6; }
54182 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
54183 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
54184 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
54185 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
54186 echo $ECHO_N "(cached) $ECHO_C" >&6
54188 cat >conftest.make <<\_ACEOF
54191 @echo '@@@%%%=$(MAKE)=@@@%%%'
54193 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
54194 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
54195 *@@@%%%=?*=@@@%%%*)
54196 eval ac_cv_prog_make_${ac_make}_set=yes;;
54198 eval ac_cv_prog_make_${ac_make}_set=no;;
54200 rm -f conftest.make
54202 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
54203 { echo "$as_me:$LINENO: result: yes" >&5
54204 echo "${ECHO_T}yes" >&6; }
54207 { echo "$as_me:$LINENO: result: no" >&5
54208 echo "${ECHO_T}no" >&6; }
54209 SET_MAKE="MAKE=${MAKE-make}"
54214 if test "x$SUNCXX" = "xyes"; then
54217 AROPTIONS=${AROPTIONS:-"-xar -o"}
54219 if test -n "$ac_tool_prefix"; then
54220 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
54221 set dummy ${ac_tool_prefix}ar; ac_word=$2
54222 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54224 if test "${ac_cv_prog_AR+set}" = set; then
54225 echo $ECHO_N "(cached) $ECHO_C" >&6
54227 if test -n "$AR"; then
54228 ac_cv_prog_AR="$AR" # Let the user override the test.
54230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54231 for as_dir in $PATH
54234 test -z "$as_dir" && as_dir=.
54235 for ac_exec_ext in '' $ac_executable_extensions; do
54236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54237 ac_cv_prog_AR="${ac_tool_prefix}ar"
54238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54248 if test -n "$AR"; then
54249 { echo "$as_me:$LINENO: result: $AR" >&5
54250 echo "${ECHO_T}$AR" >&6; }
54252 { echo "$as_me:$LINENO: result: no" >&5
54253 echo "${ECHO_T}no" >&6; }
54258 if test -z "$ac_cv_prog_AR"; then
54260 # Extract the first word of "ar", so it can be a program name with args.
54261 set dummy ar; ac_word=$2
54262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54264 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
54265 echo $ECHO_N "(cached) $ECHO_C" >&6
54267 if test -n "$ac_ct_AR"; then
54268 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
54270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54271 for as_dir in $PATH
54274 test -z "$as_dir" && as_dir=.
54275 for ac_exec_ext in '' $ac_executable_extensions; do
54276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54277 ac_cv_prog_ac_ct_AR="ar"
54278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54287 ac_ct_AR=$ac_cv_prog_ac_ct_AR
54288 if test -n "$ac_ct_AR"; then
54289 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
54290 echo "${ECHO_T}$ac_ct_AR" >&6; }
54292 { echo "$as_me:$LINENO: result: no" >&5
54293 echo "${ECHO_T}no" >&6; }
54296 if test "x$ac_ct_AR" = x; then
54299 case $cross_compiling:$ac_tool_warned in
54301 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
54302 whose name does not start with the host triplet. If you think this
54303 configuration is useful to you, please write to autoconf@gnu.org." >&5
54304 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
54305 whose name does not start with the host triplet. If you think this
54306 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
54307 ac_tool_warned=yes ;;
54312 AR="$ac_cv_prog_AR"
54319 if test -n "$ac_tool_prefix"; then
54320 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
54321 set dummy ${ac_tool_prefix}strip; ac_word=$2
54322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54324 if test "${ac_cv_prog_STRIP+set}" = set; then
54325 echo $ECHO_N "(cached) $ECHO_C" >&6
54327 if test -n "$STRIP"; then
54328 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
54330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54331 for as_dir in $PATH
54334 test -z "$as_dir" && as_dir=.
54335 for ac_exec_ext in '' $ac_executable_extensions; do
54336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54337 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
54338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54347 STRIP=$ac_cv_prog_STRIP
54348 if test -n "$STRIP"; then
54349 { echo "$as_me:$LINENO: result: $STRIP" >&5
54350 echo "${ECHO_T}$STRIP" >&6; }
54352 { echo "$as_me:$LINENO: result: no" >&5
54353 echo "${ECHO_T}no" >&6; }
54358 if test -z "$ac_cv_prog_STRIP"; then
54360 # Extract the first word of "strip", so it can be a program name with args.
54361 set dummy strip; ac_word=$2
54362 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54364 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
54365 echo $ECHO_N "(cached) $ECHO_C" >&6
54367 if test -n "$ac_ct_STRIP"; then
54368 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
54370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54371 for as_dir in $PATH
54374 test -z "$as_dir" && as_dir=.
54375 for ac_exec_ext in '' $ac_executable_extensions; do
54376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54377 ac_cv_prog_ac_ct_STRIP="strip"
54378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54387 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
54388 if test -n "$ac_ct_STRIP"; then
54389 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
54390 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
54392 { echo "$as_me:$LINENO: result: no" >&5
54393 echo "${ECHO_T}no" >&6; }
54396 if test "x$ac_ct_STRIP" = x; then
54399 case $cross_compiling:$ac_tool_warned in
54401 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
54402 whose name does not start with the host triplet. If you think this
54403 configuration is useful to you, please write to autoconf@gnu.org." >&5
54404 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
54405 whose name does not start with the host triplet. If you think this
54406 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
54407 ac_tool_warned=yes ;;
54412 STRIP="$ac_cv_prog_STRIP"
54415 if test -n "$ac_tool_prefix"; then
54416 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
54417 set dummy ${ac_tool_prefix}nm; ac_word=$2
54418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54420 if test "${ac_cv_prog_NM+set}" = set; then
54421 echo $ECHO_N "(cached) $ECHO_C" >&6
54423 if test -n "$NM"; then
54424 ac_cv_prog_NM="$NM" # Let the user override the test.
54426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54427 for as_dir in $PATH
54430 test -z "$as_dir" && as_dir=.
54431 for ac_exec_ext in '' $ac_executable_extensions; do
54432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54433 ac_cv_prog_NM="${ac_tool_prefix}nm"
54434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54444 if test -n "$NM"; then
54445 { echo "$as_me:$LINENO: result: $NM" >&5
54446 echo "${ECHO_T}$NM" >&6; }
54448 { echo "$as_me:$LINENO: result: no" >&5
54449 echo "${ECHO_T}no" >&6; }
54454 if test -z "$ac_cv_prog_NM"; then
54456 # Extract the first word of "nm", so it can be a program name with args.
54457 set dummy nm; ac_word=$2
54458 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54460 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
54461 echo $ECHO_N "(cached) $ECHO_C" >&6
54463 if test -n "$ac_ct_NM"; then
54464 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
54466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54467 for as_dir in $PATH
54470 test -z "$as_dir" && as_dir=.
54471 for ac_exec_ext in '' $ac_executable_extensions; do
54472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54473 ac_cv_prog_ac_ct_NM="nm"
54474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54483 ac_ct_NM=$ac_cv_prog_ac_ct_NM
54484 if test -n "$ac_ct_NM"; then
54485 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
54486 echo "${ECHO_T}$ac_ct_NM" >&6; }
54488 { echo "$as_me:$LINENO: result: no" >&5
54489 echo "${ECHO_T}no" >&6; }
54492 if test "x$ac_ct_NM" = x; then
54495 case $cross_compiling:$ac_tool_warned in
54497 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
54498 whose name does not start with the host triplet. If you think this
54499 configuration is useful to you, please write to autoconf@gnu.org." >&5
54500 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
54501 whose name does not start with the host triplet. If you think this
54502 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
54503 ac_tool_warned=yes ;;
54508 NM="$ac_cv_prog_NM"
54512 case ${BAKEFILE_HOST} in
54514 INSTALL_DIR="mkdir -p"
54517 INSTALL_DIR='$(INSTALL) -d'
54523 case ${BAKEFILE_HOST} in
54524 *-*-cygwin* | *-*-mingw32* )
54525 LDFLAGS_GUI="-mwindows"
54531 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
54532 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
54533 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
54534 echo $ECHO_N "(cached) $ECHO_C" >&6
54537 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
54538 egrep -s GNU > /dev/null); then
54539 bakefile_cv_prog_makeisgnu="yes"
54541 bakefile_cv_prog_makeisgnu="no"
54545 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
54546 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
54548 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
54565 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
54566 case "${BAKEFILE_HOST}" in
54573 *-pc-os2_emx | *-pc-os2-emx )
54583 powerpc-apple-macos* )
54592 case "$BAKEFILE_FORCE_PLATFORM" in
54613 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
54614 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
54615 { (exit 1); exit 1; }; }
54630 # Check whether --enable-omf was given.
54631 if test "${enable_omf+set}" = set; then
54632 enableval=$enable_omf; bk_os2_use_omf="$enableval"
54636 case "${BAKEFILE_HOST}" in
54638 if test "x$GCC" = "xyes"; then
54639 CFLAGS="$CFLAGS -fno-common"
54640 CXXFLAGS="$CXXFLAGS -fno-common"
54642 if test "x$XLCC" = "xyes"; then
54643 CFLAGS="$CFLAGS -qnocommon"
54644 CXXFLAGS="$CXXFLAGS -qnocommon"
54648 *-pc-os2_emx | *-pc-os2-emx )
54649 if test "x$bk_os2_use_omf" = "xyes" ; then
54652 LDFLAGS="-Zomf $LDFLAGS"
54653 CFLAGS="-Zomf $CFLAGS"
54654 CXXFLAGS="-Zomf $CXXFLAGS"
54662 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
54668 SO_SUFFIX_MODULE="so"
54673 DLLPREFIX_MODULE=""
54677 case "${BAKEFILE_HOST}" in
54680 SO_SUFFIX_MODULE="sl"
54684 SO_SUFFIX_MODULE="a"
54688 SO_SUFFIX_MODULE="dll"
54689 DLLIMP_SUFFIX="dll.a"
54696 SO_SUFFIX_MODULE="dll"
54697 DLLIMP_SUFFIX="dll.a"
54707 *-pc-os2_emx | *-pc-os2-emx )
54709 SO_SUFFIX_MODULE="dll"
54710 DLLIMP_SUFFIX=$OS2_LIBEXT
54714 LIBEXT=".$OS2_LIBEXT"
54719 SO_SUFFIX_MODULE="bundle"
54723 if test "x$DLLIMP_SUFFIX" = "x" ; then
54724 DLLIMP_SUFFIX="$SO_SUFFIX"
54739 if test "x$GCC" = "xyes"; then
54743 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
54744 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
54747 case "${BAKEFILE_HOST}" in
54749 if test "x$GCC" != "xyes"; then
54750 LDFLAGS="$LDFLAGS -L/usr/lib"
54752 SHARED_LD_CC="${CC} -b -o"
54753 SHARED_LD_CXX="${CXX} -b -o"
54759 if test "x$GCC" != "xyes"; then
54760 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
54761 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
54762 if test "${bakefile_cv_prog_icc+set}" = set; then
54763 echo $ECHO_N "(cached) $ECHO_C" >&6
54766 cat >conftest.$ac_ext <<_ACEOF
54769 cat confdefs.h >>conftest.$ac_ext
54770 cat >>conftest.$ac_ext <<_ACEOF
54771 /* end confdefs.h. */
54777 #ifndef __INTEL_COMPILER
54785 rm -f conftest.$ac_objext
54786 if { (ac_try="$ac_compile"
54787 case "(($ac_try" in
54788 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
54789 *) ac_try_echo
=$ac_try;;
54791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54792 (eval "$ac_compile") 2>conftest.er1
54794 grep -v '^ *+' conftest.er1
>conftest.err
54796 cat conftest.err
>&5
54797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54798 (exit $ac_status); } &&
54799 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
54800 { (case "(($ac_try" in
54801 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
54802 *) ac_try_echo=$ac_try;;
54804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54805 (eval "$ac_try") 2>&5
54807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54808 (exit $ac_status); }; } &&
54809 { ac_try='test -s conftest.$ac_objext'
54810 { (case "(($ac_try" in
54811 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
54812 *) ac_try_echo
=$ac_try;;
54814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54815 (eval "$ac_try") 2>&5
54817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54818 (exit $ac_status); }; }; then
54819 bakefile_cv_prog_icc
=yes
54821 echo "$as_me: failed program was:" >&5
54822 sed 's/^/| /' conftest.
$ac_ext >&5
54824 bakefile_cv_prog_icc
=no
54828 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
54831 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
54832 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
54833 if test "$bakefile_cv_prog_icc" = "yes"; then
54840 if test "x$GCC" != xyes
; then
54841 SHARED_LD_CC
="${CC} -G -o"
54842 SHARED_LD_CXX
="${CXX} -G -o"
54850 cat <<EOF >shared-ld-sh
54852 #-----------------------------------------------------------------------------
54853 #-- Name: distrib/mac/shared-ld-sh
54854 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
54855 #-- Author: Gilles Depeyrot
54856 #-- Copyright: (c) 2002 Gilles Depeyrot
54857 #-- Licence: any use permitted
54858 #-----------------------------------------------------------------------------
54863 linking_flag="-dynamiclib"
54864 ldargs="-r -keep_private_externs -nostdlib"
54866 while test ${D}# -gt 0; do
54873 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
54874 # collect these options and values
54875 args="${D}{args} ${D}1 ${D}2"
54880 # collect these load args
54881 ldargs="${D}{ldargs} ${D}1"
54884 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
54885 # collect these options
54886 args="${D}{args} ${D}1"
54889 -dynamiclib|-bundle)
54890 linking_flag="${D}1"
54894 echo "shared-ld: unhandled option '${D}1'"
54898 *.o | *.a | *.dylib)
54899 # collect object files
54900 objects="${D}{objects} ${D}1"
54904 echo "shared-ld: unhandled argument '${D}1'"
54915 # Link one module containing all the others
54917 if test ${D}{verbose} = 1; then
54918 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
54920 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
54924 # Link the shared library from the single module created, but only if the
54925 # previous command didn't fail:
54927 if test ${D}{status} = 0; then
54928 if test ${D}{verbose} = 1; then
54929 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
54931 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
54936 # Remove intermediate module
54938 rm -f master.${D}${D}.o
54943 chmod +x shared
-ld-sh
54945 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
54946 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
54949 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
54950 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
54951 if test "${bakefile_cv_gcc31+set}" = set; then
54952 echo $ECHO_N "(cached) $ECHO_C" >&6
54955 cat >conftest.
$ac_ext <<_ACEOF
54958 cat confdefs.h
>>conftest.
$ac_ext
54959 cat >>conftest.
$ac_ext <<_ACEOF
54960 /* end confdefs.h. */
54966 #if (__GNUC__ < 3) || \
54967 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
54975 rm -f conftest.
$ac_objext
54976 if { (ac_try
="$ac_compile"
54977 case "(($ac_try" in
54978 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
54979 *) ac_try_echo=$ac_try;;
54981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54982 (eval "$ac_compile") 2>conftest.er1
54984 grep -v '^ *+' conftest.er1 >conftest.err
54986 cat conftest.err >&5
54987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54988 (exit $ac_status); } &&
54989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
54990 { (case "(($ac_try" in
54991 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
54992 *) ac_try_echo
=$ac_try;;
54994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54995 (eval "$ac_try") 2>&5
54997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54998 (exit $ac_status); }; } &&
54999 { ac_try
='test -s conftest.$ac_objext'
55000 { (case "(($ac_try" in
55001 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
55002 *) ac_try_echo=$ac_try;;
55004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
55005 (eval "$ac_try") 2>&5
55007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55008 (exit $ac_status); }; }; then
55010 bakefile_cv_gcc31=yes
55013 echo "$as_me: failed program was:" >&5
55014 sed 's/^/| /' conftest.$ac_ext >&5
55017 bakefile_cv_gcc31=no
55022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55025 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
55026 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
55027 if test "$bakefile_cv_gcc31" = "no"; then
55028 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
55029 SHARED_LD_CXX="$SHARED_LD_CC"
55031 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
55032 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
55035 if test "x$GCC" == "xyes"; then
55036 PIC_FLAG="-dynamic -fPIC"
55038 if test "x$XLCC" = "xyes"; then
55039 PIC_FLAG="-dynamic -DPIC"
55044 if test "x$GCC" = "xyes"; then
55047 case "${BAKEFILE_HOST}" in
55049 LD_EXPFULL="-Wl,-bexpfull"
55053 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
55054 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
55056 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
55057 set dummy makeC++SharedLib; ac_word=$2
55058 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55060 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
55061 echo $ECHO_N "(cached) $ECHO_C" >&6
55063 if test -n "$AIX_CXX_LD"; then
55064 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
55066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55067 for as_dir in $PATH
55070 test -z "$as_dir" && as_dir=.
55071 for ac_exec_ext in '' $ac_executable_extensions; do
55072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
55073 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
55074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55081 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
55084 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
55085 if test -n "$AIX_CXX_LD"; then
55086 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
55087 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
55089 { echo "$as_me:$LINENO: result: no" >&5
55090 echo "${ECHO_T}no" >&6; }
55094 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
55095 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
55100 SHARED_LD_CC="${LD} -nostart -o"
55101 SHARED_LD_CXX="${LD} -nostart -o"
55105 if test "x$GCC" != "xyes"; then
55110 *-*-cygwin* | *-*-mingw32* )
55112 SHARED_LD_CC="\$(CC) -shared -o"
55113 SHARED_LD_CXX="\$(CXX) -shared -o"
55117 *-pc-os2_emx | *-pc-os2-emx )
55118 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55119 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55123 cat <<EOF >dllar.sh
55126 # dllar - a tool to build both a .dll and an .a file
55127 # from a set of object (.o) files for EMX/OS2.
55129 # Written by Andrew Zabolotny, bit@freya.etu.ru
55130 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
55132 # This script will accept a set of files on the command line.
55133 # All the public symbols from the .o files will be exported into
55134 # a .DEF file, then linker will be run (through gcc) against them to
55135 # build a shared library consisting of all given .o files. All libraries
55136 # (.a) will be first decompressed into component .o files then act as
55137 # described above. You can optionally give a description (-d "description")
55138 # which will be put into .DLL. To see the list of accepted options (as well
55139 # as command-line format) simply run this program without options. The .DLL
55140 # is built to be imported by name (there is no guarantee that new versions
55141 # of the library you build will have same ordinals for same symbols).
55143 # dllar is free software; you can redistribute it and/or modify
55144 # it under the terms of the GNU General Public License as published by
55145 # the Free Software Foundation; either version 2, or (at your option)
55146 # any later version.
55148 # dllar is distributed in the hope that it will be useful,
55149 # but WITHOUT ANY WARRANTY; without even the implied warranty of
55150 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
55151 # GNU General Public License for more details.
55153 # You should have received a copy of the GNU General Public License
55154 # along with dllar; see the file COPYING. If not, write to the Free
55155 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
55158 # To successfuly run this program you will need:
55159 # - Current drive should have LFN support (HPFS, ext2, network, etc)
55160 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
55162 # (used to build the .dll)
55164 # (used to create .def file from .o files)
55166 # (used to create .a file from .def file)
55167 # - GNU text utilites (cat, sort, uniq)
55168 # used to process emxexp output
55169 # - GNU file utilities (mv, rm)
55171 # - lxlite (optional, see flag below)
55172 # (used for general .dll cleanup)
55179 # basnam, variant of basename, which does _not_ remove the path, _iff_
55180 # second argument (suffix to remove) is given
55184 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
55187 echo ${D}1 | sed 's/'${D}2'${D}//'
55190 echo "error in basnam ${D}*"
55196 # Cleanup temporary files and output
55199 for i in ${D}inputFiles ; do
55202 rm -rf \`basnam
${D}i
!\
`
55209 # Kill result in case of failure as there is just to many stupid make/nmake
55210 # things out there which doesn't do this.
55211 if [ ${D}# -eq 0 ]; then
55212 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
55216 # Print usage and exit script with rc=1.
55218 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
55219 echo ' [-name-mangler-script script.sh]'
55220 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
55221 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
55222 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
55223 echo ' [*.o] [*.a]'
55224 echo '*> "output_file" should have no extension.'
55225 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
55226 echo ' The import library name is derived from this and is set to "name".a,'
55227 echo ' unless overridden by -import'
55228 echo '*> "importlib_name" should have no extension.'
55229 echo ' If it has the .o, or .a extension, it is automatically removed.'
55230 echo ' This name is used as the import library name and may be longer and'
55231 echo ' more descriptive than the DLL name which has to follow the old '
55232 echo ' 8.3 convention of FAT.'
55233 echo '*> "script.sh may be given to override the output_file name by a'
55234 echo ' different name. It is mainly useful if the regular make process'
55235 echo ' of some package does not take into account OS/2 restriction of'
55236 echo ' DLL name lengths. It takes the importlib name as input and is'
55237 echo ' supposed to procude a shorter name as output. The script should'
55238 echo ' expect to get importlib_name without extension and should produce'
55239 echo ' a (max.) 8 letter name without extension.'
55240 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
55241 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
55242 echo ' These flags will be put at the start of GCC command line.'
55243 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
55244 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
55245 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
55246 echo ' If the last character of a symbol is "*", all symbols beginning'
55247 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
55248 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
55249 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
55250 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
55251 echo ' C runtime DLLs.'
55252 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
55253 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
55254 echo ' unchanged to GCC at the end of command line.'
55255 echo '*> If you create a DLL from a library and you do not specify -o,'
55256 echo ' the basename for DLL and import library will be set to library name,'
55257 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
55258 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
55259 echo ' library will be renamed into gcc_s.a.'
55262 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
55263 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
55268 # Execute a command.
55269 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
55270 # @Uses Whatever CleanUp() uses.
55276 if [ ${D}rcCmd -ne 0 ]; then
55277 echo "command failed, exit code="${D}rcCmd
55292 CFLAGS="-s -Zcrtdll"
55294 EXPORT_BY_ORDINALS=0
55299 case ${D}curDirS in
55303 curDirS=${D}{curDirS}"/"
55306 # Parse commandline
55309 while [ ${D}1 ]; do
55312 EXPORT_BY_ORDINALS=1;
55322 -name-mangler-script)
55343 exclude_symbols=${D}{exclude_symbols}${D}1" "
55347 library_flags=${D}{library_flags}${D}1" "
55366 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
55369 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
55370 if [ ${D}omfLinking -eq 1 ]; then
55371 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
55373 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
55378 if [ ${D}libsToLink -ne 0 ]; then
55379 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
55381 for file in ${D}1 ; do
55382 if [ -f ${D}file ]; then
55383 inputFiles="${D}{inputFiles} ${D}file"
55387 if [ ${D}found -eq 0 ]; then
55388 echo "ERROR: No file(s) found: "${D}1
55395 done # iterate cmdline words
55398 if [ -z "${D}inputFiles" ]; then
55399 echo "dllar: no input files"
55403 # Now extract all .o files from .a files
55405 for file in ${D}inputFiles ; do
55416 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
55421 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
55423 if [ ${D}? -ne 0 ]; then
55424 echo "Failed to create subdirectory ./${D}dirname"
55428 # Append '!' to indicate archive
55429 newInputFiles="${D}newInputFiles ${D}{dirname}!"
55430 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
55433 for subfile in ${D}dirname/*.o* ; do
55434 if [ -f ${D}subfile ]; then
55436 if [ -s ${D}subfile ]; then
55437 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
55438 newInputFiles="${D}newInputFiles ${D}subfile"
55442 if [ ${D}found -eq 0 ]; then
55443 echo "WARNING: there are no files in archive \\'${D}file\\'"
55447 newInputFiles="${D}{newInputFiles} ${D}file"
55451 inputFiles="${D}newInputFiles"
55453 # Output filename(s).
55455 if [ -z ${D}outFile ]; then
55457 set outFile ${D}inputFiles; outFile=${D}2
55460 # If it is an archive, remove the '!' and the '_%' suffixes
55461 case ${D}outFile in
55463 outFile=\`basnam
${D}outFile _
%!\
`
55468 case ${D}outFile in
55470 outFile=\`basnam
${D}outFile .dll\
`
55473 outFile=\`basnam
${D}outFile .DLL\
`
55476 outFile=\`basnam
${D}outFile .o\
`
55479 outFile=\`basnam
${D}outFile .obj\
`
55482 outFile=\`basnam
${D}outFile .a\
`
55485 outFile=\`basnam
${D}outFile .lib\
`
55490 case ${D}outimpFile in
55492 outimpFile=\`basnam
${D}outimpFile .a\
`
55495 outimpFile=\`basnam
${D}outimpFile .lib\
`
55500 if [ -z ${D}outimpFile ]; then
55501 outimpFile=${D}outFile
55503 defFile="${D}{outFile}.def"
55504 arcFile="${D}{outimpFile}.a"
55505 arcFile2="${D}{outimpFile}.lib"
55507 #create ${D}dllFile as something matching 8.3 restrictions,
55508 if [ -z ${D}renameScript ] ; then
55509 dllFile="${D}outFile"
55511 dllFile=\`${D}renameScript
${D}outimpFile\
`
55514 if [ ${D}do_backup -ne 0 ] ; then
55515 if [ -f ${D}arcFile ] ; then
55516 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
55518 if [ -f ${D}arcFile2 ] ; then
55519 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
55523 # Extract public symbols from all the object files.
55524 tmpdefFile=${D}{defFile}_%
55525 rm -f ${D}tmpdefFile
55526 for file in ${D}inputFiles ; do
55531 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
55536 # Create the def file.
55538 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
55539 dllFile="${D}{dllFile}.dll"
55540 if [ ! -z ${D}description ]; then
55541 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
55543 echo "EXPORTS" >> ${D}defFile
55545 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
55546 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
55548 # Checks if the export is ok or not.
55549 for word in ${D}exclude_symbols; do
55550 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
55551 mv ${D}{tmpdefFile}% ${D}tmpdefFile
55555 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
55556 sed "=" < ${D}tmpdefFile | \\
55560 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
55562 ' > ${D}{tmpdefFile}%
55563 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
55565 rm -f ${D}{tmpdefFile}%
55567 cat ${D}tmpdefFile >> ${D}defFile
55568 rm -f ${D}tmpdefFile
55570 # Do linking, create implib, and apply lxlite.
55572 for file in ${D}inputFiles ; do
55577 gccCmdl="${D}gccCmdl ${D}file"
55581 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
55582 touch "${D}{outFile}.dll"
55584 doCommand "emximp -o ${D}arcFile ${D}defFile"
55585 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
55587 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
55590 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
55592 doCommand "emxomf -s -l ${D}arcFile"
55602 powerpc-apple-macos* | \
55603 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
55615 if test "x$PIC_FLAG" != "x" ; then
55616 PIC_FLAG="$PIC_FLAG -DPIC"
55619 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
55620 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
55622 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
55623 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
55642 case "${BAKEFILE_HOST}" in
55643 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
55644 SONAME_FLAG="-Wl,-soname,"
55678 # Check whether --enable-dependency-tracking was given.
55679 if test "${enable_dependency_tracking+set}" = set; then
55680 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
55684 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
55685 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
55688 if test "x$bk_use_trackdeps" = "xno" ; then
55690 { echo "$as_me:$LINENO: result: disabled" >&5
55691 echo "${ECHO_T}disabled" >&6; }
55695 if test "x$GCC" = "xyes"; then
55697 case "${BAKEFILE_HOST}" in
55699 DEPSFLAG="-no-cpp-precomp -MMD"
55705 { echo "$as_me:$LINENO: result: gcc" >&5
55706 echo "${ECHO_T}gcc" >&6; }
55707 elif test "x$MWCC" = "xyes"; then
55710 { echo "$as_me:$LINENO: result: mwcc" >&5
55711 echo "${ECHO_T}mwcc" >&6; }
55712 elif test "x$SUNCC" = "xyes"; then
55715 { echo "$as_me:$LINENO: result: Sun cc" >&5
55716 echo "${ECHO_T}Sun cc" >&6; }
55717 elif test "x$SGICC" = "xyes"; then
55720 { echo "$as_me:$LINENO: result: SGI cc" >&5
55721 echo "${ECHO_T}SGI cc" >&6; }
55722 elif test "x$HPCC" = "xyes"; then
55725 { echo "$as_me:$LINENO: result: HP cc" >&5
55726 echo "${ECHO_T}HP cc" >&6; }
55727 elif test "x$COMPAQCC" = "xyes"; then
55730 { echo "$as_me:$LINENO: result: Compaq cc" >&5
55731 echo "${ECHO_T}Compaq cc" >&6; }
55734 { echo "$as_me:$LINENO: result: none" >&5
55735 echo "${ECHO_T}none" >&6; }
55738 if test $DEPS_TRACKING = 1 ; then
55744 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
55745 # script. It is used to track C/C++ files dependencies in portable way.
55747 # Permission is given to use this file in any way.
55749 DEPSMODE=${DEPSMODE}
55751 DEPSFLAG="${DEPSFLAG}"
55753 mkdir -p ${D}DEPSDIR
55755 if test ${D}DEPSMODE = gcc ; then
55756 ${D}* ${D}{DEPSFLAG}
55758 if test ${D}{status} != 0 ; then
55761 # move created file to the location we want it in:
55762 while test ${D}# -gt 0; do
55776 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
55777 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
55778 if test -f ${D}depfile ; then
55779 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
55782 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
55783 depfile=\`basename ${D}objfile
| sed -e 's/\\..*${D}/.d/g'\
`
55784 if test ! -f ${D}depfile ; then
55785 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
55786 depfile="${D}objfile.d"
55788 if test -f ${D}depfile ; then
55789 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
55794 elif test ${D}DEPSMODE = mwcc ; then
55795 ${D}* || exit ${D}?
55796 # Run mwcc again with -MM and redirect into the dep file we want
55797 # NOTE: We can't use shift here because we need ${D}* to be valid
55799 for arg in ${D}* ; do
55800 if test "${D}prevarg" = "-o"; then
55813 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
55815 elif test ${D}DEPSMODE = unixcc; then
55816 ${D}* || exit ${D}?
55817 # Run compiler again with deps flag and redirect into the dep file.
55818 # It doesn't work if the '-o FILE' option is used, but without it the
55819 # dependency file will contain the wrong name for the object. So it is
55820 # removed from the command line, and the dep file is fixed with sed.
55822 while test ${D}# -gt 0; do
55829 eval arg${D}#=\\${D}1
55830 cmd="${D}cmd \\${D}arg${D}#"
55835 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
55844 BK_DEPS="`pwd`/bk-deps"
55852 case ${BAKEFILE_HOST} in
55853 *-*-cygwin* | *-*-mingw32* )
55854 if test -n "$ac_tool_prefix"; then
55855 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
55856 set dummy ${ac_tool_prefix}windres; ac_word=$2
55857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55859 if test "${ac_cv_prog_WINDRES+set}" = set; then
55860 echo $ECHO_N "(cached) $ECHO_C" >&6
55862 if test -n "$WINDRES"; then
55863 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
55865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55866 for as_dir in $PATH
55869 test -z "$as_dir" && as_dir=.
55870 for ac_exec_ext in '' $ac_executable_extensions; do
55871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
55872 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
55873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55882 WINDRES=$ac_cv_prog_WINDRES
55883 if test -n "$WINDRES"; then
55884 { echo "$as_me:$LINENO: result: $WINDRES" >&5
55885 echo "${ECHO_T}$WINDRES" >&6; }
55887 { echo "$as_me:$LINENO: result: no" >&5
55888 echo "${ECHO_T}no" >&6; }
55893 if test -z "$ac_cv_prog_WINDRES"; then
55894 ac_ct_WINDRES=$WINDRES
55895 # Extract the first word of "windres", so it can be a program name with args.
55896 set dummy windres; ac_word=$2
55897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55899 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
55900 echo $ECHO_N "(cached) $ECHO_C" >&6
55902 if test -n "$ac_ct_WINDRES"; then
55903 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
55905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55906 for as_dir in $PATH
55909 test -z "$as_dir" && as_dir=.
55910 for ac_exec_ext in '' $ac_executable_extensions; do
55911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
55912 ac_cv_prog_ac_ct_WINDRES="windres"
55913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55922 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
55923 if test -n "$ac_ct_WINDRES"; then
55924 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
55925 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
55927 { echo "$as_me:$LINENO: result: no" >&5
55928 echo "${ECHO_T}no" >&6; }
55931 if test "x$ac_ct_WINDRES" = x; then
55934 case $cross_compiling:$ac_tool_warned in
55936 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
55937 whose name does not start with the host triplet. If you think this
55938 configuration is useful to you, please write to autoconf@gnu.org." >&5
55939 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
55940 whose name does not start with the host triplet. If you think this
55941 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
55942 ac_tool_warned=yes ;;
55944 WINDRES=$ac_ct_WINDRES
55947 WINDRES="$ac_cv_prog_WINDRES"
55952 *-*-darwin* | powerpc-apple-macos* )
55953 # Extract the first word of "Rez", so it can be a program name with args.
55954 set dummy Rez; ac_word=$2
55955 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55957 if test "${ac_cv_prog_REZ+set}" = set; then
55958 echo $ECHO_N "(cached) $ECHO_C" >&6
55960 if test -n "$REZ"; then
55961 ac_cv_prog_REZ="$REZ" # Let the user override the test.
55963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55964 for as_dir in $PATH
55967 test -z "$as_dir" && as_dir=.
55968 for ac_exec_ext in '' $ac_executable_extensions; do
55969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
55970 ac_cv_prog_REZ="Rez"
55971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55978 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
55981 REZ=$ac_cv_prog_REZ
55982 if test -n "$REZ"; then
55983 { echo "$as_me:$LINENO: result: $REZ" >&5
55984 echo "${ECHO_T}$REZ" >&6; }
55986 { echo "$as_me:$LINENO: result: no" >&5
55987 echo "${ECHO_T}no" >&6; }
55991 # Extract the first word of "SetFile", so it can be a program name with args.
55992 set dummy SetFile; ac_word=$2
55993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55995 if test "${ac_cv_prog_SETFILE+set}" = set; then
55996 echo $ECHO_N "(cached) $ECHO_C" >&6
55998 if test -n "$SETFILE"; then
55999 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
56001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
56002 for as_dir in $PATH
56005 test -z "$as_dir" && as_dir=.
56006 for ac_exec_ext in '' $ac_executable_extensions; do
56007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
56008 ac_cv_prog_SETFILE="SetFile"
56009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
56016 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
56019 SETFILE=$ac_cv_prog_SETFILE
56020 if test -n "$SETFILE"; then
56021 { echo "$as_me:$LINENO: result: $SETFILE" >&5
56022 echo "${ECHO_T}$SETFILE" >&6; }
56024 { echo "$as_me:$LINENO: result: no" >&5
56025 echo "${ECHO_T}no" >&6; }
56037 BAKEFILE_BAKEFILE_M4_VERSION="0.2.1"
56040 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.1"
56044 # Check whether --enable-precomp-headers was given.
56045 if test "${enable_precomp_headers+set}" = set; then
56046 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
56055 case ${BAKEFILE_HOST} in
56061 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
56062 if test "x$GCC" = "xyes"; then
56063 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
56064 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
56065 cat >conftest.$ac_ext <<_ACEOF
56068 cat confdefs.h >>conftest.$ac_ext
56069 cat >>conftest.$ac_ext <<_ACEOF
56070 /* end confdefs.h. */
56076 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
56077 There is no PCH support
56080 There is no PCH support
56082 #if (__GNUC__ == 3) && \
56083 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
56084 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
56085 ( defined(__INTEL_COMPILER) )
56086 There is no PCH support
56093 rm -f conftest.$ac_objext
56094 if { (ac_try="$ac_compile"
56095 case "(($ac_try" in
56096 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
56097 *) ac_try_echo
=$ac_try;;
56099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56100 (eval "$ac_compile") 2>conftest.er1
56102 grep -v '^ *+' conftest.er1
>conftest.err
56104 cat conftest.err
>&5
56105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56106 (exit $ac_status); } &&
56107 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
56115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56116 (exit $ac_status); }; } &&
56117 { ac_try='test -s conftest.$ac_objext'
56118 { (case "(($ac_try" in
56119 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
56120 *) ac_try_echo
=$ac_try;;
56122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56123 (eval "$ac_try") 2>&5
56125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56126 (exit $ac_status); }; }; then
56128 { echo "$as_me:$LINENO: result: yes" >&5
56129 echo "${ECHO_T}yes" >&6; }
56133 echo "$as_me: failed program was:" >&5
56134 sed 's/^/| /' conftest.
$ac_ext >&5
56137 cat >conftest.
$ac_ext <<_ACEOF
56140 cat confdefs.h
>>conftest.
$ac_ext
56141 cat >>conftest.
$ac_ext <<_ACEOF
56142 /* end confdefs.h. */
56148 #if !defined(__INTEL_COMPILER) || \
56149 (__INTEL_COMPILER < 800)
56150 There is no PCH support
56157 rm -f conftest.
$ac_objext
56158 if { (ac_try
="$ac_compile"
56159 case "(($ac_try" in
56160 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
56161 *) ac_try_echo=$ac_try;;
56163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56164 (eval "$ac_compile") 2>conftest.er1
56166 grep -v '^ *+' conftest.er1 >conftest.err
56168 cat conftest.err >&5
56169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56170 (exit $ac_status); } &&
56171 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
56172 { (case "(($ac_try" in
56173 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
56174 *) ac_try_echo
=$ac_try;;
56176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56177 (eval "$ac_try") 2>&5
56179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56180 (exit $ac_status); }; } &&
56181 { ac_try
='test -s conftest.$ac_objext'
56182 { (case "(($ac_try" in
56183 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
56184 *) ac_try_echo=$ac_try;;
56186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56187 (eval "$ac_try") 2>&5
56189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56190 (exit $ac_status); }; }; then
56192 { echo "$as_me:$LINENO: result: yes" >&5
56193 echo "${ECHO_T}yes" >&6; }
56197 echo "$as_me: failed program was:" >&5
56198 sed 's/^/| /' conftest.$ac_ext >&5
56201 { echo "$as_me:$LINENO: result: no" >&5
56202 echo "${ECHO_T}no" >&6; }
56206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56211 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
56215 cat <<EOF >bk-make-pch
56218 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
56219 # script. It is used to generated precompiled headers.
56221 # Permission is given to use this file in any way.
56231 while test ${D}{#} -gt 0; do
56235 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
56236 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
56237 headerfile="${D}{incdir}/${D}{header}"
56240 -use-pch|-use_pch )
56245 if test ${D}add_to_cmdline = 1 ; then
56246 compiler="${D}{compiler} ${D}{1}"
56251 if test "x${D}{headerfile}" = "x" ; then
56252 echo "error: can't find header ${D}{header} in include paths" >&2
56254 if test -f ${D}{outfile} ; then
56255 rm -f ${D}{outfile}
56257 mkdir -p \`dirname ${D}{outfile
}\
`
56259 depsfile=".deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
56261 if test "x${GCC_PCH}" = "x1" ; then
56262 # can do this because gcc is >= 3.4:
56263 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
56264 elif test "x${ICC_PCH}" = "x1" ; then
56265 filename=pch_gen-${D}${D}
56266 file=${D}{filename}.c
56267 dfile=${D}{filename}.d
56268 cat > ${D}file <<EOT
56269 #include "${D}header"
56271 # using -MF icc complains about differing command lines in creation/use
56272 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
56273 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
56274 rm -f ${D}file ${D}dfile ${D}{filename}.o
56280 chmod +x bk-make-pch
56281 BK_MAKE_PCH="`pwd`/bk-make-pch"
56290 COND_BUILD_DEBUG="#"
56291 if test "x$BUILD" = "xdebug" ; then
56292 COND_BUILD_DEBUG=""
56295 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
56296 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
56297 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
56300 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
56301 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
56302 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
56305 COND_BUILD_DEBUG_UNICODE_0="#"
56306 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
56307 COND_BUILD_DEBUG_UNICODE_0=""
56310 COND_BUILD_DEBUG_UNICODE_1="#"
56311 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
56312 COND_BUILD_DEBUG_UNICODE_1=""
56315 COND_BUILD_RELEASE="#"
56316 if test "x$BUILD" = "xrelease" ; then
56317 COND_BUILD_RELEASE=""
56320 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
56321 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
56322 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
56325 COND_BUILD_RELEASE_UNICODE_0="#"
56326 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
56327 COND_BUILD_RELEASE_UNICODE_0=""
56330 COND_BUILD_RELEASE_UNICODE_1="#"
56331 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
56332 COND_BUILD_RELEASE_UNICODE_1=""
56335 COND_DEBUG_FLAG_1="#"
56336 if test "x$DEBUG_FLAG" = "x1" ; then
56337 COND_DEBUG_FLAG_1=""
56340 COND_DEBUG_INFO_0="#"
56341 if test "x$DEBUG_INFO" = "x0" ; then
56342 COND_DEBUG_INFO_0=""
56345 COND_DEBUG_INFO_1="#"
56346 if test "x$DEBUG_INFO" = "x1" ; then
56347 COND_DEBUG_INFO_1=""
56350 COND_DEPS_TRACKING_0="#"
56351 if test "x$DEPS_TRACKING" = "x0" ; then
56352 COND_DEPS_TRACKING_0=""
56355 COND_DEPS_TRACKING_1="#"
56356 if test "x$DEPS_TRACKING" = "x1" ; then
56357 COND_DEPS_TRACKING_1=""
56361 if test "x$GCC_PCH" = "x1" ; then
56366 if test "x$ICC_PCH" = "x1" ; then
56370 COND_MONOLITHIC_0="#"
56371 if test "x$MONOLITHIC" = "x0" ; then
56372 COND_MONOLITHIC_0=""
56375 COND_MONOLITHIC_0_SHARED_0="#"
56376 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
56377 COND_MONOLITHIC_0_SHARED_0=""
56380 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
56381 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
56382 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
56385 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
56386 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
56387 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
56390 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
56391 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
56392 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
56395 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
56396 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
56397 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
56400 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
56401 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
56402 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
56405 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
56406 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
56407 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
56410 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
56411 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
56412 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
56415 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
56416 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
56417 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
56420 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
56421 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
56422 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
56425 COND_MONOLITHIC_0_SHARED_1="#"
56426 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
56427 COND_MONOLITHIC_0_SHARED_1=""
56430 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
56431 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
56432 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
56435 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
56436 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
56437 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
56440 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
56441 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
56442 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
56445 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
56446 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
56447 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
56450 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
56451 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
56452 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
56455 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
56456 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
56457 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
56460 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
56461 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
56462 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
56465 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
56466 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
56467 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
56470 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
56471 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
56472 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
56475 COND_MONOLITHIC_0_USE_MEDIA_1="#"
56476 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
56477 COND_MONOLITHIC_0_USE_MEDIA_1=""
56480 COND_MONOLITHIC_0_USE_ODBC_1="#"
56481 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
56482 COND_MONOLITHIC_0_USE_ODBC_1=""
56485 COND_MONOLITHIC_1="#"
56486 if test "x$MONOLITHIC" = "x1" ; then
56487 COND_MONOLITHIC_1=""
56490 COND_MONOLITHIC_1_SHARED_0="#"
56491 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
56492 COND_MONOLITHIC_1_SHARED_0=""
56495 COND_MONOLITHIC_1_SHARED_1="#"
56496 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
56497 COND_MONOLITHIC_1_SHARED_1=""
56500 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
56501 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
56502 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
56505 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
56506 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
56507 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
56510 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
56511 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
56512 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
56515 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
56516 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
56517 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
56520 COND_PLATFORM_MACOSX_1="#"
56521 if test "x$PLATFORM_MACOSX" = "x1" ; then
56522 COND_PLATFORM_MACOSX_1=""
56525 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
56526 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
56527 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
56530 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
56531 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
56532 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
56535 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
56536 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
56537 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
56540 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
56541 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
56542 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
56545 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
56546 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
56547 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
56550 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
56551 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
56552 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
56555 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
56556 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
56557 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
56560 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
56561 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
56562 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
56565 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
56566 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
56567 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
56570 COND_PLATFORM_MACOS_1="#"
56571 if test "x$PLATFORM_MACOS" = "x1" ; then
56572 COND_PLATFORM_MACOS_1=""
56575 COND_PLATFORM_MAC_1="#"
56576 if test "x$PLATFORM_MAC" = "x1" ; then
56577 COND_PLATFORM_MAC_1=""
56580 COND_PLATFORM_MSDOS_0="#"
56581 if test "x$PLATFORM_MSDOS" = "x0" ; then
56582 COND_PLATFORM_MSDOS_0=""
56585 COND_PLATFORM_MSDOS_1="#"
56586 if test "x$PLATFORM_MSDOS" = "x1" ; then
56587 COND_PLATFORM_MSDOS_1=""
56590 COND_PLATFORM_OS2_1="#"
56591 if test "x$PLATFORM_OS2" = "x1" ; then
56592 COND_PLATFORM_OS2_1=""
56595 COND_PLATFORM_UNIX_0="#"
56596 if test "x$PLATFORM_UNIX" = "x0" ; then
56597 COND_PLATFORM_UNIX_0=""
56600 COND_PLATFORM_UNIX_1="#"
56601 if test "x$PLATFORM_UNIX" = "x1" ; then
56602 COND_PLATFORM_UNIX_1=""
56605 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
56606 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
56607 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
56610 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
56611 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
56612 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
56615 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
56616 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
56617 COND_PLATFORM_UNIX_1_USE_GUI_1=""
56620 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
56621 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
56622 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
56625 COND_PLATFORM_WIN32_0="#"
56626 if test "x$PLATFORM_WIN32" = "x0" ; then
56627 COND_PLATFORM_WIN32_0=""
56630 COND_PLATFORM_WIN32_1="#"
56631 if test "x$PLATFORM_WIN32" = "x1" ; then
56632 COND_PLATFORM_WIN32_1=""
56636 if test "x$SHARED" = "x0" ; then
56640 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
56641 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
56642 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
56645 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
56646 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
56647 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
56650 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
56651 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
56652 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
56655 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
56656 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
56657 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
56660 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
56661 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
56662 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
56665 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
56666 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
56667 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
56670 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
56671 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
56672 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
56675 COND_SHARED_0_USE_XRC_1="#"
56676 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
56677 COND_SHARED_0_USE_XRC_1=""
56680 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
56681 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
56682 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
56685 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
56686 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
56687 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
56690 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
56691 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
56692 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
56695 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
56696 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
56697 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
56701 if test "x$SHARED" = "x1" ; then
56705 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
56706 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
56707 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
56710 COND_SHARED_1_USE_XRC_1="#"
56711 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
56712 COND_SHARED_1_USE_XRC_1=""
56716 if test "x$TOOLKIT" = "x" ; then
56720 COND_TOOLKIT_COCOA="#"
56721 if test "x$TOOLKIT" = "xCOCOA" ; then
56722 COND_TOOLKIT_COCOA=""
56725 COND_TOOLKIT_COCOA_USE_GUI_1="#"
56726 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
56727 COND_TOOLKIT_COCOA_USE_GUI_1=""
56730 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
56731 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56732 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
56735 COND_TOOLKIT_DFB="#"
56736 if test "x$TOOLKIT" = "xDFB" ; then
56737 COND_TOOLKIT_DFB=""
56740 COND_TOOLKIT_DFB_USE_GUI_1="#"
56741 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
56742 COND_TOOLKIT_DFB_USE_GUI_1=""
56745 COND_TOOLKIT_GTK="#"
56746 if test "x$TOOLKIT" = "xGTK" ; then
56747 COND_TOOLKIT_GTK=""
56750 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
56751 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
56752 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
56755 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
56756 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
56757 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
56760 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
56761 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
56762 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
56765 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
56766 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56767 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
56770 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
56771 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
56772 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
56775 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
56776 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56777 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
56780 COND_TOOLKIT_GTK_USE_GUI_1="#"
56781 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
56782 COND_TOOLKIT_GTK_USE_GUI_1=""
56785 COND_TOOLKIT_MAC="#"
56786 if test "x$TOOLKIT" = "xMAC" ; then
56787 COND_TOOLKIT_MAC=""
56790 COND_TOOLKIT_MAC_USE_GUI_1="#"
56791 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
56792 COND_TOOLKIT_MAC_USE_GUI_1=""
56795 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
56796 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56797 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
56800 COND_TOOLKIT_MGL="#"
56801 if test "x$TOOLKIT" = "xMGL" ; then
56802 COND_TOOLKIT_MGL=""
56805 COND_TOOLKIT_MGL_USE_GUI_1="#"
56806 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
56807 COND_TOOLKIT_MGL_USE_GUI_1=""
56810 COND_TOOLKIT_MOTIF="#"
56811 if test "x$TOOLKIT" = "xMOTIF" ; then
56812 COND_TOOLKIT_MOTIF=""
56815 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
56816 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
56817 COND_TOOLKIT_MOTIF_USE_GUI_1=""
56820 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
56821 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56822 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
56825 COND_TOOLKIT_MSW="#"
56826 if test "x$TOOLKIT" = "xMSW" ; then
56827 COND_TOOLKIT_MSW=""
56830 COND_TOOLKIT_MSW_USE_GUI_1="#"
56831 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
56832 COND_TOOLKIT_MSW_USE_GUI_1=""
56835 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
56836 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56837 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
56840 COND_TOOLKIT_MSW_WXUNIV_0="#"
56841 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
56842 COND_TOOLKIT_MSW_WXUNIV_0=""
56845 COND_TOOLKIT_PM="#"
56846 if test "x$TOOLKIT" = "xPM" ; then
56850 COND_TOOLKIT_PM_USE_GUI_1="#"
56851 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
56852 COND_TOOLKIT_PM_USE_GUI_1=""
56855 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
56856 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56857 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
56860 COND_TOOLKIT_WINCE="#"
56861 if test "x$TOOLKIT" = "xWINCE" ; then
56862 COND_TOOLKIT_WINCE=""
56865 COND_TOOLKIT_WINCE_USE_GUI_1="#"
56866 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
56867 COND_TOOLKIT_WINCE_USE_GUI_1=""
56870 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
56871 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56872 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
56875 COND_TOOLKIT_WINCE_WXUNIV_0="#"
56876 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
56877 COND_TOOLKIT_WINCE_WXUNIV_0=""
56880 COND_TOOLKIT_X11="#"
56881 if test "x$TOOLKIT" = "xX11" ; then
56882 COND_TOOLKIT_X11=""
56885 COND_TOOLKIT_X11_USE_GUI_1="#"
56886 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
56887 COND_TOOLKIT_X11_USE_GUI_1=""
56891 if test "x$UNICODE" = "x1" ; then
56895 COND_USE_EXCEPTIONS_0="#"
56896 if test "x$USE_EXCEPTIONS" = "x0" ; then
56897 COND_USE_EXCEPTIONS_0=""
56900 COND_USE_EXCEPTIONS_1="#"
56901 if test "x$USE_EXCEPTIONS" = "x1" ; then
56902 COND_USE_EXCEPTIONS_1=""
56906 if test "x$USE_GUI" = "x0" ; then
56911 if test "x$USE_GUI" = "x1" ; then
56915 COND_USE_GUI_1_WXUNIV_0="#"
56916 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56917 COND_USE_GUI_1_WXUNIV_0=""
56920 COND_USE_GUI_1_WXUNIV_1="#"
56921 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
56922 COND_USE_GUI_1_WXUNIV_1=""
56925 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
56926 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
56927 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
56930 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
56931 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
56932 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
56935 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
56936 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
56937 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
56940 COND_USE_ODBC_1="#"
56941 if test "x$USE_ODBC" = "x1" ; then
56945 COND_USE_OPENGL_1="#"
56946 if test "x$USE_OPENGL" = "x1" ; then
56947 COND_USE_OPENGL_1=""
56951 if test "x$USE_PCH" = "x1" ; then
56955 COND_USE_PLUGINS_0="#"
56956 if test "x$USE_PLUGINS" = "x0" ; then
56957 COND_USE_PLUGINS_0=""
56960 COND_USE_RTTI_0="#"
56961 if test "x$USE_RTTI" = "x0" ; then
56965 COND_USE_RTTI_1="#"
56966 if test "x$USE_RTTI" = "x1" ; then
56970 COND_USE_SOSYMLINKS_1="#"
56971 if test "x$USE_SOSYMLINKS" = "x1" ; then
56972 COND_USE_SOSYMLINKS_1=""
56975 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
56976 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
56977 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
56980 COND_USE_SOVERLINUX_1="#"
56981 if test "x$USE_SOVERLINUX" = "x1" ; then
56982 COND_USE_SOVERLINUX_1=""
56985 COND_USE_SOVERSION_0="#"
56986 if test "x$USE_SOVERSION" = "x0" ; then
56987 COND_USE_SOVERSION_0=""
56990 COND_USE_SOVERSOLARIS_1="#"
56991 if test "x$USE_SOVERSOLARIS" = "x1" ; then
56992 COND_USE_SOVERSOLARIS_1=""
56995 COND_USE_THREADS_0="#"
56996 if test "x$USE_THREADS" = "x0" ; then
56997 COND_USE_THREADS_0=""
57000 COND_USE_THREADS_1="#"
57001 if test "x$USE_THREADS" = "x1" ; then
57002 COND_USE_THREADS_1=""
57006 if test "x$USE_XRC" = "x1" ; then
57010 COND_WINDOWS_IMPLIB_1="#"
57011 if test "x$WINDOWS_IMPLIB" = "x1" ; then
57012 COND_WINDOWS_IMPLIB_1=""
57015 COND_WITH_PLUGIN_SDL_1="#"
57016 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
57017 COND_WITH_PLUGIN_SDL_1=""
57021 if test "x$WXUNIV" = "x0" ; then
57026 if test "x$WXUNIV" = "x1" ; then
57030 COND_WXUSE_EXPAT_BUILTIN="#"
57031 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
57032 COND_WXUSE_EXPAT_BUILTIN=""
57035 COND_WXUSE_LIBJPEG_BUILTIN="#"
57036 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
57037 COND_WXUSE_LIBJPEG_BUILTIN=""
57040 COND_WXUSE_LIBPNG_BUILTIN="#"
57041 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
57042 COND_WXUSE_LIBPNG_BUILTIN=""
57045 COND_WXUSE_LIBTIFF_BUILTIN="#"
57046 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
57047 COND_WXUSE_LIBTIFF_BUILTIN=""
57050 COND_WXUSE_ODBC_BUILTIN="#"
57051 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
57052 COND_WXUSE_ODBC_BUILTIN=""
57055 COND_WXUSE_REGEX_BUILTIN="#"
57056 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
57057 COND_WXUSE_REGEX_BUILTIN=""
57060 COND_WXUSE_ZLIB_BUILTIN="#"
57061 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
57062 COND_WXUSE_ZLIB_BUILTIN=""
57067 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
57068 { { 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
57069 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;}
57070 { (exit 1); exit 1; }; }
57073 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
57074 { { 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
57075 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;}
57076 { (exit 1); exit 1; }; }
57080 if test $GCC_PCH = 1
57082 if test "$wx_cv_gcc_pch_bug" = yes; then
57083 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
57084 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
57085 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
57086 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
57087 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
57088 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
57091 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
57095 if test "$wxUSE_MAC" = 1 ; then
57096 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
57097 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
57103 if test "$wxUSE_SHARED" = "yes"; then
57105 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
57106 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
57109 *-pc-os2_emx | *-pc-os2-emx )
57110 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
57111 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
57112 cp -p ${srcdir}/src/os2/dllnames.sh .
57113 cp -p ${srcdir}/src/os2/dllar.sh .
57118 EXE_LINKER="$CXX -o"
57121 if test "$wxUSE_OMF" = "yes"; then
57123 *-pc-os2_emx | *-pc-os2-emx )
57124 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
57125 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
57126 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
57131 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
57133 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
57195 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
57196 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
57197 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
57198 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
57199 echo $ECHO_N "(cached) $ECHO_C" >&6
57201 cat >conftest.make <<\_ACEOF
57204 @echo '@@@%%%=$(MAKE)=@@@%%%'
57206 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
57207 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
57208 *@@@%%%=?*=@@@%%%*)
57209 eval ac_cv_prog_make_${ac_make}_set=yes;;
57211 eval ac_cv_prog_make_${ac_make}_set=no;;
57213 rm -f conftest.make
57215 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
57216 { echo "$as_me:$LINENO: result: yes" >&5
57217 echo "${ECHO_T}yes" >&6; }
57220 { echo "$as_me:$LINENO: result: no" >&5
57221 echo "${ECHO_T}no" >&6; }
57222 SET_MAKE="MAKE=${MAKE-make}"
57227 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
57230 if test "$USE_WIN32" = 1; then
57231 ac_config_commands="$ac_config_commands
57237 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
57240 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
57243 if test "$wx_cv_version_script" = "yes"; then
57244 ac_config_files="$ac_config_files version-script"
57247 ac_config_files="$ac_config_files Makefile"
57250 ac_config_commands="$ac_config_commands wx-config"
57254 if test "$wxWITH_SUBDIRS" != "no"; then
57255 if test "$wxUSE_GUI" = "yes"; then
57256 SUBDIRS="samples demos utils contrib"
57257 else SUBDIRS="samples utils"
57262 # Check whether --with-cppunit-prefix was given.
57263 if test "${with_cppunit_prefix+set}" = set; then
57264 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
57266 cppunit_config_prefix=""
57270 # Check whether --with-cppunit-exec-prefix was given.
57271 if test "${with_cppunit_exec_prefix+set}" = set; then
57272 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
57274 cppunit_config_exec_prefix=""
57278 if test x$cppunit_config_exec_prefix != x ; then
57279 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
57280 if test x${CPPUNIT_CONFIG+set} != xset ; then
57281 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
57284 if test x$cppunit_config_prefix != x ; then
57285 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
57286 if test x${CPPUNIT_CONFIG+set} != xset ; then
57287 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
57291 # Extract the first word of "cppunit-config", so it can be a program name with args.
57292 set dummy cppunit-config; ac_word=$2
57293 { echo "$as_me:$LINENO: checking for $ac_word" >&5
57294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
57295 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
57296 echo $ECHO_N "(cached) $ECHO_C" >&6
57298 case $CPPUNIT_CONFIG in
57300 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
57303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
57304 for as_dir in $PATH
57307 test -z "$as_dir" && as_dir=.
57308 for ac_exec_ext in '' $ac_executable_extensions; do
57309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
57310 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
57311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
57318 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
57322 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
57323 if test -n "$CPPUNIT_CONFIG"; then
57324 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
57325 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
57327 { echo "$as_me:$LINENO: result: no" >&5
57328 echo "${ECHO_T}no" >&6; }
57332 cppunit_version_min=1.8.0
57334 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
57335 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
57337 if test "$CPPUNIT_CONFIG" = "no" ; then
57338 { echo "$as_me:$LINENO: result: no" >&5
57339 echo "${ECHO_T}no" >&6; }
57342 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
57343 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
57344 cppunit_version=`$CPPUNIT_CONFIG --version`
57346 cppunit_major_version=`echo $cppunit_version | \
57347 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
57348 cppunit_minor_version=`echo $cppunit_version | \
57349 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
57350 cppunit_micro_version=`echo $cppunit_version | \
57351 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
57353 cppunit_major_min=`echo $cppunit_version_min | \
57354 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
57355 cppunit_minor_min=`echo $cppunit_version_min | \
57356 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
57357 cppunit_micro_min=`echo $cppunit_version_min | \
57358 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
57360 cppunit_version_proper=`expr \
57361 $cppunit_major_version \
> $cppunit_major_min \
| \
57362 $cppunit_major_version \
= $cppunit_major_min \
& \
57363 $cppunit_minor_version \
> $cppunit_minor_min \
| \
57364 $cppunit_major_version \
= $cppunit_major_min \
& \
57365 $cppunit_minor_version \
= $cppunit_minor_min \
& \
57366 $cppunit_micro_version \
>= $cppunit_micro_min `
57368 if test "$cppunit_version_proper" = "1" ; then
57369 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
57370 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
57372 { echo "$as_me:$LINENO: result: no" >&5
57373 echo "${ECHO_T}no" >&6; }
57378 if test "x$no_cppunit" = x ; then
57379 SUBDIRS="$SUBDIRS tests"
57390 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
57391 DISABLED_CONTRIB="$DISABLED_CONTRIB net"
57394 for subdir in `echo $SUBDIRS`; do
57395 if test -d ${srcdir}/${subdir} ; then
57396 if test "$wxUSE_GUI" = "yes"; then
57397 if test ${subdir} = "samples"; then
57398 makefiles="samples/Makefile.in $makefiles"
57399 for sample in `echo $SAMPLES_SUBDIRS`; do
57400 if test -d $srcdir/samples/$sample; then
57401 makefiles="samples/$sample/Makefile.in $makefiles"
57405 disabled_var=DISABLED_`echo $subdir | tr [a
-z] [A
-Z]`;
57406 eval "disabled=\$$disabled_var"
57407 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
57408 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
57410 else if test ${subdir} = "samples"; then
57411 makefiles="samples/Makefile.in samples/console/Makefile.in"
57412 elif test ${subdir} = "utils"; then
57414 for util in HelpGen tex2rtf ; do
57415 if test -d $srcdir/utils/$util ; then
57416 makefiles="utils/$util/Makefile.in \
57417 utils/$util/src/Makefile.in \
57421 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
57425 for mkin in $makefiles ; do
57426 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
57427 ac_config_files="$ac_config_files $mk"
57433 cat >confcache <<\_ACEOF
57434 # This file is a shell script that caches the results of configure
57435 # tests run on this system so they can be shared between configure
57436 # scripts and configure runs, see configure's option --config-cache.
57437 # It is not useful on other systems. If it contains results you don't
57438 # want to keep, you may remove or edit it.
57440 # config.status only pays attention to the cache file if you give it
57441 # the --recheck option to rerun configure.
57443 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
57444 # loading this file, other *unset* `ac_cv_foo' will be assigned the
57445 # following values.
57449 # The following way of writing the cache mishandles newlines in values,
57450 # but we know of no workaround that is simple, portable, and efficient.
57451 # So, we kill variables containing newlines.
57452 # Ultrix sh set writes to stderr and can't be redirected directly,
57453 # and sets the high bit in the cache file unless we assign to the vars.
57455 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
57456 eval ac_val
=\$
$ac_var
57460 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
57461 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
57464 _
| IFS
| as_nl
) ;; #(
57465 *) $as_unset $ac_var ;;
57471 case $as_nl`(ac_space=' '; set) 2>&1` in #(
57472 *${as_nl}ac_space
=\
*)
57473 # `set' does not quote correctly, so add quotes (double-quote
57474 # substitution turns \\\\ into \\, and sed turns \\ into \).
57477 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
57480 # `set' quotes correctly as required by POSIX, so do not add quotes.
57481 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
57490 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
57492 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
57494 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
57495 if test -w "$cache_file"; then
57496 test "x$cache_file" != "x/dev/null" &&
57497 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
57498 echo "$as_me: updating cache $cache_file" >&6;}
57499 cat confcache
>$cache_file
57501 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
57502 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
57507 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
57508 # Let make expand exec_prefix.
57509 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
57511 DEFS
=-DHAVE_CONFIG_H
57515 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
57516 # 1. Remove the extension, and $U if already installed.
57517 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
57518 ac_i
=`echo "$ac_i" | sed "$ac_script"`
57519 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
57520 # will be set to the directory where LIBOBJS objects are built.
57521 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
57522 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
57524 LIBOBJS
=$ac_libobjs
57526 LTLIBOBJS
=$ac_ltlibobjs
57530 : ${CONFIG_STATUS=./config.status}
57531 ac_clean_files_save
=$ac_clean_files
57532 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
57533 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
57534 echo "$as_me: creating $CONFIG_STATUS" >&6;}
57535 cat >$CONFIG_STATUS <<_ACEOF
57537 # Generated by $as_me.
57538 # Run this file to recreate the current configuration.
57539 # Compiler output produced by configure, useful for debugging
57540 # configure, is in config.log if it exists.
57543 ac_cs_recheck=false
57545 SHELL=\${CONFIG_SHELL-$SHELL}
57548 cat >>$CONFIG_STATUS <<\_ACEOF
57549 ## --------------------- ##
57550 ## M4sh Initialization. ##
57551 ## --------------------- ##
57553 # Be Bourne compatible
57554 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
57557 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
57558 # is contrary to our usage. Disable this feature.
57559 alias -g '${1+"$@"}'='"$@"'
57560 setopt NO_GLOB_SUBST
57562 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
57564 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
57565 DUALCASE
=1; export DUALCASE
# for MKS sh
57569 # Avoid depending upon Character Ranges.
57570 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
57571 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
57572 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
57573 as_cr_digits
='0123456789'
57574 as_cr_alnum
=$as_cr_Letters$as_cr_digits
57576 # The user is always right.
57577 if test "${PATH_SEPARATOR+set}" != set; then
57578 echo "#! /bin/sh" >conf$$.sh
57579 echo "exit 0" >>conf$$.sh
57581 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
57589 # Support unset when possible.
57590 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
57598 # We need space, tab and new line, in precisely that order. Quoting is
57599 # there to prevent editors from complaining about space-tab.
57600 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
57601 # splitting by setting IFS to empty value.)
57606 # Find who we are. Look in the path if we contain no directory separator.
57608 *[\\/]* ) as_myself
=$0 ;;
57609 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
57610 for as_dir
in $PATH
57613 test -z "$as_dir" && as_dir
=.
57614 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
57620 # We did not find ourselves, most probably we were run as `sh COMMAND'
57621 # in which case we are not to be found in the path.
57622 if test "x$as_myself" = x
; then
57625 if test ! -f "$as_myself"; then
57626 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
57627 { (exit 1); exit 1; }
57630 # Work around bugs in pre-3.0 UWIN ksh.
57631 for as_var
in ENV MAIL MAILPATH
57632 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
57640 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
57641 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
57642 LC_TELEPHONE LC_TIME
57644 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
57645 eval $as_var=C
; export $as_var
57647 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
57651 # Required to use basename.
57652 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
57653 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
57659 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
57660 as_basename
=basename
57666 # Name of the executable.
57667 as_me
=`$as_basename -- "$0" ||
57668 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
57669 X"$0" : 'X\(//\)$' \| \
57670 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
57672 sed '/^.*\/\([^/][^/]*\)\/*$/{
57691 as_lineno_1
=$LINENO
57692 as_lineno_2
=$LINENO
57693 test "x$as_lineno_1" != "x$as_lineno_2" &&
57694 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
57696 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
57697 # uniformly replaced by the line number. The first 'sed' inserts a
57698 # line-number line after each line using $LINENO; the second 'sed'
57699 # does the real work. The second script uses 'N' to pair each
57700 # line-number line with the line containing $LINENO, and appends
57701 # trailing '-' during substitution so that $LINENO is not a special
57702 # case at line end.
57703 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
57704 # scripts with optimization help from Paolo Bonzini. Blame Lee
57705 # E. McMahon (1931-1989) for sed's syntax. :-)
57717 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
57720 ' >$as_me.lineno
&&
57721 chmod +x
"$as_me.lineno" ||
57722 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
57723 { (exit 1); exit 1; }; }
57725 # Don't try to exec as it changes $[0], causing all sort of problems
57726 # (the dirname of $[0] is not the place where we might find the
57727 # original and so on. Autoconf is especially sensitive to this).
57728 .
"./$as_me.lineno"
57729 # Exit status is that of the last command.
57734 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
57740 ECHO_C
= ECHO_N
= ECHO_T
=
57741 case `echo -n x` in
57743 case `echo 'x\c'` in
57744 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
57751 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
57752 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
57758 rm -f conf$$ conf$$.exe conf$$.
file
57759 if test -d conf$$.dir
; then
57760 rm -f conf$$.dir
/conf$$.
file
57766 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
57768 # ... but there are two gotchas:
57769 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
57770 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
57771 # In both cases, we have to default to `cp -p'.
57772 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
57774 elif ln conf$$.
file conf$$
2>/dev
/null
; then
57779 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
57780 rmdir conf$$.dir
2>/dev
/null
57782 if mkdir -p .
2>/dev
/null
; then
57785 test -d .
/-p && rmdir .
/-p
57789 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
57790 # systems may use methods other than mode bits to determine executability.
57791 cat >conf$$.
file <<_ASEOF
57795 chmod +x conf$$.
file
57796 if test -x conf$$.
file >/dev
/null
2>&1; then
57797 as_executable_p
="test -x"
57803 # Sed expression to map a string onto a valid CPP name.
57804 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
57806 # Sed expression to map a string onto a valid variable name.
57807 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
57812 # Save the log message, to keep $[0] and so on meaningful, and to
57813 # report actual input values of CONFIG_FILES etc. instead of their
57814 # values after options handling.
57816 This file was extended by wxWidgets $as_me 2.9.0, which was
57817 generated by GNU Autoconf 2.60. Invocation command line was
57819 CONFIG_FILES = $CONFIG_FILES
57820 CONFIG_HEADERS = $CONFIG_HEADERS
57821 CONFIG_LINKS = $CONFIG_LINKS
57822 CONFIG_COMMANDS = $CONFIG_COMMANDS
57825 on `(hostname || uname -n) 2>/dev/null | sed 1q`
57830 cat >>$CONFIG_STATUS <<_ACEOF
57831 # Files that config.status was made for.
57832 config_files="$ac_config_files"
57833 config_headers="$ac_config_headers"
57834 config_commands="$ac_config_commands"
57838 cat >>$CONFIG_STATUS <<\_ACEOF
57840 \`$as_me' instantiates files from templates according to the
57841 current configuration.
57843 Usage: $0 [OPTIONS] [FILE]...
57845 -h, --help print this help, then exit
57846 -V, --version print version number, then exit
57847 -q, --quiet do not print progress messages
57848 -d, --debug don't remove temporary files
57849 --recheck update $as_me by reconfiguring in the same conditions
57850 --file=FILE[:TEMPLATE]
57851 instantiate the configuration file FILE
57852 --header=FILE[:TEMPLATE]
57853 instantiate the configuration header FILE
57855 Configuration files:
57858 Configuration headers:
57861 Configuration commands:
57864 Report bugs to <bug-autoconf@gnu.org>."
57867 cat >>$CONFIG_STATUS <<_ACEOF
57869 wxWidgets config.status 2.9.0
57870 configured by $0, generated by GNU Autoconf 2.60,
57871 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
57873 Copyright (C) 2006 Free Software Foundation, Inc.
57874 This config.status script is free software; the Free Software Foundation
57875 gives unlimited permission to copy, distribute and modify it."
57882 cat >>$CONFIG_STATUS <<\_ACEOF
57883 # If no file are specified by the user, then we need to provide default
57884 # value. By we need to know if files were specified by the user.
57890 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
57891 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
57902 # Handling of the options.
57903 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
57905 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
57906 echo "$ac_cs_version"; exit ;;
57907 --debug | --debu | --deb | --de | --d | -d )
57909 --file | --fil | --fi | --f )
57911 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
57912 ac_need_defaults
=false
;;
57913 --header | --heade | --head | --hea )
57915 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
57916 ac_need_defaults
=false
;;
57918 # Conflict between --help and --header
57919 { echo "$as_me: error: ambiguous option: $1
57920 Try \`$0 --help' for more information." >&2
57921 { (exit 1); exit 1; }; };;
57922 --help | --hel | -h )
57923 echo "$ac_cs_usage"; exit ;;
57924 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
57925 | -silent | --silent | --silen | --sile | --sil | --si | --s)
57928 # This is an error.
57929 -*) { echo "$as_me: error: unrecognized option: $1
57930 Try \`$0 --help' for more information." >&2
57931 { (exit 1); exit 1; }; } ;;
57933 *) ac_config_targets
="$ac_config_targets $1"
57934 ac_need_defaults
=false
;;
57940 ac_configure_extra_args
=
57942 if $ac_cs_silent; then
57944 ac_configure_extra_args
="$ac_configure_extra_args --silent"
57948 cat >>$CONFIG_STATUS <<_ACEOF
57949 if \$ac_cs_recheck; then
57950 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
57951 CONFIG_SHELL=$SHELL
57952 export CONFIG_SHELL
57953 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
57957 cat >>$CONFIG_STATUS <<\_ACEOF
57961 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
57962 ## Running $as_me. ##
57968 cat >>$CONFIG_STATUS <<_ACEOF
57974 infile="$srcdir/include/wx/msw/genrcdefs.h"
57975 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
57978 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
57979 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
57980 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
57986 cat >>$CONFIG_STATUS <<\_ACEOF
57988 # Handling of arguments.
57989 for ac_config_target
in $ac_config_targets
57991 case $ac_config_target in
57992 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
57993 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
57994 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
57995 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
57996 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
57997 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
57998 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
57999 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
58001 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
58002 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
58003 { (exit 1); exit 1; }; };;
58008 # If the user did not use the arguments to specify the items to instantiate,
58009 # then the envvar interface is used. Set only those that are not.
58010 # We use the long form for the default assignment because of an extremely
58011 # bizarre bug on SunOS 4.1.3.
58012 if $ac_need_defaults; then
58013 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
58014 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
58015 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
58018 # Have a temporary directory for convenience. Make it in the build tree
58019 # simply because there is no reason against having it here, and in addition,
58020 # creating and moving files from /tmp can sometimes cause problems.
58021 # Hook for its removal unless debugging.
58022 # Note that there is a small window in which the directory will not be cleaned:
58023 # after its creation but before its name has been assigned to `$tmp'.
58027 trap 'exit_status=$?
58028 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
58030 trap '{ (exit 1); exit 1; }' 1 2 13 15
58032 # Create a (secure) tmp directory for tmp files.
58035 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
58036 test -n "$tmp" && test -d "$tmp"
58039 tmp
=.
/conf$$
-$RANDOM
58040 (umask 077 && mkdir "$tmp")
58043 echo "$me: cannot create a temporary directory in ." >&2
58044 { (exit 1); exit 1; }
58048 # Set up the sed scripts for CONFIG_FILES section.
58051 # No need to generate the scripts if there are no CONFIG_FILES.
58052 # This happens for instance when ./config.status config.h
58053 if test -n "$CONFIG_FILES"; then
58060 for ac_last_try
in false false false false false
:; do
58061 cat >conf$
$subs.
sed <<_ACEOF
58062 SHELL!$SHELL$ac_delim
58063 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
58064 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
58065 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
58066 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
58067 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
58068 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
58069 exec_prefix!$exec_prefix$ac_delim
58070 prefix!$prefix$ac_delim
58071 program_transform_name!$program_transform_name$ac_delim
58072 bindir!$bindir$ac_delim
58073 sbindir!$sbindir$ac_delim
58074 libexecdir!$libexecdir$ac_delim
58075 datarootdir!$datarootdir$ac_delim
58076 datadir!$datadir$ac_delim
58077 sysconfdir!$sysconfdir$ac_delim
58078 sharedstatedir!$sharedstatedir$ac_delim
58079 localstatedir!$localstatedir$ac_delim
58080 includedir!$includedir$ac_delim
58081 oldincludedir!$oldincludedir$ac_delim
58082 docdir!$docdir$ac_delim
58083 infodir!$infodir$ac_delim
58084 htmldir!$htmldir$ac_delim
58085 dvidir!$dvidir$ac_delim
58086 pdfdir!$pdfdir$ac_delim
58087 psdir!$psdir$ac_delim
58088 libdir!$libdir$ac_delim
58089 localedir!$localedir$ac_delim
58090 mandir!$mandir$ac_delim
58091 DEFS!$DEFS$ac_delim
58092 ECHO_C!$ECHO_C$ac_delim
58093 ECHO_N!$ECHO_N$ac_delim
58094 ECHO_T!$ECHO_T$ac_delim
58095 LIBS!$LIBS$ac_delim
58096 build_alias!$build_alias$ac_delim
58097 host_alias!$host_alias$ac_delim
58098 target_alias!$target_alias$ac_delim
58099 build!$build$ac_delim
58100 build_cpu!$build_cpu$ac_delim
58101 build_vendor!$build_vendor$ac_delim
58102 build_os!$build_os$ac_delim
58103 host!$host$ac_delim
58104 host_cpu!$host_cpu$ac_delim
58105 host_vendor!$host_vendor$ac_delim
58106 host_os!$host_os$ac_delim
58107 target!$target$ac_delim
58108 target_cpu!$target_cpu$ac_delim
58109 target_vendor!$target_vendor$ac_delim
58110 target_os!$target_os$ac_delim
58111 wx_top_builddir!$wx_top_builddir$ac_delim
58113 CFLAGS!$CFLAGS$ac_delim
58114 LDFLAGS!$LDFLAGS$ac_delim
58115 CPPFLAGS!$CPPFLAGS$ac_delim
58116 ac_ct_CC!$ac_ct_CC$ac_delim
58117 EXEEXT!$EXEEXT$ac_delim
58118 OBJEXT!$OBJEXT$ac_delim
58120 GREP!$GREP$ac_delim
58121 EGREP!$EGREP$ac_delim
58123 CXXFLAGS!$CXXFLAGS$ac_delim
58124 ac_ct_CXX!$ac_ct_CXX$ac_delim
58125 RANLIB!$RANLIB$ac_delim
58127 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
58128 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
58129 INSTALL_DATA!$INSTALL_DATA$ac_delim
58130 STRIP!$STRIP$ac_delim
58131 WINDRES!$WINDRES$ac_delim
58132 DLLTOOL!$DLLTOOL$ac_delim
58133 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
58134 LN_S!$LN_S$ac_delim
58135 CXXCPP!$CXXCPP$ac_delim
58136 subdirs!$subdirs$ac_delim
58137 PKG_CONFIG!$PKG_CONFIG$ac_delim
58138 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
58139 GTK_LIBS!$GTK_LIBS$ac_delim
58140 GTK_CONFIG!$GTK_CONFIG$ac_delim
58141 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
58142 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
58143 XMKMF!$XMKMF$ac_delim
58144 X_CFLAGS!$X_CFLAGS$ac_delim
58145 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
58146 X_LIBS!$X_LIBS$ac_delim
58147 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
58148 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
58149 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
58150 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
58151 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
58152 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
58153 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
58155 DEREZ!$DEREZ$ac_delim
58156 SETFILE!$SETFILE$ac_delim
58157 LIBICONV!$LIBICONV$ac_delim
58158 EXTRALIBS_ESD!$EXTRALIBS_ESD$ac_delim
58161 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
58163 elif $ac_last_try; then
58164 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
58165 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
58166 { (exit 1); exit 1; }; }
58168 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
58172 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
58173 if test -n "$ac_eof"; then
58174 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
58175 ac_eof
=`expr $ac_eof + 1`
58178 cat >>$CONFIG_STATUS <<_ACEOF
58179 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
58180 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
58183 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
58184 s/^/s,@/; s/!/@,|#_!!_#|/
58187 s/'"$ac_delim"'$/,g/; t
58189 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
58190 ' >>$CONFIG_STATUS <conf$
$subs.
sed
58191 rm -f conf$
$subs.
sed
58192 cat >>$CONFIG_STATUS <<_ACEOF
58198 for ac_last_try
in false false false false false
:; do
58199 cat >conf$
$subs.
sed <<_ACEOF
58200 SDL_CONFIG!$SDL_CONFIG$ac_delim
58201 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
58202 SDL_LIBS!$SDL_LIBS$ac_delim
58203 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
58204 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
58205 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
58206 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
58207 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
58208 HILDON_LIBS!$HILDON_LIBS$ac_delim
58209 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
58210 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
58211 GST_CFLAGS!$GST_CFLAGS$ac_delim
58212 GST_LIBS!$GST_LIBS$ac_delim
58213 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
58214 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
58215 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
58216 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
58217 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
58218 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
58219 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
58220 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
58221 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
58222 VENDOR!$VENDOR$ac_delim
58223 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
58224 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
58225 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
58226 WXUNIV!$WXUNIV$ac_delim
58227 MONOLITHIC!$MONOLITHIC$ac_delim
58228 USE_PLUGINS!$USE_PLUGINS$ac_delim
58229 EXTRALIBS!$EXTRALIBS$ac_delim
58230 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
58231 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
58232 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
58233 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
58234 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
58235 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
58236 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
58237 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
58238 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
58239 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
58240 UNICODE!$UNICODE$ac_delim
58241 BUILD!$BUILD$ac_delim
58242 DEBUG_INFO!$DEBUG_INFO$ac_delim
58243 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
58244 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
58245 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
58246 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
58247 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
58248 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
58249 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
58250 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
58251 SET_MAKE!$SET_MAKE$ac_delim
58252 MAKE_SET!$MAKE_SET$ac_delim
58253 AROPTIONS!$AROPTIONS$ac_delim
58255 INSTALL_DIR!$INSTALL_DIR$ac_delim
58256 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
58257 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
58258 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
58259 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
58260 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
58261 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
58262 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
58263 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
58264 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
58265 SO_SUFFIX!$SO_SUFFIX$ac_delim
58266 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
58267 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
58268 LIBPREFIX!$LIBPREFIX$ac_delim
58269 LIBEXT!$LIBEXT$ac_delim
58270 DLLPREFIX!$DLLPREFIX$ac_delim
58271 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
58272 dlldir!$dlldir$ac_delim
58273 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
58274 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
58275 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
58276 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
58277 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
58278 PIC_FLAG!$PIC_FLAG$ac_delim
58279 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
58280 USE_SOVERSION!$USE_SOVERSION$ac_delim
58281 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
58282 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
58283 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
58284 USE_MACVERSION!$USE_MACVERSION$ac_delim
58285 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
58286 SONAME_FLAG!$SONAME_FLAG$ac_delim
58287 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
58288 BK_DEPS!$BK_DEPS$ac_delim
58289 GCC_PCH!$GCC_PCH$ac_delim
58290 ICC_PCH!$ICC_PCH$ac_delim
58291 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
58292 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
58293 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
58294 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
58295 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
58296 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
58299 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
58301 elif $ac_last_try; then
58302 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
58303 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
58304 { (exit 1); exit 1; }; }
58306 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
58310 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
58311 if test -n "$ac_eof"; then
58312 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
58313 ac_eof
=`expr $ac_eof + 1`
58316 cat >>$CONFIG_STATUS <<_ACEOF
58317 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
58318 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
58321 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
58322 s/^/s,@/; s/!/@,|#_!!_#|/
58325 s/'"$ac_delim"'$/,g/; t
58327 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
58328 ' >>$CONFIG_STATUS <conf$
$subs.
sed
58329 rm -f conf$
$subs.
sed
58330 cat >>$CONFIG_STATUS <<_ACEOF
58336 for ac_last_try
in false false false false false
:; do
58337 cat >conf$
$subs.
sed <<_ACEOF
58338 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
58339 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
58340 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
58341 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
58342 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
58343 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
58344 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
58345 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
58346 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
58347 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
58348 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
58349 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
58350 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
58351 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
58352 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
58353 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
58354 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
58355 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
58356 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
58357 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
58358 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
58359 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
58360 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
58361 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
58362 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
58363 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
58364 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
58365 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
58366 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
58367 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
58368 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
58369 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
58370 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
58371 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
58372 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
58373 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
58374 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
58375 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
58376 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
58377 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
58378 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
58379 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
58380 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
58381 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
58382 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
58383 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
58384 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
58385 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
58386 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
58387 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
58388 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
58389 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
58390 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
58391 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
58392 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
58393 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
58394 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
58395 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
58396 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
58397 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
58398 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
58399 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
58400 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
58401 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
58402 COND_SHARED_0!$COND_SHARED_0$ac_delim
58403 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
58404 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
58405 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
58406 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
58407 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
58408 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
58409 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
58410 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
58411 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
58412 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
58413 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
58414 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
58415 COND_SHARED_1!$COND_SHARED_1$ac_delim
58416 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
58417 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
58418 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
58419 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
58420 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
58421 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
58422 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
58423 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
58424 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
58425 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
58426 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
58427 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
58428 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
58429 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
58430 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
58431 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
58432 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
58433 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
58434 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
58437 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
58439 elif $ac_last_try; then
58440 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
58441 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
58442 { (exit 1); exit 1; }; }
58444 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
58448 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
58449 if test -n "$ac_eof"; then
58450 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
58451 ac_eof
=`expr $ac_eof + 1`
58454 cat >>$CONFIG_STATUS <<_ACEOF
58455 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
58456 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
58459 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
58460 s/^/s,@/; s/!/@,|#_!!_#|/
58463 s/'"$ac_delim"'$/,g/; t
58465 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
58466 ' >>$CONFIG_STATUS <conf$
$subs.
sed
58467 rm -f conf$
$subs.
sed
58468 cat >>$CONFIG_STATUS <<_ACEOF
58474 for ac_last_try
in false false false false false
:; do
58475 cat >conf$
$subs.
sed <<_ACEOF
58476 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
58477 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
58478 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
58479 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
58480 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
58481 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
58482 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
58483 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
58484 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
58485 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
58486 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
58487 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
58488 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
58489 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
58490 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
58491 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
58492 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
58493 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
58494 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
58495 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
58496 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
58497 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
58498 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
58499 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
58500 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
58501 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
58502 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
58503 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
58504 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
58505 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
58506 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
58507 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
58508 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
58509 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
58510 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
58511 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
58512 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
58513 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
58514 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
58515 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
58516 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
58517 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
58518 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
58519 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
58520 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
58521 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
58522 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
58523 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
58524 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
58525 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
58526 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
58527 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
58528 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
58529 SHARED!$SHARED$ac_delim
58530 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
58531 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
58532 USE_GUI!$USE_GUI$ac_delim
58533 AFMINSTALL!$AFMINSTALL$ac_delim
58534 WIN32INSTALL!$WIN32INSTALL$ac_delim
58535 TOOLKIT!$TOOLKIT$ac_delim
58536 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
58537 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
58538 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
58539 cross_compiling!$cross_compiling$ac_delim
58540 WIDGET_SET!$WIDGET_SET$ac_delim
58541 WX_RELEASE!$WX_RELEASE$ac_delim
58542 WX_VERSION!$WX_VERSION$ac_delim
58543 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
58544 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
58545 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
58546 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
58547 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
58548 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
58549 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
58550 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
58551 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
58552 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
58553 EXE_LINKER!$EXE_LINKER$ac_delim
58554 GUIDIST!$GUIDIST$ac_delim
58555 DISTDIR!$DISTDIR$ac_delim
58556 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
58557 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
58558 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
58559 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
58560 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
58561 RESCOMP!$RESCOMP$ac_delim
58562 RESFLAGS!$RESFLAGS$ac_delim
58563 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
58564 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
58565 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
58566 LIBWXMACRES!$LIBWXMACRES$ac_delim
58567 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
58568 MACSETFILE!$MACSETFILE$ac_delim
58570 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
58571 LIBOBJS!$LIBOBJS$ac_delim
58572 LTLIBOBJS!$LTLIBOBJS$ac_delim
58575 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
58577 elif $ac_last_try; then
58578 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
58579 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
58580 { (exit 1); exit 1; }; }
58582 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
58586 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
58587 if test -n "$ac_eof"; then
58588 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
58589 ac_eof
=`expr $ac_eof + 1`
58592 cat >>$CONFIG_STATUS <<_ACEOF
58593 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
58594 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
58597 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
58598 s/^/s,@/; s/!/@,|#_!!_#|/
58601 s/'"$ac_delim"'$/,g/; t
58603 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
58604 ' >>$CONFIG_STATUS <conf$
$subs.
sed
58605 rm -f conf$
$subs.
sed
58606 cat >>$CONFIG_STATUS <<_ACEOF
58611 # VPATH may cause trouble with some makes, so we remove $(srcdir),
58612 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
58613 # trailing colons and then remove the whole line if VPATH becomes empty
58614 # (actually we leave an empty line to preserve line numbers).
58615 if test "x$srcdir" = x.
; then
58616 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
58617 s/:*\$(srcdir):*/:/
58618 s/:*\${srcdir}:*/:/
58620 s/^\([^=]*=[ ]*\):*/\1/
58626 cat >>$CONFIG_STATUS <<\_ACEOF
58627 fi # test -n "$CONFIG_FILES"
58630 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
58633 :[FHLC
]) ac_mode
=$ac_tag; continue;;
58635 case $ac_mode$ac_tag in
58637 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
58638 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
58639 { (exit 1); exit 1; }; };;
58640 :[FH
]-) ac_tag
=-:-;;
58641 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
58658 -) ac_f
="$tmp/stdin";;
58659 *) # Look for the file first in the build tree, then in the source tree
58660 # (if the path is not absolute). The absolute path cannot be DOS-style,
58661 # because $ac_f cannot contain `:'.
58665 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
58667 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
58668 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
58669 { (exit 1); exit 1; }; };;
58671 ac_file_inputs
="$ac_file_inputs $ac_f"
58674 # Let's still pretend it is `configure' which instantiates (i.e., don't
58675 # use $as_me), people would be surprised to read:
58676 # /* config.h. Generated by config.status. */
58677 configure_input
="Generated from "`IFS=:
58678 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
58679 if test x
"$ac_file" != x
-; then
58680 configure_input
="$ac_file. $configure_input"
58681 { echo "$as_me:$LINENO: creating $ac_file" >&5
58682 echo "$as_me: creating $ac_file" >&6;}
58686 *:-:* | *:-) cat >"$tmp/stdin";;
58691 ac_dir
=`$as_dirname -- "$ac_file" ||
58692 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
58693 X"$ac_file" : 'X\(//\)[^/]' \| \
58694 X"$ac_file" : 'X\(//\)$' \| \
58695 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
58697 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
58701 /^X\(\/\/\)[^/].*/{
58716 -*) as_dir
=.
/$as_dir;;
58718 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
58722 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
58723 *) as_qdir
=$as_dir;;
58725 as_dirs
="'$as_qdir' $as_dirs"
58726 as_dir
=`$as_dirname -- "$as_dir" ||
58727 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
58728 X"$as_dir" : 'X\(//\)[^/]' \| \
58729 X"$as_dir" : 'X\(//\)$' \| \
58730 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
58732 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
58736 /^X\(\/\/\)[^/].*/{
58749 test -d "$as_dir" && break
58751 test -z "$as_dirs" || eval "mkdir $as_dirs"
58752 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
58753 echo "$as_me: error: cannot create directory $as_dir" >&2;}
58754 { (exit 1); exit 1; }; }; }
58758 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
58760 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
58761 # A ".." for each directory in $ac_dir_suffix.
58762 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
58763 case $ac_top_builddir_sub in
58764 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
58765 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
58768 ac_abs_top_builddir
=$ac_pwd
58769 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
58770 # for backward compatibility:
58771 ac_top_builddir
=$ac_top_build_prefix
58774 .
) # We are building in place.
58776 ac_top_srcdir
=$ac_top_builddir_sub
58777 ac_abs_top_srcdir
=$ac_pwd ;;
58778 [\\/]* | ?
:[\\/]* ) # Absolute name.
58779 ac_srcdir
=$srcdir$ac_dir_suffix;
58780 ac_top_srcdir
=$srcdir
58781 ac_abs_top_srcdir
=$srcdir ;;
58782 *) # Relative name.
58783 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
58784 ac_top_srcdir
=$ac_top_build_prefix$srcdir
58785 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
58787 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
58797 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
58798 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
58802 cat >>$CONFIG_STATUS <<\_ACEOF
58803 # If the template does not know about datarootdir, expand it.
58804 # FIXME: This hack should be removed a few years after 2.60.
58805 ac_datarootdir_hack
=; ac_datarootdir_seen
=
58807 case `sed -n '/datarootdir/ {
58816 ' $ac_file_inputs` in
58817 *datarootdir
*) ac_datarootdir_seen
=yes;;
58818 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
58819 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
58820 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
58822 cat >>$CONFIG_STATUS <<_ACEOF
58823 ac_datarootdir_hack='
58824 s&@datadir@&$datadir&g
58825 s&@docdir@&$docdir&g
58826 s&@infodir@&$infodir&g
58827 s&@localedir@&$localedir&g
58828 s&@mandir@&$mandir&g
58829 s&\\\${datarootdir}&$datarootdir&g' ;;
58833 # Neutralize VPATH when `$srcdir' = `.'.
58834 # Shell code in configure.ac might set extrasub.
58835 # FIXME: do we really want to maintain this feature?
58836 cat >>$CONFIG_STATUS <<_ACEOF
58840 cat >>$CONFIG_STATUS <<\_ACEOF
58842 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
58843 s
&@configure_input@
&$configure_input&;t t
58844 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
58845 s
&@srcdir@
&$ac_srcdir&;t t
58846 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
58847 s
&@top_srcdir@
&$ac_top_srcdir&;t t
58848 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
58849 s
&@builddir@
&$ac_builddir&;t t
58850 s
&@abs_builddir@
&$ac_abs_builddir&;t t
58851 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
58852 s
&@INSTALL@
&$ac_INSTALL&;t t
58853 $ac_datarootdir_hack
58854 " $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
58856 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
58857 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
58858 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
58859 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
58860 which seems to be undefined. Please make sure it is defined." >&5
58861 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
58862 which seems to be undefined. Please make sure it is defined." >&2;}
58866 -) cat "$tmp/out"; rm -f "$tmp/out";;
58867 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
58876 # Transform confdefs.h into a sed script `conftest.defines', that
58877 # substitutes the proper values into config.h.in to produce config.h.
58878 rm -f conftest.defines conftest.
tail
58879 # First, append a space to every undef/define line, to ease matching.
58880 echo 's/$/ /' >conftest.defines
58881 # Then, protect against being on the right side of a sed subst, or in
58882 # an unquoted here document, in config.status. If some macros were
58883 # called several times there might be several #defines for the same
58884 # symbol, which is useless. But do not sort them, since the last
58885 # AC_DEFINE must be honored.
58886 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
58887 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
58888 # NAME is the cpp macro being defined, VALUE is the value it is being given.
58889 # PARAMS is the parameter list in the macro definition--in most cases, it's
58890 # just an empty string.
58891 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
58892 ac_dB
='\\)[ (].*,\\1define\\2'
58900 s/^[ ]*#[ ]*define[ ][ ]*//
58905 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
58906 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
58907 ' >>conftest.defines
58909 # Remove the space that was appended to ease matching.
58910 # Then replace #undef with comments. This is necessary, for
58911 # example, in the case of _POSIX_SOURCE, which is predefined and required
58912 # on some systems where configure will not decide to define it.
58913 # (The regexp can be short, since the line contains either #define or #undef.)
58915 s,^[ #]*u.*,/* & */,' >>conftest.defines
58917 # Break up conftest.defines:
58918 ac_max_sed_lines
=50
58920 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
58921 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
58922 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
58924 ac_in
='$ac_file_inputs'
58925 ac_out
='"$tmp/out1"'
58926 ac_nxt
='"$tmp/out2"'
58930 # Write a here document:
58931 cat >>$CONFIG_STATUS <<_ACEOF
58932 # First, check the format of the line:
58933 cat >"\$tmp/defines.sed" <<\\CEOF
58934 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
58935 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
58939 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
58941 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
58942 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
58943 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
58944 grep . conftest.
tail >/dev
/null
|| break
58945 rm -f conftest.defines
58946 mv conftest.
tail conftest.defines
58948 rm -f conftest.defines conftest.
tail
58950 echo "ac_result=$ac_in" >>$CONFIG_STATUS
58951 cat >>$CONFIG_STATUS <<\_ACEOF
58952 if test x
"$ac_file" != x
-; then
58953 echo "/* $configure_input */" >"$tmp/config.h"
58954 cat "$ac_result" >>"$tmp/config.h"
58955 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
58956 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
58957 echo "$as_me: $ac_file is unchanged" >&6;}
58960 mv "$tmp/config.h" $ac_file
58963 echo "/* $configure_input */"
58969 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
58970 echo "$as_me: executing $ac_file commands" >&6;}
58975 case $ac_file$ac_mode in
58977 mkdir -p $outdir &&
58978 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
58980 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
58981 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
58982 "wx-config":C
) rm -f wx
-config
58983 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
58990 { (exit 0); exit 0; }
58992 chmod +x
$CONFIG_STATUS
58993 ac_clean_files
=$ac_clean_files_save
58996 # configure is writing to config.log, and then calls config.status.
58997 # config.status does its own redirection, appending to config.log.
58998 # Unfortunately, on DOS this fails, as config.log is still kept open
58999 # by configure, so config.status won't be able to write to it; its
59000 # output is simply discarded. So we exec the FD to /dev/null,
59001 # effectively closing config.log, so it can be properly (re)opened and
59002 # appended to by config.status. When coming back to configure, we
59003 # need to make the FD available again.
59004 if test "$no_create" != yes; then
59006 ac_config_status_args
=
59007 test "$silent" = yes &&
59008 ac_config_status_args
="$ac_config_status_args --quiet"
59010 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
59012 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
59013 # would make configure fail if this is the last instruction.
59014 $ac_cs_success || { (exit 1); exit 1; }
59018 # CONFIG_SUBDIRS section.
59020 if test "$no_recursion" != yes; then
59022 # Remove --cache-file and --srcdir arguments so they do not pile up.
59023 ac_sub_configure_args
=
59025 eval "set x $ac_configure_args"
59029 if test -n "$ac_prev"; then
59034 -cache-file | --cache-file | --cache-fil | --cache-fi \
59035 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
59036 ac_prev
=cache_file
;;
59037 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
59038 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
59041 --config-cache | -C)
59043 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
59045 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
59047 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
59049 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
59053 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
59055 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
59059 # Always prepend --prefix to ensure using the same prefix
59060 # in subdir configurations.
59061 ac_arg
="--prefix=$prefix"
59063 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
59065 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
59068 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
59070 # Do not complain, so a configure script can configure whichever
59071 # parts of a large source tree are present.
59072 test -d "$srcdir/$ac_dir" || continue
59074 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
59075 echo "$as_me:$LINENO: $ac_msg" >&5
59079 -*) as_dir
=.
/$as_dir;;
59081 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
59085 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
59086 *) as_qdir
=$as_dir;;
59088 as_dirs
="'$as_qdir' $as_dirs"
59089 as_dir
=`$as_dirname -- "$as_dir" ||
59090 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59091 X"$as_dir" : 'X\(//\)[^/]' \| \
59092 X"$as_dir" : 'X\(//\)$' \| \
59093 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
59095 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59099 /^X\(\/\/\)[^/].*/{
59112 test -d "$as_dir" && break
59114 test -z "$as_dirs" || eval "mkdir $as_dirs"
59115 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
59116 echo "$as_me: error: cannot create directory $as_dir" >&2;}
59117 { (exit 1); exit 1; }; }; }
59121 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
59123 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
59124 # A ".." for each directory in $ac_dir_suffix.
59125 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
59126 case $ac_top_builddir_sub in
59127 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
59128 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
59131 ac_abs_top_builddir
=$ac_pwd
59132 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
59133 # for backward compatibility:
59134 ac_top_builddir
=$ac_top_build_prefix
59137 .
) # We are building in place.
59139 ac_top_srcdir
=$ac_top_builddir_sub
59140 ac_abs_top_srcdir
=$ac_pwd ;;
59141 [\\/]* | ?
:[\\/]* ) # Absolute name.
59142 ac_srcdir
=$srcdir$ac_dir_suffix;
59143 ac_top_srcdir
=$srcdir
59144 ac_abs_top_srcdir
=$srcdir ;;
59145 *) # Relative name.
59146 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
59147 ac_top_srcdir
=$ac_top_build_prefix$srcdir
59148 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
59150 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
59155 # Check for guested configure; otherwise get Cygnus style configure.
59156 if test -f "$ac_srcdir/configure.gnu"; then
59157 ac_sub_configure
=$ac_srcdir/configure.gnu
59158 elif test -f "$ac_srcdir/configure"; then
59159 ac_sub_configure
=$ac_srcdir/configure
59160 elif test -f "$ac_srcdir/configure.in"; then
59161 # This should be Cygnus configure.
59162 ac_sub_configure
=$ac_aux_dir/configure
59164 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
59165 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
59169 # The recursion is here.
59170 if test -n "$ac_sub_configure"; then
59171 # Make the cache file name correct relative to the subdirectory.
59172 case $cache_file in
59173 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
59174 *) # Relative name.
59175 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
59178 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
59179 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
59180 # The eval makes quoting arguments work.
59181 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
59182 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
59183 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
59184 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
59185 { (exit 1); exit 1; }; }
59194 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
59196 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
59197 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
59199 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
59200 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
59201 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
59203 echo " What level of wxWidgets compatibility should be enabled?"
59204 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
59205 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
59206 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
59208 echo " Which libraries should wxWidgets use?"
59209 echo " jpeg ${wxUSE_LIBJPEG-none}"
59210 echo " png ${wxUSE_LIBPNG-none}"
59211 echo " regex ${wxUSE_REGEX}"
59212 echo " tiff ${wxUSE_LIBTIFF-none}"
59213 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
59214 echo " xpm ${wxUSE_LIBXPM-none}"
59216 echo " zlib ${wxUSE_ZLIB}"
59217 echo " odbc ${wxUSE_ODBC}"
59218 echo " expat ${wxUSE_EXPAT}"
59219 echo " libmspack ${wxUSE_LIBMSPACK}"
59220 echo " sdl ${wxUSE_LIBSDL}"