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.8.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.8.0'
564 PACKAGE_STRING
='wxWidgets 2.8.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.8.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.8.0:";;
1602 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1603 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1604 --enable-gui use GUI classes
1605 --enable-monolithic build wxWidgets as single library
1606 --enable-plugins build parts of wxWidgets as loadable components
1607 --enable-universal use wxWidgets GUI controls instead of native ones
1608 --enable-nanox use NanoX
1609 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
1610 --enable-gpe use GNOME PDA Environment features
if possible
1611 --enable-shared create shared library code
1612 --enable-optimise create optimised code
1613 --enable-debug same as debug_flag and debug_info
1614 --enable-stl use STL
for containers
1615 --enable-omf use OMF object format
1616 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
1617 --enable-debug_info create code with debugging information
1618 --enable-debug_gdb create code with extra GDB debugging information
1619 --enable-debug_cntxt use wxDebugContext
1620 --enable-mem_tracing create code with memory tracing
1621 --enable-profile create code with profiling information
1622 --enable-no_rtti create code without RTTI information
1623 --enable-no_exceptions create code without C
++ exceptions handling
1624 --enable-permissive compile code disregarding strict ANSI
1625 --enable-no_deps create code without dependency information
1626 --disable-vararg_macros don
't use vararg macros, even if they are supported
1627 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1628 --enable-compat24 enable wxWidgets 2.4 compatibility
1629 --disable-compat26 disable wxWidgets 2.6 compatibility
1630 --disable-rpath disable use of rpath for uninstalled builds
1631 --enable-intl use internationalization system
1632 --enable-config use wxConfig (and derived) classes
1633 --enable-protocols use wxProtocol and derived classes
1634 --enable-ftp use wxFTP (requires wxProtocol
1635 --enable-http use wxHTTP (requires wxProtocol
1636 --enable-fileproto use wxFileProto class (requires wxProtocol
1637 --enable-sockets use socket/network classes
1638 --enable-ole use OLE classes (Win32 only)
1639 --enable-dataobj use data object classes
1640 --enable-ipc use interprocess communication (wxSocket etc.)
1641 --enable-apple_ieee use the Apple IEEE codec
1642 --enable-arcstream use wxArchive streams
1643 --enable-backtrace use wxStackWalker class for getting backtraces
1644 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1645 --enable-cmdline use wxCmdLineParser class
1646 --enable-datetime use wxDateTime class
1647 --enable-debugreport use wxDebugReport class
1648 --enable-dialupman use dialup network classes
1649 --enable-dynlib use wxLibrary class for DLL loading
1650 --enable-dynamicloader use (new) wxDynamicLibrary class
1651 --enable-exceptions build exception-safe library
1652 --enable-ffile use wxFFile class
1653 --enable-file use wxFile class
1654 --enable-filesystem use virtual file systems classes
1655 --enable-fontmap use font encodings conversion classes
1656 --enable-fs_archive use virtual archive filesystems
1657 --enable-fs_inet use virtual HTTP/FTP filesystems
1658 --enable-fs_zip now replaced by fs_archive
1659 --enable-geometry use geometry class
1660 --enable-log use logging system
1661 --enable-longlong use wxLongLong class
1662 --enable-mimetype use wxMimeTypesManager
1663 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1664 --enable-snglinst use wxSingleInstanceChecker class
1665 --enable-std_iostreams use standard C++ stream classes
1666 --enable-std_string use standard C++ string classes
1667 --enable-stdpaths use wxStandardPaths class
1668 --enable-stopwatch use wxStopWatch class
1669 --enable-streams use wxStream etc classes
1670 --enable-sysoptions use wxSystemOptions
1671 --enable-tarstream use wxTar streams
1672 --enable-textbuf use wxTextBuffer class
1673 --enable-textfile use wxTextFile class
1674 --enable-timer use wxTimer class
1675 --enable-unicode compile wxString with Unicode support
1676 --enable-sound use wxSound class
1677 --enable-mediactrl use wxMediaCtrl class
1678 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1679 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1680 --enable-zipstream use wxZip streams
1681 --enable-url use wxURL class
1682 --enable-variant use wxVariant class
1683 --enable-protocol use wxProtocol class
1684 --enable-protocol-http HTTP support in wxProtocol
1685 --enable-protocol-ftp FTP support in wxProtocol
1686 --enable-protocol-file FILE support in wxProtocol
1687 --enable-threads use threads
1688 --enable-docview use document view architecture
1689 --enable-help use help subsystem
1690 --enable-mshtmlhelp use MS HTML Help (win32)
1691 --enable-html use wxHTML sub-library
1692 --enable-htmlhelp use wxHTML-based help
1693 --enable-xrc use XRC resources sub-library
1694 --enable-aui use AUI docking library
1695 --enable-constraints use layout-constraints system
1696 --enable-printarch use printing architecture
1697 --enable-mdi use multiple document interface architecture
1698 --enable-mdidoc use docview architecture with MDI
1699 --enable-loggui use standard GUI logger
1700 --enable-logwin use wxLogWindow
1701 --enable-logdialog use wxLogDialog
1702 --enable-webkit use wxWebKitCtrl (Mac)
1703 --enable-richtext use wxRichTextCtrl
1704 --enable-graphics_ctx use graphics context 2D drawing API
1705 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1706 --enable-prologio not available; see contrib
1707 --enable-resources not available; see contrib
1708 --enable-clipboard use wxClipboard class
1709 --enable-dnd use Drag'n
'Drop classes
1710 --enable-metafile use win32 metafiles
1711 --enable-controls use all usual controls
1712 --enable-accel use accelerators
1713 --enable-animatectrl use wxAnimationCtrl class
1714 --enable-button use wxButton class
1715 --enable-bmpbutton use wxBitmapButton class
1716 --enable-bmpcombobox use wxBitmapComboBox class
1717 --enable-calendar use wxCalendarCtrl class
1718 --enable-caret use wxCaret class
1719 --enable-checkbox use wxCheckBox class
1720 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1721 --enable-choice use wxChoice class
1722 --enable-choicebook use wxChoicebook class
1723 --enable-collpane use wxCollapsiblePane class
1724 --enable-colourpicker use wxColourPickerCtrl class
1725 --enable-combobox use wxComboBox class
1726 --enable-comboctrl use wxComboCtrl class
1727 --enable-datepick use wxDatePickerCtrl class
1728 --enable-dirpicker use wxDirPickerCtrl class
1729 --enable-display use wxDisplay class
1730 --enable-detect_sm use code to detect X11 session manager
1731 --enable-filepicker use wxFilePickerCtrl class
1732 --enable-fontpicker use wxFontPickerCtrl class
1733 --enable-gauge use wxGauge class
1734 --enable-grid use wxGrid class
1735 --enable-dataviewctrl use wxDataViewCtrl class
1736 --enable-hyperlink use wxHyperlinkCtrl class
1737 --enable-imaglist use wxImageList class
1738 --enable-listbook use wxListbook class
1739 --enable-listbox use wxListBox class
1740 --enable-listctrl use wxListCtrl class
1741 --enable-notebook use wxNotebook class
1742 --enable-odcombobox use wxOwnerDrawnComboBox class
1743 --enable-radiobox use wxRadioBox class
1744 --enable-radiobtn use wxRadioButton class
1745 --enable-sash use wxSashWindow class
1746 --enable-scrollbar use wxScrollBar class and scrollable windows
1747 --enable-searchctrl use wxSearchCtrl class
1748 --enable-slider use wxSlider class
1749 --enable-spinbtn use wxSpinButton class
1750 --enable-spinctrl use wxSpinCtrl class
1751 --enable-splitter use wxSplitterWindow class
1752 --enable-statbmp use wxStaticBitmap class
1753 --enable-statbox use wxStaticBox class
1754 --enable-statline use wxStaticLine class
1755 --enable-stattext use wxStaticText class
1756 --enable-statusbar use wxStatusBar class
1757 --enable-tabdialog use wxTabControl class
1758 --enable-textctrl use wxTextCtrl class
1759 --enable-togglebtn use wxToggleButton class
1760 --enable-toolbar use wxToolBar class
1761 --enable-tbarnative use native wxToolBar class
1762 --enable-treebook use wxTreebook class
1763 --enable-toolbook use wxToolbook class
1764 --enable-treectrl use wxTreeCtrl class
1765 --enable-tipwindow use wxTipWindow class
1766 --enable-popupwin use wxPopUpWindow class
1767 --enable-commondlg use all common dialogs
1768 --enable-aboutdlg use wxAboutBox
1769 --enable-choicedlg use wxChoiceDialog
1770 --enable-coldlg use wxColourDialog
1771 --enable-filedlg use wxFileDialog
1772 --enable-finddlg use wxFindReplaceDialog
1773 --enable-fontdlg use wxFontDialog
1774 --enable-dirdlg use wxDirDialog
1775 --enable-msgdlg use wxMessageDialog
1776 --enable-numberdlg use wxNumberEntryDialog
1777 --enable-splash use wxSplashScreen
1778 --enable-textdlg use wxTextDialog
1779 --enable-tipdlg use startup tips
1780 --enable-progressdlg use wxProgressDialog
1781 --enable-wizarddlg use wxWizard
1782 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1783 --enable-miniframe use wxMiniFrame class
1784 --enable-tooltips use wxToolTip class
1785 --enable-splines use spline drawing code
1786 --enable-mousewheel use mousewheel
1787 --enable-validators use wxValidator and derived classes
1788 --enable-busyinfo use wxBusyInfo
1789 --enable-joystick use wxJoystick
1790 --enable-metafiles use wxMetaFile (Win32 only)
1791 --enable-dragimage use wxDragImage
1792 --enable-accessibility enable accessibility support
1793 --enable-dccache cache temporary wxDC objects (Win32 only)
1794 --enable-palette use wxPalette class
1795 --enable-image use wxImage class
1796 --enable-gif use gif images (GIF file format)
1797 --enable-pcx use pcx images (PCX file format)
1798 --enable-tga use tga images (TGA file format)
1799 --enable-iff use iff images (IFF file format)
1800 --enable-pnm use pnm images (PNM file format)
1801 --enable-xpm use xpm images (XPM file format)
1802 --enable-icocur use Windows ICO and CUR formats
1803 --enable-official_build official build of wxWidgets (win32 DLL only)
1804 --enable-vendor=VENDOR vendor name (win32 DLL only)
1805 --disable-largefile omit support for large files
1806 --disable-gtktest do not try to compile and run a test GTK+ program
1807 --disable-gtktest Do not try to compile and run a test GTK program
1808 --disable-sdltest Do not try to compile and run a test SDL program
1809 --enable-omf use OMF object format (OS/2)
1810 --disable-dependency-tracking
1811 don't use dependency tracking even
if the compiler
1813 --disable-precomp-headers
1814 don
't use precompiled headers even if compiler can
1817 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1818 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1819 --without-subdirs don't generate makefiles
for samples
/demos
/...
1820 --with-gtk[=VERSION
] use GTK
+, VERSION can be
2 (default
), 1 or
"any"
1821 --with-motif use Motif
/Lesstif
1822 --with-mac use Mac OS X
1823 --with-cocoa use Cocoa
1824 --with-wine use Wine
1825 --with-msw use MS
-Windows
1826 --with-pm use OS
/2 Presentation Manager
1827 --with-mgl use SciTech MGL
1828 --with-directfb use DirectFB
1829 --with-microwin use MicroWindows
1831 --with-libpng use libpng
(PNG image format
)
1832 --with-libjpeg use libjpeg
(JPEG
file format
)
1833 --with-libtiff use libtiff
(TIFF
file format
)
1834 --with-libxpm use libxpm
(XPM
file format
)
1835 --with-libmspack use libmspack
(CHM
help files loading
)
1836 --with-sdl use SDL
for audio on Unix
1837 --with-gnomeprint use GNOME print
for printing under GNOME
1838 --with-gnomevfs use GNOME VFS
for associating MIME types
1839 --with-hildon use Hildon framework
for Nokia
770
1840 --with-opengl use OpenGL
(or Mesa
)
1841 --with-themes=all
|list use only the specified comma
-separated list of wxUniversal themes
1842 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1843 --with-regex enable support
for wxRegEx class
1844 --with-zlib use zlib
for LZW compression
1845 --with-odbc use the IODBC and wxODBC classes
1846 --with-expat enable XML support using expat parser
1847 --with-flavour=NAME specify a name to identify this build
1848 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1849 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1850 --with-x use the X Window System
1851 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1852 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1853 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1854 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1855 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1857 Some influential environment variables
:
1858 CC C compiler
command
1859 CFLAGS C compiler flags
1860 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1861 nonstandard directory
<lib dir
>
1862 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1863 you have headers
in a nonstandard directory
<include dir
>
1865 CXX C
++ compiler
command
1866 CXXFLAGS C
++ compiler flags
1867 CXXCPP C
++ preprocessor
1868 PKG_CONFIG path to pkg
-config utility
1870 C compiler flags
for DIRECTFB
, overriding pkg
-config
1872 linker flags
for DIRECTFB
, overriding pkg
-config
1873 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1875 C compiler flags
for PANGOX
, overriding pkg
-config
1876 PANGOX_LIBS linker flags
for PANGOX
, overriding pkg
-config
1878 C compiler flags
for PANGOFT2
, overriding pkg
-config
1880 linker flags
for PANGOFT2
, overriding pkg
-config
1882 C compiler flags
for PANGOXFT
, overriding pkg
-config
1884 linker flags
for PANGOXFT
, overriding pkg
-config
1885 LIBGNOMEPRINTUI_CFLAGS
1886 C compiler flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1887 LIBGNOMEPRINTUI_LIBS
1888 linker flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1890 C compiler flags
for GNOMEVFS
, overriding pkg
-config
1892 linker flags
for GNOMEVFS
, overriding pkg
-config
1894 C compiler flags
for HILDON
, overriding pkg
-config
1895 HILDON_LIBS linker flags
for HILDON
, overriding pkg
-config
1897 C compiler flags
for CAIRO
, overriding pkg
-config
1898 CAIRO_LIBS linker flags
for CAIRO
, overriding pkg
-config
1899 GST_CFLAGS C compiler flags
for GST
, overriding pkg
-config
1900 GST_LIBS linker flags
for GST
, overriding pkg
-config
1902 Use these variables to override the choices made by
`configure' or to help
1903 it to find libraries and programs with nonstandard names/locations.
1905 Report bugs to <wx-dev@lists.wxwidgets.org>.
1910 if test "$ac_init_help" = "recursive"; then
1911 # If there are subdirs, report their specific --help.
1912 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1913 test -d "$ac_dir" || continue
1917 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1919 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1920 # A ".." for each directory in $ac_dir_suffix.
1921 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1922 case $ac_top_builddir_sub in
1923 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1924 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1927 ac_abs_top_builddir=$ac_pwd
1928 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1929 # for backward compatibility:
1930 ac_top_builddir=$ac_top_build_prefix
1933 .) # We are building in place.
1935 ac_top_srcdir=$ac_top_builddir_sub
1936 ac_abs_top_srcdir=$ac_pwd ;;
1937 [\\/]* | ?:[\\/]* ) # Absolute name.
1938 ac_srcdir=$srcdir$ac_dir_suffix;
1939 ac_top_srcdir=$srcdir
1940 ac_abs_top_srcdir=$srcdir ;;
1942 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1943 ac_top_srcdir=$ac_top_build_prefix$srcdir
1944 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1946 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1948 cd "$ac_dir" || { ac_status=$?; continue; }
1949 # Check for guested configure.
1950 if test -f "$ac_srcdir/configure.gnu"; then
1952 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1953 elif test -f "$ac_srcdir/configure"; then
1955 $SHELL "$ac_srcdir/configure" --help=recursive
1957 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1959 cd "$ac_pwd" || { ac_status=$?; break; }
1963 test -n "$ac_init_help" && exit $ac_status
1964 if $ac_init_version; then
1966 wxWidgets configure 2.8.0
1967 generated by GNU Autoconf 2.60
1969 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1970 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1971 This configure script is free software; the Free Software Foundation
1972 gives unlimited permission to copy, distribute and modify it.
1976 cat >config.log <<_ACEOF
1977 This file contains any messages produced by compilers while
1978 running configure, to aid debugging if configure makes a mistake.
1980 It was created by wxWidgets $as_me 2.8.0, which was
1981 generated by GNU Autoconf 2.60. Invocation command line was
1993 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1994 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1995 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1996 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1997 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1999 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2000 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2002 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2003 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2004 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2005 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2006 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2007 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2008 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2016 test -z "$as_dir" && as_dir=.
2017 echo "PATH: $as_dir"
2033 # Keep a trace of the command line.
2034 # Strip out --no-create and --no-recursion so they do not pile up.
2035 # Strip out --silent because we don't want to record it for future runs.
2036 # Also quote any args containing shell meta-characters.
2037 # Make two passes to allow for proper duplicate-argument suppression.
2041 ac_must_keep_next=false
2047 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2048 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2049 | -silent | --silent | --silen | --sile | --sil)
2052 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2055 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2057 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2058 if test $ac_must_keep_next = true; then
2059 ac_must_keep_next=false # Got value, back to normal.
2062 *=* | --config-cache | -C | -disable-* | --disable-* \
2063 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2064 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2065 | -with-* | --with-* | -without-* | --without-* | --x)
2066 case "$ac_configure_args0 " in
2067 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2070 -* ) ac_must_keep_next=true ;;
2073 ac_configure_args="$ac_configure_args '$ac_arg'"
2078 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2079 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2081 # When interrupted or exit'd, cleanup temporary files, and complete
2082 # config.log. We remove comments because anyway the quotes in there
2083 # would cause problems or look ugly.
2084 # WARNING: Use '\'' to represent an apostrophe within the trap.
2085 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2086 trap 'exit_status=$?
2087 # Save into config.log some information that might help in debugging.
2092 ## ---------------- ##
2093 ## Cache variables. ##
2094 ## ---------------- ##
2097 # The following way of writing the cache mishandles newlines in values,
2099 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2100 eval ac_val=\$$ac_var
2104 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2105 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2108 _ | IFS | as_nl) ;; #(
2109 *) $as_unset $ac_var ;;
2114 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2115 *${as_nl}ac_space=\ *)
2117 "s/'\''/'\''\\\\'\'''\''/g;
2118 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2121 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2129 ## ----------------- ##
2130 ## Output variables. ##
2131 ## ----------------- ##
2134 for ac_var in $ac_subst_vars
2136 eval ac_val=\$$ac_var
2138 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2140 echo "$ac_var='\''$ac_val'\''"
2144 if test -n "$ac_subst_files"; then
2146 ## ------------------- ##
2147 ## File substitutions. ##
2148 ## ------------------- ##
2151 for ac_var in $ac_subst_files
2153 eval ac_val=\$$ac_var
2155 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2157 echo "$ac_var='\''$ac_val'\''"
2162 if test -s confdefs.h; then
2172 test "$ac_signal" != 0 &&
2173 echo "$as_me: caught signal $ac_signal"
2174 echo "$as_me: exit $exit_status"
2176 rm -f core *.core core.conftest.* &&
2177 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2180 for ac_signal in 1 2 13 15; do
2181 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2185 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2186 rm -f -r conftest* confdefs.h
2188 # Predefined preprocessor variables.
2190 cat >>confdefs.h <<_ACEOF
2191 #define PACKAGE_NAME "$PACKAGE_NAME"
2195 cat >>confdefs.h <<_ACEOF
2196 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2200 cat >>confdefs.h <<_ACEOF
2201 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2205 cat >>confdefs.h <<_ACEOF
2206 #define PACKAGE_STRING "$PACKAGE_STRING"
2210 cat >>confdefs.h <<_ACEOF
2211 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2215 # Let the site file select an alternate cache file if it wants to.
2216 # Prefer explicitly selected file to automatically selected ones.
2217 if test -n "$CONFIG_SITE"; then
2218 set x "$CONFIG_SITE"
2219 elif test "x$prefix" != xNONE; then
2220 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2222 set x "$ac_default_prefix/share/config.site" \
2223 "$ac_default_prefix/etc/config.site"
2228 if test -r "$ac_site_file"; then
2229 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2230 echo "$as_me: loading site script $ac_site_file" >&6;}
2231 sed 's/^/| /' "$ac_site_file" >&5
2236 if test -r "$cache_file"; then
2237 # Some versions of bash will fail to source /dev/null (special
2238 # files actually), so we avoid doing that.
2239 if test -f "$cache_file"; then
2240 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2241 echo "$as_me: loading cache $cache_file" >&6;}
2243 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2244 *) . "./$cache_file";;
2248 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2249 echo "$as_me: creating cache $cache_file" >&6;}
2253 # Check that the precious variables saved in the cache have kept the same
2255 ac_cache_corrupted=false
2256 for ac_var in $ac_precious_vars; do
2257 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2258 eval ac_new_set=\$ac_env_${ac_var}_set
2259 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2260 eval ac_new_val=\$ac_env_${ac_var}_value
2261 case $ac_old_set,$ac_new_set in
2263 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2264 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2265 ac_cache_corrupted=: ;;
2267 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
2268 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2269 ac_cache_corrupted=: ;;
2272 if test "x$ac_old_val" != "x$ac_new_val"; then
2273 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2274 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2275 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
2276 echo "$as_me: former value
: $ac_old_val" >&2;}
2277 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
2278 echo "$as_me: current value
: $ac_new_val" >&2;}
2279 ac_cache_corrupted=:
2282 # Pass precious variables to config.status.
2283 if test "$ac_new_set" = set; then
2285 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2286 *) ac_arg=$ac_var=$ac_new_val ;;
2288 case " $ac_configure_args " in
2289 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2290 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2294 if $ac_cache_corrupted; then
2295 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
2296 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
2297 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
2298 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
2299 { (exit 1); exit 1; }; }
2327 ac_cpp='$CPP $CPPFLAGS'
2328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2337 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2338 if test -f "$ac_dir/install-sh"; then
2340 ac_install_sh="$ac_aux_dir/install-sh -c"
2342 elif test -f "$ac_dir/install.sh"; then
2344 ac_install_sh="$ac_aux_dir/install.sh -c"
2346 elif test -f "$ac_dir/shtool"; then
2348 ac_install_sh="$ac_aux_dir/shtool install -c"
2352 if test -z "$ac_aux_dir"; then
2353 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2354 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2355 { (exit 1); exit 1; }; }
2358 # These three variables are undocumented and unsupported,
2359 # and are intended to be withdrawn in a future Autoconf release.
2360 # They can cause serious problems if a builder's source tree is in a directory
2361 # whose full name contains unusual characters.
2362 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2363 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2364 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2367 # Make sure we can run config.sub.
2368 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2369 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2370 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2371 { (exit 1); exit 1; }; }
2373 { echo "$as_me:$LINENO: checking build system type" >&5
2374 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2375 if test "${ac_cv_build+set}" = set; then
2376 echo $ECHO_N "(cached) $ECHO_C" >&6
2378 ac_build_alias=$build_alias
2379 test "x$ac_build_alias" = x &&
2380 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2381 test "x$ac_build_alias" = x &&
2382 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2383 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2384 { (exit 1); exit 1; }; }
2385 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2386 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2387 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2388 { (exit 1); exit 1; }; }
2391 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2392 echo "${ECHO_T}$ac_cv_build" >&6; }
2393 case $ac_cv_build in
2395 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2396 echo "$as_me: error: invalid value of canonical build" >&2;}
2397 { (exit 1); exit 1; }; };;
2400 ac_save_IFS=$IFS; IFS='-'
2406 # Remember, the first character of IFS is used to create $*,
2407 # except with old shells:
2410 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2413 { echo "$as_me:$LINENO: checking host system type" >&5
2414 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2415 if test "${ac_cv_host+set}" = set; then
2416 echo $ECHO_N "(cached) $ECHO_C" >&6
2418 if test "x$host_alias" = x; then
2419 ac_cv_host=$ac_cv_build
2421 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2422 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2423 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2424 { (exit 1); exit 1; }; }
2428 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2429 echo "${ECHO_T}$ac_cv_host" >&6; }
2432 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2433 echo "$as_me: error: invalid value of canonical host" >&2;}
2434 { (exit 1); exit 1; }; };;
2437 ac_save_IFS=$IFS; IFS='-'
2443 # Remember, the first character of IFS is used to create $*,
2444 # except with old shells:
2447 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2450 { echo "$as_me:$LINENO: checking target system type" >&5
2451 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2452 if test "${ac_cv_target+set}" = set; then
2453 echo $ECHO_N "(cached) $ECHO_C" >&6
2455 if test "x$target_alias" = x; then
2456 ac_cv_target=$ac_cv_host
2458 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2459 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2460 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2461 { (exit 1); exit 1; }; }
2465 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2466 echo "${ECHO_T}$ac_cv_target" >&6; }
2467 case $ac_cv_target in
2469 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2470 echo "$as_me: error: invalid value of canonical target" >&2;}
2471 { (exit 1); exit 1; }; };;
2473 target=$ac_cv_target
2474 ac_save_IFS=$IFS; IFS='-'
2480 # Remember, the first character of IFS is used to create $*,
2481 # except with old shells:
2484 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2487 # The aliases save the names the user supplied, while $host etc.
2488 # will get canonicalized.
2489 test -n "$target_alias" &&
2490 test "$program_prefix$program_suffix$program_transform_name" = \
2492 program_prefix=${target_alias}-
2496 wx_major_version_number=2
2497 wx_minor_version_number=8
2499 wx_subrelease_number=2
2501 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2502 WX_VERSION=$WX_RELEASE.$wx_release_number
2503 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2505 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2508 wx_top_builddir="`pwd`"
2521 USE_BSD= USE_DARWIN= USE_FREEBSD=
2527 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2533 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2535 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2537 DEFAULT_wxUSE_COCOA=0
2541 DEFAULT_wxUSE_MICROWIN=0
2542 DEFAULT_wxUSE_MOTIF=0
2548 DEFAULT_DEFAULT_wxUSE_COCOA=0
2549 DEFAULT_DEFAULT_wxUSE_GTK=0
2550 DEFAULT_DEFAULT_wxUSE_MAC=0
2551 DEFAULT_DEFAULT_wxUSE_MGL=0
2552 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2553 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2554 DEFAULT_DEFAULT_wxUSE_MSW=0
2555 DEFAULT_DEFAULT_wxUSE_PM=0
2556 DEFAULT_DEFAULT_wxUSE_X11=0
2557 DEFAULT_DEFAULT_wxUSE_DFB=0
2562 SAMPLES_RPATH_POSTLINK=
2564 DEFAULT_STD_FLAG=yes
2569 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2570 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2572 cat >>confdefs.h <<\_ACEOF
2577 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2581 cat >>confdefs.h <<\_ACEOF
2586 if test "x$TMP" = "xalpha"; then
2588 cat >>confdefs.h <<\_ACEOF
2593 DEFAULT_DEFAULT_wxUSE_GTK=1
2595 *-*-gnu* | *-*-k*bsd*-gnu )
2598 if test "x$TMP" = "xalpha"; then
2600 cat >>confdefs.h <<\_ACEOF
2605 DEFAULT_DEFAULT_wxUSE_GTK=1
2607 *-*-irix5* | *-*-irix6* )
2610 cat >>confdefs.h <<\_ACEOF
2614 cat >>confdefs.h <<\_ACEOF
2618 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2624 cat >>confdefs.h <<\_ACEOF
2628 cat >>confdefs.h <<\_ACEOF
2629 #define __SOLARIS__ 1
2632 cat >>confdefs.h <<\_ACEOF
2636 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2637 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2643 cat >>confdefs.h <<\_ACEOF
2647 cat >>confdefs.h <<\_ACEOF
2651 cat >>confdefs.h <<\_ACEOF
2655 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2660 cat >>confdefs.h <<\_ACEOF
2661 #define __FREEBSD__ 1
2664 cat >>confdefs.h <<\_ACEOF
2668 DEFAULT_DEFAULT_wxUSE_GTK=1
2670 *-*-openbsd*|*-*-mirbsd*)
2673 cat >>confdefs.h <<\_ACEOF
2674 #define __OPENBSD__ 1
2677 cat >>confdefs.h <<\_ACEOF
2681 DEFAULT_DEFAULT_wxUSE_GTK=1
2686 cat >>confdefs.h <<\_ACEOF
2687 #define __NETBSD__ 1
2690 cat >>confdefs.h <<\_ACEOF
2694 DEFAULT_DEFAULT_wxUSE_GTK=1
2695 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2697 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2702 cat >>confdefs.h <<\_ACEOF
2706 cat >>confdefs.h <<\_ACEOF
2710 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2711 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2716 cat >>confdefs.h <<\_ACEOF
2720 cat >>confdefs.h <<\_ACEOF
2724 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2729 cat >>confdefs.h <<\_ACEOF
2733 cat >>confdefs.h <<\_ACEOF
2737 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2744 cat >>confdefs.h <<\_ACEOF
2748 cat >>confdefs.h <<\_ACEOF
2752 cat >>confdefs.h <<\_ACEOF
2756 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2763 cat >>confdefs.h <<\_ACEOF
2764 #define __UNIXWARE__ 1
2769 *-*-cygwin* | *-*-mingw32* )
2772 DEFAULT_DEFAULT_wxUSE_MSW=1
2778 cat >>confdefs.h <<\_ACEOF
2783 DEFAULT_DEFAULT_wxUSE_MGL=1
2786 *-pc-os2_emx | *-pc-os2-emx )
2787 cat >>confdefs.h <<\_ACEOF
2792 cat >>confdefs.h <<\_ACEOF
2797 DEFAULT_DEFAULT_wxUSE_PM=1
2799 LDFLAGS="$LDFLAGS -Zcrtdll"
2800 ac_executable_extensions=".exe"
2801 export ac_executable_extensions
2805 for ac_dir in $PATH; do
2807 if test -z "$ac_TEMP_PATH"; then
2808 ac_TEMP_PATH="$ac_dir"
2810 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2813 export PATH="$ac_TEMP_PATH"
2822 cat >>confdefs.h <<\_ACEOF
2826 cat >>confdefs.h <<\_ACEOF
2827 #define __DARWIN__ 1
2830 cat >>confdefs.h <<\_ACEOF
2831 #define TARGET_CARBON 1
2834 DEFAULT_DEFAULT_wxUSE_MAC=1
2837 powerpc-apple-macos* )
2839 ac_cv_c_bigendian=yes
2841 DEFAULT_DEFAULT_wxUSE_MAC=1
2847 cat >>confdefs.h <<\_ACEOF
2854 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2855 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2856 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2857 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2859 DEFAULT_DEFAULT_wxUSE_X11=1
2860 DEFAULT_wxUSE_SHARED=no
2866 wx_arg_cache_file="configarg.cache"
2867 echo "loading argument cache $wx_arg_cache_file"
2868 rm -f ${wx_arg_cache_file}.tmp
2869 touch ${wx_arg_cache_file}.tmp
2870 touch ${wx_arg_cache_file}
2874 if test $DEBUG_CONFIGURE = 1; then
2875 DEFAULT_wxUSE_UNIVERSAL=no
2876 DEFAULT_wxUSE_STL=no
2878 DEFAULT_wxUSE_NANOX=no
2880 DEFAULT_wxUSE_THREADS=yes
2882 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2883 DEFAULT_wxUSE_OPTIMISE=no
2884 DEFAULT_wxUSE_PROFILE=no
2885 DEFAULT_wxUSE_NO_DEPS=no
2886 DEFAULT_wxUSE_VARARG_MACROS=no
2887 DEFAULT_wxUSE_NO_RTTI=no
2888 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2889 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2890 DEFAULT_wxUSE_RPATH=yes
2891 DEFAULT_wxUSE_PERMISSIVE=no
2892 DEFAULT_wxUSE_DEBUG_FLAG=yes
2893 DEFAULT_wxUSE_DEBUG_INFO=yes
2894 DEFAULT_wxUSE_DEBUG_GDB=yes
2895 DEFAULT_wxUSE_MEM_TRACING=no
2896 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2897 DEFAULT_wxUSE_DMALLOC=no
2898 DEFAULT_wxUSE_APPLE_IEEE=no
2900 DEFAULT_wxUSE_EXCEPTIONS=no
2901 DEFAULT_wxUSE_LOG=yes
2902 DEFAULT_wxUSE_LOGWINDOW=no
2903 DEFAULT_wxUSE_LOGGUI=no
2904 DEFAULT_wxUSE_LOGDIALOG=no
2906 DEFAULT_wxUSE_GUI=yes
2907 DEFAULT_wxUSE_CONTROLS=no
2909 DEFAULT_wxUSE_REGEX=no
2910 DEFAULT_wxUSE_XML=no
2911 DEFAULT_wxUSE_EXPAT=no
2912 DEFAULT_wxUSE_ZLIB=no
2913 DEFAULT_wxUSE_LIBPNG=no
2914 DEFAULT_wxUSE_LIBJPEG=no
2915 DEFAULT_wxUSE_LIBTIFF=no
2916 DEFAULT_wxUSE_LIBXPM=no
2917 DEFAULT_wxUSE_LIBMSPACK=no
2918 DEFAULT_wxUSE_LIBSDL=no
2919 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2920 DEFAULT_wxUSE_LIBGNOMEVFS=no
2921 DEFAULT_wxUSE_LIBHILDON=no
2922 DEFAULT_wxUSE_ODBC=no
2923 DEFAULT_wxUSE_OPENGL=no
2925 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2926 DEFAULT_wxUSE_STACKWALKER=no
2927 DEFAULT_wxUSE_DEBUGREPORT=no
2928 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2929 DEFAULT_wxUSE_STD_IOSTREAM=no
2930 DEFAULT_wxUSE_STD_STRING=no
2931 DEFAULT_wxUSE_CMDLINE_PARSER=no
2932 DEFAULT_wxUSE_DATETIME=no
2933 DEFAULT_wxUSE_TIMER=no
2934 DEFAULT_wxUSE_STOPWATCH=no
2935 DEFAULT_wxUSE_FILE=no
2936 DEFAULT_wxUSE_FFILE=no
2937 DEFAULT_wxUSE_STDPATHS=no
2938 DEFAULT_wxUSE_TEXTBUFFER=no
2939 DEFAULT_wxUSE_TEXTFILE=no
2940 DEFAULT_wxUSE_SOUND=no
2941 DEFAULT_wxUSE_MEDIACTRL=no
2942 DEFAULT_wxUSE_GSTREAMER8=no
2943 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2944 DEFAULT_wxUSE_INTL=no
2945 DEFAULT_wxUSE_CONFIG=no
2946 DEFAULT_wxUSE_FONTMAP=no
2947 DEFAULT_wxUSE_STREAMS=no
2948 DEFAULT_wxUSE_SOCKETS=no
2949 DEFAULT_wxUSE_OLE=no
2950 DEFAULT_wxUSE_DATAOBJ=no
2951 DEFAULT_wxUSE_DIALUP_MANAGER=no
2952 DEFAULT_wxUSE_JOYSTICK=no
2953 DEFAULT_wxUSE_DYNLIB_CLASS=no
2954 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2955 DEFAULT_wxUSE_LONGLONG=no
2956 DEFAULT_wxUSE_GEOMETRY=no
2958 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2959 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2960 DEFAULT_wxUSE_POSTSCRIPT=no
2962 DEFAULT_wxUSE_CLIPBOARD=no
2963 DEFAULT_wxUSE_TOOLTIPS=no
2964 DEFAULT_wxUSE_DRAG_AND_DROP=no
2965 DEFAULT_wxUSE_DRAGIMAGE=no
2966 DEFAULT_wxUSE_SPLINES=no
2967 DEFAULT_wxUSE_MOUSEWHEEL=no
2969 DEFAULT_wxUSE_MDI=no
2970 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2971 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2972 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2974 DEFAULT_wxUSE_RESOURCES=no
2975 DEFAULT_wxUSE_CONSTRAINTS=no
2976 DEFAULT_wxUSE_IPC=no
2977 DEFAULT_wxUSE_HELP=no
2978 DEFAULT_wxUSE_MS_HTML_HELP=no
2979 DEFAULT_wxUSE_WXHTML_HELP=no
2980 DEFAULT_wxUSE_TREELAYOUT=no
2981 DEFAULT_wxUSE_METAFILE=no
2982 DEFAULT_wxUSE_MIMETYPE=no
2983 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2984 DEFAULT_wxUSE_PROTOCOL=no
2985 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2986 DEFAULT_wxUSE_PROTOCOL_FTP=no
2987 DEFAULT_wxUSE_PROTOCOL_FILE=no
2988 DEFAULT_wxUSE_URL=no
2989 DEFAULT_wxUSE_VARIANT=no
2991 DEFAULT_wxUSE_ABOUTDLG=no
2992 DEFAULT_wxUSE_COMMONDLGS=no
2993 DEFAULT_wxUSE_CHOICEDLG=no
2994 DEFAULT_wxUSE_COLOURDLG=no
2995 DEFAULT_wxUSE_DIRDLG=no
2996 DEFAULT_wxUSE_FILEDLG=no
2997 DEFAULT_wxUSE_FINDREPLDLG=no
2998 DEFAULT_wxUSE_FONTDLG=no
2999 DEFAULT_wxUSE_MSGDLG=no
3000 DEFAULT_wxUSE_NUMBERDLG=no
3001 DEFAULT_wxUSE_TEXTDLG=no
3002 DEFAULT_wxUSE_SPLASH=no
3003 DEFAULT_wxUSE_STARTUP_TIPS=no
3004 DEFAULT_wxUSE_PROGRESSDLG=no
3005 DEFAULT_wxUSE_WIZARDDLG=no
3007 DEFAULT_wxUSE_MENUS=no
3008 DEFAULT_wxUSE_MINIFRAME=no
3009 DEFAULT_wxUSE_HTML=no
3010 DEFAULT_wxUSE_RICHTEXT=no
3011 DEFAULT_wxUSE_XRC=no
3012 DEFAULT_wxUSE_AUI=no
3013 DEFAULT_wxUSE_WEBKIT=no
3014 DEFAULT_wxUSE_FILESYSTEM=no
3015 DEFAULT_wxUSE_FS_INET=no
3016 DEFAULT_wxUSE_FS_ZIP=no
3017 DEFAULT_wxUSE_FS_ARCHIVE=no
3018 DEFAULT_wxUSE_BUSYINFO=no
3019 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3020 DEFAULT_wxUSE_ZIPSTREAM=no
3021 DEFAULT_wxUSE_TARSTREAM=no
3022 DEFAULT_wxUSE_VALIDATORS=no
3024 DEFAULT_wxUSE_ACCEL=no
3025 DEFAULT_wxUSE_ANIMATIONCTRL=no
3026 DEFAULT_wxUSE_BUTTON=no
3027 DEFAULT_wxUSE_BMPBUTTON=no
3028 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3029 DEFAULT_wxUSE_CALCTRL=no
3030 DEFAULT_wxUSE_CARET=no
3031 DEFAULT_wxUSE_CHECKBOX=no
3032 DEFAULT_wxUSE_CHECKLST=no
3033 DEFAULT_wxUSE_CHOICE=no
3034 DEFAULT_wxUSE_CHOICEBOOK=no
3035 DEFAULT_wxUSE_COLLPANE=no
3036 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3037 DEFAULT_wxUSE_COMBOBOX=no
3038 DEFAULT_wxUSE_COMBOCTRL=no
3039 DEFAULT_wxUSE_DATEPICKCTRL=no
3040 DEFAULT_wxUSE_DISPLAY=no
3041 DEFAULT_wxUSE_DETECT_SM=no
3042 DEFAULT_wxUSE_DIRPICKERCTRL=no
3043 DEFAULT_wxUSE_FILEPICKERCTRL=no
3044 DEFAULT_wxUSE_FONTPICKERCTRL=no
3045 DEFAULT_wxUSE_GAUGE=no
3046 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3047 DEFAULT_wxUSE_GRID=no
3048 DEFAULT_wxUSE_HYPERLINKCTRL=no
3049 DEFAULT_wxUSE_DATAVIEWCTRL=no
3050 DEFAULT_wxUSE_IMAGLIST=no
3051 DEFAULT_wxUSE_LISTBOOK=no
3052 DEFAULT_wxUSE_LISTBOX=no
3053 DEFAULT_wxUSE_LISTCTRL=no
3054 DEFAULT_wxUSE_NOTEBOOK=no
3055 DEFAULT_wxUSE_ODCOMBOBOX=no
3056 DEFAULT_wxUSE_RADIOBOX=no
3057 DEFAULT_wxUSE_RADIOBTN=no
3058 DEFAULT_wxUSE_SASH=no
3059 DEFAULT_wxUSE_SCROLLBAR=no
3060 DEFAULT_wxUSE_SEARCHCTRL=no
3061 DEFAULT_wxUSE_SLIDER=no
3062 DEFAULT_wxUSE_SPINBTN=no
3063 DEFAULT_wxUSE_SPINCTRL=no
3064 DEFAULT_wxUSE_SPLITTER=no
3065 DEFAULT_wxUSE_STATBMP=no
3066 DEFAULT_wxUSE_STATBOX=no
3067 DEFAULT_wxUSE_STATLINE=no
3068 DEFAULT_wxUSE_STATTEXT=no
3069 DEFAULT_wxUSE_STATUSBAR=yes
3070 DEFAULT_wxUSE_TAB_DIALOG=no
3071 DEFAULT_wxUSE_TEXTCTRL=no
3072 DEFAULT_wxUSE_TOGGLEBTN=no
3073 DEFAULT_wxUSE_TOOLBAR=no
3074 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3075 DEFAULT_wxUSE_TREEBOOK=no
3076 DEFAULT_wxUSE_TOOLBOOK=no
3077 DEFAULT_wxUSE_TREECTRL=no
3078 DEFAULT_wxUSE_POPUPWIN=no
3079 DEFAULT_wxUSE_TIPWINDOW=no
3081 DEFAULT_wxUSE_UNICODE=no
3082 DEFAULT_wxUSE_UNICODE_MSLU=no
3083 DEFAULT_wxUSE_WCSRTOMBS=no
3085 DEFAULT_wxUSE_PALETTE=no
3086 DEFAULT_wxUSE_IMAGE=no
3087 DEFAULT_wxUSE_GIF=no
3088 DEFAULT_wxUSE_PCX=no
3089 DEFAULT_wxUSE_TGA=no
3090 DEFAULT_wxUSE_PNM=no
3091 DEFAULT_wxUSE_IFF=no
3092 DEFAULT_wxUSE_XPM=no
3093 DEFAULT_wxUSE_ICO_CUR=no
3094 DEFAULT_wxUSE_ACCESSIBILITY=no
3096 DEFAULT_wxUSE_MONOLITHIC=no
3097 DEFAULT_wxUSE_PLUGINS=no
3098 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3100 DEFAULT_wxUSE_UNIVERSAL=no
3101 DEFAULT_wxUSE_STL=no
3103 DEFAULT_wxUSE_NANOX=no
3105 DEFAULT_wxUSE_THREADS=yes
3107 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3108 DEFAULT_wxUSE_OPTIMISE=yes
3109 DEFAULT_wxUSE_PROFILE=no
3110 DEFAULT_wxUSE_NO_DEPS=no
3111 DEFAULT_wxUSE_VARARG_MACROS=yes
3112 DEFAULT_wxUSE_NO_RTTI=no
3113 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3114 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3115 DEFAULT_wxUSE_RPATH=yes
3116 DEFAULT_wxUSE_PERMISSIVE=no
3117 DEFAULT_wxUSE_DEBUG_FLAG=no
3118 DEFAULT_wxUSE_DEBUG_INFO=no
3119 DEFAULT_wxUSE_DEBUG_GDB=no
3120 DEFAULT_wxUSE_MEM_TRACING=no
3121 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3122 DEFAULT_wxUSE_DMALLOC=no
3123 DEFAULT_wxUSE_APPLE_IEEE=yes
3125 DEFAULT_wxUSE_EXCEPTIONS=yes
3126 DEFAULT_wxUSE_LOG=yes
3127 DEFAULT_wxUSE_LOGWINDOW=yes
3128 DEFAULT_wxUSE_LOGGUI=yes
3129 DEFAULT_wxUSE_LOGDIALOG=yes
3131 DEFAULT_wxUSE_GUI=yes
3133 DEFAULT_wxUSE_REGEX=yes
3134 DEFAULT_wxUSE_XML=yes
3135 DEFAULT_wxUSE_EXPAT=yes
3136 DEFAULT_wxUSE_ZLIB=yes
3137 DEFAULT_wxUSE_LIBPNG=yes
3138 DEFAULT_wxUSE_LIBJPEG=yes
3139 DEFAULT_wxUSE_LIBTIFF=yes
3140 DEFAULT_wxUSE_LIBXPM=yes
3141 DEFAULT_wxUSE_LIBMSPACK=yes
3142 DEFAULT_wxUSE_LIBSDL=no
3143 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3144 DEFAULT_wxUSE_LIBGNOMEVFS=no
3145 DEFAULT_wxUSE_LIBHILDON=no
3146 DEFAULT_wxUSE_ODBC=no
3147 DEFAULT_wxUSE_OPENGL=no
3149 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3150 DEFAULT_wxUSE_STACKWALKER=yes
3151 DEFAULT_wxUSE_DEBUGREPORT=yes
3152 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3153 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3154 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3155 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3156 DEFAULT_wxUSE_DATETIME=yes
3157 DEFAULT_wxUSE_TIMER=yes
3158 DEFAULT_wxUSE_STOPWATCH=yes
3159 DEFAULT_wxUSE_FILE=yes
3160 DEFAULT_wxUSE_FFILE=yes
3161 DEFAULT_wxUSE_STDPATHS=yes
3162 DEFAULT_wxUSE_TEXTBUFFER=yes
3163 DEFAULT_wxUSE_TEXTFILE=yes
3164 DEFAULT_wxUSE_SOUND=yes
3165 DEFAULT_wxUSE_MEDIACTRL=no
3166 DEFAULT_wxUSE_GSTREAMER8=no
3167 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3168 DEFAULT_wxUSE_INTL=yes
3169 DEFAULT_wxUSE_CONFIG=yes
3170 DEFAULT_wxUSE_FONTMAP=yes
3171 DEFAULT_wxUSE_STREAMS=yes
3172 DEFAULT_wxUSE_SOCKETS=yes
3173 DEFAULT_wxUSE_OLE=yes
3174 DEFAULT_wxUSE_DATAOBJ=yes
3175 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3176 DEFAULT_wxUSE_JOYSTICK=yes
3177 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3178 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3179 DEFAULT_wxUSE_LONGLONG=yes
3180 DEFAULT_wxUSE_GEOMETRY=yes
3182 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3183 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3184 DEFAULT_wxUSE_POSTSCRIPT=yes
3186 DEFAULT_wxUSE_CLIPBOARD=yes
3187 DEFAULT_wxUSE_TOOLTIPS=yes
3188 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3189 DEFAULT_wxUSE_DRAGIMAGE=yes
3190 DEFAULT_wxUSE_SPLINES=yes
3191 DEFAULT_wxUSE_MOUSEWHEEL=yes
3193 DEFAULT_wxUSE_MDI=yes
3194 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3195 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3196 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3198 DEFAULT_wxUSE_RESOURCES=no
3199 DEFAULT_wxUSE_CONSTRAINTS=yes
3200 DEFAULT_wxUSE_IPC=yes
3201 DEFAULT_wxUSE_HELP=yes
3202 DEFAULT_wxUSE_MS_HTML_HELP=yes
3203 DEFAULT_wxUSE_WXHTML_HELP=yes
3204 DEFAULT_wxUSE_TREELAYOUT=yes
3205 DEFAULT_wxUSE_METAFILE=yes
3206 DEFAULT_wxUSE_MIMETYPE=yes
3207 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3208 DEFAULT_wxUSE_PROTOCOL=yes
3209 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3210 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3211 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3212 DEFAULT_wxUSE_URL=yes
3213 DEFAULT_wxUSE_VARIANT=yes
3215 DEFAULT_wxUSE_ABOUTDLG=yes
3216 DEFAULT_wxUSE_COMMONDLGS=yes
3217 DEFAULT_wxUSE_CHOICEDLG=yes
3218 DEFAULT_wxUSE_COLOURDLG=yes
3219 DEFAULT_wxUSE_DIRDLG=yes
3220 DEFAULT_wxUSE_FILEDLG=yes
3221 DEFAULT_wxUSE_FINDREPLDLG=yes
3222 DEFAULT_wxUSE_FONTDLG=yes
3223 DEFAULT_wxUSE_MSGDLG=yes
3224 DEFAULT_wxUSE_NUMBERDLG=yes
3225 DEFAULT_wxUSE_TEXTDLG=yes
3226 DEFAULT_wxUSE_SPLASH=yes
3227 DEFAULT_wxUSE_STARTUP_TIPS=yes
3228 DEFAULT_wxUSE_PROGRESSDLG=yes
3229 DEFAULT_wxUSE_WIZARDDLG=yes
3231 DEFAULT_wxUSE_MENUS=yes
3232 DEFAULT_wxUSE_MINIFRAME=yes
3233 DEFAULT_wxUSE_HTML=yes
3234 DEFAULT_wxUSE_RICHTEXT=yes
3235 DEFAULT_wxUSE_XRC=yes
3236 DEFAULT_wxUSE_AUI=yes
3237 DEFAULT_wxUSE_WEBKIT=yes
3238 DEFAULT_wxUSE_FILESYSTEM=yes
3239 DEFAULT_wxUSE_FS_INET=yes
3240 DEFAULT_wxUSE_FS_ZIP=yes
3241 DEFAULT_wxUSE_FS_ARCHIVE=yes
3242 DEFAULT_wxUSE_BUSYINFO=yes
3243 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3244 DEFAULT_wxUSE_ZIPSTREAM=yes
3245 DEFAULT_wxUSE_TARSTREAM=yes
3246 DEFAULT_wxUSE_VALIDATORS=yes
3248 DEFAULT_wxUSE_ACCEL=yes
3249 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3250 DEFAULT_wxUSE_BUTTON=yes
3251 DEFAULT_wxUSE_BMPBUTTON=yes
3252 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3253 DEFAULT_wxUSE_CALCTRL=yes
3254 DEFAULT_wxUSE_CARET=yes
3255 DEFAULT_wxUSE_CHECKBOX=yes
3256 DEFAULT_wxUSE_CHECKLST=yes
3257 DEFAULT_wxUSE_CHOICE=yes
3258 DEFAULT_wxUSE_CHOICEBOOK=yes
3259 DEFAULT_wxUSE_COLLPANE=yes
3260 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3261 DEFAULT_wxUSE_COMBOBOX=yes
3262 DEFAULT_wxUSE_COMBOCTRL=yes
3263 DEFAULT_wxUSE_DATEPICKCTRL=yes
3264 DEFAULT_wxUSE_DISPLAY=yes
3265 DEFAULT_wxUSE_DETECT_SM=yes
3266 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3267 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3268 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3269 DEFAULT_wxUSE_GAUGE=yes
3270 DEFAULT_wxUSE_GRID=yes
3271 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3272 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3273 DEFAULT_wxUSE_DATAVIEWCTRL=no
3274 DEFAULT_wxUSE_IMAGLIST=yes
3275 DEFAULT_wxUSE_LISTBOOK=yes
3276 DEFAULT_wxUSE_LISTBOX=yes
3277 DEFAULT_wxUSE_LISTCTRL=yes
3278 DEFAULT_wxUSE_NOTEBOOK=yes
3279 DEFAULT_wxUSE_ODCOMBOBOX=yes
3280 DEFAULT_wxUSE_RADIOBOX=yes
3281 DEFAULT_wxUSE_RADIOBTN=yes
3282 DEFAULT_wxUSE_SASH=yes
3283 DEFAULT_wxUSE_SCROLLBAR=yes
3284 DEFAULT_wxUSE_SEARCHCTRL=yes
3285 DEFAULT_wxUSE_SLIDER=yes
3286 DEFAULT_wxUSE_SPINBTN=yes
3287 DEFAULT_wxUSE_SPINCTRL=yes
3288 DEFAULT_wxUSE_SPLITTER=yes
3289 DEFAULT_wxUSE_STATBMP=yes
3290 DEFAULT_wxUSE_STATBOX=yes
3291 DEFAULT_wxUSE_STATLINE=yes
3292 DEFAULT_wxUSE_STATTEXT=yes
3293 DEFAULT_wxUSE_STATUSBAR=yes
3294 DEFAULT_wxUSE_TAB_DIALOG=no
3295 DEFAULT_wxUSE_TEXTCTRL=yes
3296 DEFAULT_wxUSE_TOGGLEBTN=yes
3297 DEFAULT_wxUSE_TOOLBAR=yes
3298 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3299 DEFAULT_wxUSE_TREEBOOK=yes
3300 DEFAULT_wxUSE_TOOLBOOK=yes
3301 DEFAULT_wxUSE_TREECTRL=yes
3302 DEFAULT_wxUSE_POPUPWIN=yes
3303 DEFAULT_wxUSE_TIPWINDOW=yes
3305 DEFAULT_wxUSE_UNICODE=no
3306 DEFAULT_wxUSE_UNICODE_MSLU=yes
3307 DEFAULT_wxUSE_WCSRTOMBS=no
3309 DEFAULT_wxUSE_PALETTE=yes
3310 DEFAULT_wxUSE_IMAGE=yes
3311 DEFAULT_wxUSE_GIF=yes
3312 DEFAULT_wxUSE_PCX=yes
3313 DEFAULT_wxUSE_TGA=yes
3314 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3315 DEFAULT_wxUSE_XPM=yes
3316 DEFAULT_wxUSE_ICO_CUR=yes
3317 DEFAULT_wxUSE_ACCESSIBILITY=no
3319 DEFAULT_wxUSE_MONOLITHIC=no
3320 DEFAULT_wxUSE_PLUGINS=no
3321 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3323 DEFAULT_wxUSE_GTK2=yes
3329 for toolkit in `echo $ALL_TOOLKITS`; do
3330 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3331 if test "x$LINE" != "x" ; then
3332 has_toolkit_in_cache=1
3333 eval "DEFAULT_$LINE"
3334 eval "CACHE_$toolkit=1"
3336 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3337 if test "x$LINE" != "x" ; then
3338 eval "DEFAULT_$LINE"
3346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3347 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3349 # Check whether --enable-gui was given.
3350 if test "${enable_gui+set}" = set; then
3351 enableval=$enable_gui;
3352 if test "$enableval" = yes; then
3353 ac_cv_use_gui='wxUSE_GUI=yes'
3355 ac_cv_use_gui='wxUSE_GUI=no'
3360 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3361 if test "x$LINE" != x ; then
3362 eval "DEFAULT_$LINE"
3367 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3372 eval "$ac_cv_use_gui"
3373 if test "$no_cache" != 1; then
3374 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3377 if test "$wxUSE_GUI" = yes; then
3378 { echo "$as_me:$LINENO: result: yes" >&5
3379 echo "${ECHO_T}yes" >&6; }
3381 { echo "$as_me:$LINENO: result: no" >&5
3382 echo "${ECHO_T}no" >&6; }
3387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3388 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3390 # Check whether --enable-monolithic was given.
3391 if test "${enable_monolithic+set}" = set; then
3392 enableval=$enable_monolithic;
3393 if test "$enableval" = yes; then
3394 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3396 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3401 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3402 if test "x$LINE" != x ; then
3403 eval "DEFAULT_$LINE"
3408 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3413 eval "$ac_cv_use_monolithic"
3414 if test "$no_cache" != 1; then
3415 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3418 if test "$wxUSE_MONOLITHIC" = yes; then
3419 { echo "$as_me:$LINENO: result: yes" >&5
3420 echo "${ECHO_T}yes" >&6; }
3422 { echo "$as_me:$LINENO: result: no" >&5
3423 echo "${ECHO_T}no" >&6; }
3428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3429 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3431 # Check whether --enable-plugins was given.
3432 if test "${enable_plugins+set}" = set; then
3433 enableval=$enable_plugins;
3434 if test "$enableval" = yes; then
3435 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3437 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3442 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3443 if test "x$LINE" != x ; then
3444 eval "DEFAULT_$LINE"
3449 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3454 eval "$ac_cv_use_plugins"
3455 if test "$no_cache" != 1; then
3456 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3459 if test "$wxUSE_PLUGINS" = yes; then
3460 { echo "$as_me:$LINENO: result: yes" >&5
3461 echo "${ECHO_T}yes" >&6; }
3463 { echo "$as_me:$LINENO: result: no" >&5
3464 echo "${ECHO_T}no" >&6; }
3469 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3470 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3473 # Check whether --with-subdirs was given.
3474 if test "${with_subdirs+set}" = set; then
3475 withval=$with_subdirs;
3476 if test "$withval" = yes; then
3477 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3479 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3484 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3485 if test "x$LINE" != x ; then
3486 eval "DEFAULT_$LINE"
3491 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3496 eval "$ac_cv_use_subdirs"
3497 if test "$no_cache" != 1; then
3498 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3501 if test "$wxWITH_SUBDIRS" = yes; then
3502 { echo "$as_me:$LINENO: result: yes" >&5
3503 echo "${ECHO_T}yes" >&6; }
3505 { echo "$as_me:$LINENO: result: no" >&5
3506 echo "${ECHO_T}no" >&6; }
3510 if test "$wxUSE_GUI" = "yes"; then
3514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3515 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3517 # Check whether --enable-universal was given.
3518 if test "${enable_universal+set}" = set; then
3519 enableval=$enable_universal;
3520 if test "$enableval" = yes; then
3521 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3523 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3528 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3529 if test "x$LINE" != x ; then
3530 eval "DEFAULT_$LINE"
3535 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3540 eval "$ac_cv_use_universal"
3541 if test "$no_cache" != 1; then
3542 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3545 if test "$wxUSE_UNIVERSAL" = yes; then
3546 { echo "$as_me:$LINENO: result: yes" >&5
3547 echo "${ECHO_T}yes" >&6; }
3549 { echo "$as_me:$LINENO: result: no" >&5
3550 echo "${ECHO_T}no" >&6; }
3554 # Check whether --with-gtk was given.
3555 if test "${with_gtk+set}" = set; then
3556 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3560 # Check whether --with-motif was given.
3561 if test "${with_motif+set}" = set; then
3562 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3566 # Check whether --with-mac was given.
3567 if test "${with_mac+set}" = set; then
3568 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3572 # Check whether --with-cocoa was given.
3573 if test "${with_cocoa+set}" = set; then
3574 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3578 # Check whether --with-wine was given.
3579 if test "${with_wine+set}" = set; then
3580 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3584 # Check whether --with-msw was given.
3585 if test "${with_msw+set}" = set; then
3586 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3590 # Check whether --with-pm was given.
3591 if test "${with_pm+set}" = set; then
3592 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3596 # Check whether --with-mgl was given.
3597 if test "${with_mgl+set}" = set; then
3598 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3602 # Check whether --with-directfb was given.
3603 if test "${with_directfb+set}" = set; then
3604 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3608 # Check whether --with-microwin was given.
3609 if test "${with_microwin+set}" = set; then
3610 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3614 # Check whether --with-x11 was given.
3615 if test "${with_x11+set}" = set; then
3616 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3622 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3624 # Check whether --enable-nanox was given.
3625 if test "${enable_nanox+set}" = set; then
3626 enableval=$enable_nanox;
3627 if test "$enableval" = yes; then
3628 ac_cv_use_nanox='wxUSE_NANOX=yes'
3630 ac_cv_use_nanox='wxUSE_NANOX=no'
3635 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3636 if test "x$LINE" != x ; then
3637 eval "DEFAULT_$LINE"
3642 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3647 eval "$ac_cv_use_nanox"
3648 if test "$no_cache" != 1; then
3649 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3652 if test "$wxUSE_NANOX" = yes; then
3653 { echo "$as_me:$LINENO: result: yes" >&5
3654 echo "${ECHO_T}yes" >&6; }
3656 { echo "$as_me:$LINENO: result: no" >&5
3657 echo "${ECHO_T}no" >&6; }
3661 # Check whether --enable-gtk2 was given.
3662 if test "${enable_gtk2+set}" = set; then
3663 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3669 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3671 # Check whether --enable-gpe was given.
3672 if test "${enable_gpe+set}" = set; then
3673 enableval=$enable_gpe;
3674 if test "$enableval" = yes; then
3675 ac_cv_use_gpe='wxUSE_GPE=yes'
3677 ac_cv_use_gpe='wxUSE_GPE=no'
3682 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3683 if test "x$LINE" != x ; then
3684 eval "DEFAULT_$LINE"
3689 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3694 eval "$ac_cv_use_gpe"
3695 if test "$no_cache" != 1; then
3696 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3699 if test "$wxUSE_GPE" = yes; then
3700 { echo "$as_me:$LINENO: result: yes" >&5
3701 echo "${ECHO_T}yes" >&6; }
3703 { echo "$as_me:$LINENO: result: no" >&5
3704 echo "${ECHO_T}no" >&6; }
3709 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3710 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3713 # Check whether --with-libpng was given.
3714 if test "${with_libpng+set}" = set; then
3715 withval=$with_libpng;
3716 if test "$withval" = yes; then
3717 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3718 elif test "$withval" = no; then
3719 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3720 elif test "$withval" = sys; then
3721 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3722 elif test "$withval" = builtin; then
3723 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3725 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3726 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3727 { (exit 1); exit 1; }; }
3732 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3733 if test "x$LINE" != x ; then
3734 eval "DEFAULT_$LINE"
3739 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3744 eval "$ac_cv_use_libpng"
3745 if test "$no_cache" != 1; then
3746 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3749 if test "$wxUSE_LIBPNG" = yes; then
3750 { echo "$as_me:$LINENO: result: yes" >&5
3751 echo "${ECHO_T}yes" >&6; }
3752 elif test "$wxUSE_LIBPNG" = no; then
3753 { echo "$as_me:$LINENO: result: no" >&5
3754 echo "${ECHO_T}no" >&6; }
3755 elif test "$wxUSE_LIBPNG" = sys; then
3756 { echo "$as_me:$LINENO: result: system version" >&5
3757 echo "${ECHO_T}system version" >&6; }
3758 elif test "$wxUSE_LIBPNG" = builtin; then
3759 { echo "$as_me:$LINENO: result: builtin version" >&5
3760 echo "${ECHO_T}builtin version" >&6; }
3762 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3763 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3764 { (exit 1); exit 1; }; }
3768 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3769 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3772 # Check whether --with-libjpeg was given.
3773 if test "${with_libjpeg+set}" = set; then
3774 withval=$with_libjpeg;
3775 if test "$withval" = yes; then
3776 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3777 elif test "$withval" = no; then
3778 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3779 elif test "$withval" = sys; then
3780 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3781 elif test "$withval" = builtin; then
3782 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3784 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3785 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3786 { (exit 1); exit 1; }; }
3791 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3792 if test "x$LINE" != x ; then
3793 eval "DEFAULT_$LINE"
3798 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3803 eval "$ac_cv_use_libjpeg"
3804 if test "$no_cache" != 1; then
3805 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3808 if test "$wxUSE_LIBJPEG" = yes; then
3809 { echo "$as_me:$LINENO: result: yes" >&5
3810 echo "${ECHO_T}yes" >&6; }
3811 elif test "$wxUSE_LIBJPEG" = no; then
3812 { echo "$as_me:$LINENO: result: no" >&5
3813 echo "${ECHO_T}no" >&6; }
3814 elif test "$wxUSE_LIBJPEG" = sys; then
3815 { echo "$as_me:$LINENO: result: system version" >&5
3816 echo "${ECHO_T}system version" >&6; }
3817 elif test "$wxUSE_LIBJPEG" = builtin; then
3818 { echo "$as_me:$LINENO: result: builtin version" >&5
3819 echo "${ECHO_T}builtin version" >&6; }
3821 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3822 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3823 { (exit 1); exit 1; }; }
3827 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3828 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3831 # Check whether --with-libtiff was given.
3832 if test "${with_libtiff+set}" = set; then
3833 withval=$with_libtiff;
3834 if test "$withval" = yes; then
3835 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3836 elif test "$withval" = no; then
3837 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3838 elif test "$withval" = sys; then
3839 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3840 elif test "$withval" = builtin; then
3841 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3843 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3844 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3845 { (exit 1); exit 1; }; }
3850 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3851 if test "x$LINE" != x ; then
3852 eval "DEFAULT_$LINE"
3857 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3862 eval "$ac_cv_use_libtiff"
3863 if test "$no_cache" != 1; then
3864 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3867 if test "$wxUSE_LIBTIFF" = yes; then
3868 { echo "$as_me:$LINENO: result: yes" >&5
3869 echo "${ECHO_T}yes" >&6; }
3870 elif test "$wxUSE_LIBTIFF" = no; then
3871 { echo "$as_me:$LINENO: result: no" >&5
3872 echo "${ECHO_T}no" >&6; }
3873 elif test "$wxUSE_LIBTIFF" = sys; then
3874 { echo "$as_me:$LINENO: result: system version" >&5
3875 echo "${ECHO_T}system version" >&6; }
3876 elif test "$wxUSE_LIBTIFF" = builtin; then
3877 { echo "$as_me:$LINENO: result: builtin version" >&5
3878 echo "${ECHO_T}builtin version" >&6; }
3880 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3881 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3882 { (exit 1); exit 1; }; }
3886 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3887 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3890 # Check whether --with-libxpm was given.
3891 if test "${with_libxpm+set}" = set; then
3892 withval=$with_libxpm;
3893 if test "$withval" = yes; then
3894 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3895 elif test "$withval" = no; then
3896 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3897 elif test "$withval" = sys; then
3898 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3899 elif test "$withval" = builtin; then
3900 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3902 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3903 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3904 { (exit 1); exit 1; }; }
3909 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3910 if test "x$LINE" != x ; then
3911 eval "DEFAULT_$LINE"
3916 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3921 eval "$ac_cv_use_libxpm"
3922 if test "$no_cache" != 1; then
3923 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3926 if test "$wxUSE_LIBXPM" = yes; then
3927 { echo "$as_me:$LINENO: result: yes" >&5
3928 echo "${ECHO_T}yes" >&6; }
3929 elif test "$wxUSE_LIBXPM" = no; then
3930 { echo "$as_me:$LINENO: result: no" >&5
3931 echo "${ECHO_T}no" >&6; }
3932 elif test "$wxUSE_LIBXPM" = sys; then
3933 { echo "$as_me:$LINENO: result: system version" >&5
3934 echo "${ECHO_T}system version" >&6; }
3935 elif test "$wxUSE_LIBXPM" = builtin; then
3936 { echo "$as_me:$LINENO: result: builtin version" >&5
3937 echo "${ECHO_T}builtin version" >&6; }
3939 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3940 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3941 { (exit 1); exit 1; }; }
3946 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3947 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3950 # Check whether --with-libmspack was given.
3951 if test "${with_libmspack+set}" = set; then
3952 withval=$with_libmspack;
3953 if test "$withval" = yes; then
3954 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3956 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3961 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3962 if test "x$LINE" != x ; then
3963 eval "DEFAULT_$LINE"
3968 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3973 eval "$ac_cv_use_libmspack"
3974 if test "$no_cache" != 1; then
3975 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3978 if test "$wxUSE_LIBMSPACK" = yes; then
3979 { echo "$as_me:$LINENO: result: yes" >&5
3980 echo "${ECHO_T}yes" >&6; }
3982 { echo "$as_me:$LINENO: result: no" >&5
3983 echo "${ECHO_T}no" >&6; }
3988 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3989 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
3992 # Check whether --with-sdl was given.
3993 if test "${with_sdl+set}" = set; then
3995 if test "$withval" = yes; then
3996 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3998 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4003 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4004 if test "x$LINE" != x ; then
4005 eval "DEFAULT_$LINE"
4010 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4015 eval "$ac_cv_use_sdl"
4016 if test "$no_cache" != 1; then
4017 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4020 if test "$wxUSE_LIBSDL" = yes; then
4021 { echo "$as_me:$LINENO: result: yes" >&5
4022 echo "${ECHO_T}yes" >&6; }
4024 { echo "$as_me:$LINENO: result: no" >&5
4025 echo "${ECHO_T}no" >&6; }
4030 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4031 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4034 # Check whether --with-gnomeprint was given.
4035 if test "${with_gnomeprint+set}" = set; then
4036 withval=$with_gnomeprint;
4037 if test "$withval" = yes; then
4038 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4040 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4045 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4046 if test "x$LINE" != x ; then
4047 eval "DEFAULT_$LINE"
4052 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4057 eval "$ac_cv_use_gnomeprint"
4058 if test "$no_cache" != 1; then
4059 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4062 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4063 { echo "$as_me:$LINENO: result: yes" >&5
4064 echo "${ECHO_T}yes" >&6; }
4066 { echo "$as_me:$LINENO: result: no" >&5
4067 echo "${ECHO_T}no" >&6; }
4072 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4073 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4076 # Check whether --with-gnomevfs was given.
4077 if test "${with_gnomevfs+set}" = set; then
4078 withval=$with_gnomevfs;
4079 if test "$withval" = yes; then
4080 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4082 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4087 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4088 if test "x$LINE" != x ; then
4089 eval "DEFAULT_$LINE"
4094 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4099 eval "$ac_cv_use_gnomevfs"
4100 if test "$no_cache" != 1; then
4101 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4104 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4105 { echo "$as_me:$LINENO: result: yes" >&5
4106 echo "${ECHO_T}yes" >&6; }
4108 { echo "$as_me:$LINENO: result: no" >&5
4109 echo "${ECHO_T}no" >&6; }
4114 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4115 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4118 # Check whether --with-hildon was given.
4119 if test "${with_hildon+set}" = set; then
4120 withval=$with_hildon;
4121 if test "$withval" = yes; then
4122 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4124 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4129 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4130 if test "x$LINE" != x ; then
4131 eval "DEFAULT_$LINE"
4136 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4141 eval "$ac_cv_use_hildon"
4142 if test "$no_cache" != 1; then
4143 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4146 if test "$wxUSE_LIBHILDON" = yes; then
4147 { echo "$as_me:$LINENO: result: yes" >&5
4148 echo "${ECHO_T}yes" >&6; }
4150 { echo "$as_me:$LINENO: result: no" >&5
4151 echo "${ECHO_T}no" >&6; }
4156 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4157 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4160 # Check whether --with-opengl was given.
4161 if test "${with_opengl+set}" = set; then
4162 withval=$with_opengl;
4163 if test "$withval" = yes; then
4164 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4166 ac_cv_use_opengl='wxUSE_OPENGL=no'
4171 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4172 if test "x$LINE" != x ; then
4173 eval "DEFAULT_$LINE"
4178 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4183 eval "$ac_cv_use_opengl"
4184 if test "$no_cache" != 1; then
4185 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4188 if test "$wxUSE_OPENGL" = yes; then
4189 { echo "$as_me:$LINENO: result: yes" >&5
4190 echo "${ECHO_T}yes" >&6; }
4192 { echo "$as_me:$LINENO: result: no" >&5
4193 echo "${ECHO_T}no" >&6; }
4197 if test "$wxUSE_UNIVERSAL" = "yes"; then
4199 # Check whether --with-themes was given.
4200 if test "${with_themes+set}" = set; then
4201 withval=$with_themes; wxUNIV_THEMES="$withval"
4210 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4211 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4214 # Check whether --with-dmalloc was given.
4215 if test "${with_dmalloc+set}" = set; then
4216 withval=$with_dmalloc;
4217 if test "$withval" = yes; then
4218 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4220 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4225 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4226 if test "x$LINE" != x ; then
4227 eval "DEFAULT_$LINE"
4232 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4237 eval "$ac_cv_use_dmalloc"
4238 if test "$no_cache" != 1; then
4239 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4242 if test "$wxUSE_DMALLOC" = yes; then
4243 { echo "$as_me:$LINENO: result: yes" >&5
4244 echo "${ECHO_T}yes" >&6; }
4246 { echo "$as_me:$LINENO: result: no" >&5
4247 echo "${ECHO_T}no" >&6; }
4251 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4252 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4255 # Check whether --with-regex was given.
4256 if test "${with_regex+set}" = set; then
4257 withval=$with_regex;
4258 if test "$withval" = yes; then
4259 ac_cv_use_regex='wxUSE_REGEX=yes'
4260 elif test "$withval" = no; then
4261 ac_cv_use_regex='wxUSE_REGEX=no'
4262 elif test "$withval" = sys; then
4263 ac_cv_use_regex='wxUSE_REGEX=sys'
4264 elif test "$withval" = builtin; then
4265 ac_cv_use_regex='wxUSE_REGEX=builtin'
4267 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4268 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4269 { (exit 1); exit 1; }; }
4274 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4275 if test "x$LINE" != x ; then
4276 eval "DEFAULT_$LINE"
4281 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4286 eval "$ac_cv_use_regex"
4287 if test "$no_cache" != 1; then
4288 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4291 if test "$wxUSE_REGEX" = yes; then
4292 { echo "$as_me:$LINENO: result: yes" >&5
4293 echo "${ECHO_T}yes" >&6; }
4294 elif test "$wxUSE_REGEX" = no; then
4295 { echo "$as_me:$LINENO: result: no" >&5
4296 echo "${ECHO_T}no" >&6; }
4297 elif test "$wxUSE_REGEX" = sys; then
4298 { echo "$as_me:$LINENO: result: system version" >&5
4299 echo "${ECHO_T}system version" >&6; }
4300 elif test "$wxUSE_REGEX" = builtin; then
4301 { echo "$as_me:$LINENO: result: builtin version" >&5
4302 echo "${ECHO_T}builtin version" >&6; }
4304 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4305 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4306 { (exit 1); exit 1; }; }
4310 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4311 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4314 # Check whether --with-zlib was given.
4315 if test "${with_zlib+set}" = set; then
4317 if test "$withval" = yes; then
4318 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4319 elif test "$withval" = no; then
4320 ac_cv_use_zlib='wxUSE_ZLIB=no'
4321 elif test "$withval" = sys; then
4322 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4323 elif test "$withval" = builtin; then
4324 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4326 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4327 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4328 { (exit 1); exit 1; }; }
4333 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4334 if test "x$LINE" != x ; then
4335 eval "DEFAULT_$LINE"
4340 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4345 eval "$ac_cv_use_zlib"
4346 if test "$no_cache" != 1; then
4347 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4350 if test "$wxUSE_ZLIB" = yes; then
4351 { echo "$as_me:$LINENO: result: yes" >&5
4352 echo "${ECHO_T}yes" >&6; }
4353 elif test "$wxUSE_ZLIB" = no; then
4354 { echo "$as_me:$LINENO: result: no" >&5
4355 echo "${ECHO_T}no" >&6; }
4356 elif test "$wxUSE_ZLIB" = sys; then
4357 { echo "$as_me:$LINENO: result: system version" >&5
4358 echo "${ECHO_T}system version" >&6; }
4359 elif test "$wxUSE_ZLIB" = builtin; then
4360 { echo "$as_me:$LINENO: result: builtin version" >&5
4361 echo "${ECHO_T}builtin version" >&6; }
4363 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4364 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4365 { (exit 1); exit 1; }; }
4369 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4370 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4373 # Check whether --with-odbc was given.
4374 if test "${with_odbc+set}" = set; then
4376 if test "$withval" = yes; then
4377 ac_cv_use_odbc='wxUSE_ODBC=yes'
4378 elif test "$withval" = no; then
4379 ac_cv_use_odbc='wxUSE_ODBC=no'
4380 elif test "$withval" = sys; then
4381 ac_cv_use_odbc='wxUSE_ODBC=sys'
4382 elif test "$withval" = builtin; then
4383 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4385 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4386 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4387 { (exit 1); exit 1; }; }
4392 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4393 if test "x$LINE" != x ; then
4394 eval "DEFAULT_$LINE"
4399 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4404 eval "$ac_cv_use_odbc"
4405 if test "$no_cache" != 1; then
4406 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4409 if test "$wxUSE_ODBC" = yes; then
4410 { echo "$as_me:$LINENO: result: yes" >&5
4411 echo "${ECHO_T}yes" >&6; }
4412 elif test "$wxUSE_ODBC" = no; then
4413 { echo "$as_me:$LINENO: result: no" >&5
4414 echo "${ECHO_T}no" >&6; }
4415 elif test "$wxUSE_ODBC" = sys; then
4416 { echo "$as_me:$LINENO: result: system version" >&5
4417 echo "${ECHO_T}system version" >&6; }
4418 elif test "$wxUSE_ODBC" = builtin; then
4419 { echo "$as_me:$LINENO: result: builtin version" >&5
4420 echo "${ECHO_T}builtin version" >&6; }
4422 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4423 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4424 { (exit 1); exit 1; }; }
4428 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4429 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4432 # Check whether --with-expat was given.
4433 if test "${with_expat+set}" = set; then
4434 withval=$with_expat;
4435 if test "$withval" = yes; then
4436 ac_cv_use_expat='wxUSE_EXPAT=yes'
4437 elif test "$withval" = no; then
4438 ac_cv_use_expat='wxUSE_EXPAT=no'
4439 elif test "$withval" = sys; then
4440 ac_cv_use_expat='wxUSE_EXPAT=sys'
4441 elif test "$withval" = builtin; then
4442 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4444 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4445 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4446 { (exit 1); exit 1; }; }
4451 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4452 if test "x$LINE" != x ; then
4453 eval "DEFAULT_$LINE"
4458 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4463 eval "$ac_cv_use_expat"
4464 if test "$no_cache" != 1; then
4465 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4468 if test "$wxUSE_EXPAT" = yes; then
4469 { echo "$as_me:$LINENO: result: yes" >&5
4470 echo "${ECHO_T}yes" >&6; }
4471 elif test "$wxUSE_EXPAT" = no; then
4472 { echo "$as_me:$LINENO: result: no" >&5
4473 echo "${ECHO_T}no" >&6; }
4474 elif test "$wxUSE_EXPAT" = sys; then
4475 { echo "$as_me:$LINENO: result: system version" >&5
4476 echo "${ECHO_T}system version" >&6; }
4477 elif test "$wxUSE_EXPAT" = builtin; then
4478 { echo "$as_me:$LINENO: result: builtin version" >&5
4479 echo "${ECHO_T}builtin version" >&6; }
4481 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4482 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4483 { (exit 1); exit 1; }; }
4490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4491 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4493 # Check whether --enable-shared was given.
4494 if test "${enable_shared+set}" = set; then
4495 enableval=$enable_shared;
4496 if test "$enableval" = yes; then
4497 ac_cv_use_shared='wxUSE_SHARED=yes'
4499 ac_cv_use_shared='wxUSE_SHARED=no'
4504 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4505 if test "x$LINE" != x ; then
4506 eval "DEFAULT_$LINE"
4511 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4516 eval "$ac_cv_use_shared"
4517 if test "$no_cache" != 1; then
4518 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4521 if test "$wxUSE_SHARED" = yes; then
4522 { echo "$as_me:$LINENO: result: yes" >&5
4523 echo "${ECHO_T}yes" >&6; }
4525 { echo "$as_me:$LINENO: result: no" >&5
4526 echo "${ECHO_T}no" >&6; }
4531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4532 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4534 # Check whether --enable-optimise was given.
4535 if test "${enable_optimise+set}" = set; then
4536 enableval=$enable_optimise;
4537 if test "$enableval" = yes; then
4538 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4540 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4545 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4546 if test "x$LINE" != x ; then
4547 eval "DEFAULT_$LINE"
4552 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4557 eval "$ac_cv_use_optimise"
4558 if test "$no_cache" != 1; then
4559 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4562 if test "$wxUSE_OPTIMISE" = yes; then
4563 { echo "$as_me:$LINENO: result: yes" >&5
4564 echo "${ECHO_T}yes" >&6; }
4566 { echo "$as_me:$LINENO: result: no" >&5
4567 echo "${ECHO_T}no" >&6; }
4572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4573 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4575 # Check whether --enable-debug was given.
4576 if test "${enable_debug+set}" = set; then
4577 enableval=$enable_debug;
4578 if test "$enableval" = yes; then
4579 ac_cv_use_debug='wxUSE_DEBUG=yes'
4581 ac_cv_use_debug='wxUSE_DEBUG=no'
4586 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4587 if test "x$LINE" != x ; then
4588 eval "DEFAULT_$LINE"
4593 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4598 eval "$ac_cv_use_debug"
4599 if test "$no_cache" != 1; then
4600 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4603 if test "$wxUSE_DEBUG" = yes; then
4604 { echo "$as_me:$LINENO: result: yes" >&5
4605 echo "${ECHO_T}yes" >&6; }
4607 { echo "$as_me:$LINENO: result: no" >&5
4608 echo "${ECHO_T}no" >&6; }
4613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4614 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4616 # Check whether --enable-stl was given.
4617 if test "${enable_stl+set}" = set; then
4618 enableval=$enable_stl;
4619 if test "$enableval" = yes; then
4620 ac_cv_use_stl='wxUSE_STL=yes'
4622 ac_cv_use_stl='wxUSE_STL=no'
4627 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4628 if test "x$LINE" != x ; then
4629 eval "DEFAULT_$LINE"
4634 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4639 eval "$ac_cv_use_stl"
4640 if test "$no_cache" != 1; then
4641 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4644 if test "$wxUSE_STL" = yes; then
4645 { echo "$as_me:$LINENO: result: yes" >&5
4646 echo "${ECHO_T}yes" >&6; }
4648 { echo "$as_me:$LINENO: result: no" >&5
4649 echo "${ECHO_T}no" >&6; }
4652 if test "$USE_OS2" = "1"; then
4653 DEFAULT_wxUSE_OMF=no
4656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4657 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4659 # Check whether --enable-omf was given.
4660 if test "${enable_omf+set}" = set; then
4661 enableval=$enable_omf;
4662 if test "$enableval" = yes; then
4663 ac_cv_use_omf='wxUSE_OMF=yes'
4665 ac_cv_use_omf='wxUSE_OMF=no'
4670 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4671 if test "x$LINE" != x ; then
4672 eval "DEFAULT_$LINE"
4677 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4682 eval "$ac_cv_use_omf"
4683 if test "$no_cache" != 1; then
4684 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4687 if test "$wxUSE_OMF" = yes; then
4688 { echo "$as_me:$LINENO: result: yes" >&5
4689 echo "${ECHO_T}yes" >&6; }
4691 { echo "$as_me:$LINENO: result: no" >&5
4692 echo "${ECHO_T}no" >&6; }
4697 if test "$wxUSE_DEBUG" = "yes"; then
4698 DEFAULT_wxUSE_DEBUG_FLAG=yes
4699 DEFAULT_wxUSE_DEBUG_INFO=yes
4701 elif test "$wxUSE_DEBUG" = "no"; then
4702 DEFAULT_wxUSE_DEBUG_FLAG=no
4703 DEFAULT_wxUSE_DEBUG_INFO=no
4709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4710 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4712 # Check whether --enable-debug_flag was given.
4713 if test "${enable_debug_flag+set}" = set; then
4714 enableval=$enable_debug_flag;
4715 if test "$enableval" = yes; then
4716 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4718 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4723 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4724 if test "x$LINE" != x ; then
4725 eval "DEFAULT_$LINE"
4730 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4735 eval "$ac_cv_use_debug_flag"
4736 if test "$no_cache" != 1; then
4737 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4740 if test "$wxUSE_DEBUG_FLAG" = yes; then
4741 { echo "$as_me:$LINENO: result: yes" >&5
4742 echo "${ECHO_T}yes" >&6; }
4744 { echo "$as_me:$LINENO: result: no" >&5
4745 echo "${ECHO_T}no" >&6; }
4750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4751 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4753 # Check whether --enable-debug_info was given.
4754 if test "${enable_debug_info+set}" = set; then
4755 enableval=$enable_debug_info;
4756 if test "$enableval" = yes; then
4757 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4759 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4764 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4765 if test "x$LINE" != x ; then
4766 eval "DEFAULT_$LINE"
4771 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4776 eval "$ac_cv_use_debug_info"
4777 if test "$no_cache" != 1; then
4778 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4781 if test "$wxUSE_DEBUG_INFO" = yes; then
4782 { echo "$as_me:$LINENO: result: yes" >&5
4783 echo "${ECHO_T}yes" >&6; }
4785 { echo "$as_me:$LINENO: result: no" >&5
4786 echo "${ECHO_T}no" >&6; }
4791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4792 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4794 # Check whether --enable-debug_gdb was given.
4795 if test "${enable_debug_gdb+set}" = set; then
4796 enableval=$enable_debug_gdb;
4797 if test "$enableval" = yes; then
4798 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4800 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4805 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4806 if test "x$LINE" != x ; then
4807 eval "DEFAULT_$LINE"
4812 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4817 eval "$ac_cv_use_debug_gdb"
4818 if test "$no_cache" != 1; then
4819 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4822 if test "$wxUSE_DEBUG_GDB" = yes; then
4823 { echo "$as_me:$LINENO: result: yes" >&5
4824 echo "${ECHO_T}yes" >&6; }
4826 { echo "$as_me:$LINENO: result: no" >&5
4827 echo "${ECHO_T}no" >&6; }
4832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4833 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4835 # Check whether --enable-debug_cntxt was given.
4836 if test "${enable_debug_cntxt+set}" = set; then
4837 enableval=$enable_debug_cntxt;
4838 if test "$enableval" = yes; then
4839 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4841 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4846 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4847 if test "x$LINE" != x ; then
4848 eval "DEFAULT_$LINE"
4853 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4858 eval "$ac_cv_use_debug_cntxt"
4859 if test "$no_cache" != 1; then
4860 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4863 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4864 { echo "$as_me:$LINENO: result: yes" >&5
4865 echo "${ECHO_T}yes" >&6; }
4867 { echo "$as_me:$LINENO: result: no" >&5
4868 echo "${ECHO_T}no" >&6; }
4873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4874 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4876 # Check whether --enable-mem_tracing was given.
4877 if test "${enable_mem_tracing+set}" = set; then
4878 enableval=$enable_mem_tracing;
4879 if test "$enableval" = yes; then
4880 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4882 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4887 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4888 if test "x$LINE" != x ; then
4889 eval "DEFAULT_$LINE"
4894 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4899 eval "$ac_cv_use_mem_tracing"
4900 if test "$no_cache" != 1; then
4901 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4904 if test "$wxUSE_MEM_TRACING" = yes; then
4905 { echo "$as_me:$LINENO: result: yes" >&5
4906 echo "${ECHO_T}yes" >&6; }
4908 { echo "$as_me:$LINENO: result: no" >&5
4909 echo "${ECHO_T}no" >&6; }
4914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4915 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4917 # Check whether --enable-profile was given.
4918 if test "${enable_profile+set}" = set; then
4919 enableval=$enable_profile;
4920 if test "$enableval" = yes; then
4921 ac_cv_use_profile='wxUSE_PROFILE=yes'
4923 ac_cv_use_profile='wxUSE_PROFILE=no'
4928 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4929 if test "x$LINE" != x ; then
4930 eval "DEFAULT_$LINE"
4935 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4940 eval "$ac_cv_use_profile"
4941 if test "$no_cache" != 1; then
4942 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4945 if test "$wxUSE_PROFILE" = yes; then
4946 { echo "$as_me:$LINENO: result: yes" >&5
4947 echo "${ECHO_T}yes" >&6; }
4949 { echo "$as_me:$LINENO: result: no" >&5
4950 echo "${ECHO_T}no" >&6; }
4955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4956 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4958 # Check whether --enable-no_rtti was given.
4959 if test "${enable_no_rtti+set}" = set; then
4960 enableval=$enable_no_rtti;
4961 if test "$enableval" = yes; then
4962 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4964 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4969 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4970 if test "x$LINE" != x ; then
4971 eval "DEFAULT_$LINE"
4976 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4981 eval "$ac_cv_use_no_rtti"
4982 if test "$no_cache" != 1; then
4983 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4986 if test "$wxUSE_NO_RTTI" = yes; then
4987 { echo "$as_me:$LINENO: result: yes" >&5
4988 echo "${ECHO_T}yes" >&6; }
4990 { echo "$as_me:$LINENO: result: no" >&5
4991 echo "${ECHO_T}no" >&6; }
4996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4997 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
4999 # Check whether --enable-no_exceptions was given.
5000 if test "${enable_no_exceptions+set}" = set; then
5001 enableval=$enable_no_exceptions;
5002 if test "$enableval" = yes; then
5003 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5005 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5010 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
5011 if test "x$LINE" != x ; then
5012 eval "DEFAULT_$LINE"
5017 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5022 eval "$ac_cv_use_no_exceptions"
5023 if test "$no_cache" != 1; then
5024 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5027 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5028 { echo "$as_me:$LINENO: result: yes" >&5
5029 echo "${ECHO_T}yes" >&6; }
5031 { echo "$as_me:$LINENO: result: no" >&5
5032 echo "${ECHO_T}no" >&6; }
5037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5038 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5040 # Check whether --enable-permissive was given.
5041 if test "${enable_permissive+set}" = set; then
5042 enableval=$enable_permissive;
5043 if test "$enableval" = yes; then
5044 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5046 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5051 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5052 if test "x$LINE" != x ; then
5053 eval "DEFAULT_$LINE"
5058 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5063 eval "$ac_cv_use_permissive"
5064 if test "$no_cache" != 1; then
5065 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5068 if test "$wxUSE_PERMISSIVE" = yes; then
5069 { echo "$as_me:$LINENO: result: yes" >&5
5070 echo "${ECHO_T}yes" >&6; }
5072 { echo "$as_me:$LINENO: result: no" >&5
5073 echo "${ECHO_T}no" >&6; }
5078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5079 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5081 # Check whether --enable-no_deps was given.
5082 if test "${enable_no_deps+set}" = set; then
5083 enableval=$enable_no_deps;
5084 if test "$enableval" = yes; then
5085 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5087 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5092 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5093 if test "x$LINE" != x ; then
5094 eval "DEFAULT_$LINE"
5099 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5104 eval "$ac_cv_use_no_deps"
5105 if test "$no_cache" != 1; then
5106 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5109 if test "$wxUSE_NO_DEPS" = yes; then
5110 { echo "$as_me:$LINENO: result: yes" >&5
5111 echo "${ECHO_T}yes" >&6; }
5113 { echo "$as_me:$LINENO: result: no" >&5
5114 echo "${ECHO_T}no" >&6; }
5119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5120 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5122 # Check whether --enable-vararg_macros was given.
5123 if test "${enable_vararg_macros+set}" = set; then
5124 enableval=$enable_vararg_macros;
5125 if test "$enableval" = yes; then
5126 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5128 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5133 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5134 if test "x$LINE" != x ; then
5135 eval "DEFAULT_$LINE"
5140 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5145 eval "$ac_cv_use_vararg_macros"
5146 if test "$no_cache" != 1; then
5147 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5150 if test "$wxUSE_VARARG_MACROS" = yes; then
5151 { echo "$as_me:$LINENO: result: yes" >&5
5152 echo "${ECHO_T}yes" >&6; }
5154 { echo "$as_me:$LINENO: result: no" >&5
5155 echo "${ECHO_T}no" >&6; }
5160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5161 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5163 # Check whether --enable-universal_binary was given.
5164 if test "${enable_universal_binary+set}" = set; then
5165 enableval=$enable_universal_binary;
5166 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5170 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5171 if test "x$LINE" != x ; then
5172 eval "DEFAULT_$LINE"
5173 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5176 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
5182 eval "$wx_cv_use_universal_binary"
5183 if test "$no_cache" != 1; then
5184 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5187 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5188 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
5194 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6; }
5196 # Check whether --enable-compat24 was given.
5197 if test "${enable_compat24+set}" = set; then
5198 enableval=$enable_compat24;
5199 if test "$enableval" = yes; then
5200 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
5202 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
5207 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
5208 if test "x$LINE" != x ; then
5209 eval "DEFAULT_$LINE"
5214 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
5219 eval "$ac_cv_use_compat24"
5220 if test "$no_cache" != 1; then
5221 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
5224 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
5225 { echo "$as_me:$LINENO: result: yes" >&5
5226 echo "${ECHO_T}yes" >&6; }
5228 { echo "$as_me:$LINENO: result: no" >&5
5229 echo "${ECHO_T}no" >&6; }
5233 enablestring=disable
5234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5235 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5237 # Check whether --enable-compat26 was given.
5238 if test "${enable_compat26+set}" = set; then
5239 enableval=$enable_compat26;
5240 if test "$enableval" = yes; then
5241 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5243 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5248 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5249 if test "x$LINE" != x ; then
5250 eval "DEFAULT_$LINE"
5255 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5260 eval "$ac_cv_use_compat26"
5261 if test "$no_cache" != 1; then
5262 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5265 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5266 { echo "$as_me:$LINENO: result: yes" >&5
5267 echo "${ECHO_T}yes" >&6; }
5269 { echo "$as_me:$LINENO: result: no" >&5
5270 echo "${ECHO_T}no" >&6; }
5276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5277 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5279 # Check whether --enable-rpath was given.
5280 if test "${enable_rpath+set}" = set; then
5281 enableval=$enable_rpath;
5282 if test "$enableval" = yes; then
5283 ac_cv_use_rpath='wxUSE_RPATH=yes'
5285 ac_cv_use_rpath='wxUSE_RPATH=no'
5290 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5291 if test "x$LINE" != x ; then
5292 eval "DEFAULT_$LINE"
5297 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5302 eval "$ac_cv_use_rpath"
5303 if test "$no_cache" != 1; then
5304 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5307 if test "$wxUSE_RPATH" = yes; then
5308 { echo "$as_me:$LINENO: result: yes" >&5
5309 echo "${ECHO_T}yes" >&6; }
5311 { echo "$as_me:$LINENO: result: no" >&5
5312 echo "${ECHO_T}no" >&6; }
5320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5321 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5323 # Check whether --enable-intl was given.
5324 if test "${enable_intl+set}" = set; then
5325 enableval=$enable_intl;
5326 if test "$enableval" = yes; then
5327 ac_cv_use_intl='wxUSE_INTL=yes'
5329 ac_cv_use_intl='wxUSE_INTL=no'
5334 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5335 if test "x$LINE" != x ; then
5336 eval "DEFAULT_$LINE"
5341 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5346 eval "$ac_cv_use_intl"
5347 if test "$no_cache" != 1; then
5348 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5351 if test "$wxUSE_INTL" = yes; then
5352 { echo "$as_me:$LINENO: result: yes" >&5
5353 echo "${ECHO_T}yes" >&6; }
5355 { echo "$as_me:$LINENO: result: no" >&5
5356 echo "${ECHO_T}no" >&6; }
5361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5362 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5364 # Check whether --enable-config was given.
5365 if test "${enable_config+set}" = set; then
5366 enableval=$enable_config;
5367 if test "$enableval" = yes; then
5368 ac_cv_use_config='wxUSE_CONFIG=yes'
5370 ac_cv_use_config='wxUSE_CONFIG=no'
5375 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5376 if test "x$LINE" != x ; then
5377 eval "DEFAULT_$LINE"
5382 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5387 eval "$ac_cv_use_config"
5388 if test "$no_cache" != 1; then
5389 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5392 if test "$wxUSE_CONFIG" = yes; then
5393 { echo "$as_me:$LINENO: result: yes" >&5
5394 echo "${ECHO_T}yes" >&6; }
5396 { echo "$as_me:$LINENO: result: no" >&5
5397 echo "${ECHO_T}no" >&6; }
5403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5404 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5406 # Check whether --enable-protocols was given.
5407 if test "${enable_protocols+set}" = set; then
5408 enableval=$enable_protocols;
5409 if test "$enableval" = yes; then
5410 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5412 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5417 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5418 if test "x$LINE" != x ; then
5419 eval "DEFAULT_$LINE"
5424 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5429 eval "$ac_cv_use_protocols"
5430 if test "$no_cache" != 1; then
5431 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5434 if test "$wxUSE_PROTOCOL" = yes; then
5435 { echo "$as_me:$LINENO: result: yes" >&5
5436 echo "${ECHO_T}yes" >&6; }
5438 { echo "$as_me:$LINENO: result: no" >&5
5439 echo "${ECHO_T}no" >&6; }
5444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5445 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5447 # Check whether --enable-ftp was given.
5448 if test "${enable_ftp+set}" = set; then
5449 enableval=$enable_ftp;
5450 if test "$enableval" = yes; then
5451 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5453 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5458 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5459 if test "x$LINE" != x ; then
5460 eval "DEFAULT_$LINE"
5465 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5470 eval "$ac_cv_use_ftp"
5471 if test "$no_cache" != 1; then
5472 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5475 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5476 { echo "$as_me:$LINENO: result: yes" >&5
5477 echo "${ECHO_T}yes" >&6; }
5479 { echo "$as_me:$LINENO: result: no" >&5
5480 echo "${ECHO_T}no" >&6; }
5485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5486 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5488 # Check whether --enable-http was given.
5489 if test "${enable_http+set}" = set; then
5490 enableval=$enable_http;
5491 if test "$enableval" = yes; then
5492 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5494 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5499 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5500 if test "x$LINE" != x ; then
5501 eval "DEFAULT_$LINE"
5506 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5511 eval "$ac_cv_use_http"
5512 if test "$no_cache" != 1; then
5513 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5516 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5517 { echo "$as_me:$LINENO: result: yes" >&5
5518 echo "${ECHO_T}yes" >&6; }
5520 { echo "$as_me:$LINENO: result: no" >&5
5521 echo "${ECHO_T}no" >&6; }
5526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5527 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5529 # Check whether --enable-fileproto was given.
5530 if test "${enable_fileproto+set}" = set; then
5531 enableval=$enable_fileproto;
5532 if test "$enableval" = yes; then
5533 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5535 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5540 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5541 if test "x$LINE" != x ; then
5542 eval "DEFAULT_$LINE"
5547 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5552 eval "$ac_cv_use_fileproto"
5553 if test "$no_cache" != 1; then
5554 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5557 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5558 { echo "$as_me:$LINENO: result: yes" >&5
5559 echo "${ECHO_T}yes" >&6; }
5561 { echo "$as_me:$LINENO: result: no" >&5
5562 echo "${ECHO_T}no" >&6; }
5567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5568 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5570 # Check whether --enable-sockets was given.
5571 if test "${enable_sockets+set}" = set; then
5572 enableval=$enable_sockets;
5573 if test "$enableval" = yes; then
5574 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5576 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5581 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5582 if test "x$LINE" != x ; then
5583 eval "DEFAULT_$LINE"
5588 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5593 eval "$ac_cv_use_sockets"
5594 if test "$no_cache" != 1; then
5595 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5598 if test "$wxUSE_SOCKETS" = yes; then
5599 { echo "$as_me:$LINENO: result: yes" >&5
5600 echo "${ECHO_T}yes" >&6; }
5602 { echo "$as_me:$LINENO: result: no" >&5
5603 echo "${ECHO_T}no" >&6; }
5608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5609 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5611 # Check whether --enable-ole was given.
5612 if test "${enable_ole+set}" = set; then
5613 enableval=$enable_ole;
5614 if test "$enableval" = yes; then
5615 ac_cv_use_ole='wxUSE_OLE=yes'
5617 ac_cv_use_ole='wxUSE_OLE=no'
5622 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5623 if test "x$LINE" != x ; then
5624 eval "DEFAULT_$LINE"
5629 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5634 eval "$ac_cv_use_ole"
5635 if test "$no_cache" != 1; then
5636 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5639 if test "$wxUSE_OLE" = yes; then
5640 { echo "$as_me:$LINENO: result: yes" >&5
5641 echo "${ECHO_T}yes" >&6; }
5643 { echo "$as_me:$LINENO: result: no" >&5
5644 echo "${ECHO_T}no" >&6; }
5649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5650 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5652 # Check whether --enable-dataobj was given.
5653 if test "${enable_dataobj+set}" = set; then
5654 enableval=$enable_dataobj;
5655 if test "$enableval" = yes; then
5656 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5658 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5663 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5664 if test "x$LINE" != x ; then
5665 eval "DEFAULT_$LINE"
5670 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5675 eval "$ac_cv_use_dataobj"
5676 if test "$no_cache" != 1; then
5677 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5680 if test "$wxUSE_DATAOBJ" = yes; then
5681 { echo "$as_me:$LINENO: result: yes" >&5
5682 echo "${ECHO_T}yes" >&6; }
5684 { echo "$as_me:$LINENO: result: no" >&5
5685 echo "${ECHO_T}no" >&6; }
5691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5692 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5694 # Check whether --enable-ipc was given.
5695 if test "${enable_ipc+set}" = set; then
5696 enableval=$enable_ipc;
5697 if test "$enableval" = yes; then
5698 ac_cv_use_ipc='wxUSE_IPC=yes'
5700 ac_cv_use_ipc='wxUSE_IPC=no'
5705 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5706 if test "x$LINE" != x ; then
5707 eval "DEFAULT_$LINE"
5712 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5717 eval "$ac_cv_use_ipc"
5718 if test "$no_cache" != 1; then
5719 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5722 if test "$wxUSE_IPC" = yes; then
5723 { echo "$as_me:$LINENO: result: yes" >&5
5724 echo "${ECHO_T}yes" >&6; }
5726 { echo "$as_me:$LINENO: result: no" >&5
5727 echo "${ECHO_T}no" >&6; }
5733 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5734 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5736 # Check whether --enable-apple_ieee was given.
5737 if test "${enable_apple_ieee+set}" = set; then
5738 enableval=$enable_apple_ieee;
5739 if test "$enableval" = yes; then
5740 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5742 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5747 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5748 if test "x$LINE" != x ; then
5749 eval "DEFAULT_$LINE"
5754 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5759 eval "$ac_cv_use_apple_ieee"
5760 if test "$no_cache" != 1; then
5761 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5764 if test "$wxUSE_APPLE_IEEE" = yes; then
5765 { echo "$as_me:$LINENO: result: yes" >&5
5766 echo "${ECHO_T}yes" >&6; }
5768 { echo "$as_me:$LINENO: result: no" >&5
5769 echo "${ECHO_T}no" >&6; }
5774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5775 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5777 # Check whether --enable-arcstream was given.
5778 if test "${enable_arcstream+set}" = set; then
5779 enableval=$enable_arcstream;
5780 if test "$enableval" = yes; then
5781 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5783 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5788 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5789 if test "x$LINE" != x ; then
5790 eval "DEFAULT_$LINE"
5795 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5800 eval "$ac_cv_use_arcstream"
5801 if test "$no_cache" != 1; then
5802 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5805 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5806 { echo "$as_me:$LINENO: result: yes" >&5
5807 echo "${ECHO_T}yes" >&6; }
5809 { echo "$as_me:$LINENO: result: no" >&5
5810 echo "${ECHO_T}no" >&6; }
5815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5816 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5818 # Check whether --enable-backtrace was given.
5819 if test "${enable_backtrace+set}" = set; then
5820 enableval=$enable_backtrace;
5821 if test "$enableval" = yes; then
5822 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5824 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5829 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5830 if test "x$LINE" != x ; then
5831 eval "DEFAULT_$LINE"
5836 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5841 eval "$ac_cv_use_backtrace"
5842 if test "$no_cache" != 1; then
5843 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5846 if test "$wxUSE_STACKWALKER" = yes; then
5847 { echo "$as_me:$LINENO: result: yes" >&5
5848 echo "${ECHO_T}yes" >&6; }
5850 { echo "$as_me:$LINENO: result: no" >&5
5851 echo "${ECHO_T}no" >&6; }
5856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5857 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5859 # Check whether --enable-catch_segvs was given.
5860 if test "${enable_catch_segvs+set}" = set; then
5861 enableval=$enable_catch_segvs;
5862 if test "$enableval" = yes; then
5863 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5865 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5870 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5871 if test "x$LINE" != x ; then
5872 eval "DEFAULT_$LINE"
5877 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5882 eval "$ac_cv_use_catch_segvs"
5883 if test "$no_cache" != 1; then
5884 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5887 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5888 { echo "$as_me:$LINENO: result: yes" >&5
5889 echo "${ECHO_T}yes" >&6; }
5891 { echo "$as_me:$LINENO: result: no" >&5
5892 echo "${ECHO_T}no" >&6; }
5897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5898 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5900 # Check whether --enable-cmdline was given.
5901 if test "${enable_cmdline+set}" = set; then
5902 enableval=$enable_cmdline;
5903 if test "$enableval" = yes; then
5904 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5906 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5911 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5912 if test "x$LINE" != x ; then
5913 eval "DEFAULT_$LINE"
5918 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5923 eval "$ac_cv_use_cmdline"
5924 if test "$no_cache" != 1; then
5925 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5928 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5929 { echo "$as_me:$LINENO: result: yes" >&5
5930 echo "${ECHO_T}yes" >&6; }
5932 { echo "$as_me:$LINENO: result: no" >&5
5933 echo "${ECHO_T}no" >&6; }
5938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5939 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
5941 # Check whether --enable-datetime was given.
5942 if test "${enable_datetime+set}" = set; then
5943 enableval=$enable_datetime;
5944 if test "$enableval" = yes; then
5945 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5947 ac_cv_use_datetime='wxUSE_DATETIME=no'
5952 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5953 if test "x$LINE" != x ; then
5954 eval "DEFAULT_$LINE"
5959 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5964 eval "$ac_cv_use_datetime"
5965 if test "$no_cache" != 1; then
5966 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5969 if test "$wxUSE_DATETIME" = yes; then
5970 { echo "$as_me:$LINENO: result: yes" >&5
5971 echo "${ECHO_T}yes" >&6; }
5973 { echo "$as_me:$LINENO: result: no" >&5
5974 echo "${ECHO_T}no" >&6; }
5979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5980 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
5982 # Check whether --enable-debugreport was given.
5983 if test "${enable_debugreport+set}" = set; then
5984 enableval=$enable_debugreport;
5985 if test "$enableval" = yes; then
5986 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5988 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5993 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5994 if test "x$LINE" != x ; then
5995 eval "DEFAULT_$LINE"
6000 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6005 eval "$ac_cv_use_debugreport"
6006 if test "$no_cache" != 1; then
6007 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6010 if test "$wxUSE_DEBUGREPORT" = yes; then
6011 { echo "$as_me:$LINENO: result: yes" >&5
6012 echo "${ECHO_T}yes" >&6; }
6014 { echo "$as_me:$LINENO: result: no" >&5
6015 echo "${ECHO_T}no" >&6; }
6020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6021 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6023 # Check whether --enable-dialupman was given.
6024 if test "${enable_dialupman+set}" = set; then
6025 enableval=$enable_dialupman;
6026 if test "$enableval" = yes; then
6027 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6029 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6034 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6035 if test "x$LINE" != x ; then
6036 eval "DEFAULT_$LINE"
6041 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6046 eval "$ac_cv_use_dialupman"
6047 if test "$no_cache" != 1; then
6048 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6051 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6052 { echo "$as_me:$LINENO: result: yes" >&5
6053 echo "${ECHO_T}yes" >&6; }
6055 { echo "$as_me:$LINENO: result: no" >&5
6056 echo "${ECHO_T}no" >&6; }
6061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6062 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6064 # Check whether --enable-dynlib was given.
6065 if test "${enable_dynlib+set}" = set; then
6066 enableval=$enable_dynlib;
6067 if test "$enableval" = yes; then
6068 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6070 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6075 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6076 if test "x$LINE" != x ; then
6077 eval "DEFAULT_$LINE"
6082 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6087 eval "$ac_cv_use_dynlib"
6088 if test "$no_cache" != 1; then
6089 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6092 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6093 { echo "$as_me:$LINENO: result: yes" >&5
6094 echo "${ECHO_T}yes" >&6; }
6096 { echo "$as_me:$LINENO: result: no" >&5
6097 echo "${ECHO_T}no" >&6; }
6102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6103 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6105 # Check whether --enable-dynamicloader was given.
6106 if test "${enable_dynamicloader+set}" = set; then
6107 enableval=$enable_dynamicloader;
6108 if test "$enableval" = yes; then
6109 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6111 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6116 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6117 if test "x$LINE" != x ; then
6118 eval "DEFAULT_$LINE"
6123 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6128 eval "$ac_cv_use_dynamicloader"
6129 if test "$no_cache" != 1; then
6130 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6133 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6134 { echo "$as_me:$LINENO: result: yes" >&5
6135 echo "${ECHO_T}yes" >&6; }
6137 { echo "$as_me:$LINENO: result: no" >&5
6138 echo "${ECHO_T}no" >&6; }
6143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6144 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6146 # Check whether --enable-exceptions was given.
6147 if test "${enable_exceptions+set}" = set; then
6148 enableval=$enable_exceptions;
6149 if test "$enableval" = yes; then
6150 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6152 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6157 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6158 if test "x$LINE" != x ; then
6159 eval "DEFAULT_$LINE"
6164 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6169 eval "$ac_cv_use_exceptions"
6170 if test "$no_cache" != 1; then
6171 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6174 if test "$wxUSE_EXCEPTIONS" = yes; then
6175 { echo "$as_me:$LINENO: result: yes" >&5
6176 echo "${ECHO_T}yes" >&6; }
6178 { echo "$as_me:$LINENO: result: no" >&5
6179 echo "${ECHO_T}no" >&6; }
6184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6185 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6187 # Check whether --enable-ffile was given.
6188 if test "${enable_ffile+set}" = set; then
6189 enableval=$enable_ffile;
6190 if test "$enableval" = yes; then
6191 ac_cv_use_ffile='wxUSE_FFILE=yes'
6193 ac_cv_use_ffile='wxUSE_FFILE=no'
6198 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6199 if test "x$LINE" != x ; then
6200 eval "DEFAULT_$LINE"
6205 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6210 eval "$ac_cv_use_ffile"
6211 if test "$no_cache" != 1; then
6212 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6215 if test "$wxUSE_FFILE" = yes; then
6216 { echo "$as_me:$LINENO: result: yes" >&5
6217 echo "${ECHO_T}yes" >&6; }
6219 { echo "$as_me:$LINENO: result: no" >&5
6220 echo "${ECHO_T}no" >&6; }
6225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6226 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6228 # Check whether --enable-file was given.
6229 if test "${enable_file+set}" = set; then
6230 enableval=$enable_file;
6231 if test "$enableval" = yes; then
6232 ac_cv_use_file='wxUSE_FILE=yes'
6234 ac_cv_use_file='wxUSE_FILE=no'
6239 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6240 if test "x$LINE" != x ; then
6241 eval "DEFAULT_$LINE"
6246 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6251 eval "$ac_cv_use_file"
6252 if test "$no_cache" != 1; then
6253 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6256 if test "$wxUSE_FILE" = yes; then
6257 { echo "$as_me:$LINENO: result: yes" >&5
6258 echo "${ECHO_T}yes" >&6; }
6260 { echo "$as_me:$LINENO: result: no" >&5
6261 echo "${ECHO_T}no" >&6; }
6266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6267 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6269 # Check whether --enable-filesystem was given.
6270 if test "${enable_filesystem+set}" = set; then
6271 enableval=$enable_filesystem;
6272 if test "$enableval" = yes; then
6273 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6275 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6280 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6281 if test "x$LINE" != x ; then
6282 eval "DEFAULT_$LINE"
6287 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6292 eval "$ac_cv_use_filesystem"
6293 if test "$no_cache" != 1; then
6294 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6297 if test "$wxUSE_FILESYSTEM" = yes; then
6298 { echo "$as_me:$LINENO: result: yes" >&5
6299 echo "${ECHO_T}yes" >&6; }
6301 { echo "$as_me:$LINENO: result: no" >&5
6302 echo "${ECHO_T}no" >&6; }
6307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6308 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6310 # Check whether --enable-fontmap was given.
6311 if test "${enable_fontmap+set}" = set; then
6312 enableval=$enable_fontmap;
6313 if test "$enableval" = yes; then
6314 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6316 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6321 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6322 if test "x$LINE" != x ; then
6323 eval "DEFAULT_$LINE"
6328 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6333 eval "$ac_cv_use_fontmap"
6334 if test "$no_cache" != 1; then
6335 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6338 if test "$wxUSE_FONTMAP" = yes; then
6339 { echo "$as_me:$LINENO: result: yes" >&5
6340 echo "${ECHO_T}yes" >&6; }
6342 { echo "$as_me:$LINENO: result: no" >&5
6343 echo "${ECHO_T}no" >&6; }
6348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6349 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6351 # Check whether --enable-fs_archive was given.
6352 if test "${enable_fs_archive+set}" = set; then
6353 enableval=$enable_fs_archive;
6354 if test "$enableval" = yes; then
6355 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6357 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6362 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6363 if test "x$LINE" != x ; then
6364 eval "DEFAULT_$LINE"
6369 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6374 eval "$ac_cv_use_fs_archive"
6375 if test "$no_cache" != 1; then
6376 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6379 if test "$wxUSE_FS_ARCHIVE" = yes; then
6380 { echo "$as_me:$LINENO: result: yes" >&5
6381 echo "${ECHO_T}yes" >&6; }
6383 { echo "$as_me:$LINENO: result: no" >&5
6384 echo "${ECHO_T}no" >&6; }
6389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6390 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6392 # Check whether --enable-fs_inet was given.
6393 if test "${enable_fs_inet+set}" = set; then
6394 enableval=$enable_fs_inet;
6395 if test "$enableval" = yes; then
6396 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6398 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6403 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6404 if test "x$LINE" != x ; then
6405 eval "DEFAULT_$LINE"
6410 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6415 eval "$ac_cv_use_fs_inet"
6416 if test "$no_cache" != 1; then
6417 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6420 if test "$wxUSE_FS_INET" = yes; then
6421 { echo "$as_me:$LINENO: result: yes" >&5
6422 echo "${ECHO_T}yes" >&6; }
6424 { echo "$as_me:$LINENO: result: no" >&5
6425 echo "${ECHO_T}no" >&6; }
6430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6431 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6433 # Check whether --enable-fs_zip was given.
6434 if test "${enable_fs_zip+set}" = set; then
6435 enableval=$enable_fs_zip;
6436 if test "$enableval" = yes; then
6437 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6439 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6444 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6445 if test "x$LINE" != x ; then
6446 eval "DEFAULT_$LINE"
6451 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6456 eval "$ac_cv_use_fs_zip"
6457 if test "$no_cache" != 1; then
6458 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6461 if test "$wxUSE_FS_ZIP" = yes; then
6462 { echo "$as_me:$LINENO: result: yes" >&5
6463 echo "${ECHO_T}yes" >&6; }
6465 { echo "$as_me:$LINENO: result: no" >&5
6466 echo "${ECHO_T}no" >&6; }
6471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6472 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6474 # Check whether --enable-geometry was given.
6475 if test "${enable_geometry+set}" = set; then
6476 enableval=$enable_geometry;
6477 if test "$enableval" = yes; then
6478 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6480 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6485 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6486 if test "x$LINE" != x ; then
6487 eval "DEFAULT_$LINE"
6492 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6497 eval "$ac_cv_use_geometry"
6498 if test "$no_cache" != 1; then
6499 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6502 if test "$wxUSE_GEOMETRY" = yes; then
6503 { echo "$as_me:$LINENO: result: yes" >&5
6504 echo "${ECHO_T}yes" >&6; }
6506 { echo "$as_me:$LINENO: result: no" >&5
6507 echo "${ECHO_T}no" >&6; }
6512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6513 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6515 # Check whether --enable-log was given.
6516 if test "${enable_log+set}" = set; then
6517 enableval=$enable_log;
6518 if test "$enableval" = yes; then
6519 ac_cv_use_log='wxUSE_LOG=yes'
6521 ac_cv_use_log='wxUSE_LOG=no'
6526 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6527 if test "x$LINE" != x ; then
6528 eval "DEFAULT_$LINE"
6533 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6538 eval "$ac_cv_use_log"
6539 if test "$no_cache" != 1; then
6540 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6543 if test "$wxUSE_LOG" = yes; then
6544 { echo "$as_me:$LINENO: result: yes" >&5
6545 echo "${ECHO_T}yes" >&6; }
6547 { echo "$as_me:$LINENO: result: no" >&5
6548 echo "${ECHO_T}no" >&6; }
6553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6554 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6556 # Check whether --enable-longlong was given.
6557 if test "${enable_longlong+set}" = set; then
6558 enableval=$enable_longlong;
6559 if test "$enableval" = yes; then
6560 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6562 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6567 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6568 if test "x$LINE" != x ; then
6569 eval "DEFAULT_$LINE"
6574 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6579 eval "$ac_cv_use_longlong"
6580 if test "$no_cache" != 1; then
6581 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6584 if test "$wxUSE_LONGLONG" = yes; then
6585 { echo "$as_me:$LINENO: result: yes" >&5
6586 echo "${ECHO_T}yes" >&6; }
6588 { echo "$as_me:$LINENO: result: no" >&5
6589 echo "${ECHO_T}no" >&6; }
6594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6595 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6597 # Check whether --enable-mimetype was given.
6598 if test "${enable_mimetype+set}" = set; then
6599 enableval=$enable_mimetype;
6600 if test "$enableval" = yes; then
6601 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6603 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6608 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6609 if test "x$LINE" != x ; then
6610 eval "DEFAULT_$LINE"
6615 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6620 eval "$ac_cv_use_mimetype"
6621 if test "$no_cache" != 1; then
6622 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6625 if test "$wxUSE_MIMETYPE" = yes; then
6626 { echo "$as_me:$LINENO: result: yes" >&5
6627 echo "${ECHO_T}yes" >&6; }
6629 { echo "$as_me:$LINENO: result: no" >&5
6630 echo "${ECHO_T}no" >&6; }
6635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6636 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6638 # Check whether --enable-mslu was given.
6639 if test "${enable_mslu+set}" = set; then
6640 enableval=$enable_mslu;
6641 if test "$enableval" = yes; then
6642 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6644 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6649 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6650 if test "x$LINE" != x ; then
6651 eval "DEFAULT_$LINE"
6656 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6661 eval "$ac_cv_use_mslu"
6662 if test "$no_cache" != 1; then
6663 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6666 if test "$wxUSE_UNICODE_MSLU" = yes; then
6667 { echo "$as_me:$LINENO: result: yes" >&5
6668 echo "${ECHO_T}yes" >&6; }
6670 { echo "$as_me:$LINENO: result: no" >&5
6671 echo "${ECHO_T}no" >&6; }
6676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6677 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6679 # Check whether --enable-snglinst was given.
6680 if test "${enable_snglinst+set}" = set; then
6681 enableval=$enable_snglinst;
6682 if test "$enableval" = yes; then
6683 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6685 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6690 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6691 if test "x$LINE" != x ; then
6692 eval "DEFAULT_$LINE"
6697 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6702 eval "$ac_cv_use_snglinst"
6703 if test "$no_cache" != 1; then
6704 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6707 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6708 { echo "$as_me:$LINENO: result: yes" >&5
6709 echo "${ECHO_T}yes" >&6; }
6711 { echo "$as_me:$LINENO: result: no" >&5
6712 echo "${ECHO_T}no" >&6; }
6717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6718 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6720 # Check whether --enable-std_iostreams was given.
6721 if test "${enable_std_iostreams+set}" = set; then
6722 enableval=$enable_std_iostreams;
6723 if test "$enableval" = yes; then
6724 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6726 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6731 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6732 if test "x$LINE" != x ; then
6733 eval "DEFAULT_$LINE"
6738 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6743 eval "$ac_cv_use_std_iostreams"
6744 if test "$no_cache" != 1; then
6745 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6748 if test "$wxUSE_STD_IOSTREAM" = yes; then
6749 { echo "$as_me:$LINENO: result: yes" >&5
6750 echo "${ECHO_T}yes" >&6; }
6752 { echo "$as_me:$LINENO: result: no" >&5
6753 echo "${ECHO_T}no" >&6; }
6758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6759 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6761 # Check whether --enable-std_string was given.
6762 if test "${enable_std_string+set}" = set; then
6763 enableval=$enable_std_string;
6764 if test "$enableval" = yes; then
6765 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6767 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6772 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6773 if test "x$LINE" != x ; then
6774 eval "DEFAULT_$LINE"
6779 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6784 eval "$ac_cv_use_std_string"
6785 if test "$no_cache" != 1; then
6786 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6789 if test "$wxUSE_STD_STRING" = yes; then
6790 { echo "$as_me:$LINENO: result: yes" >&5
6791 echo "${ECHO_T}yes" >&6; }
6793 { echo "$as_me:$LINENO: result: no" >&5
6794 echo "${ECHO_T}no" >&6; }
6799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6800 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6802 # Check whether --enable-stdpaths was given.
6803 if test "${enable_stdpaths+set}" = set; then
6804 enableval=$enable_stdpaths;
6805 if test "$enableval" = yes; then
6806 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6808 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6813 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6814 if test "x$LINE" != x ; then
6815 eval "DEFAULT_$LINE"
6820 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6825 eval "$ac_cv_use_stdpaths"
6826 if test "$no_cache" != 1; then
6827 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6830 if test "$wxUSE_STDPATHS" = yes; then
6831 { echo "$as_me:$LINENO: result: yes" >&5
6832 echo "${ECHO_T}yes" >&6; }
6834 { echo "$as_me:$LINENO: result: no" >&5
6835 echo "${ECHO_T}no" >&6; }
6840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6841 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6843 # Check whether --enable-stopwatch was given.
6844 if test "${enable_stopwatch+set}" = set; then
6845 enableval=$enable_stopwatch;
6846 if test "$enableval" = yes; then
6847 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6849 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6854 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6855 if test "x$LINE" != x ; then
6856 eval "DEFAULT_$LINE"
6861 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6866 eval "$ac_cv_use_stopwatch"
6867 if test "$no_cache" != 1; then
6868 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6871 if test "$wxUSE_STOPWATCH" = yes; then
6872 { echo "$as_me:$LINENO: result: yes" >&5
6873 echo "${ECHO_T}yes" >&6; }
6875 { echo "$as_me:$LINENO: result: no" >&5
6876 echo "${ECHO_T}no" >&6; }
6881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6882 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
6884 # Check whether --enable-streams was given.
6885 if test "${enable_streams+set}" = set; then
6886 enableval=$enable_streams;
6887 if test "$enableval" = yes; then
6888 ac_cv_use_streams='wxUSE_STREAMS=yes'
6890 ac_cv_use_streams='wxUSE_STREAMS=no'
6895 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6896 if test "x$LINE" != x ; then
6897 eval "DEFAULT_$LINE"
6902 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6907 eval "$ac_cv_use_streams"
6908 if test "$no_cache" != 1; then
6909 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6912 if test "$wxUSE_STREAMS" = yes; then
6913 { echo "$as_me:$LINENO: result: yes" >&5
6914 echo "${ECHO_T}yes" >&6; }
6916 { echo "$as_me:$LINENO: result: no" >&5
6917 echo "${ECHO_T}no" >&6; }
6922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6923 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
6925 # Check whether --enable-system_options was given.
6926 if test "${enable_system_options+set}" = set; then
6927 enableval=$enable_system_options;
6928 if test "$enableval" = yes; then
6929 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6931 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6936 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6937 if test "x$LINE" != x ; then
6938 eval "DEFAULT_$LINE"
6943 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6948 eval "$ac_cv_use_system_options"
6949 if test "$no_cache" != 1; then
6950 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6953 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6954 { echo "$as_me:$LINENO: result: yes" >&5
6955 echo "${ECHO_T}yes" >&6; }
6957 { echo "$as_me:$LINENO: result: no" >&5
6958 echo "${ECHO_T}no" >&6; }
6963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6964 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
6966 # Check whether --enable-tarstream was given.
6967 if test "${enable_tarstream+set}" = set; then
6968 enableval=$enable_tarstream;
6969 if test "$enableval" = yes; then
6970 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6972 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6977 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6978 if test "x$LINE" != x ; then
6979 eval "DEFAULT_$LINE"
6984 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6989 eval "$ac_cv_use_tarstream"
6990 if test "$no_cache" != 1; then
6991 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6994 if test "$wxUSE_TARSTREAM" = yes; then
6995 { echo "$as_me:$LINENO: result: yes" >&5
6996 echo "${ECHO_T}yes" >&6; }
6998 { echo "$as_me:$LINENO: result: no" >&5
6999 echo "${ECHO_T}no" >&6; }
7004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7005 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7007 # Check whether --enable-textbuf was given.
7008 if test "${enable_textbuf+set}" = set; then
7009 enableval=$enable_textbuf;
7010 if test "$enableval" = yes; then
7011 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7013 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7018 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7019 if test "x$LINE" != x ; then
7020 eval "DEFAULT_$LINE"
7025 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7030 eval "$ac_cv_use_textbuf"
7031 if test "$no_cache" != 1; then
7032 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7035 if test "$wxUSE_TEXTBUFFER" = yes; then
7036 { echo "$as_me:$LINENO: result: yes" >&5
7037 echo "${ECHO_T}yes" >&6; }
7039 { echo "$as_me:$LINENO: result: no" >&5
7040 echo "${ECHO_T}no" >&6; }
7045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7046 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7048 # Check whether --enable-textfile was given.
7049 if test "${enable_textfile+set}" = set; then
7050 enableval=$enable_textfile;
7051 if test "$enableval" = yes; then
7052 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7054 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7059 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7060 if test "x$LINE" != x ; then
7061 eval "DEFAULT_$LINE"
7066 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7071 eval "$ac_cv_use_textfile"
7072 if test "$no_cache" != 1; then
7073 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7076 if test "$wxUSE_TEXTFILE" = yes; then
7077 { echo "$as_me:$LINENO: result: yes" >&5
7078 echo "${ECHO_T}yes" >&6; }
7080 { echo "$as_me:$LINENO: result: no" >&5
7081 echo "${ECHO_T}no" >&6; }
7086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7087 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7089 # Check whether --enable-timer was given.
7090 if test "${enable_timer+set}" = set; then
7091 enableval=$enable_timer;
7092 if test "$enableval" = yes; then
7093 ac_cv_use_timer='wxUSE_TIMER=yes'
7095 ac_cv_use_timer='wxUSE_TIMER=no'
7100 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7101 if test "x$LINE" != x ; then
7102 eval "DEFAULT_$LINE"
7107 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7112 eval "$ac_cv_use_timer"
7113 if test "$no_cache" != 1; then
7114 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7117 if test "$wxUSE_TIMER" = yes; then
7118 { echo "$as_me:$LINENO: result: yes" >&5
7119 echo "${ECHO_T}yes" >&6; }
7121 { echo "$as_me:$LINENO: result: no" >&5
7122 echo "${ECHO_T}no" >&6; }
7127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7128 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7130 # Check whether --enable-unicode was given.
7131 if test "${enable_unicode+set}" = set; then
7132 enableval=$enable_unicode;
7133 if test "$enableval" = yes; then
7134 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7136 ac_cv_use_unicode='wxUSE_UNICODE=no'
7141 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7142 if test "x$LINE" != x ; then
7143 eval "DEFAULT_$LINE"
7148 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7153 eval "$ac_cv_use_unicode"
7154 if test "$no_cache" != 1; then
7155 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7158 if test "$wxUSE_UNICODE" = yes; then
7159 { echo "$as_me:$LINENO: result: yes" >&5
7160 echo "${ECHO_T}yes" >&6; }
7162 { echo "$as_me:$LINENO: result: no" >&5
7163 echo "${ECHO_T}no" >&6; }
7168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7169 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7171 # Check whether --enable-sound was given.
7172 if test "${enable_sound+set}" = set; then
7173 enableval=$enable_sound;
7174 if test "$enableval" = yes; then
7175 ac_cv_use_sound='wxUSE_SOUND=yes'
7177 ac_cv_use_sound='wxUSE_SOUND=no'
7182 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7183 if test "x$LINE" != x ; then
7184 eval "DEFAULT_$LINE"
7189 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7194 eval "$ac_cv_use_sound"
7195 if test "$no_cache" != 1; then
7196 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7199 if test "$wxUSE_SOUND" = yes; then
7200 { echo "$as_me:$LINENO: result: yes" >&5
7201 echo "${ECHO_T}yes" >&6; }
7203 { echo "$as_me:$LINENO: result: no" >&5
7204 echo "${ECHO_T}no" >&6; }
7209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7210 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7212 # Check whether --enable-mediactrl was given.
7213 if test "${enable_mediactrl+set}" = set; then
7214 enableval=$enable_mediactrl;
7215 if test "$enableval" = yes; then
7216 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7218 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7223 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7224 if test "x$LINE" != x ; then
7225 eval "DEFAULT_$LINE"
7230 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7235 eval "$ac_cv_use_mediactrl"
7236 if test "$no_cache" != 1; then
7237 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7240 if test "$wxUSE_MEDIACTRL" = yes; then
7241 { echo "$as_me:$LINENO: result: yes" >&5
7242 echo "${ECHO_T}yes" >&6; }
7244 { echo "$as_me:$LINENO: result: no" >&5
7245 echo "${ECHO_T}no" >&6; }
7250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7251 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7253 # Check whether --enable-gstreamer8 was given.
7254 if test "${enable_gstreamer8+set}" = set; then
7255 enableval=$enable_gstreamer8;
7256 if test "$enableval" = yes; then
7257 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7259 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7264 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
7265 if test "x$LINE" != x ; then
7266 eval "DEFAULT_$LINE"
7271 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7276 eval "$ac_cv_use_gstreamer8"
7277 if test "$no_cache" != 1; then
7278 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7281 if test "$wxUSE_GSTREAMER8" = yes; then
7282 { echo "$as_me:$LINENO: result: yes" >&5
7283 echo "${ECHO_T}yes" >&6; }
7285 { echo "$as_me:$LINENO: result: no" >&5
7286 echo "${ECHO_T}no" >&6; }
7291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7292 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7294 # Check whether --enable-printfposparam was given.
7295 if test "${enable_printfposparam+set}" = set; then
7296 enableval=$enable_printfposparam;
7297 if test "$enableval" = yes; then
7298 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7300 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7305 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7306 if test "x$LINE" != x ; then
7307 eval "DEFAULT_$LINE"
7312 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7317 eval "$ac_cv_use_printfposparam"
7318 if test "$no_cache" != 1; then
7319 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7322 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7323 { echo "$as_me:$LINENO: result: yes" >&5
7324 echo "${ECHO_T}yes" >&6; }
7326 { echo "$as_me:$LINENO: result: no" >&5
7327 echo "${ECHO_T}no" >&6; }
7332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7333 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7335 # Check whether --enable-zipstream was given.
7336 if test "${enable_zipstream+set}" = set; then
7337 enableval=$enable_zipstream;
7338 if test "$enableval" = yes; then
7339 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7341 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7346 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7347 if test "x$LINE" != x ; then
7348 eval "DEFAULT_$LINE"
7353 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7358 eval "$ac_cv_use_zipstream"
7359 if test "$no_cache" != 1; then
7360 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7363 if test "$wxUSE_ZIPSTREAM" = yes; then
7364 { echo "$as_me:$LINENO: result: yes" >&5
7365 echo "${ECHO_T}yes" >&6; }
7367 { echo "$as_me:$LINENO: result: no" >&5
7368 echo "${ECHO_T}no" >&6; }
7374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7375 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7377 # Check whether --enable-url was given.
7378 if test "${enable_url+set}" = set; then
7379 enableval=$enable_url;
7380 if test "$enableval" = yes; then
7381 ac_cv_use_url='wxUSE_URL=yes'
7383 ac_cv_use_url='wxUSE_URL=no'
7388 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7389 if test "x$LINE" != x ; then
7390 eval "DEFAULT_$LINE"
7395 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7400 eval "$ac_cv_use_url"
7401 if test "$no_cache" != 1; then
7402 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7405 if test "$wxUSE_URL" = yes; then
7406 { echo "$as_me:$LINENO: result: yes" >&5
7407 echo "${ECHO_T}yes" >&6; }
7409 { echo "$as_me:$LINENO: result: no" >&5
7410 echo "${ECHO_T}no" >&6; }
7415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7416 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7418 # Check whether --enable-variant was given.
7419 if test "${enable_variant+set}" = set; then
7420 enableval=$enable_variant;
7421 if test "$enableval" = yes; then
7422 ac_cv_use_variant='wxUSE_VARIANT=yes'
7424 ac_cv_use_variant='wxUSE_VARIANT=no'
7429 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
7430 if test "x$LINE" != x ; then
7431 eval "DEFAULT_$LINE"
7436 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7441 eval "$ac_cv_use_variant"
7442 if test "$no_cache" != 1; then
7443 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7446 if test "$wxUSE_VARIANT" = yes; then
7447 { echo "$as_me:$LINENO: result: yes" >&5
7448 echo "${ECHO_T}yes" >&6; }
7450 { echo "$as_me:$LINENO: result: no" >&5
7451 echo "${ECHO_T}no" >&6; }
7456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7457 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7459 # Check whether --enable-protocol was given.
7460 if test "${enable_protocol+set}" = set; then
7461 enableval=$enable_protocol;
7462 if test "$enableval" = yes; then
7463 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7465 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7470 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7471 if test "x$LINE" != x ; then
7472 eval "DEFAULT_$LINE"
7477 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7482 eval "$ac_cv_use_protocol"
7483 if test "$no_cache" != 1; then
7484 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7487 if test "$wxUSE_PROTOCOL" = yes; then
7488 { echo "$as_me:$LINENO: result: yes" >&5
7489 echo "${ECHO_T}yes" >&6; }
7491 { echo "$as_me:$LINENO: result: no" >&5
7492 echo "${ECHO_T}no" >&6; }
7497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7498 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7500 # Check whether --enable-protocol_http was given.
7501 if test "${enable_protocol_http+set}" = set; then
7502 enableval=$enable_protocol_http;
7503 if test "$enableval" = yes; then
7504 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7506 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7511 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7512 if test "x$LINE" != x ; then
7513 eval "DEFAULT_$LINE"
7518 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7523 eval "$ac_cv_use_protocol_http"
7524 if test "$no_cache" != 1; then
7525 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7528 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7529 { echo "$as_me:$LINENO: result: yes" >&5
7530 echo "${ECHO_T}yes" >&6; }
7532 { echo "$as_me:$LINENO: result: no" >&5
7533 echo "${ECHO_T}no" >&6; }
7538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7539 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7541 # Check whether --enable-protocol_ftp was given.
7542 if test "${enable_protocol_ftp+set}" = set; then
7543 enableval=$enable_protocol_ftp;
7544 if test "$enableval" = yes; then
7545 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7547 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7552 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7553 if test "x$LINE" != x ; then
7554 eval "DEFAULT_$LINE"
7559 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7564 eval "$ac_cv_use_protocol_ftp"
7565 if test "$no_cache" != 1; then
7566 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7569 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7570 { echo "$as_me:$LINENO: result: yes" >&5
7571 echo "${ECHO_T}yes" >&6; }
7573 { echo "$as_me:$LINENO: result: no" >&5
7574 echo "${ECHO_T}no" >&6; }
7579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7580 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7582 # Check whether --enable-protocol_file was given.
7583 if test "${enable_protocol_file+set}" = set; then
7584 enableval=$enable_protocol_file;
7585 if test "$enableval" = yes; then
7586 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7588 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7593 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7594 if test "x$LINE" != x ; then
7595 eval "DEFAULT_$LINE"
7600 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7605 eval "$ac_cv_use_protocol_file"
7606 if test "$no_cache" != 1; then
7607 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7610 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7611 { echo "$as_me:$LINENO: result: yes" >&5
7612 echo "${ECHO_T}yes" >&6; }
7614 { echo "$as_me:$LINENO: result: no" >&5
7615 echo "${ECHO_T}no" >&6; }
7623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7624 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7626 # Check whether --enable-threads was given.
7627 if test "${enable_threads+set}" = set; then
7628 enableval=$enable_threads;
7629 if test "$enableval" = yes; then
7630 ac_cv_use_threads='wxUSE_THREADS=yes'
7632 ac_cv_use_threads='wxUSE_THREADS=no'
7637 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7638 if test "x$LINE" != x ; then
7639 eval "DEFAULT_$LINE"
7644 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7649 eval "$ac_cv_use_threads"
7650 if test "$no_cache" != 1; then
7651 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7654 if test "$wxUSE_THREADS" = yes; then
7655 { echo "$as_me:$LINENO: result: yes" >&5
7656 echo "${ECHO_T}yes" >&6; }
7658 { echo "$as_me:$LINENO: result: no" >&5
7659 echo "${ECHO_T}no" >&6; }
7663 if test "$wxUSE_GUI" = "yes"; then
7668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7669 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7671 # Check whether --enable-docview was given.
7672 if test "${enable_docview+set}" = set; then
7673 enableval=$enable_docview;
7674 if test "$enableval" = yes; then
7675 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7677 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7682 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7683 if test "x$LINE" != x ; then
7684 eval "DEFAULT_$LINE"
7689 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7694 eval "$ac_cv_use_docview"
7695 if test "$no_cache" != 1; then
7696 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7699 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7700 { echo "$as_me:$LINENO: result: yes" >&5
7701 echo "${ECHO_T}yes" >&6; }
7703 { echo "$as_me:$LINENO: result: no" >&5
7704 echo "${ECHO_T}no" >&6; }
7709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7710 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7712 # Check whether --enable-help was given.
7713 if test "${enable_help+set}" = set; then
7714 enableval=$enable_help;
7715 if test "$enableval" = yes; then
7716 ac_cv_use_help='wxUSE_HELP=yes'
7718 ac_cv_use_help='wxUSE_HELP=no'
7723 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7724 if test "x$LINE" != x ; then
7725 eval "DEFAULT_$LINE"
7730 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7735 eval "$ac_cv_use_help"
7736 if test "$no_cache" != 1; then
7737 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7740 if test "$wxUSE_HELP" = yes; then
7741 { echo "$as_me:$LINENO: result: yes" >&5
7742 echo "${ECHO_T}yes" >&6; }
7744 { echo "$as_me:$LINENO: result: no" >&5
7745 echo "${ECHO_T}no" >&6; }
7750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7751 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7753 # Check whether --enable-mshtmlhelp was given.
7754 if test "${enable_mshtmlhelp+set}" = set; then
7755 enableval=$enable_mshtmlhelp;
7756 if test "$enableval" = yes; then
7757 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7759 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7764 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7765 if test "x$LINE" != x ; then
7766 eval "DEFAULT_$LINE"
7771 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7776 eval "$ac_cv_use_mshtmlhelp"
7777 if test "$no_cache" != 1; then
7778 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7781 if test "$wxUSE_MS_HTML_HELP" = yes; then
7782 { echo "$as_me:$LINENO: result: yes" >&5
7783 echo "${ECHO_T}yes" >&6; }
7785 { echo "$as_me:$LINENO: result: no" >&5
7786 echo "${ECHO_T}no" >&6; }
7791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7792 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7794 # Check whether --enable-html was given.
7795 if test "${enable_html+set}" = set; then
7796 enableval=$enable_html;
7797 if test "$enableval" = yes; then
7798 ac_cv_use_html='wxUSE_HTML=yes'
7800 ac_cv_use_html='wxUSE_HTML=no'
7805 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7806 if test "x$LINE" != x ; then
7807 eval "DEFAULT_$LINE"
7812 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7817 eval "$ac_cv_use_html"
7818 if test "$no_cache" != 1; then
7819 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7822 if test "$wxUSE_HTML" = yes; then
7823 { echo "$as_me:$LINENO: result: yes" >&5
7824 echo "${ECHO_T}yes" >&6; }
7826 { echo "$as_me:$LINENO: result: no" >&5
7827 echo "${ECHO_T}no" >&6; }
7832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7833 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7835 # Check whether --enable-htmlhelp was given.
7836 if test "${enable_htmlhelp+set}" = set; then
7837 enableval=$enable_htmlhelp;
7838 if test "$enableval" = yes; then
7839 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7841 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7846 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7847 if test "x$LINE" != x ; then
7848 eval "DEFAULT_$LINE"
7853 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7858 eval "$ac_cv_use_htmlhelp"
7859 if test "$no_cache" != 1; then
7860 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7863 if test "$wxUSE_WXHTML_HELP" = yes; then
7864 { echo "$as_me:$LINENO: result: yes" >&5
7865 echo "${ECHO_T}yes" >&6; }
7867 { echo "$as_me:$LINENO: result: no" >&5
7868 echo "${ECHO_T}no" >&6; }
7873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7874 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
7876 # Check whether --enable-xrc was given.
7877 if test "${enable_xrc+set}" = set; then
7878 enableval=$enable_xrc;
7879 if test "$enableval" = yes; then
7880 ac_cv_use_xrc='wxUSE_XRC=yes'
7882 ac_cv_use_xrc='wxUSE_XRC=no'
7887 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7888 if test "x$LINE" != x ; then
7889 eval "DEFAULT_$LINE"
7894 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7899 eval "$ac_cv_use_xrc"
7900 if test "$no_cache" != 1; then
7901 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7904 if test "$wxUSE_XRC" = yes; then
7905 { echo "$as_me:$LINENO: result: yes" >&5
7906 echo "${ECHO_T}yes" >&6; }
7908 { echo "$as_me:$LINENO: result: no" >&5
7909 echo "${ECHO_T}no" >&6; }
7914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7915 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
7917 # Check whether --enable-aui was given.
7918 if test "${enable_aui+set}" = set; then
7919 enableval=$enable_aui;
7920 if test "$enableval" = yes; then
7921 ac_cv_use_aui='wxUSE_AUI=yes'
7923 ac_cv_use_aui='wxUSE_AUI=no'
7928 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7929 if test "x$LINE" != x ; then
7930 eval "DEFAULT_$LINE"
7935 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7940 eval "$ac_cv_use_aui"
7941 if test "$no_cache" != 1; then
7942 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7945 if test "$wxUSE_AUI" = yes; then
7946 { echo "$as_me:$LINENO: result: yes" >&5
7947 echo "${ECHO_T}yes" >&6; }
7949 { echo "$as_me:$LINENO: result: no" >&5
7950 echo "${ECHO_T}no" >&6; }
7955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7956 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
7958 # Check whether --enable-constraints was given.
7959 if test "${enable_constraints+set}" = set; then
7960 enableval=$enable_constraints;
7961 if test "$enableval" = yes; then
7962 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7964 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7969 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7970 if test "x$LINE" != x ; then
7971 eval "DEFAULT_$LINE"
7976 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7981 eval "$ac_cv_use_constraints"
7982 if test "$no_cache" != 1; then
7983 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7986 if test "$wxUSE_CONSTRAINTS" = yes; then
7987 { echo "$as_me:$LINENO: result: yes" >&5
7988 echo "${ECHO_T}yes" >&6; }
7990 { echo "$as_me:$LINENO: result: no" >&5
7991 echo "${ECHO_T}no" >&6; }
7996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7997 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
7999 # Check whether --enable-printarch was given.
8000 if test "${enable_printarch+set}" = set; then
8001 enableval=$enable_printarch;
8002 if test "$enableval" = yes; then
8003 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8005 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8010 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8011 if test "x$LINE" != x ; then
8012 eval "DEFAULT_$LINE"
8017 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8022 eval "$ac_cv_use_printarch"
8023 if test "$no_cache" != 1; then
8024 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8027 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8028 { echo "$as_me:$LINENO: result: yes" >&5
8029 echo "${ECHO_T}yes" >&6; }
8031 { echo "$as_me:$LINENO: result: no" >&5
8032 echo "${ECHO_T}no" >&6; }
8037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8038 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8040 # Check whether --enable-mdi was given.
8041 if test "${enable_mdi+set}" = set; then
8042 enableval=$enable_mdi;
8043 if test "$enableval" = yes; then
8044 ac_cv_use_mdi='wxUSE_MDI=yes'
8046 ac_cv_use_mdi='wxUSE_MDI=no'
8051 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8052 if test "x$LINE" != x ; then
8053 eval "DEFAULT_$LINE"
8058 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8063 eval "$ac_cv_use_mdi"
8064 if test "$no_cache" != 1; then
8065 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8068 if test "$wxUSE_MDI" = yes; then
8069 { echo "$as_me:$LINENO: result: yes" >&5
8070 echo "${ECHO_T}yes" >&6; }
8072 { echo "$as_me:$LINENO: result: no" >&5
8073 echo "${ECHO_T}no" >&6; }
8078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8079 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8081 # Check whether --enable-mdidoc was given.
8082 if test "${enable_mdidoc+set}" = set; then
8083 enableval=$enable_mdidoc;
8084 if test "$enableval" = yes; then
8085 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8087 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8092 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8093 if test "x$LINE" != x ; then
8094 eval "DEFAULT_$LINE"
8099 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8104 eval "$ac_cv_use_mdidoc"
8105 if test "$no_cache" != 1; then
8106 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8109 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8110 { echo "$as_me:$LINENO: result: yes" >&5
8111 echo "${ECHO_T}yes" >&6; }
8113 { echo "$as_me:$LINENO: result: no" >&5
8114 echo "${ECHO_T}no" >&6; }
8119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8120 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8122 # Check whether --enable-loggui was given.
8123 if test "${enable_loggui+set}" = set; then
8124 enableval=$enable_loggui;
8125 if test "$enableval" = yes; then
8126 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8128 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8133 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8134 if test "x$LINE" != x ; then
8135 eval "DEFAULT_$LINE"
8140 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8145 eval "$ac_cv_use_loggui"
8146 if test "$no_cache" != 1; then
8147 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8150 if test "$wxUSE_LOGGUI" = yes; then
8151 { echo "$as_me:$LINENO: result: yes" >&5
8152 echo "${ECHO_T}yes" >&6; }
8154 { echo "$as_me:$LINENO: result: no" >&5
8155 echo "${ECHO_T}no" >&6; }
8160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8161 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8163 # Check whether --enable-logwin was given.
8164 if test "${enable_logwin+set}" = set; then
8165 enableval=$enable_logwin;
8166 if test "$enableval" = yes; then
8167 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8169 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8174 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8175 if test "x$LINE" != x ; then
8176 eval "DEFAULT_$LINE"
8181 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8186 eval "$ac_cv_use_logwin"
8187 if test "$no_cache" != 1; then
8188 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8191 if test "$wxUSE_LOGWINDOW" = yes; then
8192 { echo "$as_me:$LINENO: result: yes" >&5
8193 echo "${ECHO_T}yes" >&6; }
8195 { echo "$as_me:$LINENO: result: no" >&5
8196 echo "${ECHO_T}no" >&6; }
8201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8202 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8204 # Check whether --enable-logdialog was given.
8205 if test "${enable_logdialog+set}" = set; then
8206 enableval=$enable_logdialog;
8207 if test "$enableval" = yes; then
8208 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8210 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8215 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8216 if test "x$LINE" != x ; then
8217 eval "DEFAULT_$LINE"
8222 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8227 eval "$ac_cv_use_logdialog"
8228 if test "$no_cache" != 1; then
8229 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8232 if test "$wxUSE_LOGDIALOG" = yes; then
8233 { echo "$as_me:$LINENO: result: yes" >&5
8234 echo "${ECHO_T}yes" >&6; }
8236 { echo "$as_me:$LINENO: result: no" >&5
8237 echo "${ECHO_T}no" >&6; }
8242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8243 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8245 # Check whether --enable-webkit was given.
8246 if test "${enable_webkit+set}" = set; then
8247 enableval=$enable_webkit;
8248 if test "$enableval" = yes; then
8249 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8251 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8256 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8257 if test "x$LINE" != x ; then
8258 eval "DEFAULT_$LINE"
8263 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8268 eval "$ac_cv_use_webkit"
8269 if test "$no_cache" != 1; then
8270 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8273 if test "$wxUSE_WEBKIT" = yes; then
8274 { echo "$as_me:$LINENO: result: yes" >&5
8275 echo "${ECHO_T}yes" >&6; }
8277 { echo "$as_me:$LINENO: result: no" >&5
8278 echo "${ECHO_T}no" >&6; }
8283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8284 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8286 # Check whether --enable-richtext was given.
8287 if test "${enable_richtext+set}" = set; then
8288 enableval=$enable_richtext;
8289 if test "$enableval" = yes; then
8290 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8292 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8297 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8298 if test "x$LINE" != x ; then
8299 eval "DEFAULT_$LINE"
8304 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8309 eval "$ac_cv_use_richtext"
8310 if test "$no_cache" != 1; then
8311 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8314 if test "$wxUSE_RICHTEXT" = yes; then
8315 { echo "$as_me:$LINENO: result: yes" >&5
8316 echo "${ECHO_T}yes" >&6; }
8318 { echo "$as_me:$LINENO: result: no" >&5
8319 echo "${ECHO_T}no" >&6; }
8324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8325 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8327 # Check whether --enable-graphics_ctx was given.
8328 if test "${enable_graphics_ctx+set}" = set; then
8329 enableval=$enable_graphics_ctx;
8330 if test "$enableval" = yes; then
8331 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8333 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8338 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
8339 if test "x$LINE" != x ; then
8340 eval "DEFAULT_$LINE"
8345 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8350 eval "$ac_cv_use_graphics_ctx"
8351 if test "$no_cache" != 1; then
8352 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8355 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8356 { echo "$as_me:$LINENO: result: yes" >&5
8357 echo "${ECHO_T}yes" >&6; }
8359 { echo "$as_me:$LINENO: result: no" >&5
8360 echo "${ECHO_T}no" >&6; }
8366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8367 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8369 # Check whether --enable-postscript was given.
8370 if test "${enable_postscript+set}" = set; then
8371 enableval=$enable_postscript;
8372 if test "$enableval" = yes; then
8373 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8375 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8380 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8381 if test "x$LINE" != x ; then
8382 eval "DEFAULT_$LINE"
8387 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8392 eval "$ac_cv_use_postscript"
8393 if test "$no_cache" != 1; then
8394 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8397 if test "$wxUSE_POSTSCRIPT" = yes; then
8398 { echo "$as_me:$LINENO: result: yes" >&5
8399 echo "${ECHO_T}yes" >&6; }
8401 { echo "$as_me:$LINENO: result: no" >&5
8402 echo "${ECHO_T}no" >&6; }
8410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
8411 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6; }
8413 # Check whether --enable-prologio was given.
8414 if test "${enable_prologio+set}" = set; then
8415 enableval=$enable_prologio;
8416 if test "$enableval" = yes; then
8417 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
8419 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
8424 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
8425 if test "x$LINE" != x ; then
8426 eval "DEFAULT_$LINE"
8431 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
8436 eval "$ac_cv_use_prologio"
8437 if test "$no_cache" != 1; then
8438 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
8441 if test "$wxUSE_PROLOGIO" = yes; then
8442 { echo "$as_me:$LINENO: result: yes" >&5
8443 echo "${ECHO_T}yes" >&6; }
8445 { echo "$as_me:$LINENO: result: no" >&5
8446 echo "${ECHO_T}no" >&6; }
8451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
8452 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6; }
8454 # Check whether --enable-resources was given.
8455 if test "${enable_resources+set}" = set; then
8456 enableval=$enable_resources;
8457 if test "$enableval" = yes; then
8458 ac_cv_use_resources='wxUSE_RESOURCES=yes'
8460 ac_cv_use_resources='wxUSE_RESOURCES=no'
8465 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
8466 if test "x$LINE" != x ; then
8467 eval "DEFAULT_$LINE"
8472 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
8477 eval "$ac_cv_use_resources"
8478 if test "$no_cache" != 1; then
8479 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
8482 if test "$wxUSE_RESOURCES" = yes; then
8483 { echo "$as_me:$LINENO: result: yes" >&5
8484 echo "${ECHO_T}yes" >&6; }
8486 { echo "$as_me:$LINENO: result: no" >&5
8487 echo "${ECHO_T}no" >&6; }
8494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8495 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8497 # Check whether --enable-clipboard was given.
8498 if test "${enable_clipboard+set}" = set; then
8499 enableval=$enable_clipboard;
8500 if test "$enableval" = yes; then
8501 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8503 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8508 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
8509 if test "x$LINE" != x ; then
8510 eval "DEFAULT_$LINE"
8515 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8520 eval "$ac_cv_use_clipboard"
8521 if test "$no_cache" != 1; then
8522 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8525 if test "$wxUSE_CLIPBOARD" = yes; then
8526 { echo "$as_me:$LINENO: result: yes" >&5
8527 echo "${ECHO_T}yes" >&6; }
8529 { echo "$as_me:$LINENO: result: no" >&5
8530 echo "${ECHO_T}no" >&6; }
8535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8536 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8538 # Check whether --enable-dnd was given.
8539 if test "${enable_dnd+set}" = set; then
8540 enableval=$enable_dnd;
8541 if test "$enableval" = yes; then
8542 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8544 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8549 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
8550 if test "x$LINE" != x ; then
8551 eval "DEFAULT_$LINE"
8556 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8561 eval "$ac_cv_use_dnd"
8562 if test "$no_cache" != 1; then
8563 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8566 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8567 { echo "$as_me:$LINENO: result: yes" >&5
8568 echo "${ECHO_T}yes" >&6; }
8570 { echo "$as_me:$LINENO: result: no" >&5
8571 echo "${ECHO_T}no" >&6; }
8576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8577 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8579 # Check whether --enable-metafile was given.
8580 if test "${enable_metafile+set}" = set; then
8581 enableval=$enable_metafile;
8582 if test "$enableval" = yes; then
8583 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8585 ac_cv_use_metafile='wxUSE_METAFILE=no'
8590 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8591 if test "x$LINE" != x ; then
8592 eval "DEFAULT_$LINE"
8597 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8602 eval "$ac_cv_use_metafile"
8603 if test "$no_cache" != 1; then
8604 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8607 if test "$wxUSE_METAFILE" = yes; then
8608 { echo "$as_me:$LINENO: result: yes" >&5
8609 echo "${ECHO_T}yes" >&6; }
8611 { echo "$as_me:$LINENO: result: no" >&5
8612 echo "${ECHO_T}no" >&6; }
8620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8621 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8623 # Check whether --enable-controls was given.
8624 if test "${enable_controls+set}" = set; then
8625 enableval=$enable_controls;
8626 if test "$enableval" = yes; then
8627 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8629 ac_cv_use_controls='wxUSE_CONTROLS=no'
8634 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8635 if test "x$LINE" != x ; then
8636 eval "DEFAULT_$LINE"
8641 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8646 eval "$ac_cv_use_controls"
8647 if test "$no_cache" != 1; then
8648 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8651 if test "$wxUSE_CONTROLS" = yes; then
8652 { echo "$as_me:$LINENO: result: yes" >&5
8653 echo "${ECHO_T}yes" >&6; }
8655 { echo "$as_me:$LINENO: result: no" >&5
8656 echo "${ECHO_T}no" >&6; }
8660 if test "$wxUSE_CONTROLS" = "yes"; then
8661 DEFAULT_wxUSE_ACCEL=yes
8662 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8663 DEFAULT_wxUSE_BMPBUTTON=yes
8664 DEFAULT_wxUSE_BUTTON=yes
8665 DEFAULT_wxUSE_CALCTRL=yes
8666 DEFAULT_wxUSE_CARET=yes
8667 DEFAULT_wxUSE_COMBOBOX=yes
8668 DEFAULT_wxUSE_CHECKBOX=yes
8669 DEFAULT_wxUSE_CHECKLISTBOX=yes
8670 DEFAULT_wxUSE_CHOICE=yes
8671 DEFAULT_wxUSE_CHOICEBOOK=yes
8672 DEFAULT_wxUSE_COLLPANE=yes
8673 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8674 DEFAULT_wxUSE_COMBOBOX=yes
8675 DEFAULT_wxUSE_DATEPICKCTRL=yes
8676 DEFAULT_wxUSE_DISPLAY=yes
8677 DEFAULT_wxUSE_DETECT_SM=yes
8678 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8679 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8680 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8681 DEFAULT_wxUSE_GAUGE=yes
8682 DEFAULT_wxUSE_GRID=yes
8683 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8684 DEFAULT_wxUSE_DATAVIEWCTRL=no
8685 DEFAULT_wxUSE_IMAGLIST=yes
8686 DEFAULT_wxUSE_LISTBOOK=yes
8687 DEFAULT_wxUSE_LISTBOX=yes
8688 DEFAULT_wxUSE_LISTCTRL=yes
8689 DEFAULT_wxUSE_NOTEBOOK=yes
8690 DEFAULT_wxUSE_RADIOBOX=yes
8691 DEFAULT_wxUSE_RADIOBTN=yes
8692 DEFAULT_wxUSE_SASH=yes
8693 DEFAULT_wxUSE_SCROLLBAR=yes
8694 DEFAULT_wxUSE_SEARCHCTRL=yes
8695 DEFAULT_wxUSE_SLIDER=yes
8696 DEFAULT_wxUSE_SPINBTN=yes
8697 DEFAULT_wxUSE_SPINCTRL=yes
8698 DEFAULT_wxUSE_SPLITTER=yes
8699 DEFAULT_wxUSE_STATBMP=yes
8700 DEFAULT_wxUSE_STATBOX=yes
8701 DEFAULT_wxUSE_STATLINE=yes
8702 DEFAULT_wxUSE_STATUSBAR=yes
8703 DEFAULT_wxUSE_TAB_DIALOG=yes
8704 DEFAULT_wxUSE_TOGGLEBTN=yes
8705 DEFAULT_wxUSE_TOOLBAR=yes
8706 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8707 DEFAULT_wxUSE_TOOLTIPS=yes
8708 DEFAULT_wxUSE_TREEBOOK=yes
8709 DEFAULT_wxUSE_TOOLBOOK=yes
8710 DEFAULT_wxUSE_TREECTRL=yes
8711 DEFAULT_wxUSE_POPUPWIN=yes
8712 DEFAULT_wxUSE_TIPWINDOW=yes
8713 elif test "$wxUSE_CONTROLS" = "no"; then
8714 DEFAULT_wxUSE_ACCEL=no
8715 DEFAULT_wxUSE_ANIMATIONCTRL=no
8716 DEFAULT_wxUSE_BMPBUTTON=no
8717 DEFAULT_wxUSE_BUTTON=no
8718 DEFAULT_wxUSE_CALCTRL=no
8719 DEFAULT_wxUSE_CARET=no
8720 DEFAULT_wxUSE_COLLPANE=no
8721 DEFAULT_wxUSE_COMBOBOX=no
8722 DEFAULT_wxUSE_CHECKBOX=no
8723 DEFAULT_wxUSE_CHECKLISTBOX=no
8724 DEFAULT_wxUSE_CHOICE=no
8725 DEFAULT_wxUSE_CHOICEBOOK=no
8726 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8727 DEFAULT_wxUSE_COMBOBOX=no
8728 DEFAULT_wxUSE_DATEPICKCTRL=no
8729 DEFAULT_wxUSE_DISPLAY=no
8730 DEFAULT_wxUSE_DETECT_SM=no
8731 DEFAULT_wxUSE_DIRPICKERCTRL=no
8732 DEFAULT_wxUSE_FILEPICKERCTRL=no
8733 DEFAULT_wxUSE_FONTPICKERCTRL=no
8734 DEFAULT_wxUSE_GAUGE=no
8735 DEFAULT_wxUSE_GRID=no
8736 DEFAULT_wxUSE_HYPERLINKCTRL=no
8737 DEFAULT_wxUSE_DATAVIEWCTRL=no
8738 DEFAULT_wxUSE_IMAGLIST=no
8739 DEFAULT_wxUSE_LISTBOOK=no
8740 DEFAULT_wxUSE_LISTBOX=no
8741 DEFAULT_wxUSE_LISTCTRL=no
8742 DEFAULT_wxUSE_NOTEBOOK=no
8743 DEFAULT_wxUSE_RADIOBOX=no
8744 DEFAULT_wxUSE_RADIOBTN=no
8745 DEFAULT_wxUSE_SASH=no
8746 DEFAULT_wxUSE_SCROLLBAR=no
8747 DEFAULT_wxUSE_SEARCHCTRL=no
8748 DEFAULT_wxUSE_SLIDER=no
8749 DEFAULT_wxUSE_SPINBTN=no
8750 DEFAULT_wxUSE_SPINCTRL=no
8751 DEFAULT_wxUSE_SPLITTER=no
8752 DEFAULT_wxUSE_STATBMP=no
8753 DEFAULT_wxUSE_STATBOX=no
8754 DEFAULT_wxUSE_STATLINE=no
8755 DEFAULT_wxUSE_STATUSBAR=no
8756 DEFAULT_wxUSE_TAB_DIALOG=no
8757 DEFAULT_wxUSE_TOGGLEBTN=no
8758 DEFAULT_wxUSE_TOOLBAR=no
8759 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8760 DEFAULT_wxUSE_TOOLTIPS=no
8761 DEFAULT_wxUSE_TREEBOOK=no
8762 DEFAULT_wxUSE_TOOLBOOK=no
8763 DEFAULT_wxUSE_TREECTRL=no
8764 DEFAULT_wxUSE_POPUPWIN=no
8765 DEFAULT_wxUSE_TIPWINDOW=no
8770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8771 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8773 # Check whether --enable-accel was given.
8774 if test "${enable_accel+set}" = set; then
8775 enableval=$enable_accel;
8776 if test "$enableval" = yes; then
8777 ac_cv_use_accel='wxUSE_ACCEL=yes'
8779 ac_cv_use_accel='wxUSE_ACCEL=no'
8784 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8785 if test "x$LINE" != x ; then
8786 eval "DEFAULT_$LINE"
8791 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8796 eval "$ac_cv_use_accel"
8797 if test "$no_cache" != 1; then
8798 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8801 if test "$wxUSE_ACCEL" = yes; then
8802 { echo "$as_me:$LINENO: result: yes" >&5
8803 echo "${ECHO_T}yes" >&6; }
8805 { echo "$as_me:$LINENO: result: no" >&5
8806 echo "${ECHO_T}no" >&6; }
8811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8812 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8814 # Check whether --enable-animatectrl was given.
8815 if test "${enable_animatectrl+set}" = set; then
8816 enableval=$enable_animatectrl;
8817 if test "$enableval" = yes; then
8818 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8820 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8825 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8826 if test "x$LINE" != x ; then
8827 eval "DEFAULT_$LINE"
8832 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8837 eval "$ac_cv_use_animatectrl"
8838 if test "$no_cache" != 1; then
8839 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8842 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8843 { echo "$as_me:$LINENO: result: yes" >&5
8844 echo "${ECHO_T}yes" >&6; }
8846 { echo "$as_me:$LINENO: result: no" >&5
8847 echo "${ECHO_T}no" >&6; }
8852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8853 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8855 # Check whether --enable-button was given.
8856 if test "${enable_button+set}" = set; then
8857 enableval=$enable_button;
8858 if test "$enableval" = yes; then
8859 ac_cv_use_button='wxUSE_BUTTON=yes'
8861 ac_cv_use_button='wxUSE_BUTTON=no'
8866 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8867 if test "x$LINE" != x ; then
8868 eval "DEFAULT_$LINE"
8873 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8878 eval "$ac_cv_use_button"
8879 if test "$no_cache" != 1; then
8880 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8883 if test "$wxUSE_BUTTON" = yes; then
8884 { echo "$as_me:$LINENO: result: yes" >&5
8885 echo "${ECHO_T}yes" >&6; }
8887 { echo "$as_me:$LINENO: result: no" >&5
8888 echo "${ECHO_T}no" >&6; }
8893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8894 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
8896 # Check whether --enable-bmpbutton was given.
8897 if test "${enable_bmpbutton+set}" = set; then
8898 enableval=$enable_bmpbutton;
8899 if test "$enableval" = yes; then
8900 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8902 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8907 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8908 if test "x$LINE" != x ; then
8909 eval "DEFAULT_$LINE"
8914 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8919 eval "$ac_cv_use_bmpbutton"
8920 if test "$no_cache" != 1; then
8921 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8924 if test "$wxUSE_BMPBUTTON" = yes; then
8925 { echo "$as_me:$LINENO: result: yes" >&5
8926 echo "${ECHO_T}yes" >&6; }
8928 { echo "$as_me:$LINENO: result: no" >&5
8929 echo "${ECHO_T}no" >&6; }
8934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8935 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
8937 # Check whether --enable-bmpcombobox was given.
8938 if test "${enable_bmpcombobox+set}" = set; then
8939 enableval=$enable_bmpcombobox;
8940 if test "$enableval" = yes; then
8941 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8943 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8948 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8949 if test "x$LINE" != x ; then
8950 eval "DEFAULT_$LINE"
8955 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8960 eval "$ac_cv_use_bmpcombobox"
8961 if test "$no_cache" != 1; then
8962 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8965 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8966 { echo "$as_me:$LINENO: result: yes" >&5
8967 echo "${ECHO_T}yes" >&6; }
8969 { echo "$as_me:$LINENO: result: no" >&5
8970 echo "${ECHO_T}no" >&6; }
8975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8976 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
8978 # Check whether --enable-calendar was given.
8979 if test "${enable_calendar+set}" = set; then
8980 enableval=$enable_calendar;
8981 if test "$enableval" = yes; then
8982 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8984 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8989 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8990 if test "x$LINE" != x ; then
8991 eval "DEFAULT_$LINE"
8996 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
9001 eval "$ac_cv_use_calendar"
9002 if test "$no_cache" != 1; then
9003 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9006 if test "$wxUSE_CALCTRL" = yes; then
9007 { echo "$as_me:$LINENO: result: yes" >&5
9008 echo "${ECHO_T}yes" >&6; }
9010 { echo "$as_me:$LINENO: result: no" >&5
9011 echo "${ECHO_T}no" >&6; }
9016 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9017 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9019 # Check whether --enable-caret was given.
9020 if test "${enable_caret+set}" = set; then
9021 enableval=$enable_caret;
9022 if test "$enableval" = yes; then
9023 ac_cv_use_caret='wxUSE_CARET=yes'
9025 ac_cv_use_caret='wxUSE_CARET=no'
9030 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
9031 if test "x$LINE" != x ; then
9032 eval "DEFAULT_$LINE"
9037 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9042 eval "$ac_cv_use_caret"
9043 if test "$no_cache" != 1; then
9044 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9047 if test "$wxUSE_CARET" = yes; then
9048 { echo "$as_me:$LINENO: result: yes" >&5
9049 echo "${ECHO_T}yes" >&6; }
9051 { echo "$as_me:$LINENO: result: no" >&5
9052 echo "${ECHO_T}no" >&6; }
9057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9058 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9060 # Check whether --enable-checkbox was given.
9061 if test "${enable_checkbox+set}" = set; then
9062 enableval=$enable_checkbox;
9063 if test "$enableval" = yes; then
9064 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9066 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9071 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9072 if test "x$LINE" != x ; then
9073 eval "DEFAULT_$LINE"
9078 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9083 eval "$ac_cv_use_checkbox"
9084 if test "$no_cache" != 1; then
9085 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9088 if test "$wxUSE_CHECKBOX" = yes; then
9089 { echo "$as_me:$LINENO: result: yes" >&5
9090 echo "${ECHO_T}yes" >&6; }
9092 { echo "$as_me:$LINENO: result: no" >&5
9093 echo "${ECHO_T}no" >&6; }
9098 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9099 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9101 # Check whether --enable-checklst was given.
9102 if test "${enable_checklst+set}" = set; then
9103 enableval=$enable_checklst;
9104 if test "$enableval" = yes; then
9105 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9107 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9112 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9113 if test "x$LINE" != x ; then
9114 eval "DEFAULT_$LINE"
9119 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9124 eval "$ac_cv_use_checklst"
9125 if test "$no_cache" != 1; then
9126 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9129 if test "$wxUSE_CHECKLST" = yes; then
9130 { echo "$as_me:$LINENO: result: yes" >&5
9131 echo "${ECHO_T}yes" >&6; }
9133 { echo "$as_me:$LINENO: result: no" >&5
9134 echo "${ECHO_T}no" >&6; }
9139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9140 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9142 # Check whether --enable-choice was given.
9143 if test "${enable_choice+set}" = set; then
9144 enableval=$enable_choice;
9145 if test "$enableval" = yes; then
9146 ac_cv_use_choice='wxUSE_CHOICE=yes'
9148 ac_cv_use_choice='wxUSE_CHOICE=no'
9153 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9154 if test "x$LINE" != x ; then
9155 eval "DEFAULT_$LINE"
9160 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9165 eval "$ac_cv_use_choice"
9166 if test "$no_cache" != 1; then
9167 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9170 if test "$wxUSE_CHOICE" = yes; then
9171 { echo "$as_me:$LINENO: result: yes" >&5
9172 echo "${ECHO_T}yes" >&6; }
9174 { echo "$as_me:$LINENO: result: no" >&5
9175 echo "${ECHO_T}no" >&6; }
9180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9181 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9183 # Check whether --enable-choicebook was given.
9184 if test "${enable_choicebook+set}" = set; then
9185 enableval=$enable_choicebook;
9186 if test "$enableval" = yes; then
9187 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9189 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9194 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9195 if test "x$LINE" != x ; then
9196 eval "DEFAULT_$LINE"
9201 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9206 eval "$ac_cv_use_choicebook"
9207 if test "$no_cache" != 1; then
9208 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9211 if test "$wxUSE_CHOICEBOOK" = yes; then
9212 { echo "$as_me:$LINENO: result: yes" >&5
9213 echo "${ECHO_T}yes" >&6; }
9215 { echo "$as_me:$LINENO: result: no" >&5
9216 echo "${ECHO_T}no" >&6; }
9221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9222 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9224 # Check whether --enable-collpane was given.
9225 if test "${enable_collpane+set}" = set; then
9226 enableval=$enable_collpane;
9227 if test "$enableval" = yes; then
9228 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9230 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9235 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9236 if test "x$LINE" != x ; then
9237 eval "DEFAULT_$LINE"
9242 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9247 eval "$ac_cv_use_collpane"
9248 if test "$no_cache" != 1; then
9249 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9252 if test "$wxUSE_COLLPANE" = yes; then
9253 { echo "$as_me:$LINENO: result: yes" >&5
9254 echo "${ECHO_T}yes" >&6; }
9256 { echo "$as_me:$LINENO: result: no" >&5
9257 echo "${ECHO_T}no" >&6; }
9262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9263 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9265 # Check whether --enable-colourpicker was given.
9266 if test "${enable_colourpicker+set}" = set; then
9267 enableval=$enable_colourpicker;
9268 if test "$enableval" = yes; then
9269 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9271 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9276 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9277 if test "x$LINE" != x ; then
9278 eval "DEFAULT_$LINE"
9283 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9288 eval "$ac_cv_use_colourpicker"
9289 if test "$no_cache" != 1; then
9290 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9293 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9294 { echo "$as_me:$LINENO: result: yes" >&5
9295 echo "${ECHO_T}yes" >&6; }
9297 { echo "$as_me:$LINENO: result: no" >&5
9298 echo "${ECHO_T}no" >&6; }
9303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9304 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9306 # Check whether --enable-combobox was given.
9307 if test "${enable_combobox+set}" = set; then
9308 enableval=$enable_combobox;
9309 if test "$enableval" = yes; then
9310 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9312 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9317 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9318 if test "x$LINE" != x ; then
9319 eval "DEFAULT_$LINE"
9324 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9329 eval "$ac_cv_use_combobox"
9330 if test "$no_cache" != 1; then
9331 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9334 if test "$wxUSE_COMBOBOX" = yes; then
9335 { echo "$as_me:$LINENO: result: yes" >&5
9336 echo "${ECHO_T}yes" >&6; }
9338 { echo "$as_me:$LINENO: result: no" >&5
9339 echo "${ECHO_T}no" >&6; }
9344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9345 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9347 # Check whether --enable-comboctrl was given.
9348 if test "${enable_comboctrl+set}" = set; then
9349 enableval=$enable_comboctrl;
9350 if test "$enableval" = yes; then
9351 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9353 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9358 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9359 if test "x$LINE" != x ; then
9360 eval "DEFAULT_$LINE"
9365 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9370 eval "$ac_cv_use_comboctrl"
9371 if test "$no_cache" != 1; then
9372 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9375 if test "$wxUSE_COMBOCTRL" = yes; then
9376 { echo "$as_me:$LINENO: result: yes" >&5
9377 echo "${ECHO_T}yes" >&6; }
9379 { echo "$as_me:$LINENO: result: no" >&5
9380 echo "${ECHO_T}no" >&6; }
9385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9386 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9388 # Check whether --enable-datepick was given.
9389 if test "${enable_datepick+set}" = set; then
9390 enableval=$enable_datepick;
9391 if test "$enableval" = yes; then
9392 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9394 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9399 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9400 if test "x$LINE" != x ; then
9401 eval "DEFAULT_$LINE"
9406 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9411 eval "$ac_cv_use_datepick"
9412 if test "$no_cache" != 1; then
9413 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9416 if test "$wxUSE_DATEPICKCTRL" = yes; then
9417 { echo "$as_me:$LINENO: result: yes" >&5
9418 echo "${ECHO_T}yes" >&6; }
9420 { echo "$as_me:$LINENO: result: no" >&5
9421 echo "${ECHO_T}no" >&6; }
9426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9427 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9429 # Check whether --enable-dirpicker was given.
9430 if test "${enable_dirpicker+set}" = set; then
9431 enableval=$enable_dirpicker;
9432 if test "$enableval" = yes; then
9433 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9435 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9440 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9441 if test "x$LINE" != x ; then
9442 eval "DEFAULT_$LINE"
9447 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9452 eval "$ac_cv_use_dirpicker"
9453 if test "$no_cache" != 1; then
9454 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9457 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9458 { echo "$as_me:$LINENO: result: yes" >&5
9459 echo "${ECHO_T}yes" >&6; }
9461 { echo "$as_me:$LINENO: result: no" >&5
9462 echo "${ECHO_T}no" >&6; }
9467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9468 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9470 # Check whether --enable-display was given.
9471 if test "${enable_display+set}" = set; then
9472 enableval=$enable_display;
9473 if test "$enableval" = yes; then
9474 ac_cv_use_display='wxUSE_DISPLAY=yes'
9476 ac_cv_use_display='wxUSE_DISPLAY=no'
9481 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9482 if test "x$LINE" != x ; then
9483 eval "DEFAULT_$LINE"
9488 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9493 eval "$ac_cv_use_display"
9494 if test "$no_cache" != 1; then
9495 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9498 if test "$wxUSE_DISPLAY" = yes; then
9499 { echo "$as_me:$LINENO: result: yes" >&5
9500 echo "${ECHO_T}yes" >&6; }
9502 { echo "$as_me:$LINENO: result: no" >&5
9503 echo "${ECHO_T}no" >&6; }
9508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9509 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9511 # Check whether --enable-detect_sm was given.
9512 if test "${enable_detect_sm+set}" = set; then
9513 enableval=$enable_detect_sm;
9514 if test "$enableval" = yes; then
9515 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9517 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9522 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9523 if test "x$LINE" != x ; then
9524 eval "DEFAULT_$LINE"
9529 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9534 eval "$ac_cv_use_detect_sm"
9535 if test "$no_cache" != 1; then
9536 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9539 if test "$wxUSE_DETECT_SM" = yes; then
9540 { echo "$as_me:$LINENO: result: yes" >&5
9541 echo "${ECHO_T}yes" >&6; }
9543 { echo "$as_me:$LINENO: result: no" >&5
9544 echo "${ECHO_T}no" >&6; }
9549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9550 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9552 # Check whether --enable-filepicker was given.
9553 if test "${enable_filepicker+set}" = set; then
9554 enableval=$enable_filepicker;
9555 if test "$enableval" = yes; then
9556 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9558 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9563 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9564 if test "x$LINE" != x ; then
9565 eval "DEFAULT_$LINE"
9570 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9575 eval "$ac_cv_use_filepicker"
9576 if test "$no_cache" != 1; then
9577 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9580 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9581 { echo "$as_me:$LINENO: result: yes" >&5
9582 echo "${ECHO_T}yes" >&6; }
9584 { echo "$as_me:$LINENO: result: no" >&5
9585 echo "${ECHO_T}no" >&6; }
9590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9591 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9593 # Check whether --enable-fontpicker was given.
9594 if test "${enable_fontpicker+set}" = set; then
9595 enableval=$enable_fontpicker;
9596 if test "$enableval" = yes; then
9597 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9599 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9604 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9605 if test "x$LINE" != x ; then
9606 eval "DEFAULT_$LINE"
9611 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9616 eval "$ac_cv_use_fontpicker"
9617 if test "$no_cache" != 1; then
9618 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9621 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9622 { echo "$as_me:$LINENO: result: yes" >&5
9623 echo "${ECHO_T}yes" >&6; }
9625 { echo "$as_me:$LINENO: result: no" >&5
9626 echo "${ECHO_T}no" >&6; }
9631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9632 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9634 # Check whether --enable-gauge was given.
9635 if test "${enable_gauge+set}" = set; then
9636 enableval=$enable_gauge;
9637 if test "$enableval" = yes; then
9638 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9640 ac_cv_use_gauge='wxUSE_GAUGE=no'
9645 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9646 if test "x$LINE" != x ; then
9647 eval "DEFAULT_$LINE"
9652 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9657 eval "$ac_cv_use_gauge"
9658 if test "$no_cache" != 1; then
9659 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9662 if test "$wxUSE_GAUGE" = yes; then
9663 { echo "$as_me:$LINENO: result: yes" >&5
9664 echo "${ECHO_T}yes" >&6; }
9666 { echo "$as_me:$LINENO: result: no" >&5
9667 echo "${ECHO_T}no" >&6; }
9672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9673 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9675 # Check whether --enable-grid was given.
9676 if test "${enable_grid+set}" = set; then
9677 enableval=$enable_grid;
9678 if test "$enableval" = yes; then
9679 ac_cv_use_grid='wxUSE_GRID=yes'
9681 ac_cv_use_grid='wxUSE_GRID=no'
9686 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9687 if test "x$LINE" != x ; then
9688 eval "DEFAULT_$LINE"
9693 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9698 eval "$ac_cv_use_grid"
9699 if test "$no_cache" != 1; then
9700 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9703 if test "$wxUSE_GRID" = yes; then
9704 { echo "$as_me:$LINENO: result: yes" >&5
9705 echo "${ECHO_T}yes" >&6; }
9707 { echo "$as_me:$LINENO: result: no" >&5
9708 echo "${ECHO_T}no" >&6; }
9713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9714 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9716 # Check whether --enable-dataviewctrl was given.
9717 if test "${enable_dataviewctrl+set}" = set; then
9718 enableval=$enable_dataviewctrl;
9719 if test "$enableval" = yes; then
9720 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9722 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9727 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9728 if test "x$LINE" != x ; then
9729 eval "DEFAULT_$LINE"
9734 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9739 eval "$ac_cv_use_dataviewctrl"
9740 if test "$no_cache" != 1; then
9741 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9744 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9745 { echo "$as_me:$LINENO: result: yes" >&5
9746 echo "${ECHO_T}yes" >&6; }
9748 { echo "$as_me:$LINENO: result: no" >&5
9749 echo "${ECHO_T}no" >&6; }
9754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9755 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9757 # Check whether --enable-hyperlink was given.
9758 if test "${enable_hyperlink+set}" = set; then
9759 enableval=$enable_hyperlink;
9760 if test "$enableval" = yes; then
9761 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9763 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9768 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9769 if test "x$LINE" != x ; then
9770 eval "DEFAULT_$LINE"
9775 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9780 eval "$ac_cv_use_hyperlink"
9781 if test "$no_cache" != 1; then
9782 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9785 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9786 { echo "$as_me:$LINENO: result: yes" >&5
9787 echo "${ECHO_T}yes" >&6; }
9789 { echo "$as_me:$LINENO: result: no" >&5
9790 echo "${ECHO_T}no" >&6; }
9795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9796 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9798 # Check whether --enable-imaglist was given.
9799 if test "${enable_imaglist+set}" = set; then
9800 enableval=$enable_imaglist;
9801 if test "$enableval" = yes; then
9802 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9804 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9809 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9810 if test "x$LINE" != x ; then
9811 eval "DEFAULT_$LINE"
9816 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9821 eval "$ac_cv_use_imaglist"
9822 if test "$no_cache" != 1; then
9823 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9826 if test "$wxUSE_IMAGLIST" = yes; then
9827 { echo "$as_me:$LINENO: result: yes" >&5
9828 echo "${ECHO_T}yes" >&6; }
9830 { echo "$as_me:$LINENO: result: no" >&5
9831 echo "${ECHO_T}no" >&6; }
9836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9837 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9839 # Check whether --enable-listbook was given.
9840 if test "${enable_listbook+set}" = set; then
9841 enableval=$enable_listbook;
9842 if test "$enableval" = yes; then
9843 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9845 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9850 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9851 if test "x$LINE" != x ; then
9852 eval "DEFAULT_$LINE"
9857 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9862 eval "$ac_cv_use_listbook"
9863 if test "$no_cache" != 1; then
9864 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9867 if test "$wxUSE_LISTBOOK" = yes; then
9868 { echo "$as_me:$LINENO: result: yes" >&5
9869 echo "${ECHO_T}yes" >&6; }
9871 { echo "$as_me:$LINENO: result: no" >&5
9872 echo "${ECHO_T}no" >&6; }
9877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9878 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
9880 # Check whether --enable-listbox was given.
9881 if test "${enable_listbox+set}" = set; then
9882 enableval=$enable_listbox;
9883 if test "$enableval" = yes; then
9884 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9886 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9891 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9892 if test "x$LINE" != x ; then
9893 eval "DEFAULT_$LINE"
9898 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9903 eval "$ac_cv_use_listbox"
9904 if test "$no_cache" != 1; then
9905 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9908 if test "$wxUSE_LISTBOX" = yes; then
9909 { echo "$as_me:$LINENO: result: yes" >&5
9910 echo "${ECHO_T}yes" >&6; }
9912 { echo "$as_me:$LINENO: result: no" >&5
9913 echo "${ECHO_T}no" >&6; }
9918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9919 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
9921 # Check whether --enable-listctrl was given.
9922 if test "${enable_listctrl+set}" = set; then
9923 enableval=$enable_listctrl;
9924 if test "$enableval" = yes; then
9925 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9927 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9932 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9933 if test "x$LINE" != x ; then
9934 eval "DEFAULT_$LINE"
9939 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9944 eval "$ac_cv_use_listctrl"
9945 if test "$no_cache" != 1; then
9946 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9949 if test "$wxUSE_LISTCTRL" = yes; then
9950 { echo "$as_me:$LINENO: result: yes" >&5
9951 echo "${ECHO_T}yes" >&6; }
9953 { echo "$as_me:$LINENO: result: no" >&5
9954 echo "${ECHO_T}no" >&6; }
9959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9960 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
9962 # Check whether --enable-notebook was given.
9963 if test "${enable_notebook+set}" = set; then
9964 enableval=$enable_notebook;
9965 if test "$enableval" = yes; then
9966 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9968 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9973 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9974 if test "x$LINE" != x ; then
9975 eval "DEFAULT_$LINE"
9980 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9985 eval "$ac_cv_use_notebook"
9986 if test "$no_cache" != 1; then
9987 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9990 if test "$wxUSE_NOTEBOOK" = yes; then
9991 { echo "$as_me:$LINENO: result: yes" >&5
9992 echo "${ECHO_T}yes" >&6; }
9994 { echo "$as_me:$LINENO: result: no" >&5
9995 echo "${ECHO_T}no" >&6; }
10000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10001 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10003 # Check whether --enable-odcombobox was given.
10004 if test "${enable_odcombobox+set}" = set; then
10005 enableval=$enable_odcombobox;
10006 if test "$enableval" = yes; then
10007 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10009 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10014 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
10015 if test "x$LINE" != x ; then
10016 eval "DEFAULT_$LINE"
10021 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10026 eval "$ac_cv_use_odcombobox"
10027 if test "$no_cache" != 1; then
10028 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10031 if test "$wxUSE_ODCOMBOBOX" = yes; then
10032 { echo "$as_me:$LINENO: result: yes" >&5
10033 echo "${ECHO_T}yes" >&6; }
10035 { echo "$as_me:$LINENO: result: no" >&5
10036 echo "${ECHO_T}no" >&6; }
10041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10042 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10044 # Check whether --enable-radiobox was given.
10045 if test "${enable_radiobox+set}" = set; then
10046 enableval=$enable_radiobox;
10047 if test "$enableval" = yes; then
10048 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10050 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10055 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10056 if test "x$LINE" != x ; then
10057 eval "DEFAULT_$LINE"
10062 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10067 eval "$ac_cv_use_radiobox"
10068 if test "$no_cache" != 1; then
10069 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10072 if test "$wxUSE_RADIOBOX" = yes; then
10073 { echo "$as_me:$LINENO: result: yes" >&5
10074 echo "${ECHO_T}yes" >&6; }
10076 { echo "$as_me:$LINENO: result: no" >&5
10077 echo "${ECHO_T}no" >&6; }
10082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10083 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10085 # Check whether --enable-radiobtn was given.
10086 if test "${enable_radiobtn+set}" = set; then
10087 enableval=$enable_radiobtn;
10088 if test "$enableval" = yes; then
10089 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10091 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10096 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10097 if test "x$LINE" != x ; then
10098 eval "DEFAULT_$LINE"
10103 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10108 eval "$ac_cv_use_radiobtn"
10109 if test "$no_cache" != 1; then
10110 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10113 if test "$wxUSE_RADIOBTN" = yes; then
10114 { echo "$as_me:$LINENO: result: yes" >&5
10115 echo "${ECHO_T}yes" >&6; }
10117 { echo "$as_me:$LINENO: result: no" >&5
10118 echo "${ECHO_T}no" >&6; }
10123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10124 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10126 # Check whether --enable-sash was given.
10127 if test "${enable_sash+set}" = set; then
10128 enableval=$enable_sash;
10129 if test "$enableval" = yes; then
10130 ac_cv_use_sash='wxUSE_SASH=yes'
10132 ac_cv_use_sash='wxUSE_SASH=no'
10137 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10138 if test "x$LINE" != x ; then
10139 eval "DEFAULT_$LINE"
10144 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10149 eval "$ac_cv_use_sash"
10150 if test "$no_cache" != 1; then
10151 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10154 if test "$wxUSE_SASH" = yes; then
10155 { echo "$as_me:$LINENO: result: yes" >&5
10156 echo "${ECHO_T}yes" >&6; }
10158 { echo "$as_me:$LINENO: result: no" >&5
10159 echo "${ECHO_T}no" >&6; }
10164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10165 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10167 # Check whether --enable-scrollbar was given.
10168 if test "${enable_scrollbar+set}" = set; then
10169 enableval=$enable_scrollbar;
10170 if test "$enableval" = yes; then
10171 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10173 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10178 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10179 if test "x$LINE" != x ; then
10180 eval "DEFAULT_$LINE"
10185 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10190 eval "$ac_cv_use_scrollbar"
10191 if test "$no_cache" != 1; then
10192 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10195 if test "$wxUSE_SCROLLBAR" = yes; then
10196 { echo "$as_me:$LINENO: result: yes" >&5
10197 echo "${ECHO_T}yes" >&6; }
10199 { echo "$as_me:$LINENO: result: no" >&5
10200 echo "${ECHO_T}no" >&6; }
10205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10206 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10208 # Check whether --enable-searchctrl was given.
10209 if test "${enable_searchctrl+set}" = set; then
10210 enableval=$enable_searchctrl;
10211 if test "$enableval" = yes; then
10212 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10214 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10219 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10220 if test "x$LINE" != x ; then
10221 eval "DEFAULT_$LINE"
10226 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10231 eval "$ac_cv_use_searchctrl"
10232 if test "$no_cache" != 1; then
10233 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10236 if test "$wxUSE_SEARCHCTRL" = yes; then
10237 { echo "$as_me:$LINENO: result: yes" >&5
10238 echo "${ECHO_T}yes" >&6; }
10240 { echo "$as_me:$LINENO: result: no" >&5
10241 echo "${ECHO_T}no" >&6; }
10246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10247 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10249 # Check whether --enable-slider was given.
10250 if test "${enable_slider+set}" = set; then
10251 enableval=$enable_slider;
10252 if test "$enableval" = yes; then
10253 ac_cv_use_slider='wxUSE_SLIDER=yes'
10255 ac_cv_use_slider='wxUSE_SLIDER=no'
10260 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10261 if test "x$LINE" != x ; then
10262 eval "DEFAULT_$LINE"
10267 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10272 eval "$ac_cv_use_slider"
10273 if test "$no_cache" != 1; then
10274 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10277 if test "$wxUSE_SLIDER" = yes; then
10278 { echo "$as_me:$LINENO: result: yes" >&5
10279 echo "${ECHO_T}yes" >&6; }
10281 { echo "$as_me:$LINENO: result: no" >&5
10282 echo "${ECHO_T}no" >&6; }
10287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10288 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10290 # Check whether --enable-spinbtn was given.
10291 if test "${enable_spinbtn+set}" = set; then
10292 enableval=$enable_spinbtn;
10293 if test "$enableval" = yes; then
10294 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10296 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10301 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10302 if test "x$LINE" != x ; then
10303 eval "DEFAULT_$LINE"
10308 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10313 eval "$ac_cv_use_spinbtn"
10314 if test "$no_cache" != 1; then
10315 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10318 if test "$wxUSE_SPINBTN" = yes; then
10319 { echo "$as_me:$LINENO: result: yes" >&5
10320 echo "${ECHO_T}yes" >&6; }
10322 { echo "$as_me:$LINENO: result: no" >&5
10323 echo "${ECHO_T}no" >&6; }
10328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10329 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10331 # Check whether --enable-spinctrl was given.
10332 if test "${enable_spinctrl+set}" = set; then
10333 enableval=$enable_spinctrl;
10334 if test "$enableval" = yes; then
10335 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10337 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10342 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10343 if test "x$LINE" != x ; then
10344 eval "DEFAULT_$LINE"
10349 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10354 eval "$ac_cv_use_spinctrl"
10355 if test "$no_cache" != 1; then
10356 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10359 if test "$wxUSE_SPINCTRL" = yes; then
10360 { echo "$as_me:$LINENO: result: yes" >&5
10361 echo "${ECHO_T}yes" >&6; }
10363 { echo "$as_me:$LINENO: result: no" >&5
10364 echo "${ECHO_T}no" >&6; }
10369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10370 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10372 # Check whether --enable-splitter was given.
10373 if test "${enable_splitter+set}" = set; then
10374 enableval=$enable_splitter;
10375 if test "$enableval" = yes; then
10376 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10378 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10383 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10384 if test "x$LINE" != x ; then
10385 eval "DEFAULT_$LINE"
10390 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10395 eval "$ac_cv_use_splitter"
10396 if test "$no_cache" != 1; then
10397 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10400 if test "$wxUSE_SPLITTER" = yes; then
10401 { echo "$as_me:$LINENO: result: yes" >&5
10402 echo "${ECHO_T}yes" >&6; }
10404 { echo "$as_me:$LINENO: result: no" >&5
10405 echo "${ECHO_T}no" >&6; }
10410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10411 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10413 # Check whether --enable-statbmp was given.
10414 if test "${enable_statbmp+set}" = set; then
10415 enableval=$enable_statbmp;
10416 if test "$enableval" = yes; then
10417 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10419 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10424 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10425 if test "x$LINE" != x ; then
10426 eval "DEFAULT_$LINE"
10431 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10436 eval "$ac_cv_use_statbmp"
10437 if test "$no_cache" != 1; then
10438 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10441 if test "$wxUSE_STATBMP" = yes; then
10442 { echo "$as_me:$LINENO: result: yes" >&5
10443 echo "${ECHO_T}yes" >&6; }
10445 { echo "$as_me:$LINENO: result: no" >&5
10446 echo "${ECHO_T}no" >&6; }
10451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10452 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10454 # Check whether --enable-statbox was given.
10455 if test "${enable_statbox+set}" = set; then
10456 enableval=$enable_statbox;
10457 if test "$enableval" = yes; then
10458 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10460 ac_cv_use_statbox='wxUSE_STATBOX=no'
10465 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10466 if test "x$LINE" != x ; then
10467 eval "DEFAULT_$LINE"
10472 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10477 eval "$ac_cv_use_statbox"
10478 if test "$no_cache" != 1; then
10479 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10482 if test "$wxUSE_STATBOX" = yes; then
10483 { echo "$as_me:$LINENO: result: yes" >&5
10484 echo "${ECHO_T}yes" >&6; }
10486 { echo "$as_me:$LINENO: result: no" >&5
10487 echo "${ECHO_T}no" >&6; }
10492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10493 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10495 # Check whether --enable-statline was given.
10496 if test "${enable_statline+set}" = set; then
10497 enableval=$enable_statline;
10498 if test "$enableval" = yes; then
10499 ac_cv_use_statline='wxUSE_STATLINE=yes'
10501 ac_cv_use_statline='wxUSE_STATLINE=no'
10506 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10507 if test "x$LINE" != x ; then
10508 eval "DEFAULT_$LINE"
10513 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10518 eval "$ac_cv_use_statline"
10519 if test "$no_cache" != 1; then
10520 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10523 if test "$wxUSE_STATLINE" = yes; then
10524 { echo "$as_me:$LINENO: result: yes" >&5
10525 echo "${ECHO_T}yes" >&6; }
10527 { echo "$as_me:$LINENO: result: no" >&5
10528 echo "${ECHO_T}no" >&6; }
10533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10534 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10536 # Check whether --enable-stattext was given.
10537 if test "${enable_stattext+set}" = set; then
10538 enableval=$enable_stattext;
10539 if test "$enableval" = yes; then
10540 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10542 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10547 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10548 if test "x$LINE" != x ; then
10549 eval "DEFAULT_$LINE"
10554 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10559 eval "$ac_cv_use_stattext"
10560 if test "$no_cache" != 1; then
10561 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10564 if test "$wxUSE_STATTEXT" = yes; then
10565 { echo "$as_me:$LINENO: result: yes" >&5
10566 echo "${ECHO_T}yes" >&6; }
10568 { echo "$as_me:$LINENO: result: no" >&5
10569 echo "${ECHO_T}no" >&6; }
10574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10575 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10577 # Check whether --enable-statusbar was given.
10578 if test "${enable_statusbar+set}" = set; then
10579 enableval=$enable_statusbar;
10580 if test "$enableval" = yes; then
10581 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10583 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10588 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10589 if test "x$LINE" != x ; then
10590 eval "DEFAULT_$LINE"
10595 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10600 eval "$ac_cv_use_statusbar"
10601 if test "$no_cache" != 1; then
10602 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10605 if test "$wxUSE_STATUSBAR" = yes; then
10606 { echo "$as_me:$LINENO: result: yes" >&5
10607 echo "${ECHO_T}yes" >&6; }
10609 { echo "$as_me:$LINENO: result: no" >&5
10610 echo "${ECHO_T}no" >&6; }
10615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10616 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10618 # Check whether --enable-tabdialog was given.
10619 if test "${enable_tabdialog+set}" = set; then
10620 enableval=$enable_tabdialog;
10621 if test "$enableval" = yes; then
10622 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10624 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10629 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10630 if test "x$LINE" != x ; then
10631 eval "DEFAULT_$LINE"
10636 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10641 eval "$ac_cv_use_tabdialog"
10642 if test "$no_cache" != 1; then
10643 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10646 if test "$wxUSE_TAB_DIALOG" = yes; then
10647 { echo "$as_me:$LINENO: result: yes" >&5
10648 echo "${ECHO_T}yes" >&6; }
10650 { echo "$as_me:$LINENO: result: no" >&5
10651 echo "${ECHO_T}no" >&6; }
10656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10657 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10659 # Check whether --enable-textctrl was given.
10660 if test "${enable_textctrl+set}" = set; then
10661 enableval=$enable_textctrl;
10662 if test "$enableval" = yes; then
10663 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10665 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10670 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10671 if test "x$LINE" != x ; then
10672 eval "DEFAULT_$LINE"
10677 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10682 eval "$ac_cv_use_textctrl"
10683 if test "$no_cache" != 1; then
10684 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10687 if test "$wxUSE_TEXTCTRL" = yes; then
10688 { echo "$as_me:$LINENO: result: yes" >&5
10689 echo "${ECHO_T}yes" >&6; }
10691 { echo "$as_me:$LINENO: result: no" >&5
10692 echo "${ECHO_T}no" >&6; }
10697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10698 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10700 # Check whether --enable-togglebtn was given.
10701 if test "${enable_togglebtn+set}" = set; then
10702 enableval=$enable_togglebtn;
10703 if test "$enableval" = yes; then
10704 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10706 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10711 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10712 if test "x$LINE" != x ; then
10713 eval "DEFAULT_$LINE"
10718 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10723 eval "$ac_cv_use_togglebtn"
10724 if test "$no_cache" != 1; then
10725 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10728 if test "$wxUSE_TOGGLEBTN" = yes; then
10729 { echo "$as_me:$LINENO: result: yes" >&5
10730 echo "${ECHO_T}yes" >&6; }
10732 { echo "$as_me:$LINENO: result: no" >&5
10733 echo "${ECHO_T}no" >&6; }
10738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10739 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10741 # Check whether --enable-toolbar was given.
10742 if test "${enable_toolbar+set}" = set; then
10743 enableval=$enable_toolbar;
10744 if test "$enableval" = yes; then
10745 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10747 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10752 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10753 if test "x$LINE" != x ; then
10754 eval "DEFAULT_$LINE"
10759 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10764 eval "$ac_cv_use_toolbar"
10765 if test "$no_cache" != 1; then
10766 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10769 if test "$wxUSE_TOOLBAR" = yes; then
10770 { echo "$as_me:$LINENO: result: yes" >&5
10771 echo "${ECHO_T}yes" >&6; }
10773 { echo "$as_me:$LINENO: result: no" >&5
10774 echo "${ECHO_T}no" >&6; }
10779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10780 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10782 # Check whether --enable-tbarnative was given.
10783 if test "${enable_tbarnative+set}" = set; then
10784 enableval=$enable_tbarnative;
10785 if test "$enableval" = yes; then
10786 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10788 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10793 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10794 if test "x$LINE" != x ; then
10795 eval "DEFAULT_$LINE"
10800 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10805 eval "$ac_cv_use_tbarnative"
10806 if test "$no_cache" != 1; then
10807 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10810 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10811 { echo "$as_me:$LINENO: result: yes" >&5
10812 echo "${ECHO_T}yes" >&6; }
10814 { echo "$as_me:$LINENO: result: no" >&5
10815 echo "${ECHO_T}no" >&6; }
10820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10821 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10823 # Check whether --enable-treebook was given.
10824 if test "${enable_treebook+set}" = set; then
10825 enableval=$enable_treebook;
10826 if test "$enableval" = yes; then
10827 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10829 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10834 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10835 if test "x$LINE" != x ; then
10836 eval "DEFAULT_$LINE"
10841 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10846 eval "$ac_cv_use_treebook"
10847 if test "$no_cache" != 1; then
10848 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10851 if test "$wxUSE_TREEBOOK" = yes; then
10852 { echo "$as_me:$LINENO: result: yes" >&5
10853 echo "${ECHO_T}yes" >&6; }
10855 { echo "$as_me:$LINENO: result: no" >&5
10856 echo "${ECHO_T}no" >&6; }
10861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10862 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
10864 # Check whether --enable-toolbook was given.
10865 if test "${enable_toolbook+set}" = set; then
10866 enableval=$enable_toolbook;
10867 if test "$enableval" = yes; then
10868 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10870 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10875 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10876 if test "x$LINE" != x ; then
10877 eval "DEFAULT_$LINE"
10882 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10887 eval "$ac_cv_use_toolbook"
10888 if test "$no_cache" != 1; then
10889 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10892 if test "$wxUSE_TOOLBOOK" = yes; then
10893 { echo "$as_me:$LINENO: result: yes" >&5
10894 echo "${ECHO_T}yes" >&6; }
10896 { echo "$as_me:$LINENO: result: no" >&5
10897 echo "${ECHO_T}no" >&6; }
10902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10903 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
10905 # Check whether --enable-treectrl was given.
10906 if test "${enable_treectrl+set}" = set; then
10907 enableval=$enable_treectrl;
10908 if test "$enableval" = yes; then
10909 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10911 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10916 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10917 if test "x$LINE" != x ; then
10918 eval "DEFAULT_$LINE"
10923 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10928 eval "$ac_cv_use_treectrl"
10929 if test "$no_cache" != 1; then
10930 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10933 if test "$wxUSE_TREECTRL" = yes; then
10934 { echo "$as_me:$LINENO: result: yes" >&5
10935 echo "${ECHO_T}yes" >&6; }
10937 { echo "$as_me:$LINENO: result: no" >&5
10938 echo "${ECHO_T}no" >&6; }
10943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10944 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
10946 # Check whether --enable-tipwindow was given.
10947 if test "${enable_tipwindow+set}" = set; then
10948 enableval=$enable_tipwindow;
10949 if test "$enableval" = yes; then
10950 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10952 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10957 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10958 if test "x$LINE" != x ; then
10959 eval "DEFAULT_$LINE"
10964 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10969 eval "$ac_cv_use_tipwindow"
10970 if test "$no_cache" != 1; then
10971 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10974 if test "$wxUSE_TIPWINDOW" = yes; then
10975 { echo "$as_me:$LINENO: result: yes" >&5
10976 echo "${ECHO_T}yes" >&6; }
10978 { echo "$as_me:$LINENO: result: no" >&5
10979 echo "${ECHO_T}no" >&6; }
10984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10985 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
10987 # Check whether --enable-popupwin was given.
10988 if test "${enable_popupwin+set}" = set; then
10989 enableval=$enable_popupwin;
10990 if test "$enableval" = yes; then
10991 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10993 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10998 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10999 if test "x$LINE" != x ; then
11000 eval "DEFAULT_$LINE"
11005 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
11010 eval "$ac_cv_use_popupwin"
11011 if test "$no_cache" != 1; then
11012 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
11015 if test "$wxUSE_POPUPWIN" = yes; then
11016 { echo "$as_me:$LINENO: result: yes" >&5
11017 echo "${ECHO_T}yes" >&6; }
11019 { echo "$as_me:$LINENO: result: no" >&5
11020 echo "${ECHO_T}no" >&6; }
11027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11028 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11030 # Check whether --enable-commondlg was given.
11031 if test "${enable_commondlg+set}" = set; then
11032 enableval=$enable_commondlg;
11033 if test "$enableval" = yes; then
11034 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11036 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11041 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11042 if test "x$LINE" != x ; then
11043 eval "DEFAULT_$LINE"
11048 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11053 eval "$ac_cv_use_commondlg"
11054 if test "$no_cache" != 1; then
11055 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11058 if test "$wxUSE_COMMONDLGS" = yes; then
11059 { echo "$as_me:$LINENO: result: yes" >&5
11060 echo "${ECHO_T}yes" >&6; }
11062 { echo "$as_me:$LINENO: result: no" >&5
11063 echo "${ECHO_T}no" >&6; }
11068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11069 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11071 # Check whether --enable-aboutdlg was given.
11072 if test "${enable_aboutdlg+set}" = set; then
11073 enableval=$enable_aboutdlg;
11074 if test "$enableval" = yes; then
11075 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11077 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11082 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11083 if test "x$LINE" != x ; then
11084 eval "DEFAULT_$LINE"
11089 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11094 eval "$ac_cv_use_aboutdlg"
11095 if test "$no_cache" != 1; then
11096 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11099 if test "$wxUSE_ABOUTDLG" = yes; then
11100 { echo "$as_me:$LINENO: result: yes" >&5
11101 echo "${ECHO_T}yes" >&6; }
11103 { echo "$as_me:$LINENO: result: no" >&5
11104 echo "${ECHO_T}no" >&6; }
11109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11110 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11112 # Check whether --enable-choicedlg was given.
11113 if test "${enable_choicedlg+set}" = set; then
11114 enableval=$enable_choicedlg;
11115 if test "$enableval" = yes; then
11116 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11118 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11123 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11124 if test "x$LINE" != x ; then
11125 eval "DEFAULT_$LINE"
11130 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11135 eval "$ac_cv_use_choicedlg"
11136 if test "$no_cache" != 1; then
11137 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11140 if test "$wxUSE_CHOICEDLG" = yes; then
11141 { echo "$as_me:$LINENO: result: yes" >&5
11142 echo "${ECHO_T}yes" >&6; }
11144 { echo "$as_me:$LINENO: result: no" >&5
11145 echo "${ECHO_T}no" >&6; }
11150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11151 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11153 # Check whether --enable-coldlg was given.
11154 if test "${enable_coldlg+set}" = set; then
11155 enableval=$enable_coldlg;
11156 if test "$enableval" = yes; then
11157 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11159 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11164 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11165 if test "x$LINE" != x ; then
11166 eval "DEFAULT_$LINE"
11171 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11176 eval "$ac_cv_use_coldlg"
11177 if test "$no_cache" != 1; then
11178 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11181 if test "$wxUSE_COLOURDLG" = yes; then
11182 { echo "$as_me:$LINENO: result: yes" >&5
11183 echo "${ECHO_T}yes" >&6; }
11185 { echo "$as_me:$LINENO: result: no" >&5
11186 echo "${ECHO_T}no" >&6; }
11191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11192 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11194 # Check whether --enable-filedlg was given.
11195 if test "${enable_filedlg+set}" = set; then
11196 enableval=$enable_filedlg;
11197 if test "$enableval" = yes; then
11198 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11200 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11205 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11206 if test "x$LINE" != x ; then
11207 eval "DEFAULT_$LINE"
11212 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11217 eval "$ac_cv_use_filedlg"
11218 if test "$no_cache" != 1; then
11219 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11222 if test "$wxUSE_FILEDLG" = yes; then
11223 { echo "$as_me:$LINENO: result: yes" >&5
11224 echo "${ECHO_T}yes" >&6; }
11226 { echo "$as_me:$LINENO: result: no" >&5
11227 echo "${ECHO_T}no" >&6; }
11232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11233 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11235 # Check whether --enable-finddlg was given.
11236 if test "${enable_finddlg+set}" = set; then
11237 enableval=$enable_finddlg;
11238 if test "$enableval" = yes; then
11239 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11241 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11246 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11247 if test "x$LINE" != x ; then
11248 eval "DEFAULT_$LINE"
11253 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11258 eval "$ac_cv_use_finddlg"
11259 if test "$no_cache" != 1; then
11260 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11263 if test "$wxUSE_FINDREPLDLG" = yes; then
11264 { echo "$as_me:$LINENO: result: yes" >&5
11265 echo "${ECHO_T}yes" >&6; }
11267 { echo "$as_me:$LINENO: result: no" >&5
11268 echo "${ECHO_T}no" >&6; }
11273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11274 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11276 # Check whether --enable-fontdlg was given.
11277 if test "${enable_fontdlg+set}" = set; then
11278 enableval=$enable_fontdlg;
11279 if test "$enableval" = yes; then
11280 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11282 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11287 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11288 if test "x$LINE" != x ; then
11289 eval "DEFAULT_$LINE"
11294 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11299 eval "$ac_cv_use_fontdlg"
11300 if test "$no_cache" != 1; then
11301 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11304 if test "$wxUSE_FONTDLG" = yes; then
11305 { echo "$as_me:$LINENO: result: yes" >&5
11306 echo "${ECHO_T}yes" >&6; }
11308 { echo "$as_me:$LINENO: result: no" >&5
11309 echo "${ECHO_T}no" >&6; }
11314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11315 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11317 # Check whether --enable-dirdlg was given.
11318 if test "${enable_dirdlg+set}" = set; then
11319 enableval=$enable_dirdlg;
11320 if test "$enableval" = yes; then
11321 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11323 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11328 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11329 if test "x$LINE" != x ; then
11330 eval "DEFAULT_$LINE"
11335 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11340 eval "$ac_cv_use_dirdlg"
11341 if test "$no_cache" != 1; then
11342 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11345 if test "$wxUSE_DIRDLG" = yes; then
11346 { echo "$as_me:$LINENO: result: yes" >&5
11347 echo "${ECHO_T}yes" >&6; }
11349 { echo "$as_me:$LINENO: result: no" >&5
11350 echo "${ECHO_T}no" >&6; }
11355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11356 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11358 # Check whether --enable-msgdlg was given.
11359 if test "${enable_msgdlg+set}" = set; then
11360 enableval=$enable_msgdlg;
11361 if test "$enableval" = yes; then
11362 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11364 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11369 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11370 if test "x$LINE" != x ; then
11371 eval "DEFAULT_$LINE"
11376 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11381 eval "$ac_cv_use_msgdlg"
11382 if test "$no_cache" != 1; then
11383 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11386 if test "$wxUSE_MSGDLG" = yes; then
11387 { echo "$as_me:$LINENO: result: yes" >&5
11388 echo "${ECHO_T}yes" >&6; }
11390 { echo "$as_me:$LINENO: result: no" >&5
11391 echo "${ECHO_T}no" >&6; }
11396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11397 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11399 # Check whether --enable-numberdlg was given.
11400 if test "${enable_numberdlg+set}" = set; then
11401 enableval=$enable_numberdlg;
11402 if test "$enableval" = yes; then
11403 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11405 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11410 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11411 if test "x$LINE" != x ; then
11412 eval "DEFAULT_$LINE"
11417 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11422 eval "$ac_cv_use_numberdlg"
11423 if test "$no_cache" != 1; then
11424 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11427 if test "$wxUSE_NUMBERDLG" = yes; then
11428 { echo "$as_me:$LINENO: result: yes" >&5
11429 echo "${ECHO_T}yes" >&6; }
11431 { echo "$as_me:$LINENO: result: no" >&5
11432 echo "${ECHO_T}no" >&6; }
11437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11438 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11440 # Check whether --enable-splash was given.
11441 if test "${enable_splash+set}" = set; then
11442 enableval=$enable_splash;
11443 if test "$enableval" = yes; then
11444 ac_cv_use_splash='wxUSE_SPLASH=yes'
11446 ac_cv_use_splash='wxUSE_SPLASH=no'
11451 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11452 if test "x$LINE" != x ; then
11453 eval "DEFAULT_$LINE"
11458 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11463 eval "$ac_cv_use_splash"
11464 if test "$no_cache" != 1; then
11465 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11468 if test "$wxUSE_SPLASH" = yes; then
11469 { echo "$as_me:$LINENO: result: yes" >&5
11470 echo "${ECHO_T}yes" >&6; }
11472 { echo "$as_me:$LINENO: result: no" >&5
11473 echo "${ECHO_T}no" >&6; }
11478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11479 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11481 # Check whether --enable-textdlg was given.
11482 if test "${enable_textdlg+set}" = set; then
11483 enableval=$enable_textdlg;
11484 if test "$enableval" = yes; then
11485 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11487 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11492 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11493 if test "x$LINE" != x ; then
11494 eval "DEFAULT_$LINE"
11499 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11504 eval "$ac_cv_use_textdlg"
11505 if test "$no_cache" != 1; then
11506 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11509 if test "$wxUSE_TEXTDLG" = yes; then
11510 { echo "$as_me:$LINENO: result: yes" >&5
11511 echo "${ECHO_T}yes" >&6; }
11513 { echo "$as_me:$LINENO: result: no" >&5
11514 echo "${ECHO_T}no" >&6; }
11519 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11520 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11522 # Check whether --enable-tipdlg was given.
11523 if test "${enable_tipdlg+set}" = set; then
11524 enableval=$enable_tipdlg;
11525 if test "$enableval" = yes; then
11526 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11528 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11533 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11534 if test "x$LINE" != x ; then
11535 eval "DEFAULT_$LINE"
11540 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11545 eval "$ac_cv_use_tipdlg"
11546 if test "$no_cache" != 1; then
11547 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11550 if test "$wxUSE_STARTUP_TIPS" = yes; then
11551 { echo "$as_me:$LINENO: result: yes" >&5
11552 echo "${ECHO_T}yes" >&6; }
11554 { echo "$as_me:$LINENO: result: no" >&5
11555 echo "${ECHO_T}no" >&6; }
11560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11561 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11563 # Check whether --enable-progressdlg was given.
11564 if test "${enable_progressdlg+set}" = set; then
11565 enableval=$enable_progressdlg;
11566 if test "$enableval" = yes; then
11567 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11569 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11574 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11575 if test "x$LINE" != x ; then
11576 eval "DEFAULT_$LINE"
11581 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11586 eval "$ac_cv_use_progressdlg"
11587 if test "$no_cache" != 1; then
11588 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11591 if test "$wxUSE_PROGRESSDLG" = yes; then
11592 { echo "$as_me:$LINENO: result: yes" >&5
11593 echo "${ECHO_T}yes" >&6; }
11595 { echo "$as_me:$LINENO: result: no" >&5
11596 echo "${ECHO_T}no" >&6; }
11601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11602 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11604 # Check whether --enable-wizarddlg was given.
11605 if test "${enable_wizarddlg+set}" = set; then
11606 enableval=$enable_wizarddlg;
11607 if test "$enableval" = yes; then
11608 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11610 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11615 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11616 if test "x$LINE" != x ; then
11617 eval "DEFAULT_$LINE"
11622 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11627 eval "$ac_cv_use_wizarddlg"
11628 if test "$no_cache" != 1; then
11629 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11632 if test "$wxUSE_WIZARDDLG" = yes; then
11633 { echo "$as_me:$LINENO: result: yes" >&5
11634 echo "${ECHO_T}yes" >&6; }
11636 { echo "$as_me:$LINENO: result: no" >&5
11637 echo "${ECHO_T}no" >&6; }
11644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11645 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11647 # Check whether --enable-menus was given.
11648 if test "${enable_menus+set}" = set; then
11649 enableval=$enable_menus;
11650 if test "$enableval" = yes; then
11651 ac_cv_use_menus='wxUSE_MENUS=yes'
11653 ac_cv_use_menus='wxUSE_MENUS=no'
11658 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11659 if test "x$LINE" != x ; then
11660 eval "DEFAULT_$LINE"
11665 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11670 eval "$ac_cv_use_menus"
11671 if test "$no_cache" != 1; then
11672 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11675 if test "$wxUSE_MENUS" = yes; then
11676 { echo "$as_me:$LINENO: result: yes" >&5
11677 echo "${ECHO_T}yes" >&6; }
11679 { echo "$as_me:$LINENO: result: no" >&5
11680 echo "${ECHO_T}no" >&6; }
11685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11686 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11688 # Check whether --enable-miniframe was given.
11689 if test "${enable_miniframe+set}" = set; then
11690 enableval=$enable_miniframe;
11691 if test "$enableval" = yes; then
11692 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11694 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11699 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11700 if test "x$LINE" != x ; then
11701 eval "DEFAULT_$LINE"
11706 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11711 eval "$ac_cv_use_miniframe"
11712 if test "$no_cache" != 1; then
11713 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11716 if test "$wxUSE_MINIFRAME" = yes; then
11717 { echo "$as_me:$LINENO: result: yes" >&5
11718 echo "${ECHO_T}yes" >&6; }
11720 { echo "$as_me:$LINENO: result: no" >&5
11721 echo "${ECHO_T}no" >&6; }
11726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11727 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11729 # Check whether --enable-tooltips was given.
11730 if test "${enable_tooltips+set}" = set; then
11731 enableval=$enable_tooltips;
11732 if test "$enableval" = yes; then
11733 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11735 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11740 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11741 if test "x$LINE" != x ; then
11742 eval "DEFAULT_$LINE"
11747 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11752 eval "$ac_cv_use_tooltips"
11753 if test "$no_cache" != 1; then
11754 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11757 if test "$wxUSE_TOOLTIPS" = yes; then
11758 { echo "$as_me:$LINENO: result: yes" >&5
11759 echo "${ECHO_T}yes" >&6; }
11761 { echo "$as_me:$LINENO: result: no" >&5
11762 echo "${ECHO_T}no" >&6; }
11767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11768 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11770 # Check whether --enable-splines was given.
11771 if test "${enable_splines+set}" = set; then
11772 enableval=$enable_splines;
11773 if test "$enableval" = yes; then
11774 ac_cv_use_splines='wxUSE_SPLINES=yes'
11776 ac_cv_use_splines='wxUSE_SPLINES=no'
11781 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11782 if test "x$LINE" != x ; then
11783 eval "DEFAULT_$LINE"
11788 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11793 eval "$ac_cv_use_splines"
11794 if test "$no_cache" != 1; then
11795 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11798 if test "$wxUSE_SPLINES" = yes; then
11799 { echo "$as_me:$LINENO: result: yes" >&5
11800 echo "${ECHO_T}yes" >&6; }
11802 { echo "$as_me:$LINENO: result: no" >&5
11803 echo "${ECHO_T}no" >&6; }
11808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11809 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11811 # Check whether --enable-mousewheel was given.
11812 if test "${enable_mousewheel+set}" = set; then
11813 enableval=$enable_mousewheel;
11814 if test "$enableval" = yes; then
11815 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11817 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11822 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11823 if test "x$LINE" != x ; then
11824 eval "DEFAULT_$LINE"
11829 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11834 eval "$ac_cv_use_mousewheel"
11835 if test "$no_cache" != 1; then
11836 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11839 if test "$wxUSE_MOUSEWHEEL" = yes; then
11840 { echo "$as_me:$LINENO: result: yes" >&5
11841 echo "${ECHO_T}yes" >&6; }
11843 { echo "$as_me:$LINENO: result: no" >&5
11844 echo "${ECHO_T}no" >&6; }
11849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11850 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
11852 # Check whether --enable-validators was given.
11853 if test "${enable_validators+set}" = set; then
11854 enableval=$enable_validators;
11855 if test "$enableval" = yes; then
11856 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11858 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11863 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11864 if test "x$LINE" != x ; then
11865 eval "DEFAULT_$LINE"
11870 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11875 eval "$ac_cv_use_validators"
11876 if test "$no_cache" != 1; then
11877 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11880 if test "$wxUSE_VALIDATORS" = yes; then
11881 { echo "$as_me:$LINENO: result: yes" >&5
11882 echo "${ECHO_T}yes" >&6; }
11884 { echo "$as_me:$LINENO: result: no" >&5
11885 echo "${ECHO_T}no" >&6; }
11890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11891 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
11893 # Check whether --enable-busyinfo was given.
11894 if test "${enable_busyinfo+set}" = set; then
11895 enableval=$enable_busyinfo;
11896 if test "$enableval" = yes; then
11897 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11899 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11904 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11905 if test "x$LINE" != x ; then
11906 eval "DEFAULT_$LINE"
11911 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11916 eval "$ac_cv_use_busyinfo"
11917 if test "$no_cache" != 1; then
11918 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11921 if test "$wxUSE_BUSYINFO" = yes; then
11922 { echo "$as_me:$LINENO: result: yes" >&5
11923 echo "${ECHO_T}yes" >&6; }
11925 { echo "$as_me:$LINENO: result: no" >&5
11926 echo "${ECHO_T}no" >&6; }
11931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11932 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
11934 # Check whether --enable-joystick was given.
11935 if test "${enable_joystick+set}" = set; then
11936 enableval=$enable_joystick;
11937 if test "$enableval" = yes; then
11938 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11940 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11945 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11946 if test "x$LINE" != x ; then
11947 eval "DEFAULT_$LINE"
11952 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11957 eval "$ac_cv_use_joystick"
11958 if test "$no_cache" != 1; then
11959 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11962 if test "$wxUSE_JOYSTICK" = yes; then
11963 { echo "$as_me:$LINENO: result: yes" >&5
11964 echo "${ECHO_T}yes" >&6; }
11966 { echo "$as_me:$LINENO: result: no" >&5
11967 echo "${ECHO_T}no" >&6; }
11972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11973 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
11975 # Check whether --enable-metafile was given.
11976 if test "${enable_metafile+set}" = set; then
11977 enableval=$enable_metafile;
11978 if test "$enableval" = yes; then
11979 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11981 ac_cv_use_metafile='wxUSE_METAFILE=no'
11986 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11987 if test "x$LINE" != x ; then
11988 eval "DEFAULT_$LINE"
11993 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11998 eval "$ac_cv_use_metafile"
11999 if test "$no_cache" != 1; then
12000 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
12003 if test "$wxUSE_METAFILE" = yes; then
12004 { echo "$as_me:$LINENO: result: yes" >&5
12005 echo "${ECHO_T}yes" >&6; }
12007 { echo "$as_me:$LINENO: result: no" >&5
12008 echo "${ECHO_T}no" >&6; }
12013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12014 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12016 # Check whether --enable-dragimage was given.
12017 if test "${enable_dragimage+set}" = set; then
12018 enableval=$enable_dragimage;
12019 if test "$enableval" = yes; then
12020 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12022 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12027 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
12028 if test "x$LINE" != x ; then
12029 eval "DEFAULT_$LINE"
12034 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12039 eval "$ac_cv_use_dragimage"
12040 if test "$no_cache" != 1; then
12041 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12044 if test "$wxUSE_DRAGIMAGE" = yes; then
12045 { echo "$as_me:$LINENO: result: yes" >&5
12046 echo "${ECHO_T}yes" >&6; }
12048 { echo "$as_me:$LINENO: result: no" >&5
12049 echo "${ECHO_T}no" >&6; }
12054 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12055 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12057 # Check whether --enable-accessibility was given.
12058 if test "${enable_accessibility+set}" = set; then
12059 enableval=$enable_accessibility;
12060 if test "$enableval" = yes; then
12061 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12063 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12068 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12069 if test "x$LINE" != x ; then
12070 eval "DEFAULT_$LINE"
12075 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12080 eval "$ac_cv_use_accessibility"
12081 if test "$no_cache" != 1; then
12082 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12085 if test "$wxUSE_ACCESSIBILITY" = yes; then
12086 { echo "$as_me:$LINENO: result: yes" >&5
12087 echo "${ECHO_T}yes" >&6; }
12089 { echo "$as_me:$LINENO: result: no" >&5
12090 echo "${ECHO_T}no" >&6; }
12094 if test "$wxUSE_MSW" = "1"; then
12097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12098 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12100 # Check whether --enable-dccache was given.
12101 if test "${enable_dccache+set}" = set; then
12102 enableval=$enable_dccache;
12103 if test "$enableval" = yes; then
12104 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12106 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12111 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12112 if test "x$LINE" != x ; then
12113 eval "DEFAULT_$LINE"
12118 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12123 eval "$ac_cv_use_dccache"
12124 if test "$no_cache" != 1; then
12125 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12128 if test "$wxUSE_DC_CACHEING" = yes; then
12129 { echo "$as_me:$LINENO: result: yes" >&5
12130 echo "${ECHO_T}yes" >&6; }
12132 { echo "$as_me:$LINENO: result: no" >&5
12133 echo "${ECHO_T}no" >&6; }
12141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12142 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12144 # Check whether --enable-palette was given.
12145 if test "${enable_palette+set}" = set; then
12146 enableval=$enable_palette;
12147 if test "$enableval" = yes; then
12148 ac_cv_use_palette='wxUSE_PALETTE=yes'
12150 ac_cv_use_palette='wxUSE_PALETTE=no'
12155 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
12156 if test "x$LINE" != x ; then
12157 eval "DEFAULT_$LINE"
12162 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12167 eval "$ac_cv_use_palette"
12168 if test "$no_cache" != 1; then
12169 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12172 if test "$wxUSE_PALETTE" = yes; then
12173 { echo "$as_me:$LINENO: result: yes" >&5
12174 echo "${ECHO_T}yes" >&6; }
12176 { echo "$as_me:$LINENO: result: no" >&5
12177 echo "${ECHO_T}no" >&6; }
12182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12183 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12185 # Check whether --enable-image was given.
12186 if test "${enable_image+set}" = set; then
12187 enableval=$enable_image;
12188 if test "$enableval" = yes; then
12189 ac_cv_use_image='wxUSE_IMAGE=yes'
12191 ac_cv_use_image='wxUSE_IMAGE=no'
12196 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12197 if test "x$LINE" != x ; then
12198 eval "DEFAULT_$LINE"
12203 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12208 eval "$ac_cv_use_image"
12209 if test "$no_cache" != 1; then
12210 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12213 if test "$wxUSE_IMAGE" = yes; then
12214 { echo "$as_me:$LINENO: result: yes" >&5
12215 echo "${ECHO_T}yes" >&6; }
12217 { echo "$as_me:$LINENO: result: no" >&5
12218 echo "${ECHO_T}no" >&6; }
12223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12224 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12226 # Check whether --enable-gif was given.
12227 if test "${enable_gif+set}" = set; then
12228 enableval=$enable_gif;
12229 if test "$enableval" = yes; then
12230 ac_cv_use_gif='wxUSE_GIF=yes'
12232 ac_cv_use_gif='wxUSE_GIF=no'
12237 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12238 if test "x$LINE" != x ; then
12239 eval "DEFAULT_$LINE"
12244 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12249 eval "$ac_cv_use_gif"
12250 if test "$no_cache" != 1; then
12251 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12254 if test "$wxUSE_GIF" = yes; then
12255 { echo "$as_me:$LINENO: result: yes" >&5
12256 echo "${ECHO_T}yes" >&6; }
12258 { echo "$as_me:$LINENO: result: no" >&5
12259 echo "${ECHO_T}no" >&6; }
12264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12265 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12267 # Check whether --enable-pcx was given.
12268 if test "${enable_pcx+set}" = set; then
12269 enableval=$enable_pcx;
12270 if test "$enableval" = yes; then
12271 ac_cv_use_pcx='wxUSE_PCX=yes'
12273 ac_cv_use_pcx='wxUSE_PCX=no'
12278 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12279 if test "x$LINE" != x ; then
12280 eval "DEFAULT_$LINE"
12285 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12290 eval "$ac_cv_use_pcx"
12291 if test "$no_cache" != 1; then
12292 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12295 if test "$wxUSE_PCX" = yes; then
12296 { echo "$as_me:$LINENO: result: yes" >&5
12297 echo "${ECHO_T}yes" >&6; }
12299 { echo "$as_me:$LINENO: result: no" >&5
12300 echo "${ECHO_T}no" >&6; }
12305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12306 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12308 # Check whether --enable-tga was given.
12309 if test "${enable_tga+set}" = set; then
12310 enableval=$enable_tga;
12311 if test "$enableval" = yes; then
12312 ac_cv_use_tga='wxUSE_TGA=yes'
12314 ac_cv_use_tga='wxUSE_TGA=no'
12319 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12320 if test "x$LINE" != x ; then
12321 eval "DEFAULT_$LINE"
12326 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12331 eval "$ac_cv_use_tga"
12332 if test "$no_cache" != 1; then
12333 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12336 if test "$wxUSE_TGA" = yes; then
12337 { echo "$as_me:$LINENO: result: yes" >&5
12338 echo "${ECHO_T}yes" >&6; }
12340 { echo "$as_me:$LINENO: result: no" >&5
12341 echo "${ECHO_T}no" >&6; }
12346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12347 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12349 # Check whether --enable-iff was given.
12350 if test "${enable_iff+set}" = set; then
12351 enableval=$enable_iff;
12352 if test "$enableval" = yes; then
12353 ac_cv_use_iff='wxUSE_IFF=yes'
12355 ac_cv_use_iff='wxUSE_IFF=no'
12360 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12361 if test "x$LINE" != x ; then
12362 eval "DEFAULT_$LINE"
12367 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12372 eval "$ac_cv_use_iff"
12373 if test "$no_cache" != 1; then
12374 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12377 if test "$wxUSE_IFF" = yes; then
12378 { echo "$as_me:$LINENO: result: yes" >&5
12379 echo "${ECHO_T}yes" >&6; }
12381 { echo "$as_me:$LINENO: result: no" >&5
12382 echo "${ECHO_T}no" >&6; }
12387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12388 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12390 # Check whether --enable-pnm was given.
12391 if test "${enable_pnm+set}" = set; then
12392 enableval=$enable_pnm;
12393 if test "$enableval" = yes; then
12394 ac_cv_use_pnm='wxUSE_PNM=yes'
12396 ac_cv_use_pnm='wxUSE_PNM=no'
12401 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12402 if test "x$LINE" != x ; then
12403 eval "DEFAULT_$LINE"
12408 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12413 eval "$ac_cv_use_pnm"
12414 if test "$no_cache" != 1; then
12415 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12418 if test "$wxUSE_PNM" = yes; then
12419 { echo "$as_me:$LINENO: result: yes" >&5
12420 echo "${ECHO_T}yes" >&6; }
12422 { echo "$as_me:$LINENO: result: no" >&5
12423 echo "${ECHO_T}no" >&6; }
12428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12429 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12431 # Check whether --enable-xpm was given.
12432 if test "${enable_xpm+set}" = set; then
12433 enableval=$enable_xpm;
12434 if test "$enableval" = yes; then
12435 ac_cv_use_xpm='wxUSE_XPM=yes'
12437 ac_cv_use_xpm='wxUSE_XPM=no'
12442 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12443 if test "x$LINE" != x ; then
12444 eval "DEFAULT_$LINE"
12449 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12454 eval "$ac_cv_use_xpm"
12455 if test "$no_cache" != 1; then
12456 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12459 if test "$wxUSE_XPM" = yes; then
12460 { echo "$as_me:$LINENO: result: yes" >&5
12461 echo "${ECHO_T}yes" >&6; }
12463 { echo "$as_me:$LINENO: result: no" >&5
12464 echo "${ECHO_T}no" >&6; }
12469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12470 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12472 # Check whether --enable-ico_cur was given.
12473 if test "${enable_ico_cur+set}" = set; then
12474 enableval=$enable_ico_cur;
12475 if test "$enableval" = yes; then
12476 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12478 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12483 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12484 if test "x$LINE" != x ; then
12485 eval "DEFAULT_$LINE"
12490 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12495 eval "$ac_cv_use_ico_cur"
12496 if test "$no_cache" != 1; then
12497 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12500 if test "$wxUSE_ICO_CUR" = yes; then
12501 { echo "$as_me:$LINENO: result: yes" >&5
12502 echo "${ECHO_T}yes" >&6; }
12504 { echo "$as_me:$LINENO: result: no" >&5
12505 echo "${ECHO_T}no" >&6; }
12513 # Check whether --with-flavour was given.
12514 if test "${with_flavour+set}" = set; then
12515 withval=$with_flavour; WX_FLAVOUR="$withval"
12522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12523 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12525 # Check whether --enable-official_build was given.
12526 if test "${enable_official_build+set}" = set; then
12527 enableval=$enable_official_build;
12528 if test "$enableval" = yes; then
12529 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12531 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12536 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12537 if test "x$LINE" != x ; then
12538 eval "DEFAULT_$LINE"
12543 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12548 eval "$ac_cv_use_official_build"
12549 if test "$no_cache" != 1; then
12550 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12553 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12554 { echo "$as_me:$LINENO: result: yes" >&5
12555 echo "${ECHO_T}yes" >&6; }
12557 { echo "$as_me:$LINENO: result: no" >&5
12558 echo "${ECHO_T}no" >&6; }
12561 # Check whether --enable-vendor was given.
12562 if test "${enable_vendor+set}" = set; then
12563 enableval=$enable_vendor; VENDOR="$enableval"
12566 if test "x$VENDOR" = "x"; then
12573 echo "saving argument cache $wx_arg_cache_file"
12574 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12578 { echo "$as_me:$LINENO: checking for toolkit" >&5
12579 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12581 # In Wine, we need to default to MSW, not GTK or MOTIF
12582 if test "$wxUSE_WINE" = "yes"; then
12583 DEFAULT_DEFAULT_wxUSE_GTK=0
12584 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12585 DEFAULT_DEFAULT_wxUSE_MSW=1
12588 CXX=${CXX:-wineg++}
12592 if test "$wxUSE_GUI" = "yes"; then
12594 if test "$USE_BEOS" = 1; then
12595 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12596 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12597 { (exit 1); exit 1; }; }
12600 if test "$TOOLKIT_GIVEN" = 1; then
12601 for toolkit in `echo $ALL_TOOLKITS`; do
12603 eval "value=\$${var}"
12604 if test "x$value" = "xno"; then
12606 elif test "x$value" != "x"; then
12610 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12611 eval "wx${toolkit}_VERSION=$value"
12615 for toolkit in `echo $ALL_TOOLKITS`; do
12616 if test "$has_toolkit_in_cache" != 1; then
12617 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12619 var=DEFAULT_wxUSE_$toolkit
12621 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12622 if test "x$version" != "x"; then
12623 eval "wx${toolkit}_VERSION=$version"
12626 eval "wxUSE_$toolkit=\$${var}"
12630 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12631 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12632 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12635 *-pc-os2_emx | *-pc-os2-emx )
12636 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12639 case "$NUM_TOOLKITS" in
12643 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12644 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12645 { (exit 1); exit 1; }; }
12648 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12649 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12650 { (exit 1); exit 1; }; }
12653 # to be removed when --disable-gtk2 isn't needed
12654 if test "x$wxUSE_GTK2" = "xyes"; then
12656 elif test "x$wxUSE_GTK2" = "xno"; then
12660 for toolkit in `echo $ALL_TOOLKITS`; do
12662 eval "value=\$${var}"
12663 if test "x$value" != x; then
12664 cache_var=CACHE_$toolkit
12665 eval "cache=\$${cache_var}"
12666 if test "$cache" = 1; then
12667 echo "$var=$value" >> ${wx_arg_cache_file}
12668 eval "version=\$wx${toolkit}_VERSION"
12669 if test "x$version" != "x"; then
12670 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12673 if test "$value" = 1; then
12674 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12675 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12676 echo "${ECHO_T}$toolkit_echo" >&6; }
12681 if test "x$host_alias" != "x"; then
12682 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12683 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12685 { echo "$as_me:$LINENO: result: base only" >&5
12686 echo "${ECHO_T}base only" >&6; }
12691 cat >confcache <<\_ACEOF
12692 # This file is a shell script that caches the results of configure
12693 # tests run on this system so they can be shared between configure
12694 # scripts and configure runs, see configure's option --config-cache.
12695 # It is not useful on other systems. If it contains results you don't
12696 # want to keep, you may remove or edit it.
12698 # config.status only pays attention to the cache file if you give it
12699 # the --recheck option to rerun configure.
12701 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
12702 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12703 # following values.
12707 # The following way of writing the cache mishandles newlines in values,
12708 # but we know of no workaround that is simple, portable, and efficient.
12709 # So, we kill variables containing newlines.
12710 # Ultrix sh set writes to stderr and can't be redirected directly,
12711 # and sets the high bit in the cache file unless we assign to the vars.
12713 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12714 eval ac_val
=\$
$ac_var
12718 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12719 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12722 _
| IFS
| as_nl
) ;; #(
12723 *) $as_unset $ac_var ;;
12729 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12730 *${as_nl}ac_space
=\
*)
12731 # `set' does not quote correctly, so add quotes (double-quote
12732 # substitution turns \\\\ into \\, and sed turns \\ into \).
12735 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12738 # `set' quotes correctly as required by POSIX, so do not add quotes.
12739 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12748 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12750 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12752 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12753 if test -w "$cache_file"; then
12754 test "x$cache_file" != "x/dev/null" &&
12755 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12756 echo "$as_me: updating cache $cache_file" >&6;}
12757 cat confcache
>$cache_file
12759 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12760 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12770 ac_cpp
='$CPP $CPPFLAGS'
12771 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12772 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12773 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12774 if test -n "$ac_tool_prefix"; then
12775 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12776 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
12777 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12779 if test "${ac_cv_prog_CC+set}" = set; then
12780 echo $ECHO_N "(cached) $ECHO_C" >&6
12782 if test -n "$CC"; then
12783 ac_cv_prog_CC
="$CC" # Let the user override the test.
12785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12786 for as_dir
in $PATH
12789 test -z "$as_dir" && as_dir
=.
12790 for ac_exec_ext
in '' $ac_executable_extensions; do
12791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12792 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
12793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12803 if test -n "$CC"; then
12804 { echo "$as_me:$LINENO: result: $CC" >&5
12805 echo "${ECHO_T}$CC" >&6; }
12807 { echo "$as_me:$LINENO: result: no" >&5
12808 echo "${ECHO_T}no" >&6; }
12813 if test -z "$ac_cv_prog_CC"; then
12815 # Extract the first word of "gcc", so it can be a program name with args.
12816 set dummy gcc
; ac_word
=$2
12817 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12819 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12820 echo $ECHO_N "(cached) $ECHO_C" >&6
12822 if test -n "$ac_ct_CC"; then
12823 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12826 for as_dir
in $PATH
12829 test -z "$as_dir" && as_dir
=.
12830 for ac_exec_ext
in '' $ac_executable_extensions; do
12831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12832 ac_cv_prog_ac_ct_CC
="gcc"
12833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12842 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12843 if test -n "$ac_ct_CC"; then
12844 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12845 echo "${ECHO_T}$ac_ct_CC" >&6; }
12847 { echo "$as_me:$LINENO: result: no" >&5
12848 echo "${ECHO_T}no" >&6; }
12851 if test "x$ac_ct_CC" = x
; then
12854 case $cross_compiling:$ac_tool_warned in
12856 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12857 whose name does not start with the host triplet. If you think this
12858 configuration is useful to you, please write to autoconf@gnu.org." >&5
12859 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12860 whose name does not start with the host triplet. If you think this
12861 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12862 ac_tool_warned
=yes ;;
12867 CC
="$ac_cv_prog_CC"
12870 if test -z "$CC"; then
12871 if test -n "$ac_tool_prefix"; then
12872 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12873 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
12874 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12876 if test "${ac_cv_prog_CC+set}" = set; then
12877 echo $ECHO_N "(cached) $ECHO_C" >&6
12879 if test -n "$CC"; then
12880 ac_cv_prog_CC
="$CC" # Let the user override the test.
12882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12883 for as_dir
in $PATH
12886 test -z "$as_dir" && as_dir
=.
12887 for ac_exec_ext
in '' $ac_executable_extensions; do
12888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12889 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12900 if test -n "$CC"; then
12901 { echo "$as_me:$LINENO: result: $CC" >&5
12902 echo "${ECHO_T}$CC" >&6; }
12904 { echo "$as_me:$LINENO: result: no" >&5
12905 echo "${ECHO_T}no" >&6; }
12911 if test -z "$CC"; then
12912 # Extract the first word of "cc", so it can be a program name with args.
12913 set dummy cc
; ac_word
=$2
12914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12916 if test "${ac_cv_prog_CC+set}" = set; then
12917 echo $ECHO_N "(cached) $ECHO_C" >&6
12919 if test -n "$CC"; then
12920 ac_cv_prog_CC
="$CC" # Let the user override the test.
12922 ac_prog_rejected
=no
12923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12924 for as_dir
in $PATH
12927 test -z "$as_dir" && as_dir
=.
12928 for ac_exec_ext
in '' $ac_executable_extensions; do
12929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12930 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12931 ac_prog_rejected
=yes
12935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12942 if test $ac_prog_rejected = yes; then
12943 # We found a bogon in the path, so make sure we never use it.
12944 set dummy
$ac_cv_prog_CC
12946 if test $# != 0; then
12947 # We chose a different compiler from the bogus one.
12948 # However, it has the same basename, so the bogon will be chosen
12949 # first if we set CC to just the basename; use the full file name.
12951 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12957 if test -n "$CC"; then
12958 { echo "$as_me:$LINENO: result: $CC" >&5
12959 echo "${ECHO_T}$CC" >&6; }
12961 { echo "$as_me:$LINENO: result: no" >&5
12962 echo "${ECHO_T}no" >&6; }
12967 if test -z "$CC"; then
12968 if test -n "$ac_tool_prefix"; then
12969 for ac_prog
in cl.exe
12971 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12972 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12973 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12975 if test "${ac_cv_prog_CC+set}" = set; then
12976 echo $ECHO_N "(cached) $ECHO_C" >&6
12978 if test -n "$CC"; then
12979 ac_cv_prog_CC
="$CC" # Let the user override the test.
12981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12982 for as_dir
in $PATH
12985 test -z "$as_dir" && as_dir
=.
12986 for ac_exec_ext
in '' $ac_executable_extensions; do
12987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12988 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12999 if test -n "$CC"; then
13000 { echo "$as_me:$LINENO: result: $CC" >&5
13001 echo "${ECHO_T}$CC" >&6; }
13003 { echo "$as_me:$LINENO: result: no" >&5
13004 echo "${ECHO_T}no" >&6; }
13008 test -n "$CC" && break
13011 if test -z "$CC"; then
13013 for ac_prog
in cl.exe
13015 # Extract the first word of "$ac_prog", so it can be a program name with args.
13016 set dummy
$ac_prog; ac_word
=$2
13017 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13019 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13020 echo $ECHO_N "(cached) $ECHO_C" >&6
13022 if test -n "$ac_ct_CC"; then
13023 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13026 for as_dir
in $PATH
13029 test -z "$as_dir" && as_dir
=.
13030 for ac_exec_ext
in '' $ac_executable_extensions; do
13031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13032 ac_cv_prog_ac_ct_CC
="$ac_prog"
13033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13042 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13043 if test -n "$ac_ct_CC"; then
13044 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13045 echo "${ECHO_T}$ac_ct_CC" >&6; }
13047 { echo "$as_me:$LINENO: result: no" >&5
13048 echo "${ECHO_T}no" >&6; }
13052 test -n "$ac_ct_CC" && break
13055 if test "x$ac_ct_CC" = x
; then
13058 case $cross_compiling:$ac_tool_warned in
13060 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13061 whose name does not start with the host triplet. If you think this
13062 configuration is useful to you, please write to autoconf@gnu.org." >&5
13063 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13064 whose name does not start with the host triplet. If you think this
13065 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13066 ac_tool_warned
=yes ;;
13075 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13076 See \`config.log' for more details." >&5
13077 echo "$as_me: error: no acceptable C compiler found in \$PATH
13078 See \`config.log' for more details." >&2;}
13079 { (exit 1); exit 1; }; }
13081 # Provide some information about the compiler.
13082 echo "$as_me:$LINENO: checking for C compiler version" >&5
13083 ac_compiler
=`set X $ac_compile; echo $2`
13084 { (ac_try
="$ac_compiler --version >&5"
13085 case "(($ac_try" in
13086 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13087 *) ac_try_echo=$ac_try;;
13089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13090 (eval "$ac_compiler --version >&5") 2>&5
13092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13093 (exit $ac_status); }
13094 { (ac_try="$ac_compiler -v >&5"
13095 case "(($ac_try" in
13096 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
13097 *) ac_try_echo
=$ac_try;;
13099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13100 (eval "$ac_compiler -v >&5") 2>&5
13102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13103 (exit $ac_status); }
13104 { (ac_try
="$ac_compiler -V >&5"
13105 case "(($ac_try" in
13106 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13107 *) ac_try_echo=$ac_try;;
13109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13110 (eval "$ac_compiler -V >&5") 2>&5
13112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13113 (exit $ac_status); }
13115 cat >conftest.$ac_ext <<_ACEOF
13118 cat confdefs.h >>conftest.$ac_ext
13119 cat >>conftest.$ac_ext <<_ACEOF
13120 /* end confdefs.h. */
13130 ac_clean_files_save=$ac_clean_files
13131 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13132 # Try to create an executable without -o first, disregard a.out.
13133 # It will help us diagnose broken compilers, and finding out an intuition
13135 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13136 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13137 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13139 # List of possible output files, starting from the most likely.
13140 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
13141 # only as a last resort. b.out is created by i960 compilers.
13142 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
13144 # The IRIX 6 linker writes into existing files which may not be
13145 # executable, retaining their permissions. Remove them first so a
13146 # subsequent execution test works.
13148 for ac_file in $ac_files
13151 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13152 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13157 if { (ac_try="$ac_link_default"
13158 case "(($ac_try" in
13159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13160 *) ac_try_echo=$ac_try;;
13162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13163 (eval "$ac_link_default") 2>&5
13165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13166 (exit $ac_status); }; then
13167 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13168 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13169 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13170 # so that the user can short-circuit this test for compilers unknown to
13172 for ac_file
in $ac_files
13174 test -f "$ac_file" || continue
13176 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
13179 # We found the default executable, but exeext='' is most
13183 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
13185 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
13187 # We set ac_cv_exeext here because the later test for it is not
13188 # safe: cross compilers may not add the suffix if given an `-o'
13189 # argument, so we may need to know it at that point already.
13190 # Even if this section looks crufty: it has the advantage of
13191 # actually working.
13197 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
13200 echo "$as_me: failed program was:" >&5
13201 sed 's/^/| /' conftest.
$ac_ext >&5
13203 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13204 See \`config.log' for more details." >&5
13205 echo "$as_me: error: C compiler cannot create executables
13206 See \`config.log' for more details." >&2;}
13207 { (exit 77); exit 77; }; }
13210 ac_exeext
=$ac_cv_exeext
13211 { echo "$as_me:$LINENO: result: $ac_file" >&5
13212 echo "${ECHO_T}$ac_file" >&6; }
13214 # Check that the compiler produces executables we can run. If not, either
13215 # the compiler is broken, or we cross compile.
13216 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13217 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13218 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13219 # If not cross compiling, check that we can run a simple program.
13220 if test "$cross_compiling" != yes; then
13221 if { ac_try
='./$ac_file'
13222 { (case "(($ac_try" in
13223 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13224 *) ac_try_echo=$ac_try;;
13226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13227 (eval "$ac_try") 2>&5
13229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13230 (exit $ac_status); }; }; then
13233 if test "$cross_compiling" = maybe; then
13234 cross_compiling=yes
13236 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13237 If you meant to cross compile, use \`--host'.
13238 See \`config.log' for more details.
" >&5
13239 echo "$as_me: error
: cannot run C compiled programs.
13240 If you meant to cross compile
, use \
`--host'.
13241 See \`config.log
' for more details." >&2;}
13242 { (exit 1); exit 1; }; }
13246 { echo "$as_me:$LINENO: result: yes" >&5
13247 echo "${ECHO_T}yes" >&6; }
13249 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13250 ac_clean_files=$ac_clean_files_save
13251 # Check that the compiler produces executables we can run. If not, either
13252 # the compiler is broken, or we cross compile.
13253 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13254 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13255 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13256 echo "${ECHO_T}$cross_compiling" >&6; }
13258 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13259 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13260 if { (ac_try="$ac_link"
13261 case "(($ac_try" in
13262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13263 *) ac_try_echo=$ac_try;;
13265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13266 (eval "$ac_link") 2>&5
13268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13269 (exit $ac_status); }; then
13270 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
13271 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
13272 # work properly (i.e., refer to `conftest.exe
'), while it won't with
13274 for ac_file
in conftest.exe conftest conftest.
*; do
13275 test -f "$ac_file" || continue
13277 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
13278 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
13284 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13285 See \`config.log' for more details." >&5
13286 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13287 See \`config.log' for more details." >&2;}
13288 { (exit 1); exit 1; }; }
13291 rm -f conftest
$ac_cv_exeext
13292 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13293 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13295 rm -f conftest.
$ac_ext
13296 EXEEXT
=$ac_cv_exeext
13298 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13299 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13300 if test "${ac_cv_objext+set}" = set; then
13301 echo $ECHO_N "(cached) $ECHO_C" >&6
13303 cat >conftest.
$ac_ext <<_ACEOF
13306 cat confdefs.h
>>conftest.
$ac_ext
13307 cat >>conftest.
$ac_ext <<_ACEOF
13308 /* end confdefs.h. */
13318 rm -f conftest.o conftest.obj
13319 if { (ac_try
="$ac_compile"
13320 case "(($ac_try" in
13321 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13322 *) ac_try_echo=$ac_try;;
13324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13325 (eval "$ac_compile") 2>&5
13327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13328 (exit $ac_status); }; then
13329 for ac_file in conftest.o conftest.obj conftest.*; do
13330 test -f "$ac_file" || continue;
13332 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13333 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13338 echo "$as_me: failed program was:" >&5
13339 sed 's/^/| /' conftest.$ac_ext >&5
13341 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13342 See \`config.log
' for more details." >&5
13343 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13344 See \`config.log' for more details.
" >&2;}
13345 { (exit 1); exit 1; }; }
13348 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13350 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
13351 echo "${ECHO_T}$ac_cv_objext" >&6; }
13352 OBJEXT=$ac_cv_objext
13354 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
13355 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
13356 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13357 echo $ECHO_N "(cached
) $ECHO_C" >&6
13359 cat >conftest.$ac_ext <<_ACEOF
13362 cat confdefs.h >>conftest.$ac_ext
13363 cat >>conftest.$ac_ext <<_ACEOF
13364 /* end confdefs.h. */
13377 rm -f conftest.$ac_objext
13378 if { (ac_try="$ac_compile"
13379 case "(($ac_try" in
13380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13381 *) ac_try_echo=$ac_try;;
13383 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13384 (eval "$ac_compile") 2>conftest.er1
13386 grep -v '^ *+' conftest.er1 >conftest.err
13388 cat conftest.err >&5
13389 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13390 (exit $ac_status); } &&
13391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13392 { (case "(($ac_try" in
13393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13394 *) ac_try_echo=$ac_try;;
13396 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13397 (eval "$ac_try") 2>&5
13399 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13400 (exit $ac_status); }; } &&
13401 { ac_try='test -s conftest.$ac_objext'
13402 { (case "(($ac_try" in
13403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13404 *) ac_try_echo=$ac_try;;
13406 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13407 (eval "$ac_try") 2>&5
13409 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13410 (exit $ac_status); }; }; then
13411 ac_compiler_gnu=yes
13413 echo "$as_me: failed program was
:" >&5
13414 sed 's/^/| /' conftest.$ac_ext >&5
13419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13420 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13423 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
13424 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13425 GCC=`test $ac_compiler_gnu = yes && echo yes`
13426 ac_test_CFLAGS=${CFLAGS+set}
13427 ac_save_CFLAGS=$CFLAGS
13428 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
13429 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
13430 if test "${ac_cv_prog_cc_g+set}" = set; then
13431 echo $ECHO_N "(cached
) $ECHO_C" >&6
13433 ac_save_c_werror_flag=$ac_c_werror_flag
13434 ac_c_werror_flag=yes
13437 cat >conftest.$ac_ext <<_ACEOF
13440 cat confdefs.h >>conftest.$ac_ext
13441 cat >>conftest.$ac_ext <<_ACEOF
13442 /* end confdefs.h. */
13452 rm -f conftest.$ac_objext
13453 if { (ac_try="$ac_compile"
13454 case "(($ac_try" in
13455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13456 *) ac_try_echo=$ac_try;;
13458 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13459 (eval "$ac_compile") 2>conftest.er1
13461 grep -v '^ *+' conftest.er1 >conftest.err
13463 cat conftest.err >&5
13464 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13465 (exit $ac_status); } &&
13466 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13467 { (case "(($ac_try" in
13468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13469 *) ac_try_echo=$ac_try;;
13471 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13472 (eval "$ac_try") 2>&5
13474 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13475 (exit $ac_status); }; } &&
13476 { ac_try='test -s conftest.$ac_objext'
13477 { (case "(($ac_try" in
13478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13479 *) ac_try_echo=$ac_try;;
13481 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13482 (eval "$ac_try") 2>&5
13484 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13485 (exit $ac_status); }; }; then
13486 ac_cv_prog_cc_g=yes
13488 echo "$as_me: failed program was
:" >&5
13489 sed 's/^/| /' conftest.$ac_ext >&5
13492 cat >conftest.$ac_ext <<_ACEOF
13495 cat confdefs.h >>conftest.$ac_ext
13496 cat >>conftest.$ac_ext <<_ACEOF
13497 /* end confdefs.h. */
13507 rm -f conftest.$ac_objext
13508 if { (ac_try="$ac_compile"
13509 case "(($ac_try" in
13510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13511 *) ac_try_echo=$ac_try;;
13513 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13514 (eval "$ac_compile") 2>conftest.er1
13516 grep -v '^ *+' conftest.er1 >conftest.err
13518 cat conftest.err >&5
13519 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13520 (exit $ac_status); } &&
13521 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13522 { (case "(($ac_try" in
13523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13524 *) ac_try_echo=$ac_try;;
13526 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13527 (eval "$ac_try") 2>&5
13529 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13530 (exit $ac_status); }; } &&
13531 { ac_try='test -s conftest.$ac_objext'
13532 { (case "(($ac_try" in
13533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13534 *) ac_try_echo=$ac_try;;
13536 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13537 (eval "$ac_try") 2>&5
13539 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13540 (exit $ac_status); }; }; then
13543 echo "$as_me: failed program was
:" >&5
13544 sed 's/^/| /' conftest.$ac_ext >&5
13546 ac_c_werror_flag=$ac_save_c_werror_flag
13548 cat >conftest.$ac_ext <<_ACEOF
13551 cat confdefs.h >>conftest.$ac_ext
13552 cat >>conftest.$ac_ext <<_ACEOF
13553 /* end confdefs.h. */
13563 rm -f conftest.$ac_objext
13564 if { (ac_try="$ac_compile"
13565 case "(($ac_try" in
13566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13567 *) ac_try_echo=$ac_try;;
13569 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13570 (eval "$ac_compile") 2>conftest.er1
13572 grep -v '^ *+' conftest.er1 >conftest.err
13574 cat conftest.err >&5
13575 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13576 (exit $ac_status); } &&
13577 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13578 { (case "(($ac_try" in
13579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13580 *) ac_try_echo=$ac_try;;
13582 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13583 (eval "$ac_try") 2>&5
13585 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13586 (exit $ac_status); }; } &&
13587 { ac_try='test -s conftest.$ac_objext'
13588 { (case "(($ac_try" in
13589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13590 *) ac_try_echo=$ac_try;;
13592 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13593 (eval "$ac_try") 2>&5
13595 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13596 (exit $ac_status); }; }; then
13597 ac_cv_prog_cc_g=yes
13599 echo "$as_me: failed program was
:" >&5
13600 sed 's/^/| /' conftest.$ac_ext >&5
13605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13612 ac_c_werror_flag=$ac_save_c_werror_flag
13614 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
13615 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13616 if test "$ac_test_CFLAGS" = set; then
13617 CFLAGS=$ac_save_CFLAGS
13618 elif test $ac_cv_prog_cc_g = yes; then
13619 if test "$GCC" = yes; then
13625 if test "$GCC" = yes; then
13631 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
13632 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
13633 if test "${ac_cv_prog_cc_c89+set}" = set; then
13634 echo $ECHO_N "(cached
) $ECHO_C" >&6
13636 ac_cv_prog_cc_c89=no
13638 cat >conftest.$ac_ext <<_ACEOF
13641 cat confdefs.h >>conftest.$ac_ext
13642 cat >>conftest.$ac_ext <<_ACEOF
13643 /* end confdefs.h. */
13644 #include <stdarg.h>
13646 #include <sys/types.h>
13647 #include <sys/stat.h>
13648 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13649 struct buf { int x; };
13650 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13651 static char *e (p, i)
13657 static char *f (char * (*g) (char **, int), char **p, ...)
13662 s = g (p, va_arg (v,int));
13667 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13668 function prototypes and stuff, but not '\xHH' hex character constants.
13669 These don't provoke an error unfortunately, instead are silently treated
13670 as 'x'. The following induces an error, until -std is added to get
13671 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13672 array size at least. It's necessary to write '\x00'==0 to get something
13673 that's true only with -std. */
13674 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13676 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13677 inside strings and character constants. */
13679 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13681 int test (int i, double x);
13682 struct s1 {int (*f) (int a);};
13683 struct s2 {int (*f) (double a);};
13684 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13690 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13695 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13696 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13698 CC="$ac_save_CC $ac_arg"
13699 rm -f conftest.$ac_objext
13700 if { (ac_try="$ac_compile"
13701 case "(($ac_try" in
13702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13703 *) ac_try_echo=$ac_try;;
13705 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13706 (eval "$ac_compile") 2>conftest.er1
13708 grep -v '^ *+' conftest.er1 >conftest.err
13710 cat conftest.err >&5
13711 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13712 (exit $ac_status); } &&
13713 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13714 { (case "(($ac_try" in
13715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13716 *) ac_try_echo=$ac_try;;
13718 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13719 (eval "$ac_try") 2>&5
13721 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13722 (exit $ac_status); }; } &&
13723 { ac_try='test -s conftest.$ac_objext'
13724 { (case "(($ac_try" in
13725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13726 *) ac_try_echo=$ac_try;;
13728 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13729 (eval "$ac_try") 2>&5
13731 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13732 (exit $ac_status); }; }; then
13733 ac_cv_prog_cc_c89=$ac_arg
13735 echo "$as_me: failed program was
:" >&5
13736 sed 's/^/| /' conftest.$ac_ext >&5
13741 rm -f core conftest.err conftest.$ac_objext
13742 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
13744 rm -f conftest.$ac_ext
13749 case "x
$ac_cv_prog_cc_c89" in
13751 { echo "$as_me:$LINENO: result
: none needed
" >&5
13752 echo "${ECHO_T}none needed
" >&6; } ;;
13754 { echo "$as_me:$LINENO: result
: unsupported
" >&5
13755 echo "${ECHO_T}unsupported
" >&6; } ;;
13757 CC="$CC $ac_cv_prog_cc_c89"
13758 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
13759 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13764 ac_cpp='$CPP $CPPFLAGS'
13765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13772 ac_cpp='$CPP $CPPFLAGS'
13773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13777 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
13778 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
13779 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13780 echo $ECHO_N "(cached
) $ECHO_C" >&6
13782 cat >conftest.$ac_ext <<_ACEOF
13785 cat confdefs.h >>conftest.$ac_ext
13786 cat >>conftest.$ac_ext <<_ACEOF
13787 /* end confdefs.h. */
13793 #ifndef __INTEL_COMPILER
13801 rm -f conftest.$ac_objext
13802 if { (ac_try="$ac_compile"
13803 case "(($ac_try" in
13804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13805 *) ac_try_echo=$ac_try;;
13807 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13808 (eval "$ac_compile") 2>conftest.er1
13810 grep -v '^ *+' conftest.er1 >conftest.err
13812 cat conftest.err >&5
13813 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13814 (exit $ac_status); } &&
13815 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13816 { (case "(($ac_try" in
13817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13818 *) ac_try_echo=$ac_try;;
13820 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13821 (eval "$ac_try") 2>&5
13823 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13824 (exit $ac_status); }; } &&
13825 { ac_try='test -s conftest.$ac_objext'
13826 { (case "(($ac_try" in
13827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13828 *) ac_try_echo=$ac_try;;
13830 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13831 (eval "$ac_try") 2>&5
13833 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13834 (exit $ac_status); }; }; then
13835 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13837 echo "$as_me: failed program was
:" >&5
13838 sed 's/^/| /' conftest.$ac_ext >&5
13840 bakefile_cv_c_compiler___INTEL_COMPILER=no
13844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13848 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13849 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13850 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
13856 ac_cpp='$CPP $CPPFLAGS'
13857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13863 if test "x
$GCC" != "xyes
"; then
13864 if test "xCC
" = "xC
"; then
13865 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
13866 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
13867 if test "${bakefile_cv_c_exto+set}" = set; then
13868 echo $ECHO_N "(cached
) $ECHO_C" >&6
13870 cat >conftest.$ac_ext <<_ACEOF
13873 cat confdefs.h >>conftest.$ac_ext
13874 cat >>conftest.$ac_ext <<_ACEOF
13875 /* end confdefs.h. */
13885 rm -f conftest.$ac_objext conftest.$ac_ext.o
13886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13887 (eval $ac_compile) 2>&5
13889 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13890 (exit $ac_status); }; then
13891 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13893 conftest.$ac_ext.o)
13894 bakefile_cv_c_exto="-ext o
"
13901 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
13902 See \
`config.log' for more details." >&5
13903 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13904 See \`config.log
' for more details." >&2;}
13905 { (exit 1); exit 1; }; }
13909 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13912 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13913 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13914 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13915 if test "c" = "c"; then
13916 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13918 if test "c" = "cxx"; then
13919 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13923 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13924 unset ac_cv_prog_cc_g
13925 ac_test_CFLAGS=${CFLAGS+set}
13926 ac_save_CFLAGS=$CFLAGS
13927 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13928 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13929 if test "${ac_cv_prog_cc_g+set}" = set; then
13930 echo $ECHO_N "(cached) $ECHO_C" >&6
13932 ac_save_c_werror_flag=$ac_c_werror_flag
13933 ac_c_werror_flag=yes
13936 cat >conftest.$ac_ext <<_ACEOF
13939 cat confdefs.h >>conftest.$ac_ext
13940 cat >>conftest.$ac_ext <<_ACEOF
13941 /* end confdefs.h. */
13951 rm -f conftest.$ac_objext
13952 if { (ac_try="$ac_compile"
13953 case "(($ac_try" in
13954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13955 *) ac_try_echo=$ac_try;;
13957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13958 (eval "$ac_compile") 2>conftest.er1
13960 grep -v '^
*+' conftest.er1 >conftest.err
13962 cat conftest.err >&5
13963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13964 (exit $ac_status); } &&
13965 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
13966 { (case "(($ac_try" in
13967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13968 *) ac_try_echo=$ac_try;;
13970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13971 (eval "$ac_try") 2>&5
13973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13974 (exit $ac_status); }; } &&
13975 { ac_try='test -s conftest.
$ac_objext'
13976 { (case "(($ac_try" in
13977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13978 *) ac_try_echo=$ac_try;;
13980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13981 (eval "$ac_try") 2>&5
13983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13984 (exit $ac_status); }; }; then
13985 ac_cv_prog_cc_g=yes
13987 echo "$as_me: failed program was:" >&5
13988 sed 's
/^
/| /' conftest.$ac_ext >&5
13991 cat >conftest.$ac_ext <<_ACEOF
13994 cat confdefs.h >>conftest.$ac_ext
13995 cat >>conftest.$ac_ext <<_ACEOF
13996 /* end confdefs.h. */
14006 rm -f conftest.$ac_objext
14007 if { (ac_try="$ac_compile"
14008 case "(($ac_try" in
14009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14010 *) ac_try_echo=$ac_try;;
14012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14013 (eval "$ac_compile") 2>conftest.er1
14015 grep -v '^
*+' conftest.er1 >conftest.err
14017 cat conftest.err >&5
14018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14019 (exit $ac_status); } &&
14020 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14021 { (case "(($ac_try" in
14022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14023 *) ac_try_echo=$ac_try;;
14025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14026 (eval "$ac_try") 2>&5
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); }; } &&
14030 { ac_try='test -s conftest.
$ac_objext'
14031 { (case "(($ac_try" in
14032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14033 *) ac_try_echo=$ac_try;;
14035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14036 (eval "$ac_try") 2>&5
14038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14039 (exit $ac_status); }; }; then
14042 echo "$as_me: failed program was:" >&5
14043 sed 's
/^
/| /' conftest.$ac_ext >&5
14045 ac_c_werror_flag=$ac_save_c_werror_flag
14047 cat >conftest.$ac_ext <<_ACEOF
14050 cat confdefs.h >>conftest.$ac_ext
14051 cat >>conftest.$ac_ext <<_ACEOF
14052 /* end confdefs.h. */
14062 rm -f conftest.$ac_objext
14063 if { (ac_try="$ac_compile"
14064 case "(($ac_try" in
14065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14066 *) ac_try_echo=$ac_try;;
14068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14069 (eval "$ac_compile") 2>conftest.er1
14071 grep -v '^
*+' conftest.er1 >conftest.err
14073 cat conftest.err >&5
14074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14075 (exit $ac_status); } &&
14076 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14077 { (case "(($ac_try" in
14078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14079 *) ac_try_echo=$ac_try;;
14081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14082 (eval "$ac_try") 2>&5
14084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14085 (exit $ac_status); }; } &&
14086 { ac_try='test -s conftest.
$ac_objext'
14087 { (case "(($ac_try" in
14088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14089 *) ac_try_echo=$ac_try;;
14091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14092 (eval "$ac_try") 2>&5
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); }; }; then
14096 ac_cv_prog_cc_g=yes
14098 echo "$as_me: failed program was:" >&5
14099 sed 's
/^
/| /' conftest.$ac_ext >&5
14104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14111 ac_c_werror_flag=$ac_save_c_werror_flag
14113 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14114 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14115 if test "$ac_test_CFLAGS" = set; then
14116 CFLAGS=$ac_save_CFLAGS
14117 elif test $ac_cv_prog_cc_g = yes; then
14118 if test "$GCC" = yes; then
14124 if test "$GCC" = yes; then
14136 ac_cpp='$CPP $CPPFLAGS'
14137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14138 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14141 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14142 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14143 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14144 echo $ECHO_N "(cached) $ECHO_C" >&6
14146 cat >conftest.$ac_ext <<_ACEOF
14149 cat confdefs.h >>conftest.$ac_ext
14150 cat >>conftest.$ac_ext <<_ACEOF
14151 /* end confdefs.h. */
14164 rm -f conftest.$ac_objext
14165 if { (ac_try="$ac_compile"
14166 case "(($ac_try" in
14167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14168 *) ac_try_echo=$ac_try;;
14170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14171 (eval "$ac_compile") 2>conftest.er1
14173 grep -v '^
*+' conftest.er1 >conftest.err
14175 cat conftest.err >&5
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); } &&
14178 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14179 { (case "(($ac_try" in
14180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14181 *) ac_try_echo=$ac_try;;
14183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14184 (eval "$ac_try") 2>&5
14186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14187 (exit $ac_status); }; } &&
14188 { ac_try='test -s conftest.
$ac_objext'
14189 { (case "(($ac_try" in
14190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14191 *) ac_try_echo=$ac_try;;
14193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14194 (eval "$ac_try") 2>&5
14196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14197 (exit $ac_status); }; }; then
14198 bakefile_compiler_xlc=yes
14200 echo "$as_me: failed program was:" >&5
14201 sed 's
/^
/| /' conftest.$ac_ext >&5
14203 bakefile_compiler_xlc=no
14206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14207 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14210 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14211 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14213 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14215 ac_cpp='$CPP $CPPFLAGS'
14216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14217 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14225 ac_cpp='$CPP $CPPFLAGS'
14226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14227 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14230 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14231 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14232 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14233 echo $ECHO_N "(cached) $ECHO_C" >&6
14235 cat >conftest.$ac_ext <<_ACEOF
14238 cat confdefs.h >>conftest.$ac_ext
14239 cat >>conftest.$ac_ext <<_ACEOF
14240 /* end confdefs.h. */
14253 rm -f conftest.$ac_objext
14254 if { (ac_try="$ac_compile"
14255 case "(($ac_try" in
14256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14257 *) ac_try_echo=$ac_try;;
14259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14260 (eval "$ac_compile") 2>conftest.er1
14262 grep -v '^
*+' conftest.er1 >conftest.err
14264 cat conftest.err >&5
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); } &&
14267 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14268 { (case "(($ac_try" in
14269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14270 *) ac_try_echo=$ac_try;;
14272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14273 (eval "$ac_try") 2>&5
14275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14276 (exit $ac_status); }; } &&
14277 { ac_try='test -s conftest.
$ac_objext'
14278 { (case "(($ac_try" in
14279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14280 *) ac_try_echo=$ac_try;;
14282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14283 (eval "$ac_try") 2>&5
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); }; }; then
14287 bakefile_compiler_mwerks=yes
14289 echo "$as_me: failed program was:" >&5
14290 sed 's
/^
/| /' conftest.$ac_ext >&5
14292 bakefile_compiler_mwerks=no
14295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14296 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14299 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14300 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14302 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14304 ac_cpp='$CPP $CPPFLAGS'
14305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14306 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14311 ac_cpp='$CPP $CPPFLAGS'
14312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14313 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14316 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14317 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14318 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14319 echo $ECHO_N "(cached) $ECHO_C" >&6
14321 cat >conftest.$ac_ext <<_ACEOF
14324 cat confdefs.h >>conftest.$ac_ext
14325 cat >>conftest.$ac_ext <<_ACEOF
14326 /* end confdefs.h. */
14339 rm -f conftest.$ac_objext
14340 if { (ac_try="$ac_compile"
14341 case "(($ac_try" in
14342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14343 *) ac_try_echo=$ac_try;;
14345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14346 (eval "$ac_compile") 2>conftest.er1
14348 grep -v '^
*+' conftest.er1 >conftest.err
14350 cat conftest.err >&5
14351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14352 (exit $ac_status); } &&
14353 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14354 { (case "(($ac_try" in
14355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14356 *) ac_try_echo=$ac_try;;
14358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14359 (eval "$ac_try") 2>&5
14361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362 (exit $ac_status); }; } &&
14363 { ac_try='test -s conftest.
$ac_objext'
14364 { (case "(($ac_try" in
14365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14366 *) ac_try_echo=$ac_try;;
14368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14369 (eval "$ac_try") 2>&5
14371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14372 (exit $ac_status); }; }; then
14373 bakefile_compiler_xlc=yes
14375 echo "$as_me: failed program was:" >&5
14376 sed 's
/^
/| /' conftest.$ac_ext >&5
14378 bakefile_compiler_xlc=no
14381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14382 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14385 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14386 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14388 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14390 ac_cpp='$CPP $CPPFLAGS'
14391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14392 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14402 ac_cpp='$CPP $CPPFLAGS'
14403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14404 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14407 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14408 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14409 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14410 echo $ECHO_N "(cached) $ECHO_C" >&6
14412 cat >conftest.$ac_ext <<_ACEOF
14415 cat confdefs.h >>conftest.$ac_ext
14416 cat >>conftest.$ac_ext <<_ACEOF
14417 /* end confdefs.h. */
14423 #ifndef _SGI_COMPILER_VERSION
14431 rm -f conftest.$ac_objext
14432 if { (ac_try="$ac_compile"
14433 case "(($ac_try" in
14434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14435 *) ac_try_echo=$ac_try;;
14437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14438 (eval "$ac_compile") 2>conftest.er1
14440 grep -v '^
*+' conftest.er1 >conftest.err
14442 cat conftest.err >&5
14443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444 (exit $ac_status); } &&
14445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14446 { (case "(($ac_try" in
14447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14448 *) ac_try_echo=$ac_try;;
14450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14451 (eval "$ac_try") 2>&5
14453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14454 (exit $ac_status); }; } &&
14455 { ac_try='test -s conftest.
$ac_objext'
14456 { (case "(($ac_try" in
14457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14458 *) ac_try_echo=$ac_try;;
14460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14461 (eval "$ac_try") 2>&5
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); }; }; then
14465 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14467 echo "$as_me: failed program was:" >&5
14468 sed 's
/^
/| /' conftest.$ac_ext >&5
14470 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14478 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14479 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14480 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14486 ac_cpp='$CPP $CPPFLAGS'
14487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14488 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14499 ac_cpp='$CPP $CPPFLAGS'
14500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14501 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14504 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14505 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14506 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14507 echo $ECHO_N "(cached) $ECHO_C" >&6
14509 cat >conftest.$ac_ext <<_ACEOF
14512 cat confdefs.h >>conftest.$ac_ext
14513 cat >>conftest.$ac_ext <<_ACEOF
14514 /* end confdefs.h. */
14528 rm -f conftest.$ac_objext
14529 if { (ac_try="$ac_compile"
14530 case "(($ac_try" in
14531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14532 *) ac_try_echo=$ac_try;;
14534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14535 (eval "$ac_compile") 2>conftest.er1
14537 grep -v '^
*+' conftest.er1 >conftest.err
14539 cat conftest.err >&5
14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541 (exit $ac_status); } &&
14542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14543 { (case "(($ac_try" in
14544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14545 *) ac_try_echo=$ac_try;;
14547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14548 (eval "$ac_try") 2>&5
14550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14551 (exit $ac_status); }; } &&
14552 { ac_try='test -s conftest.
$ac_objext'
14553 { (case "(($ac_try" in
14554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14555 *) ac_try_echo=$ac_try;;
14557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14558 (eval "$ac_try") 2>&5
14560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14561 (exit $ac_status); }; }; then
14562 bakefile_cv_c_compiler___HP_cc=yes
14564 echo "$as_me: failed program was:" >&5
14565 sed 's
/^
/| /' conftest.$ac_ext >&5
14567 bakefile_cv_c_compiler___HP_cc=no
14571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14575 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14576 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14577 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14583 ac_cpp='$CPP $CPPFLAGS'
14584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14585 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14596 ac_cpp='$CPP $CPPFLAGS'
14597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14598 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14601 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14602 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14603 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14604 echo $ECHO_N "(cached) $ECHO_C" >&6
14606 cat >conftest.$ac_ext <<_ACEOF
14609 cat confdefs.h >>conftest.$ac_ext
14610 cat >>conftest.$ac_ext <<_ACEOF
14611 /* end confdefs.h. */
14625 rm -f conftest.$ac_objext
14626 if { (ac_try="$ac_compile"
14627 case "(($ac_try" in
14628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14629 *) ac_try_echo=$ac_try;;
14631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14632 (eval "$ac_compile") 2>conftest.er1
14634 grep -v '^
*+' conftest.er1 >conftest.err
14636 cat conftest.err >&5
14637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14638 (exit $ac_status); } &&
14639 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14640 { (case "(($ac_try" in
14641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14642 *) ac_try_echo=$ac_try;;
14644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14645 (eval "$ac_try") 2>&5
14647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14648 (exit $ac_status); }; } &&
14649 { ac_try='test -s conftest.
$ac_objext'
14650 { (case "(($ac_try" in
14651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14652 *) ac_try_echo=$ac_try;;
14654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14655 (eval "$ac_try") 2>&5
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); }; }; then
14659 bakefile_cv_c_compiler___DECC=yes
14661 echo "$as_me: failed program was:" >&5
14662 sed 's
/^
/| /' conftest.$ac_ext >&5
14664 bakefile_cv_c_compiler___DECC=no
14668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14672 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14673 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14674 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14680 ac_cpp='$CPP $CPPFLAGS'
14681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14682 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14693 ac_cpp='$CPP $CPPFLAGS'
14694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14695 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14698 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14699 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14700 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14701 echo $ECHO_N "(cached) $ECHO_C" >&6
14703 cat >conftest.$ac_ext <<_ACEOF
14706 cat confdefs.h >>conftest.$ac_ext
14707 cat >>conftest.$ac_ext <<_ACEOF
14708 /* end confdefs.h. */
14722 rm -f conftest.$ac_objext
14723 if { (ac_try="$ac_compile"
14724 case "(($ac_try" in
14725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14726 *) ac_try_echo=$ac_try;;
14728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14729 (eval "$ac_compile") 2>conftest.er1
14731 grep -v '^
*+' conftest.er1 >conftest.err
14733 cat conftest.err >&5
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); } &&
14736 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14737 { (case "(($ac_try" in
14738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14739 *) ac_try_echo=$ac_try;;
14741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14742 (eval "$ac_try") 2>&5
14744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); }; } &&
14746 { ac_try='test -s conftest.
$ac_objext'
14747 { (case "(($ac_try" in
14748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14749 *) ac_try_echo=$ac_try;;
14751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14752 (eval "$ac_try") 2>&5
14754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14755 (exit $ac_status); }; }; then
14756 bakefile_cv_c_compiler___SUNPRO_C=yes
14758 echo "$as_me: failed program was:" >&5
14759 sed 's
/^
/| /' conftest.$ac_ext >&5
14761 bakefile_cv_c_compiler___SUNPRO_C=no
14765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14769 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14770 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14771 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14777 ac_cpp='$CPP $CPPFLAGS'
14778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14779 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14791 ac_cpp='$CPP $CPPFLAGS'
14792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14793 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14795 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14796 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14797 # On Suns, sometimes $CPP names a directory.
14798 if test -n "$CPP" && test -d "$CPP"; then
14801 if test -z "$CPP"; then
14802 if test "${ac_cv_prog_CPP+set}" = set; then
14803 echo $ECHO_N "(cached) $ECHO_C" >&6
14805 # Double quotes because CPP needs to be expanded
14806 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14808 ac_preproc_ok=false
14809 for ac_c_preproc_warn_flag in '' yes
14811 # Use a header file that comes with gcc, so configuring glibc
14812 # with a fresh cross-compiler works.
14813 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14814 # <limits.h> exists even on freestanding compilers.
14815 # On the NeXT, cc -E runs the code through the compiler's parser
,
14816 # not just through cpp. "Syntax error" is here to catch this case.
14817 cat >conftest.
$ac_ext <<_ACEOF
14820 cat confdefs.h
>>conftest.
$ac_ext
14821 cat >>conftest.
$ac_ext <<_ACEOF
14822 /* end confdefs.h. */
14824 # include <limits.h>
14826 # include <assert.h>
14830 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14831 case "(($ac_try" in
14832 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14833 *) ac_try_echo=$ac_try;;
14835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14836 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14838 grep -v '^ *+' conftest.er1 >conftest.err
14840 cat conftest.err >&5
14841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14842 (exit $ac_status); } >/dev/null; then
14843 if test -s conftest.err; then
14844 ac_cpp_err=$ac_c_preproc_warn_flag
14845 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14852 if test -z "$ac_cpp_err"; then
14855 echo "$as_me: failed program was:" >&5
14856 sed 's/^/| /' conftest.$ac_ext >&5
14858 # Broken: fails on valid input.
14862 rm -f conftest.err conftest.$ac_ext
14864 # OK, works on sane cases. Now check whether nonexistent headers
14865 # can be detected and how.
14866 cat >conftest.$ac_ext <<_ACEOF
14869 cat confdefs.h >>conftest.$ac_ext
14870 cat >>conftest.$ac_ext <<_ACEOF
14871 /* end confdefs.h. */
14872 #include <ac_nonexistent.h>
14874 if { (ac_try="$ac_cpp conftest.$ac_ext"
14875 case "(($ac_try" in
14876 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14877 *) ac_try_echo
=$ac_try;;
14879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14880 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14882 grep -v '^ *+' conftest.er1
>conftest.err
14884 cat conftest.err
>&5
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); } >/dev
/null
; then
14887 if test -s conftest.err
; then
14888 ac_cpp_err
=$ac_c_preproc_warn_flag
14889 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14896 if test -z "$ac_cpp_err"; then
14897 # Broken: success on invalid input.
14900 echo "$as_me: failed program was:" >&5
14901 sed 's/^/| /' conftest.
$ac_ext >&5
14903 # Passes both tests.
14908 rm -f conftest.err conftest.
$ac_ext
14911 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14912 rm -f conftest.err conftest.
$ac_ext
14913 if $ac_preproc_ok; then
14918 ac_cv_prog_CPP
=$CPP
14921 CPP
=$ac_cv_prog_CPP
14923 ac_cv_prog_CPP
=$CPP
14925 { echo "$as_me:$LINENO: result: $CPP" >&5
14926 echo "${ECHO_T}$CPP" >&6; }
14927 ac_preproc_ok
=false
14928 for ac_c_preproc_warn_flag
in '' yes
14930 # Use a header file that comes with gcc, so configuring glibc
14931 # with a fresh cross-compiler works.
14932 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14933 # <limits.h> exists even on freestanding compilers.
14934 # On the NeXT, cc -E runs the code through the compiler's parser,
14935 # not just through cpp. "Syntax error" is here to catch this case.
14936 cat >conftest.
$ac_ext <<_ACEOF
14939 cat confdefs.h
>>conftest.
$ac_ext
14940 cat >>conftest.
$ac_ext <<_ACEOF
14941 /* end confdefs.h. */
14943 # include <limits.h>
14945 # include <assert.h>
14949 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14950 case "(($ac_try" in
14951 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14952 *) ac_try_echo=$ac_try;;
14954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14955 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14957 grep -v '^ *+' conftest.er1 >conftest.err
14959 cat conftest.err >&5
14960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14961 (exit $ac_status); } >/dev/null; then
14962 if test -s conftest.err; then
14963 ac_cpp_err=$ac_c_preproc_warn_flag
14964 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14971 if test -z "$ac_cpp_err"; then
14974 echo "$as_me: failed program was:" >&5
14975 sed 's/^/| /' conftest.$ac_ext >&5
14977 # Broken: fails on valid input.
14981 rm -f conftest.err conftest.$ac_ext
14983 # OK, works on sane cases. Now check whether nonexistent headers
14984 # can be detected and how.
14985 cat >conftest.$ac_ext <<_ACEOF
14988 cat confdefs.h >>conftest.$ac_ext
14989 cat >>conftest.$ac_ext <<_ACEOF
14990 /* end confdefs.h. */
14991 #include <ac_nonexistent.h>
14993 if { (ac_try="$ac_cpp conftest.$ac_ext"
14994 case "(($ac_try" in
14995 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14996 *) ac_try_echo
=$ac_try;;
14998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14999 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15001 grep -v '^ *+' conftest.er1
>conftest.err
15003 cat conftest.err
>&5
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); } >/dev
/null
; then
15006 if test -s conftest.err
; then
15007 ac_cpp_err
=$ac_c_preproc_warn_flag
15008 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15015 if test -z "$ac_cpp_err"; then
15016 # Broken: success on invalid input.
15019 echo "$as_me: failed program was:" >&5
15020 sed 's/^/| /' conftest.
$ac_ext >&5
15022 # Passes both tests.
15027 rm -f conftest.err conftest.
$ac_ext
15030 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15031 rm -f conftest.err conftest.
$ac_ext
15032 if $ac_preproc_ok; then
15035 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15036 See \`config.log' for more details." >&5
15037 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15038 See \`config.log' for more details." >&2;}
15039 { (exit 1); exit 1; }; }
15043 ac_cpp
='$CPP $CPPFLAGS'
15044 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15045 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15046 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15049 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15050 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15051 if test "${ac_cv_path_GREP+set}" = set; then
15052 echo $ECHO_N "(cached) $ECHO_C" >&6
15054 # Extract the first word of "grep ggrep" to use in msg output
15055 if test -z "$GREP"; then
15056 set dummy
grep ggrep
; ac_prog_name
=$2
15057 if test "${ac_cv_path_GREP+set}" = set; then
15058 echo $ECHO_N "(cached) $ECHO_C" >&6
15060 ac_path_GREP_found
=false
15061 # Loop through the user's path and test for each of PROGNAME-LIST
15062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15063 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
15066 test -z "$as_dir" && as_dir
=.
15067 for ac_prog
in grep ggrep
; do
15068 for ac_exec_ext
in '' $ac_executable_extensions; do
15069 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
15070 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
15071 # Check for GNU ac_path_GREP and select it if it is found.
15072 # Check for GNU $ac_path_GREP
15073 case `"$ac_path_GREP" --version 2>&1` in
15075 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
15078 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15081 cat "conftest.in" "conftest.in" >"conftest.tmp"
15082 mv "conftest.tmp" "conftest.in"
15083 cp "conftest.in" "conftest.nl"
15084 echo 'GREP' >> "conftest.nl"
15085 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
15086 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
15087 ac_count
=`expr $ac_count + 1`
15088 if test $ac_count -gt ${ac_path_GREP_max-0}; then
15089 # Best one so far, save it but keep looking for a better one
15090 ac_cv_path_GREP
="$ac_path_GREP"
15091 ac_path_GREP_max
=$ac_count
15093 # 10*(2^10) chars as input seems more than enough
15094 test $ac_count -gt 10 && break
15096 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
15100 $ac_path_GREP_found && break 3
15110 GREP
="$ac_cv_path_GREP"
15111 if test -z "$GREP"; then
15112 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15113 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15114 { (exit 1); exit 1; }; }
15118 ac_cv_path_GREP
=$GREP
15123 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
15124 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
15125 GREP
="$ac_cv_path_GREP"
15128 { echo "$as_me:$LINENO: checking for egrep" >&5
15129 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
15130 if test "${ac_cv_path_EGREP+set}" = set; then
15131 echo $ECHO_N "(cached) $ECHO_C" >&6
15133 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
15134 then ac_cv_path_EGREP
="$GREP -E"
15136 # Extract the first word of "egrep" to use in msg output
15137 if test -z "$EGREP"; then
15138 set dummy
egrep; ac_prog_name
=$2
15139 if test "${ac_cv_path_EGREP+set}" = set; then
15140 echo $ECHO_N "(cached) $ECHO_C" >&6
15142 ac_path_EGREP_found
=false
15143 # Loop through the user's path and test for each of PROGNAME-LIST
15144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15145 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
15148 test -z "$as_dir" && as_dir
=.
15149 for ac_prog
in egrep; do
15150 for ac_exec_ext
in '' $ac_executable_extensions; do
15151 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
15152 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
15153 # Check for GNU ac_path_EGREP and select it if it is found.
15154 # Check for GNU $ac_path_EGREP
15155 case `"$ac_path_EGREP" --version 2>&1` in
15157 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
15160 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15163 cat "conftest.in" "conftest.in" >"conftest.tmp"
15164 mv "conftest.tmp" "conftest.in"
15165 cp "conftest.in" "conftest.nl"
15166 echo 'EGREP' >> "conftest.nl"
15167 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
15168 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
15169 ac_count
=`expr $ac_count + 1`
15170 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
15171 # Best one so far, save it but keep looking for a better one
15172 ac_cv_path_EGREP
="$ac_path_EGREP"
15173 ac_path_EGREP_max
=$ac_count
15175 # 10*(2^10) chars as input seems more than enough
15176 test $ac_count -gt 10 && break
15178 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
15182 $ac_path_EGREP_found && break 3
15192 EGREP
="$ac_cv_path_EGREP"
15193 if test -z "$EGREP"; then
15194 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15195 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15196 { (exit 1); exit 1; }; }
15200 ac_cv_path_EGREP
=$EGREP
15206 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
15207 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
15208 EGREP
="$ac_cv_path_EGREP"
15211 if test $ac_cv_c_compiler_gnu = yes; then
15212 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
15213 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
15214 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
15215 echo $ECHO_N "(cached) $ECHO_C" >&6
15217 ac_pattern
="Autoconf.*'x'"
15218 cat >conftest.
$ac_ext <<_ACEOF
15221 cat confdefs.h
>>conftest.
$ac_ext
15222 cat >>conftest.
$ac_ext <<_ACEOF
15223 /* end confdefs.h. */
15227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15228 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
15229 ac_cv_prog_gcc_traditional
=yes
15231 ac_cv_prog_gcc_traditional
=no
15236 if test $ac_cv_prog_gcc_traditional = no
; then
15237 cat >conftest.
$ac_ext <<_ACEOF
15240 cat confdefs.h
>>conftest.
$ac_ext
15241 cat >>conftest.
$ac_ext <<_ACEOF
15242 /* end confdefs.h. */
15243 #include <termio.h>
15246 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15247 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
15248 ac_cv_prog_gcc_traditional
=yes
15254 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
15255 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
15256 if test $ac_cv_prog_gcc_traditional = yes; then
15257 CC
="$CC -traditional"
15262 CXXFLAGS
=${CXXFLAGS:=}
15267 ac_cpp
='$CXXCPP $CPPFLAGS'
15268 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15269 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15270 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15271 if test -z "$CXX"; then
15272 if test -n "$CCC"; then
15275 if test -n "$ac_tool_prefix"; then
15276 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
15278 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15279 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
15280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15282 if test "${ac_cv_prog_CXX+set}" = set; then
15283 echo $ECHO_N "(cached) $ECHO_C" >&6
15285 if test -n "$CXX"; then
15286 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
15288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15289 for as_dir
in $PATH
15292 test -z "$as_dir" && as_dir
=.
15293 for ac_exec_ext
in '' $ac_executable_extensions; do
15294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15295 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
15296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15305 CXX
=$ac_cv_prog_CXX
15306 if test -n "$CXX"; then
15307 { echo "$as_me:$LINENO: result: $CXX" >&5
15308 echo "${ECHO_T}$CXX" >&6; }
15310 { echo "$as_me:$LINENO: result: no" >&5
15311 echo "${ECHO_T}no" >&6; }
15315 test -n "$CXX" && break
15318 if test -z "$CXX"; then
15320 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
15322 # Extract the first word of "$ac_prog", so it can be a program name with args.
15323 set dummy
$ac_prog; ac_word
=$2
15324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15326 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15327 echo $ECHO_N "(cached) $ECHO_C" >&6
15329 if test -n "$ac_ct_CXX"; then
15330 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
15332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15333 for as_dir
in $PATH
15336 test -z "$as_dir" && as_dir
=.
15337 for ac_exec_ext
in '' $ac_executable_extensions; do
15338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15339 ac_cv_prog_ac_ct_CXX
="$ac_prog"
15340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15349 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
15350 if test -n "$ac_ct_CXX"; then
15351 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15352 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15354 { echo "$as_me:$LINENO: result: no" >&5
15355 echo "${ECHO_T}no" >&6; }
15359 test -n "$ac_ct_CXX" && break
15362 if test "x$ac_ct_CXX" = x
; then
15365 case $cross_compiling:$ac_tool_warned in
15367 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15368 whose name does not start with the host triplet. If you think this
15369 configuration is useful to you, please write to autoconf@gnu.org." >&5
15370 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15371 whose name does not start with the host triplet. If you think this
15372 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15373 ac_tool_warned
=yes ;;
15381 # Provide some information about the compiler.
15382 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15383 ac_compiler
=`set X $ac_compile; echo $2`
15384 { (ac_try
="$ac_compiler --version >&5"
15385 case "(($ac_try" in
15386 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15387 *) ac_try_echo=$ac_try;;
15389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15390 (eval "$ac_compiler --version >&5") 2>&5
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); }
15394 { (ac_try="$ac_compiler -v >&5"
15395 case "(($ac_try" in
15396 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15397 *) ac_try_echo
=$ac_try;;
15399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15400 (eval "$ac_compiler -v >&5") 2>&5
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); }
15404 { (ac_try
="$ac_compiler -V >&5"
15405 case "(($ac_try" in
15406 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15407 *) ac_try_echo=$ac_try;;
15409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15410 (eval "$ac_compiler -V >&5") 2>&5
15412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15413 (exit $ac_status); }
15415 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15416 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15417 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15418 echo $ECHO_N "(cached) $ECHO_C" >&6
15420 cat >conftest.$ac_ext <<_ACEOF
15423 cat confdefs.h >>conftest.$ac_ext
15424 cat >>conftest.$ac_ext <<_ACEOF
15425 /* end confdefs.h. */
15438 rm -f conftest.$ac_objext
15439 if { (ac_try="$ac_compile"
15440 case "(($ac_try" in
15441 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15442 *) ac_try_echo
=$ac_try;;
15444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15445 (eval "$ac_compile") 2>conftest.er1
15447 grep -v '^ *+' conftest.er1
>conftest.err
15449 cat conftest.err
>&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); } &&
15452 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15453 { (case "(($ac_try" in
15454 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15455 *) ac_try_echo=$ac_try;;
15457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15458 (eval "$ac_try") 2>&5
15460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15461 (exit $ac_status); }; } &&
15462 { ac_try='test -s conftest.$ac_objext'
15463 { (case "(($ac_try" in
15464 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15465 *) ac_try_echo
=$ac_try;;
15467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15468 (eval "$ac_try") 2>&5
15470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15471 (exit $ac_status); }; }; then
15472 ac_compiler_gnu
=yes
15474 echo "$as_me: failed program was:" >&5
15475 sed 's/^/| /' conftest.
$ac_ext >&5
15480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15481 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
15484 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15485 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15486 GXX
=`test $ac_compiler_gnu = yes && echo yes`
15487 ac_test_CXXFLAGS
=${CXXFLAGS+set}
15488 ac_save_CXXFLAGS
=$CXXFLAGS
15489 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15490 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15491 if test "${ac_cv_prog_cxx_g+set}" = set; then
15492 echo $ECHO_N "(cached) $ECHO_C" >&6
15494 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
15495 ac_cxx_werror_flag
=yes
15496 ac_cv_prog_cxx_g
=no
15498 cat >conftest.
$ac_ext <<_ACEOF
15501 cat confdefs.h
>>conftest.
$ac_ext
15502 cat >>conftest.
$ac_ext <<_ACEOF
15503 /* end confdefs.h. */
15513 rm -f conftest.
$ac_objext
15514 if { (ac_try
="$ac_compile"
15515 case "(($ac_try" in
15516 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15517 *) ac_try_echo=$ac_try;;
15519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15520 (eval "$ac_compile") 2>conftest.er1
15522 grep -v '^ *+' conftest.er1 >conftest.err
15524 cat conftest.err >&5
15525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15526 (exit $ac_status); } &&
15527 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15528 { (case "(($ac_try" in
15529 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15530 *) ac_try_echo
=$ac_try;;
15532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15533 (eval "$ac_try") 2>&5
15535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15536 (exit $ac_status); }; } &&
15537 { ac_try
='test -s conftest.$ac_objext'
15538 { (case "(($ac_try" in
15539 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15540 *) ac_try_echo=$ac_try;;
15542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15543 (eval "$ac_try") 2>&5
15545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546 (exit $ac_status); }; }; then
15547 ac_cv_prog_cxx_g=yes
15549 echo "$as_me: failed program was:" >&5
15550 sed 's/^/| /' conftest.$ac_ext >&5
15553 cat >conftest.$ac_ext <<_ACEOF
15556 cat confdefs.h >>conftest.$ac_ext
15557 cat >>conftest.$ac_ext <<_ACEOF
15558 /* end confdefs.h. */
15568 rm -f conftest.$ac_objext
15569 if { (ac_try="$ac_compile"
15570 case "(($ac_try" in
15571 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15572 *) ac_try_echo
=$ac_try;;
15574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15575 (eval "$ac_compile") 2>conftest.er1
15577 grep -v '^ *+' conftest.er1
>conftest.err
15579 cat conftest.err
>&5
15580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581 (exit $ac_status); } &&
15582 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15583 { (case "(($ac_try" in
15584 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15585 *) ac_try_echo=$ac_try;;
15587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15588 (eval "$ac_try") 2>&5
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); }; } &&
15592 { ac_try='test -s conftest.$ac_objext'
15593 { (case "(($ac_try" in
15594 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15595 *) ac_try_echo
=$ac_try;;
15597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15598 (eval "$ac_try") 2>&5
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); }; }; then
15604 echo "$as_me: failed program was:" >&5
15605 sed 's/^/| /' conftest.
$ac_ext >&5
15607 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
15609 cat >conftest.
$ac_ext <<_ACEOF
15612 cat confdefs.h
>>conftest.
$ac_ext
15613 cat >>conftest.
$ac_ext <<_ACEOF
15614 /* end confdefs.h. */
15624 rm -f conftest.
$ac_objext
15625 if { (ac_try
="$ac_compile"
15626 case "(($ac_try" in
15627 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15628 *) ac_try_echo=$ac_try;;
15630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15631 (eval "$ac_compile") 2>conftest.er1
15633 grep -v '^ *+' conftest.er1 >conftest.err
15635 cat conftest.err >&5
15636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15637 (exit $ac_status); } &&
15638 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15639 { (case "(($ac_try" in
15640 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15641 *) ac_try_echo
=$ac_try;;
15643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15644 (eval "$ac_try") 2>&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); }; } &&
15648 { ac_try
='test -s conftest.$ac_objext'
15649 { (case "(($ac_try" in
15650 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15651 *) ac_try_echo=$ac_try;;
15653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15654 (eval "$ac_try") 2>&5
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); }; }; then
15658 ac_cv_prog_cxx_g=yes
15660 echo "$as_me: failed program was:" >&5
15661 sed 's/^/| /' conftest.$ac_ext >&5
15666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15673 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15675 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15676 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15677 if test "$ac_test_CXXFLAGS" = set; then
15678 CXXFLAGS=$ac_save_CXXFLAGS
15679 elif test $ac_cv_prog_cxx_g = yes; then
15680 if test "$GXX" = yes; then
15686 if test "$GXX" = yes; then
15693 ac_cpp='$CPP $CPPFLAGS'
15694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15701 ac_cpp='$CXXCPP $CPPFLAGS'
15702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15706 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15707 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15708 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15709 echo $ECHO_N "(cached) $ECHO_C" >&6
15711 cat >conftest.$ac_ext <<_ACEOF
15714 cat confdefs.h >>conftest.$ac_ext
15715 cat >>conftest.$ac_ext <<_ACEOF
15716 /* end confdefs.h. */
15722 #ifndef __INTEL_COMPILER
15730 rm -f conftest.$ac_objext
15731 if { (ac_try="$ac_compile"
15732 case "(($ac_try" in
15733 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15734 *) ac_try_echo
=$ac_try;;
15736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15737 (eval "$ac_compile") 2>conftest.er1
15739 grep -v '^ *+' conftest.er1
>conftest.err
15741 cat conftest.err
>&5
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); } &&
15744 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15745 { (case "(($ac_try" in
15746 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15747 *) ac_try_echo=$ac_try;;
15749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15750 (eval "$ac_try") 2>&5
15752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15753 (exit $ac_status); }; } &&
15754 { ac_try='test -s conftest.$ac_objext'
15755 { (case "(($ac_try" in
15756 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15757 *) ac_try_echo
=$ac_try;;
15759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15760 (eval "$ac_try") 2>&5
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); }; }; then
15764 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
15766 echo "$as_me: failed program was:" >&5
15767 sed 's/^/| /' conftest.
$ac_ext >&5
15769 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
15773 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15777 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15778 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15779 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
15785 ac_cpp
='$CPP $CPPFLAGS'
15786 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15787 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15788 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15792 if test "x$GCXX" != "xyes"; then
15793 if test "xCXX" = "xC"; then
15794 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15795 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15796 if test "${bakefile_cv_c_exto+set}" = set; then
15797 echo $ECHO_N "(cached) $ECHO_C" >&6
15799 cat >conftest.
$ac_ext <<_ACEOF
15802 cat confdefs.h
>>conftest.
$ac_ext
15803 cat >>conftest.
$ac_ext <<_ACEOF
15804 /* end confdefs.h. */
15814 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
15815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15816 (eval $ac_compile) 2>&5
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); }; then
15820 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
15822 conftest.
$ac_ext.o
)
15823 bakefile_cv_c_exto
="-ext o"
15830 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15831 See \`config.log' for more details." >&5
15832 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15833 See \`config.log' for more details." >&2;}
15834 { (exit 1); exit 1; }; }
15838 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
15841 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15842 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15843 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15844 if test "c" = "c"; then
15845 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
15847 if test "c" = "cxx"; then
15848 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
15852 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15853 unset ac_cv_prog_cc_g
15854 ac_test_CFLAGS
=${CFLAGS+set}
15855 ac_save_CFLAGS
=$CFLAGS
15856 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15857 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15858 if test "${ac_cv_prog_cc_g+set}" = set; then
15859 echo $ECHO_N "(cached) $ECHO_C" >&6
15861 ac_save_c_werror_flag
=$ac_c_werror_flag
15862 ac_c_werror_flag
=yes
15865 cat >conftest.
$ac_ext <<_ACEOF
15868 cat confdefs.h
>>conftest.
$ac_ext
15869 cat >>conftest.
$ac_ext <<_ACEOF
15870 /* end confdefs.h. */
15880 rm -f conftest.
$ac_objext
15881 if { (ac_try
="$ac_compile"
15882 case "(($ac_try" in
15883 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15884 *) ac_try_echo=$ac_try;;
15886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15887 (eval "$ac_compile") 2>conftest.er1
15889 grep -v '^ *+' conftest.er1 >conftest.err
15891 cat conftest.err >&5
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); } &&
15894 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15895 { (case "(($ac_try" in
15896 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15897 *) ac_try_echo
=$ac_try;;
15899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15900 (eval "$ac_try") 2>&5
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); }; } &&
15904 { ac_try
='test -s conftest.$ac_objext'
15905 { (case "(($ac_try" in
15906 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15907 *) ac_try_echo=$ac_try;;
15909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15910 (eval "$ac_try") 2>&5
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913 (exit $ac_status); }; }; then
15914 ac_cv_prog_cc_g=yes
15916 echo "$as_me: failed program was:" >&5
15917 sed 's/^/| /' conftest.$ac_ext >&5
15920 cat >conftest.$ac_ext <<_ACEOF
15923 cat confdefs.h >>conftest.$ac_ext
15924 cat >>conftest.$ac_ext <<_ACEOF
15925 /* end confdefs.h. */
15935 rm -f conftest.$ac_objext
15936 if { (ac_try="$ac_compile"
15937 case "(($ac_try" in
15938 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15939 *) ac_try_echo
=$ac_try;;
15941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15942 (eval "$ac_compile") 2>conftest.er1
15944 grep -v '^ *+' conftest.er1
>conftest.err
15946 cat conftest.err
>&5
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); } &&
15949 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15950 { (case "(($ac_try" in
15951 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15952 *) ac_try_echo=$ac_try;;
15954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15955 (eval "$ac_try") 2>&5
15957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15958 (exit $ac_status); }; } &&
15959 { ac_try='test -s conftest.$ac_objext'
15960 { (case "(($ac_try" in
15961 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15962 *) ac_try_echo
=$ac_try;;
15964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15965 (eval "$ac_try") 2>&5
15967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15968 (exit $ac_status); }; }; then
15971 echo "$as_me: failed program was:" >&5
15972 sed 's/^/| /' conftest.
$ac_ext >&5
15974 ac_c_werror_flag
=$ac_save_c_werror_flag
15976 cat >conftest.
$ac_ext <<_ACEOF
15979 cat confdefs.h
>>conftest.
$ac_ext
15980 cat >>conftest.
$ac_ext <<_ACEOF
15981 /* end confdefs.h. */
15991 rm -f conftest.
$ac_objext
15992 if { (ac_try
="$ac_compile"
15993 case "(($ac_try" in
15994 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15995 *) ac_try_echo=$ac_try;;
15997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15998 (eval "$ac_compile") 2>conftest.er1
16000 grep -v '^ *+' conftest.er1 >conftest.err
16002 cat conftest.err >&5
16003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16004 (exit $ac_status); } &&
16005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16006 { (case "(($ac_try" in
16007 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16008 *) ac_try_echo
=$ac_try;;
16010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16011 (eval "$ac_try") 2>&5
16013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16014 (exit $ac_status); }; } &&
16015 { ac_try
='test -s conftest.$ac_objext'
16016 { (case "(($ac_try" in
16017 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16018 *) ac_try_echo=$ac_try;;
16020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16021 (eval "$ac_try") 2>&5
16023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16024 (exit $ac_status); }; }; then
16025 ac_cv_prog_cc_g=yes
16027 echo "$as_me: failed program was:" >&5
16028 sed 's/^/| /' conftest.$ac_ext >&5
16033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16040 ac_c_werror_flag=$ac_save_c_werror_flag
16042 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16043 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16044 if test "$ac_test_CFLAGS" = set; then
16045 CFLAGS=$ac_save_CFLAGS
16046 elif test $ac_cv_prog_cc_g = yes; then
16047 if test "$GCC" = yes; then
16053 if test "$GCC" = yes; then
16065 ac_cpp='$CXXCPP $CPPFLAGS'
16066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16070 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16071 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16072 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
16073 echo $ECHO_N "(cached) $ECHO_C" >&6
16075 cat >conftest.$ac_ext <<_ACEOF
16078 cat confdefs.h >>conftest.$ac_ext
16079 cat >>conftest.$ac_ext <<_ACEOF
16080 /* end confdefs.h. */
16093 rm -f conftest.$ac_objext
16094 if { (ac_try="$ac_compile"
16095 case "(($ac_try" in
16096 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16097 *) ac_try_echo
=$ac_try;;
16099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16100 (eval "$ac_compile") 2>conftest.er1
16102 grep -v '^ *+' conftest.er1
>conftest.err
16104 cat conftest.err
>&5
16105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16106 (exit $ac_status); } &&
16107 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16108 { (case "(($ac_try" in
16109 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16110 *) ac_try_echo=$ac_try;;
16112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16113 (eval "$ac_try") 2>&5
16115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16116 (exit $ac_status); }; } &&
16117 { ac_try='test -s conftest.$ac_objext'
16118 { (case "(($ac_try" in
16119 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16120 *) ac_try_echo
=$ac_try;;
16122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16123 (eval "$ac_try") 2>&5
16125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126 (exit $ac_status); }; }; then
16127 bakefile_compiler_xlc
=yes
16129 echo "$as_me: failed program was:" >&5
16130 sed 's/^/| /' conftest.
$ac_ext >&5
16132 bakefile_compiler_xlc
=no
16135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16136 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
16139 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
16140 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
16142 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
16144 ac_cpp
='$CPP $CPPFLAGS'
16145 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16146 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16147 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16154 ac_cpp
='$CXXCPP $CPPFLAGS'
16155 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16156 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16157 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16159 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16160 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16161 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
16162 echo $ECHO_N "(cached) $ECHO_C" >&6
16164 cat >conftest.
$ac_ext <<_ACEOF
16167 cat confdefs.h
>>conftest.
$ac_ext
16168 cat >>conftest.
$ac_ext <<_ACEOF
16169 /* end confdefs.h. */
16182 rm -f conftest.
$ac_objext
16183 if { (ac_try
="$ac_compile"
16184 case "(($ac_try" in
16185 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16186 *) ac_try_echo=$ac_try;;
16188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16189 (eval "$ac_compile") 2>conftest.er1
16191 grep -v '^ *+' conftest.er1 >conftest.err
16193 cat conftest.err >&5
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 (exit $ac_status); } &&
16196 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16197 { (case "(($ac_try" in
16198 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16199 *) ac_try_echo
=$ac_try;;
16201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16202 (eval "$ac_try") 2>&5
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); }; } &&
16206 { ac_try
='test -s conftest.$ac_objext'
16207 { (case "(($ac_try" in
16208 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16209 *) ac_try_echo=$ac_try;;
16211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16212 (eval "$ac_try") 2>&5
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); }; }; then
16216 bakefile_compiler_mwerks=yes
16218 echo "$as_me: failed program was:" >&5
16219 sed 's/^/| /' conftest.$ac_ext >&5
16221 bakefile_compiler_mwerks=no
16224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16225 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
16228 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
16229 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
16231 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
16233 ac_cpp='$CPP $CPPFLAGS'
16234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16240 ac_cpp='$CXXCPP $CPPFLAGS'
16241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16245 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16246 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16247 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
16248 echo $ECHO_N "(cached) $ECHO_C" >&6
16250 cat >conftest.$ac_ext <<_ACEOF
16253 cat confdefs.h >>conftest.$ac_ext
16254 cat >>conftest.$ac_ext <<_ACEOF
16255 /* end confdefs.h. */
16268 rm -f conftest.$ac_objext
16269 if { (ac_try="$ac_compile"
16270 case "(($ac_try" in
16271 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16272 *) ac_try_echo
=$ac_try;;
16274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16275 (eval "$ac_compile") 2>conftest.er1
16277 grep -v '^ *+' conftest.er1
>conftest.err
16279 cat conftest.err
>&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); } &&
16282 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16283 { (case "(($ac_try" in
16284 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16285 *) ac_try_echo=$ac_try;;
16287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16288 (eval "$ac_try") 2>&5
16290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16291 (exit $ac_status); }; } &&
16292 { ac_try='test -s conftest.$ac_objext'
16293 { (case "(($ac_try" in
16294 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16295 *) ac_try_echo
=$ac_try;;
16297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16298 (eval "$ac_try") 2>&5
16300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16301 (exit $ac_status); }; }; then
16302 bakefile_compiler_xlc
=yes
16304 echo "$as_me: failed program was:" >&5
16305 sed 's/^/| /' conftest.
$ac_ext >&5
16307 bakefile_compiler_xlc
=no
16310 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16311 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
16314 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
16315 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
16317 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
16319 ac_cpp
='$CPP $CPPFLAGS'
16320 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16321 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16322 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16331 ac_cpp
='$CXXCPP $CPPFLAGS'
16332 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16333 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16334 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16336 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
16337 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
16338 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
16339 echo $ECHO_N "(cached) $ECHO_C" >&6
16341 cat >conftest.
$ac_ext <<_ACEOF
16344 cat confdefs.h
>>conftest.
$ac_ext
16345 cat >>conftest.
$ac_ext <<_ACEOF
16346 /* end confdefs.h. */
16352 #ifndef _SGI_COMPILER_VERSION
16360 rm -f conftest.
$ac_objext
16361 if { (ac_try
="$ac_compile"
16362 case "(($ac_try" in
16363 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16364 *) ac_try_echo=$ac_try;;
16366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16367 (eval "$ac_compile") 2>conftest.er1
16369 grep -v '^ *+' conftest.er1 >conftest.err
16371 cat conftest.err >&5
16372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16373 (exit $ac_status); } &&
16374 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16375 { (case "(($ac_try" in
16376 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16377 *) ac_try_echo
=$ac_try;;
16379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16380 (eval "$ac_try") 2>&5
16382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16383 (exit $ac_status); }; } &&
16384 { ac_try
='test -s conftest.$ac_objext'
16385 { (case "(($ac_try" in
16386 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16387 *) ac_try_echo=$ac_try;;
16389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16390 (eval "$ac_try") 2>&5
16392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16393 (exit $ac_status); }; }; then
16394 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
16396 echo "$as_me: failed program was:" >&5
16397 sed 's/^/| /' conftest.$ac_ext >&5
16399 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
16403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16407 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
16408 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
16409 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16415 ac_cpp='$CPP $CPPFLAGS'
16416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16428 ac_cpp='$CXXCPP $CPPFLAGS'
16429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16433 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
16434 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
16435 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
16436 echo $ECHO_N "(cached) $ECHO_C" >&6
16438 cat >conftest.$ac_ext <<_ACEOF
16441 cat confdefs.h >>conftest.$ac_ext
16442 cat >>conftest.$ac_ext <<_ACEOF
16443 /* end confdefs.h. */
16457 rm -f conftest.$ac_objext
16458 if { (ac_try="$ac_compile"
16459 case "(($ac_try" in
16460 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16461 *) ac_try_echo
=$ac_try;;
16463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16464 (eval "$ac_compile") 2>conftest.er1
16466 grep -v '^ *+' conftest.er1
>conftest.err
16468 cat conftest.err
>&5
16469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16470 (exit $ac_status); } &&
16471 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16472 { (case "(($ac_try" in
16473 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16474 *) ac_try_echo=$ac_try;;
16476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16477 (eval "$ac_try") 2>&5
16479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16480 (exit $ac_status); }; } &&
16481 { ac_try='test -s conftest.$ac_objext'
16482 { (case "(($ac_try" in
16483 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16484 *) ac_try_echo
=$ac_try;;
16486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16487 (eval "$ac_try") 2>&5
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); }; }; then
16491 bakefile_cv_cxx_compiler___HP_aCC
=yes
16493 echo "$as_me: failed program was:" >&5
16494 sed 's/^/| /' conftest.
$ac_ext >&5
16496 bakefile_cv_cxx_compiler___HP_aCC
=no
16500 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16504 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16505 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16506 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
16512 ac_cpp
='$CPP $CPPFLAGS'
16513 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16514 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16515 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16525 ac_cpp
='$CXXCPP $CPPFLAGS'
16526 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16527 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16528 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16530 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16531 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16532 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16533 echo $ECHO_N "(cached) $ECHO_C" >&6
16535 cat >conftest.
$ac_ext <<_ACEOF
16538 cat confdefs.h
>>conftest.
$ac_ext
16539 cat >>conftest.
$ac_ext <<_ACEOF
16540 /* end confdefs.h. */
16554 rm -f conftest.
$ac_objext
16555 if { (ac_try
="$ac_compile"
16556 case "(($ac_try" in
16557 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16558 *) ac_try_echo=$ac_try;;
16560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16561 (eval "$ac_compile") 2>conftest.er1
16563 grep -v '^ *+' conftest.er1 >conftest.err
16565 cat conftest.err >&5
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); } &&
16568 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16569 { (case "(($ac_try" in
16570 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16571 *) ac_try_echo
=$ac_try;;
16573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16574 (eval "$ac_try") 2>&5
16576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16577 (exit $ac_status); }; } &&
16578 { ac_try
='test -s conftest.$ac_objext'
16579 { (case "(($ac_try" in
16580 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16581 *) ac_try_echo=$ac_try;;
16583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16584 (eval "$ac_try") 2>&5
16586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587 (exit $ac_status); }; }; then
16588 bakefile_cv_cxx_compiler___DECCXX=yes
16590 echo "$as_me: failed program was:" >&5
16591 sed 's/^/| /' conftest.$ac_ext >&5
16593 bakefile_cv_cxx_compiler___DECCXX=no
16597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16601 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16602 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16603 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
16609 ac_cpp='$CPP $CPPFLAGS'
16610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16622 ac_cpp='$CXXCPP $CPPFLAGS'
16623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16627 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16628 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16629 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16630 echo $ECHO_N "(cached) $ECHO_C" >&6
16632 cat >conftest.$ac_ext <<_ACEOF
16635 cat confdefs.h >>conftest.$ac_ext
16636 cat >>conftest.$ac_ext <<_ACEOF
16637 /* end confdefs.h. */
16643 #ifndef __SUNPRO_CC
16651 rm -f conftest.$ac_objext
16652 if { (ac_try="$ac_compile"
16653 case "(($ac_try" in
16654 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16655 *) ac_try_echo
=$ac_try;;
16657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16658 (eval "$ac_compile") 2>conftest.er1
16660 grep -v '^ *+' conftest.er1
>conftest.err
16662 cat conftest.err
>&5
16663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16664 (exit $ac_status); } &&
16665 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16666 { (case "(($ac_try" in
16667 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16668 *) ac_try_echo=$ac_try;;
16670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16671 (eval "$ac_try") 2>&5
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); }; } &&
16675 { ac_try='test -s conftest.$ac_objext'
16676 { (case "(($ac_try" in
16677 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16678 *) ac_try_echo
=$ac_try;;
16680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16681 (eval "$ac_try") 2>&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); }; }; then
16685 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
16687 echo "$as_me: failed program was:" >&5
16688 sed 's/^/| /' conftest.
$ac_ext >&5
16690 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
16694 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16698 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16699 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16700 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
16706 ac_cpp
='$CPP $CPPFLAGS'
16707 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16708 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16709 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16719 if test -n "$ac_tool_prefix"; then
16720 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16721 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
16722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16724 if test "${ac_cv_prog_RANLIB+set}" = set; then
16725 echo $ECHO_N "(cached) $ECHO_C" >&6
16727 if test -n "$RANLIB"; then
16728 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
16730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16731 for as_dir
in $PATH
16734 test -z "$as_dir" && as_dir
=.
16735 for ac_exec_ext
in '' $ac_executable_extensions; do
16736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16737 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
16738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16747 RANLIB
=$ac_cv_prog_RANLIB
16748 if test -n "$RANLIB"; then
16749 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16750 echo "${ECHO_T}$RANLIB" >&6; }
16752 { echo "$as_me:$LINENO: result: no" >&5
16753 echo "${ECHO_T}no" >&6; }
16758 if test -z "$ac_cv_prog_RANLIB"; then
16759 ac_ct_RANLIB
=$RANLIB
16760 # Extract the first word of "ranlib", so it can be a program name with args.
16761 set dummy ranlib
; ac_word
=$2
16762 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16764 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16765 echo $ECHO_N "(cached) $ECHO_C" >&6
16767 if test -n "$ac_ct_RANLIB"; then
16768 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
16770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16771 for as_dir
in $PATH
16774 test -z "$as_dir" && as_dir
=.
16775 for ac_exec_ext
in '' $ac_executable_extensions; do
16776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16777 ac_cv_prog_ac_ct_RANLIB
="ranlib"
16778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16787 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
16788 if test -n "$ac_ct_RANLIB"; then
16789 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16790 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16792 { echo "$as_me:$LINENO: result: no" >&5
16793 echo "${ECHO_T}no" >&6; }
16796 if test "x$ac_ct_RANLIB" = x
; then
16799 case $cross_compiling:$ac_tool_warned in
16801 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16802 whose name does not start with the host triplet. If you think this
16803 configuration is useful to you, please write to autoconf@gnu.org." >&5
16804 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16805 whose name does not start with the host triplet. If you think this
16806 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16807 ac_tool_warned
=yes ;;
16809 RANLIB
=$ac_ct_RANLIB
16812 RANLIB
="$ac_cv_prog_RANLIB"
16816 if test "x$SUNCXX" != xyes
; then
16817 if test -n "$ac_tool_prefix"; then
16818 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16819 set dummy
${ac_tool_prefix}ar; ac_word
=$2
16820 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16822 if test "${ac_cv_prog_AR+set}" = set; then
16823 echo $ECHO_N "(cached) $ECHO_C" >&6
16825 if test -n "$AR"; then
16826 ac_cv_prog_AR
="$AR" # Let the user override the test.
16828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16829 for as_dir
in $PATH
16832 test -z "$as_dir" && as_dir
=.
16833 for ac_exec_ext
in '' $ac_executable_extensions; do
16834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16835 ac_cv_prog_AR
="${ac_tool_prefix}ar"
16836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16846 if test -n "$AR"; then
16847 { echo "$as_me:$LINENO: result: $AR" >&5
16848 echo "${ECHO_T}$AR" >&6; }
16850 { echo "$as_me:$LINENO: result: no" >&5
16851 echo "${ECHO_T}no" >&6; }
16856 if test -z "$ac_cv_prog_AR"; then
16858 # Extract the first word of "ar", so it can be a program name with args.
16859 set dummy
ar; ac_word
=$2
16860 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16862 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16863 echo $ECHO_N "(cached) $ECHO_C" >&6
16865 if test -n "$ac_ct_AR"; then
16866 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
16868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16869 for as_dir
in $PATH
16872 test -z "$as_dir" && as_dir
=.
16873 for ac_exec_ext
in '' $ac_executable_extensions; do
16874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16875 ac_cv_prog_ac_ct_AR
="ar"
16876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16885 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
16886 if test -n "$ac_ct_AR"; then
16887 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16888 echo "${ECHO_T}$ac_ct_AR" >&6; }
16890 { echo "$as_me:$LINENO: result: no" >&5
16891 echo "${ECHO_T}no" >&6; }
16894 if test "x$ac_ct_AR" = x
; then
16897 case $cross_compiling:$ac_tool_warned in
16899 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16900 whose name does not start with the host triplet. If you think this
16901 configuration is useful to you, please write to autoconf@gnu.org." >&5
16902 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16903 whose name does not start with the host triplet. If you think this
16904 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16905 ac_tool_warned
=yes ;;
16910 AR
="$ac_cv_prog_AR"
16913 if test "x$AR" = "x" ; then
16914 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16915 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16916 { (exit 1); exit 1; }; }
16920 # Find a good install program. We prefer a C program (faster),
16921 # so one script is as good as another. But avoid the broken or
16922 # incompatible versions:
16923 # SysV /etc/install, /usr/sbin/install
16924 # SunOS /usr/etc/install
16925 # IRIX /sbin/install
16927 # AmigaOS /C/install, which installs bootblocks on floppy discs
16928 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16929 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16930 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16931 # OS/2's system install, which has a completely different semantic
16932 # ./install, which can be erroneously created by make from ./install.sh.
16933 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16934 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16935 if test -z "$INSTALL"; then
16936 if test "${ac_cv_path_install+set}" = set; then
16937 echo $ECHO_N "(cached) $ECHO_C" >&6
16939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16940 for as_dir
in $PATH
16943 test -z "$as_dir" && as_dir
=.
16944 # Account for people who put trailing slashes in PATH elements.
16946 .
/ | .
// | /cC
/* | \
16947 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
16948 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
16951 # OSF1 and SCO ODT 3.0 have their own names for install.
16952 # Don't use installbsd from OSF since it installs stuff as root
16954 for ac_prog
in ginstall scoinst
install; do
16955 for ac_exec_ext
in '' $ac_executable_extensions; do
16956 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
16957 if test $ac_prog = install &&
16958 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
16959 # AIX install. It has an incompatible calling convention.
16961 elif test $ac_prog = install &&
16962 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
16963 # program-specific install script used by HP pwplus--don't use.
16966 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
16979 if test "${ac_cv_path_install+set}" = set; then
16980 INSTALL
=$ac_cv_path_install
16982 # As a last resort, use the slow shell script. Don't cache a
16983 # value for INSTALL within a source directory, because that will
16984 # break other packages using the cache if that directory is
16985 # removed, or if the value is a relative name.
16986 INSTALL
=$ac_install_sh
16989 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16990 echo "${ECHO_T}$INSTALL" >&6; }
16992 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16993 # It thinks the first close brace ends the variable substitution.
16994 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
16996 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
16998 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
17004 ?
:* ) # Drive letter, considered as absolute.
17007 INSTALL
=`pwd`/${INSTALL} ;;
17014 INSTALL_PROGRAM
="cp -fp"
17015 INSTALL_DATA
="cp -fp"
17021 if test -n "$ac_tool_prefix"; then
17022 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
17023 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
17024 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17026 if test "${ac_cv_prog_STRIP+set}" = set; then
17027 echo $ECHO_N "(cached) $ECHO_C" >&6
17029 if test -n "$STRIP"; then
17030 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
17032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17033 for as_dir
in $PATH
17036 test -z "$as_dir" && as_dir
=.
17037 for ac_exec_ext
in '' $ac_executable_extensions; do
17038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17039 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
17040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17049 STRIP
=$ac_cv_prog_STRIP
17050 if test -n "$STRIP"; then
17051 { echo "$as_me:$LINENO: result: $STRIP" >&5
17052 echo "${ECHO_T}$STRIP" >&6; }
17054 { echo "$as_me:$LINENO: result: no" >&5
17055 echo "${ECHO_T}no" >&6; }
17060 if test -z "$ac_cv_prog_STRIP"; then
17062 # Extract the first word of "strip", so it can be a program name with args.
17063 set dummy strip
; ac_word
=$2
17064 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17066 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
17067 echo $ECHO_N "(cached) $ECHO_C" >&6
17069 if test -n "$ac_ct_STRIP"; then
17070 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
17072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17073 for as_dir
in $PATH
17076 test -z "$as_dir" && as_dir
=.
17077 for ac_exec_ext
in '' $ac_executable_extensions; do
17078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17079 ac_cv_prog_ac_ct_STRIP
="strip"
17080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17089 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
17090 if test -n "$ac_ct_STRIP"; then
17091 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
17092 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
17094 { echo "$as_me:$LINENO: result: no" >&5
17095 echo "${ECHO_T}no" >&6; }
17098 if test "x$ac_ct_STRIP" = x
; then
17101 case $cross_compiling:$ac_tool_warned in
17103 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17104 whose name does not start with the host triplet. If you think this
17105 configuration is useful to you, please write to autoconf@gnu.org." >&5
17106 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17107 whose name does not start with the host triplet. If you think this
17108 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17109 ac_tool_warned
=yes ;;
17114 STRIP
="$ac_cv_prog_STRIP"
17118 if test "$wxUSE_WINE" = "yes"; then
17119 if test -n "$ac_tool_prefix"; then
17120 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
17121 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
17122 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17124 if test "${ac_cv_prog_WINDRES+set}" = set; then
17125 echo $ECHO_N "(cached) $ECHO_C" >&6
17127 if test -n "$WINDRES"; then
17128 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
17130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17131 for as_dir
in $PATH
17134 test -z "$as_dir" && as_dir
=.
17135 for ac_exec_ext
in '' $ac_executable_extensions; do
17136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17137 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
17138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17147 WINDRES
=$ac_cv_prog_WINDRES
17148 if test -n "$WINDRES"; then
17149 { echo "$as_me:$LINENO: result: $WINDRES" >&5
17150 echo "${ECHO_T}$WINDRES" >&6; }
17152 { echo "$as_me:$LINENO: result: no" >&5
17153 echo "${ECHO_T}no" >&6; }
17158 if test -z "$ac_cv_prog_WINDRES"; then
17159 ac_ct_WINDRES
=$WINDRES
17160 # Extract the first word of "wrc", so it can be a program name with args.
17161 set dummy wrc
; ac_word
=$2
17162 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17164 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
17165 echo $ECHO_N "(cached) $ECHO_C" >&6
17167 if test -n "$ac_ct_WINDRES"; then
17168 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
17170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17171 for as_dir
in $PATH
17174 test -z "$as_dir" && as_dir
=.
17175 for ac_exec_ext
in '' $ac_executable_extensions; do
17176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17177 ac_cv_prog_ac_ct_WINDRES
="wrc"
17178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17187 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
17188 if test -n "$ac_ct_WINDRES"; then
17189 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
17190 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
17192 { echo "$as_me:$LINENO: result: no" >&5
17193 echo "${ECHO_T}no" >&6; }
17196 if test "x$ac_ct_WINDRES" = x
; then
17199 case $cross_compiling:$ac_tool_warned in
17201 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17202 whose name does not start with the host triplet. If you think this
17203 configuration is useful to you, please write to autoconf@gnu.org." >&5
17204 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17205 whose name does not start with the host triplet. If you think this
17206 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17207 ac_tool_warned
=yes ;;
17209 WINDRES
=$ac_ct_WINDRES
17212 WINDRES
="$ac_cv_prog_WINDRES"
17218 *-*-cygwin* | *-*-mingw32* )
17219 if test -n "$ac_tool_prefix"; then
17220 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
17221 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
17222 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17224 if test "${ac_cv_prog_WINDRES+set}" = set; then
17225 echo $ECHO_N "(cached) $ECHO_C" >&6
17227 if test -n "$WINDRES"; then
17228 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
17230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17231 for as_dir
in $PATH
17234 test -z "$as_dir" && as_dir
=.
17235 for ac_exec_ext
in '' $ac_executable_extensions; do
17236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17237 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
17238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17247 WINDRES
=$ac_cv_prog_WINDRES
17248 if test -n "$WINDRES"; then
17249 { echo "$as_me:$LINENO: result: $WINDRES" >&5
17250 echo "${ECHO_T}$WINDRES" >&6; }
17252 { echo "$as_me:$LINENO: result: no" >&5
17253 echo "${ECHO_T}no" >&6; }
17258 if test -z "$ac_cv_prog_WINDRES"; then
17259 ac_ct_WINDRES
=$WINDRES
17260 # Extract the first word of "windres", so it can be a program name with args.
17261 set dummy windres
; ac_word
=$2
17262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17264 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
17265 echo $ECHO_N "(cached) $ECHO_C" >&6
17267 if test -n "$ac_ct_WINDRES"; then
17268 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
17270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17271 for as_dir
in $PATH
17274 test -z "$as_dir" && as_dir
=.
17275 for ac_exec_ext
in '' $ac_executable_extensions; do
17276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17277 ac_cv_prog_ac_ct_WINDRES
="windres"
17278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17287 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
17288 if test -n "$ac_ct_WINDRES"; then
17289 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
17290 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
17292 { echo "$as_me:$LINENO: result: no" >&5
17293 echo "${ECHO_T}no" >&6; }
17296 if test "x$ac_ct_WINDRES" = x
; then
17299 case $cross_compiling:$ac_tool_warned in
17301 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17302 whose name does not start with the host triplet. If you think this
17303 configuration is useful to you, please write to autoconf@gnu.org." >&5
17304 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17305 whose name does not start with the host triplet. If you think this
17306 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17307 ac_tool_warned
=yes ;;
17309 WINDRES
=$ac_ct_WINDRES
17312 WINDRES
="$ac_cv_prog_WINDRES"
17316 if test -n "$ac_tool_prefix"; then
17317 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
17318 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
17319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17321 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
17322 echo $ECHO_N "(cached) $ECHO_C" >&6
17324 if test -n "$DLLTOOL"; then
17325 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
17327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17328 for as_dir
in $PATH
17331 test -z "$as_dir" && as_dir
=.
17332 for ac_exec_ext
in '' $ac_executable_extensions; do
17333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17334 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
17335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17344 DLLTOOL
=$ac_cv_prog_DLLTOOL
17345 if test -n "$DLLTOOL"; then
17346 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
17347 echo "${ECHO_T}$DLLTOOL" >&6; }
17349 { echo "$as_me:$LINENO: result: no" >&5
17350 echo "${ECHO_T}no" >&6; }
17355 if test -z "$ac_cv_prog_DLLTOOL"; then
17356 ac_ct_DLLTOOL
=$DLLTOOL
17357 # Extract the first word of "dlltool", so it can be a program name with args.
17358 set dummy dlltool
; ac_word
=$2
17359 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17361 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
17362 echo $ECHO_N "(cached) $ECHO_C" >&6
17364 if test -n "$ac_ct_DLLTOOL"; then
17365 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
17367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17368 for as_dir
in $PATH
17371 test -z "$as_dir" && as_dir
=.
17372 for ac_exec_ext
in '' $ac_executable_extensions; do
17373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17374 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
17375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17384 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
17385 if test -n "$ac_ct_DLLTOOL"; then
17386 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
17387 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
17389 { echo "$as_me:$LINENO: result: no" >&5
17390 echo "${ECHO_T}no" >&6; }
17393 if test "x$ac_ct_DLLTOOL" = x
; then
17396 case $cross_compiling:$ac_tool_warned in
17398 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17399 whose name does not start with the host triplet. If you think this
17400 configuration is useful to you, please write to autoconf@gnu.org." >&5
17401 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17402 whose name does not start with the host triplet. If you think this
17403 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17404 ac_tool_warned
=yes ;;
17406 DLLTOOL
=$ac_ct_DLLTOOL
17409 DLLTOOL
="$ac_cv_prog_DLLTOOL"
17416 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
17417 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
17418 if test "${wx_cv_prog_makeisgnu+set}" = set; then
17419 echo $ECHO_N "(cached) $ECHO_C" >&6
17422 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
17423 $EGREP -s GNU
> /dev
/null
); then
17424 wx_cv_prog_makeisgnu
="yes"
17426 wx_cv_prog_makeisgnu
="no"
17430 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
17431 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
17433 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
17441 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
17442 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
17443 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
17444 if test "${wx_cv_prog_makevpath+set}" = set; then
17445 echo $ECHO_N "(cached) $ECHO_C" >&6
17448 cat - << EOF > confMake
17454 if test ! -d sub
; then
17457 echo dummy
> sub
/file
17458 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
17460 rm -f sub
/file check final_file confMake
17462 if test "$RESULT" = 0; then
17463 wx_cv_prog_makevpath
="yes"
17465 wx_cv_prog_makevpath
="no"
17469 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
17470 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
17472 if test "x$wx_cv_prog_makevpath" != "xyes"; then
17473 { { echo "$as_me:$LINENO: error:
17474 You need a make-utility that is able to use the variable
17476 If your version of make does not support VPATH correctly,
17477 please install GNU-make (possibly as gmake), and start
17478 configure with the following command:
17479 export MAKE=gmake; ./configure for sh-type shells
17480 setenv MAKE gmake; ./configure for csh-type shells
17481 Also please do remember to use gmake in this case every time
17482 you are trying to compile.
17484 echo "$as_me: error:
17485 You need a make-utility that is able to use the variable
17487 If your version of make does not support VPATH correctly,
17488 please install GNU-make (possibly as gmake), and start
17489 configure with the following command:
17490 export MAKE=gmake; ./configure for sh-type shells
17491 setenv MAKE gmake; ./configure for csh-type shells
17492 Also please do remember to use gmake in this case every time
17493 you are trying to compile.
17495 { (exit 1); exit 1; }; }
17497 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
17498 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
17500 if test "$LN_S" = "ln -s"; then
17501 { echo "$as_me:$LINENO: result: yes" >&5
17502 echo "${ECHO_T}yes" >&6; }
17504 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
17505 echo "${ECHO_T}no, using $LN_S" >&6; }
17511 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17512 CXXFLAGS
="-qunique $CXXFLAGS"
17516 powerpc
-*-darwin* )
17517 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17518 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17519 cat >conftest.
$ac_ext <<_ACEOF
17522 cat confdefs.h
>>conftest.
$ac_ext
17523 cat >>conftest.
$ac_ext <<_ACEOF
17524 /* end confdefs.h. */
17529 #ifndef __POWERPC__
17530 choke me for lack of PowerPC
17537 rm -f conftest.
$ac_objext
17538 if { (ac_try
="$ac_compile"
17539 case "(($ac_try" in
17540 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17541 *) ac_try_echo=$ac_try;;
17543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17544 (eval "$ac_compile") 2>conftest.er1
17546 grep -v '^ *+' conftest.er1 >conftest.err
17548 cat conftest.err >&5
17549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550 (exit $ac_status); } &&
17551 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17552 { (case "(($ac_try" in
17553 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17554 *) ac_try_echo
=$ac_try;;
17556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17557 (eval "$ac_try") 2>&5
17559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17560 (exit $ac_status); }; } &&
17561 { ac_try
='test -s conftest.$ac_objext'
17562 { (case "(($ac_try" in
17563 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17564 *) ac_try_echo=$ac_try;;
17566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17567 (eval "$ac_try") 2>&5
17569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17570 (exit $ac_status); }; }; then
17571 { echo "$as_me:$LINENO: result: yes" >&5
17572 echo "${ECHO_T}yes" >&6; }
17574 echo "$as_me: failed program was:" >&5
17575 sed 's/^/| /' conftest.$ac_ext >&5
17577 { echo "$as_me:$LINENO: result: no" >&5
17578 echo "${ECHO_T}no" >&6; }
17579 cat >>confdefs.h <<\_ACEOF
17580 #define __POWERPC__ 1
17586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17592 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17593 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17594 cat >conftest.$ac_ext <<_ACEOF
17597 cat confdefs.h >>conftest.$ac_ext
17598 cat >>conftest.$ac_ext <<_ACEOF
17599 /* end confdefs.h. */
17600 #include <CoreFoundation/CFBase.h>
17610 rm -f conftest.$ac_objext
17611 if { (ac_try="$ac_compile"
17612 case "(($ac_try" in
17613 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17614 *) ac_try_echo
=$ac_try;;
17616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17617 (eval "$ac_compile") 2>conftest.er1
17619 grep -v '^ *+' conftest.er1
>conftest.err
17621 cat conftest.err
>&5
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); } &&
17624 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17625 { (case "(($ac_try" in
17626 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17627 *) ac_try_echo=$ac_try;;
17629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17630 (eval "$ac_try") 2>&5
17632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17633 (exit $ac_status); }; } &&
17634 { ac_try='test -s conftest.$ac_objext'
17635 { (case "(($ac_try" in
17636 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17637 *) ac_try_echo
=$ac_try;;
17639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17640 (eval "$ac_try") 2>&5
17642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643 (exit $ac_status); }; }; then
17644 { echo "$as_me:$LINENO: result: yes" >&5
17645 echo "${ECHO_T}yes" >&6; }
17647 echo "$as_me: failed program was:" >&5
17648 sed 's/^/| /' conftest.
$ac_ext >&5
17650 { echo "$as_me:$LINENO: result: no" >&5
17651 echo "${ECHO_T}no" >&6; }
17652 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17653 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17654 cat >conftest.
$ac_ext <<_ACEOF
17657 cat confdefs.h
>>conftest.
$ac_ext
17658 cat >>conftest.
$ac_ext <<_ACEOF
17659 /* end confdefs.h. */
17660 #define __CF_USE_FRAMEWORK_INCLUDES__
17661 #include <CoreFoundation/CFBase.h>
17671 rm -f conftest.
$ac_objext
17672 if { (ac_try
="$ac_compile"
17673 case "(($ac_try" in
17674 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17675 *) ac_try_echo=$ac_try;;
17677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17678 (eval "$ac_compile") 2>conftest.er1
17680 grep -v '^ *+' conftest.er1 >conftest.err
17682 cat conftest.err >&5
17683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17684 (exit $ac_status); } &&
17685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17686 { (case "(($ac_try" in
17687 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17688 *) ac_try_echo
=$ac_try;;
17690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17691 (eval "$ac_try") 2>&5
17693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17694 (exit $ac_status); }; } &&
17695 { ac_try
='test -s conftest.$ac_objext'
17696 { (case "(($ac_try" in
17697 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17698 *) ac_try_echo=$ac_try;;
17700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17701 (eval "$ac_try") 2>&5
17703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704 (exit $ac_status); }; }; then
17705 { echo "$as_me:$LINENO: result: yes" >&5
17706 echo "${ECHO_T}yes" >&6; }
17707 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17709 echo "$as_me: failed program was:" >&5
17710 sed 's/^/| /' conftest.$ac_ext >&5
17712 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17713 See \`config.log
' for more details." >&5
17714 echo "$as_me: error: no. CoreFoundation not available.
17715 See \`config.log' for more details.
" >&2;}
17716 { (exit 1); exit 1; }; }
17720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17730 doesnt_want_win32=0
17733 if test "$wxUSE_MSW" = 1 ; then
17736 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
17737 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
17738 if test "${wx_cv_nocygwin+set}" = set; then
17739 echo $ECHO_N "(cached
) $ECHO_C" >&6
17742 cat >conftest.$ac_ext <<_ACEOF
17745 cat confdefs.h >>conftest.$ac_ext
17746 cat >>conftest.$ac_ext <<_ACEOF
17747 /* end confdefs.h. */
17761 rm -f conftest.$ac_objext
17762 if { (ac_try="$ac_compile"
17763 case "(($ac_try" in
17764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17765 *) ac_try_echo=$ac_try;;
17767 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17768 (eval "$ac_compile") 2>conftest.er1
17770 grep -v '^ *+' conftest.er1 >conftest.err
17772 cat conftest.err >&5
17773 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17774 (exit $ac_status); } &&
17775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17776 { (case "(($ac_try" in
17777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17778 *) ac_try_echo=$ac_try;;
17780 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17781 (eval "$ac_try") 2>&5
17783 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17784 (exit $ac_status); }; } &&
17785 { ac_try='test -s conftest.$ac_objext'
17786 { (case "(($ac_try" in
17787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17788 *) ac_try_echo=$ac_try;;
17790 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17791 (eval "$ac_try") 2>&5
17793 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17794 (exit $ac_status); }; }; then
17797 echo "$as_me: failed program was
:" >&5
17798 sed 's/^/| /' conftest.$ac_ext >&5
17804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17808 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
17809 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17811 if test "$wx_cv_nocygwin" = "yes"; then
17814 doesnt_want_win32=1
17817 if test "$wants_win32" = 1 ; then
17818 BAKEFILE_FORCE_PLATFORM=win32
17826 if test "$wxUSE_WINE" = "yes"; then
17828 LDFLAGS_GUI="-mwindows"
17831 if test "$wants_win32" = 1 ; then
17834 cat >>confdefs.h <<\_ACEOF
17835 #define __WIN32__ 1
17838 cat >>confdefs.h <<\_ACEOF
17839 #define __WIN95__ 1
17842 cat >>confdefs.h <<\_ACEOF
17843 #define __WINDOWS__ 1
17846 cat >>confdefs.h <<\_ACEOF
17847 #define __GNUWIN32__ 1
17850 cat >>confdefs.h <<\_ACEOF
17855 if test "$doesnt_want_win32" = 1 ; then
17860 if test "$USE_UNIX" = 1 ; then
17862 cat >>confdefs.h <<\_ACEOF
17869 *-pc-os2_emx | *-pc-os2-emx )
17870 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17871 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
17872 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
17873 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17874 echo $ECHO_N "(cached
) $ECHO_C" >&6
17876 ac_check_lib_save_LIBS=$LIBS
17877 LIBS="-lcExt $LIBS"
17878 cat >conftest.$ac_ext <<_ACEOF
17881 cat confdefs.h >>conftest.$ac_ext
17882 cat >>conftest.$ac_ext <<_ACEOF
17883 /* end confdefs.h. */
17885 /* Override any GCC internal prototype to avoid an error.
17886 Use char because int might match the return type of a GCC
17887 builtin and then its argument prototype would still apply. */
17900 rm -f conftest.$ac_objext conftest$ac_exeext
17901 if { (ac_try="$ac_link"
17902 case "(($ac_try" in
17903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17904 *) ac_try_echo=$ac_try;;
17906 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17907 (eval "$ac_link") 2>conftest.er1
17909 grep -v '^ *+' conftest.er1 >conftest.err
17911 cat conftest.err >&5
17912 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17913 (exit $ac_status); } &&
17914 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17915 { (case "(($ac_try" in
17916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17917 *) ac_try_echo=$ac_try;;
17919 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17920 (eval "$ac_try") 2>&5
17922 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17923 (exit $ac_status); }; } &&
17924 { ac_try='test -s conftest$ac_exeext'
17925 { (case "(($ac_try" in
17926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17927 *) ac_try_echo=$ac_try;;
17929 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17930 (eval "$ac_try") 2>&5
17932 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17933 (exit $ac_status); }; }; then
17934 ac_cv_lib_cExt_drand48=yes
17936 echo "$as_me: failed program was
:" >&5
17937 sed 's/^/| /' conftest.$ac_ext >&5
17939 ac_cv_lib_cExt_drand48=no
17942 rm -f core conftest.err conftest.$ac_objext \
17943 conftest$ac_exeext conftest.$ac_ext
17944 LIBS=$ac_check_lib_save_LIBS
17946 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
17947 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17948 if test $ac_cv_lib_cExt_drand48 = yes; then
17949 LIBS="$LIBS -lcExt"
17953 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
17955 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
17956 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
17957 if test "${wx_cv_gccversion+set}" = set; then
17958 echo $ECHO_N "(cached
) $ECHO_C" >&6
17961 if test "$cross_compiling" = yes; then
17962 wx_cv_gccversion="EMX2
"
17965 cat >conftest.$ac_ext <<_ACEOF
17968 cat confdefs.h >>conftest.$ac_ext
17969 cat >>conftest.$ac_ext <<_ACEOF
17970 /* end confdefs.h. */
17976 FILE *f=fopen("conftestval
", "w
");
17981 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17983 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17993 rm -f conftest$ac_exeext
17994 if { (ac_try="$ac_link"
17995 case "(($ac_try" in
17996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17997 *) ac_try_echo=$ac_try;;
17999 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18000 (eval "$ac_link") 2>&5
18002 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18003 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18004 { (case "(($ac_try" in
18005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18006 *) ac_try_echo=$ac_try;;
18008 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18009 (eval "$ac_try") 2>&5
18011 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18012 (exit $ac_status); }; }; then
18013 wx_cv_gccversion=`cat conftestval`
18015 echo "$as_me: program exited with status
$ac_status" >&5
18016 echo "$as_me: failed program was
:" >&5
18017 sed 's/^/| /' conftest.$ac_ext >&5
18019 ( exit $ac_status )
18020 wx_cv_gccversion="EMX2
"
18022 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18028 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18029 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18030 if test "$wx_cv_gccversion" = "EMX2
"; then
18031 LIBS="$LIBS -lstdcpp"
18032 LDFLAGS="$LDFLAGS -Zsysv-signals"
18034 if test "$wx_cv_gccversion" = "EMX3
"; then
18035 LIBS="$LIBS -lstdcxx -lgcc"
18036 LDFLAGS="$LDFLAGS -Zsysv-signals"
18038 LIBS="$LIBS -lstdc++"
18041 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18042 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18043 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18050 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18051 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18052 if test "${ac_cv_string_strcasecmp+set}" = set; then
18053 echo $ECHO_N "(cached
) $ECHO_C" >&6
18056 cat >conftest.$ac_ext <<_ACEOF
18059 cat confdefs.h >>conftest.$ac_ext
18060 cat >>conftest.$ac_ext <<_ACEOF
18061 /* end confdefs.h. */
18063 #include <string.h>
18069 strcasecmp("foo
", "bar
");
18075 rm -f conftest.$ac_objext conftest$ac_exeext
18076 if { (ac_try="$ac_link"
18077 case "(($ac_try" in
18078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18079 *) ac_try_echo=$ac_try;;
18081 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18082 (eval "$ac_link") 2>conftest.er1
18084 grep -v '^ *+' conftest.er1 >conftest.err
18086 cat conftest.err >&5
18087 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18088 (exit $ac_status); } &&
18089 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18090 { (case "(($ac_try" in
18091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18092 *) ac_try_echo=$ac_try;;
18094 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18095 (eval "$ac_try") 2>&5
18097 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18098 (exit $ac_status); }; } &&
18099 { ac_try='test -s conftest$ac_exeext'
18100 { (case "(($ac_try" in
18101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18102 *) ac_try_echo=$ac_try;;
18104 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18105 (eval "$ac_try") 2>&5
18107 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18108 (exit $ac_status); }; }; then
18109 ac_cv_string_strcasecmp=yes
18111 echo "$as_me: failed program was
:" >&5
18112 sed 's/^/| /' conftest.$ac_ext >&5
18114 ac_cv_string_strcasecmp=no
18118 rm -f core conftest.err conftest.$ac_objext \
18119 conftest$ac_exeext conftest.$ac_ext
18122 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18123 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18125 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18126 cat >>confdefs.h <<\_ACEOF
18127 #define HAVE_STRCASECMP_IN_STRING_H 1
18131 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18132 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18133 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18134 echo $ECHO_N "(cached
) $ECHO_C" >&6
18137 cat >conftest.$ac_ext <<_ACEOF
18140 cat confdefs.h >>conftest.$ac_ext
18141 cat >>conftest.$ac_ext <<_ACEOF
18142 /* end confdefs.h. */
18144 #include <strings.h>
18150 strcasecmp("foo
", "bar
");
18156 rm -f conftest.$ac_objext conftest$ac_exeext
18157 if { (ac_try="$ac_link"
18158 case "(($ac_try" in
18159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18160 *) ac_try_echo=$ac_try;;
18162 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18163 (eval "$ac_link") 2>conftest.er1
18165 grep -v '^ *+' conftest.er1 >conftest.err
18167 cat conftest.err >&5
18168 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18169 (exit $ac_status); } &&
18170 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18171 { (case "(($ac_try" in
18172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18173 *) ac_try_echo=$ac_try;;
18175 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18176 (eval "$ac_try") 2>&5
18178 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18179 (exit $ac_status); }; } &&
18180 { ac_try='test -s conftest$ac_exeext'
18181 { (case "(($ac_try" in
18182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18183 *) ac_try_echo=$ac_try;;
18185 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18186 (eval "$ac_try") 2>&5
18188 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18189 (exit $ac_status); }; }; then
18190 ac_cv_strings_strcasecmp=yes
18192 echo "$as_me: failed program was
:" >&5
18193 sed 's/^/| /' conftest.$ac_ext >&5
18195 ac_cv_strings_strcasecmp=no
18199 rm -f core conftest.err conftest.$ac_objext \
18200 conftest$ac_exeext conftest.$ac_ext
18203 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18204 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18206 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18207 cat >>confdefs.h <<\_ACEOF
18208 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18212 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18213 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18214 { (exit 1); exit 1; }; }
18222 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18223 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18224 if test "${ac_cv_header_stdc+set}" = set; then
18225 echo $ECHO_N "(cached
) $ECHO_C" >&6
18227 cat >conftest.$ac_ext <<_ACEOF
18230 cat confdefs.h >>conftest.$ac_ext
18231 cat >>conftest.$ac_ext <<_ACEOF
18232 /* end confdefs.h. */
18233 #include <stdlib.h>
18234 #include <stdarg.h>
18235 #include <string.h>
18246 rm -f conftest.$ac_objext
18247 if { (ac_try="$ac_compile"
18248 case "(($ac_try" in
18249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18250 *) ac_try_echo=$ac_try;;
18252 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18253 (eval "$ac_compile") 2>conftest.er1
18255 grep -v '^ *+' conftest.er1 >conftest.err
18257 cat conftest.err >&5
18258 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18259 (exit $ac_status); } &&
18260 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18261 { (case "(($ac_try" in
18262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18263 *) ac_try_echo=$ac_try;;
18265 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18266 (eval "$ac_try") 2>&5
18268 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18269 (exit $ac_status); }; } &&
18270 { ac_try='test -s conftest.$ac_objext'
18271 { (case "(($ac_try" in
18272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18273 *) ac_try_echo=$ac_try;;
18275 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18276 (eval "$ac_try") 2>&5
18278 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18279 (exit $ac_status); }; }; then
18280 ac_cv_header_stdc=yes
18282 echo "$as_me: failed program was
:" >&5
18283 sed 's/^/| /' conftest.$ac_ext >&5
18285 ac_cv_header_stdc=no
18288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18290 if test $ac_cv_header_stdc = yes; then
18291 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18292 cat >conftest.$ac_ext <<_ACEOF
18295 cat confdefs.h >>conftest.$ac_ext
18296 cat >>conftest.$ac_ext <<_ACEOF
18297 /* end confdefs.h. */
18298 #include <string.h>
18301 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18302 $EGREP "memchr
" >/dev/null 2>&1; then
18305 ac_cv_header_stdc=no
18311 if test $ac_cv_header_stdc = yes; then
18312 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18313 cat >conftest.$ac_ext <<_ACEOF
18316 cat confdefs.h >>conftest.$ac_ext
18317 cat >>conftest.$ac_ext <<_ACEOF
18318 /* end confdefs.h. */
18319 #include <stdlib.h>
18322 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18323 $EGREP "free
" >/dev/null 2>&1; then
18326 ac_cv_header_stdc=no
18332 if test $ac_cv_header_stdc = yes; then
18333 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18334 if test "$cross_compiling" = yes; then
18337 cat >conftest.$ac_ext <<_ACEOF
18340 cat confdefs.h >>conftest.$ac_ext
18341 cat >>conftest.$ac_ext <<_ACEOF
18342 /* end confdefs.h. */
18344 #include <stdlib.h>
18345 #if ((' ' & 0x0FF) == 0x020)
18346 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18347 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18349 # define ISLOWER(c) \
18350 (('a' <= (c) && (c) <= 'i') \
18351 || ('j' <= (c) && (c) <= 'r') \
18352 || ('s' <= (c) && (c) <= 'z'))
18353 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18356 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18361 for (i = 0; i < 256; i++)
18362 if (XOR (islower (i), ISLOWER (i))
18363 || toupper (i) != TOUPPER (i))
18368 rm -f conftest$ac_exeext
18369 if { (ac_try="$ac_link"
18370 case "(($ac_try" in
18371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18372 *) ac_try_echo=$ac_try;;
18374 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18375 (eval "$ac_link") 2>&5
18377 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18378 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18379 { (case "(($ac_try" in
18380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18381 *) ac_try_echo=$ac_try;;
18383 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18384 (eval "$ac_try") 2>&5
18386 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18387 (exit $ac_status); }; }; then
18390 echo "$as_me: program exited with status
$ac_status" >&5
18391 echo "$as_me: failed program was
:" >&5
18392 sed 's/^/| /' conftest.$ac_ext >&5
18394 ( exit $ac_status )
18395 ac_cv_header_stdc=no
18397 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18403 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
18404 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18405 if test $ac_cv_header_stdc = yes; then
18407 cat >>confdefs.h <<\_ACEOF
18408 #define STDC_HEADERS 1
18413 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18423 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18424 inttypes.h stdint.h unistd.h
18426 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18427 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18428 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18429 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18430 echo $ECHO_N "(cached
) $ECHO_C" >&6
18432 cat >conftest.$ac_ext <<_ACEOF
18435 cat confdefs.h >>conftest.$ac_ext
18436 cat >>conftest.$ac_ext <<_ACEOF
18437 /* end confdefs.h. */
18438 $ac_includes_default
18440 #include <$ac_header>
18442 rm -f conftest.$ac_objext
18443 if { (ac_try="$ac_compile"
18444 case "(($ac_try" in
18445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18446 *) ac_try_echo=$ac_try;;
18448 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18449 (eval "$ac_compile") 2>conftest.er1
18451 grep -v '^ *+' conftest.er1 >conftest.err
18453 cat conftest.err >&5
18454 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18455 (exit $ac_status); } &&
18456 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18457 { (case "(($ac_try" in
18458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18459 *) ac_try_echo=$ac_try;;
18461 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18462 (eval "$ac_try") 2>&5
18464 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18465 (exit $ac_status); }; } &&
18466 { ac_try='test -s conftest.$ac_objext'
18467 { (case "(($ac_try" in
18468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18469 *) ac_try_echo=$ac_try;;
18471 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18472 (eval "$ac_try") 2>&5
18474 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18475 (exit $ac_status); }; }; then
18476 eval "$as_ac_Header=yes"
18478 echo "$as_me: failed program was
:" >&5
18479 sed 's/^/| /' conftest.$ac_ext >&5
18481 eval "$as_ac_Header=no
"
18484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18486 ac_res=`eval echo '${'$as_ac_Header'}'`
18487 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18488 echo "${ECHO_T}$ac_res" >&6; }
18489 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18490 cat >>confdefs.h <<_ACEOF
18491 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18505 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
18507 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18508 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18509 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18510 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18511 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18512 echo $ECHO_N "(cached
) $ECHO_C" >&6
18514 ac_res=`eval echo '${'$as_ac_Header'}'`
18515 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18516 echo "${ECHO_T}$ac_res" >&6; }
18518 # Is the header compilable?
18519 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
18520 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
18521 cat >conftest.$ac_ext <<_ACEOF
18524 cat confdefs.h >>conftest.$ac_ext
18525 cat >>conftest.$ac_ext <<_ACEOF
18526 /* end confdefs.h. */
18527 $ac_includes_default
18528 #include <$ac_header>
18530 rm -f conftest.$ac_objext
18531 if { (ac_try="$ac_compile"
18532 case "(($ac_try" in
18533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18534 *) ac_try_echo=$ac_try;;
18536 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18537 (eval "$ac_compile") 2>conftest.er1
18539 grep -v '^ *+' conftest.er1 >conftest.err
18541 cat conftest.err >&5
18542 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18543 (exit $ac_status); } &&
18544 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18545 { (case "(($ac_try" in
18546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18547 *) ac_try_echo=$ac_try;;
18549 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18550 (eval "$ac_try") 2>&5
18552 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18553 (exit $ac_status); }; } &&
18554 { ac_try='test -s conftest.$ac_objext'
18555 { (case "(($ac_try" in
18556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18557 *) ac_try_echo=$ac_try;;
18559 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18560 (eval "$ac_try") 2>&5
18562 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18563 (exit $ac_status); }; }; then
18564 ac_header_compiler=yes
18566 echo "$as_me: failed program was
:" >&5
18567 sed 's/^/| /' conftest.$ac_ext >&5
18569 ac_header_compiler=no
18572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18573 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
18574 echo "${ECHO_T}$ac_header_compiler" >&6; }
18576 # Is the header present?
18577 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
18578 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
18579 cat >conftest.$ac_ext <<_ACEOF
18582 cat confdefs.h >>conftest.$ac_ext
18583 cat >>conftest.$ac_ext <<_ACEOF
18584 /* end confdefs.h. */
18585 #include <$ac_header>
18587 if { (ac_try="$ac_cpp conftest.
$ac_ext"
18588 case "(($ac_try" in
18589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18590 *) ac_try_echo=$ac_try;;
18592 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18593 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
18595 grep -v '^ *+' conftest.er1 >conftest.err
18597 cat conftest.err >&5
18598 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18599 (exit $ac_status); } >/dev/null; then
18600 if test -s conftest.err; then
18601 ac_cpp_err=$ac_c_preproc_warn_flag
18602 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18609 if test -z "$ac_cpp_err"; then
18610 ac_header_preproc=yes
18612 echo "$as_me: failed program was
:" >&5
18613 sed 's/^/| /' conftest.$ac_ext >&5
18615 ac_header_preproc=no
18618 rm -f conftest.err conftest.$ac_ext
18619 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
18620 echo "${ECHO_T}$ac_header_preproc" >&6; }
18622 # So? What about this header?
18623 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18625 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
18626 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
18627 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
18628 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
18629 ac_header_preproc=yes
18632 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
18633 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
18634 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
18635 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
18636 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
18637 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
18638 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
18639 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
18640 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
18641 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
18642 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
18643 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
18645 ## ----------------------------------------- ##
18646 ## Report this to wx-dev@lists.wxwidgets.org ##
18647 ## ----------------------------------------- ##
18649 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
18652 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18653 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18654 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18655 echo $ECHO_N "(cached
) $ECHO_C" >&6
18657 eval "$as_ac_Header=\
$ac_header_preproc"
18659 ac_res=`eval echo '${'$as_ac_Header'}'`
18660 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18661 echo "${ECHO_T}$ac_res" >&6; }
18664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18665 cat >>confdefs.h <<_ACEOF
18666 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18674 if test "$ac_cv_header_wchar_h" != "yes"; then
18676 for ac_header in wcstr.h
18678 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18679 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18680 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18681 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18682 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18683 echo $ECHO_N "(cached
) $ECHO_C" >&6
18685 ac_res=`eval echo '${'$as_ac_Header'}'`
18686 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18687 echo "${ECHO_T}$ac_res" >&6; }
18689 # Is the header compilable?
18690 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
18691 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
18692 cat >conftest.$ac_ext <<_ACEOF
18695 cat confdefs.h >>conftest.$ac_ext
18696 cat >>conftest.$ac_ext <<_ACEOF
18697 /* end confdefs.h. */
18698 $ac_includes_default
18699 #include <$ac_header>
18701 rm -f conftest.$ac_objext
18702 if { (ac_try="$ac_compile"
18703 case "(($ac_try" in
18704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18705 *) ac_try_echo=$ac_try;;
18707 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18708 (eval "$ac_compile") 2>conftest.er1
18710 grep -v '^ *+' conftest.er1 >conftest.err
18712 cat conftest.err >&5
18713 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18714 (exit $ac_status); } &&
18715 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18716 { (case "(($ac_try" in
18717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18718 *) ac_try_echo=$ac_try;;
18720 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18721 (eval "$ac_try") 2>&5
18723 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18724 (exit $ac_status); }; } &&
18725 { ac_try='test -s conftest.$ac_objext'
18726 { (case "(($ac_try" in
18727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18728 *) ac_try_echo=$ac_try;;
18730 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18731 (eval "$ac_try") 2>&5
18733 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18734 (exit $ac_status); }; }; then
18735 ac_header_compiler=yes
18737 echo "$as_me: failed program was
:" >&5
18738 sed 's/^/| /' conftest.$ac_ext >&5
18740 ac_header_compiler=no
18743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18744 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
18745 echo "${ECHO_T}$ac_header_compiler" >&6; }
18747 # Is the header present?
18748 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
18749 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
18750 cat >conftest.$ac_ext <<_ACEOF
18753 cat confdefs.h >>conftest.$ac_ext
18754 cat >>conftest.$ac_ext <<_ACEOF
18755 /* end confdefs.h. */
18756 #include <$ac_header>
18758 if { (ac_try="$ac_cpp conftest.
$ac_ext"
18759 case "(($ac_try" in
18760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18761 *) ac_try_echo=$ac_try;;
18763 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18764 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
18766 grep -v '^ *+' conftest.er1 >conftest.err
18768 cat conftest.err >&5
18769 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18770 (exit $ac_status); } >/dev/null; then
18771 if test -s conftest.err; then
18772 ac_cpp_err=$ac_c_preproc_warn_flag
18773 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18780 if test -z "$ac_cpp_err"; then
18781 ac_header_preproc=yes
18783 echo "$as_me: failed program was
:" >&5
18784 sed 's/^/| /' conftest.$ac_ext >&5
18786 ac_header_preproc=no
18789 rm -f conftest.err conftest.$ac_ext
18790 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
18791 echo "${ECHO_T}$ac_header_preproc" >&6; }
18793 # So? What about this header?
18794 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18796 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
18797 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
18798 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
18799 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
18800 ac_header_preproc=yes
18803 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
18804 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
18805 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
18806 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
18807 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
18808 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
18809 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
18810 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
18811 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
18812 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
18813 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
18814 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
18816 ## ----------------------------------------- ##
18817 ## Report this to wx-dev@lists.wxwidgets.org ##
18818 ## ----------------------------------------- ##
18820 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
18823 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18824 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18825 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18826 echo $ECHO_N "(cached
) $ECHO_C" >&6
18828 eval "$as_ac_Header=\
$ac_header_preproc"
18830 ac_res=`eval echo '${'$as_ac_Header'}'`
18831 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18832 echo "${ECHO_T}$ac_res" >&6; }
18835 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18836 cat >>confdefs.h <<_ACEOF
18837 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18847 *-pc-os2_emx | *-pc-os2-emx )
18848 if test $ac_cv_header_langinfo_h = "yes" \
18849 -a \( "$wx_cv_gccversion" = "EMX2
" \
18850 -o "$wx_cv_gccversion" = "EMX3
" \
18851 -o "$wx_cv_gccversion" = "Innotek5
" \); then
18852 LIBS="$LIBS -lintl"
18857 if test "$USE_UNIX" = 1 ; then
18859 for ac_header in sys/select.h
18861 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18862 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18863 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18864 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18865 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18866 echo $ECHO_N "(cached
) $ECHO_C" >&6
18868 ac_res=`eval echo '${'$as_ac_Header'}'`
18869 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18870 echo "${ECHO_T}$ac_res" >&6; }
18872 # Is the header compilable?
18873 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
18874 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
18875 cat >conftest.$ac_ext <<_ACEOF
18878 cat confdefs.h >>conftest.$ac_ext
18879 cat >>conftest.$ac_ext <<_ACEOF
18880 /* end confdefs.h. */
18881 $ac_includes_default
18882 #include <$ac_header>
18884 rm -f conftest.$ac_objext
18885 if { (ac_try="$ac_compile"
18886 case "(($ac_try" in
18887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18888 *) ac_try_echo=$ac_try;;
18890 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18891 (eval "$ac_compile") 2>conftest.er1
18893 grep -v '^ *+' conftest.er1 >conftest.err
18895 cat conftest.err >&5
18896 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18897 (exit $ac_status); } &&
18898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18899 { (case "(($ac_try" in
18900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18901 *) ac_try_echo=$ac_try;;
18903 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18904 (eval "$ac_try") 2>&5
18906 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18907 (exit $ac_status); }; } &&
18908 { ac_try='test -s conftest.$ac_objext'
18909 { (case "(($ac_try" in
18910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18911 *) ac_try_echo=$ac_try;;
18913 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18914 (eval "$ac_try") 2>&5
18916 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18917 (exit $ac_status); }; }; then
18918 ac_header_compiler=yes
18920 echo "$as_me: failed program was
:" >&5
18921 sed 's/^/| /' conftest.$ac_ext >&5
18923 ac_header_compiler=no
18926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18927 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
18928 echo "${ECHO_T}$ac_header_compiler" >&6; }
18930 # Is the header present?
18931 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
18932 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
18933 cat >conftest.$ac_ext <<_ACEOF
18936 cat confdefs.h >>conftest.$ac_ext
18937 cat >>conftest.$ac_ext <<_ACEOF
18938 /* end confdefs.h. */
18939 #include <$ac_header>
18941 if { (ac_try="$ac_cpp conftest.
$ac_ext"
18942 case "(($ac_try" in
18943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18944 *) ac_try_echo=$ac_try;;
18946 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18947 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
18949 grep -v '^ *+' conftest.er1 >conftest.err
18951 cat conftest.err >&5
18952 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18953 (exit $ac_status); } >/dev/null; then
18954 if test -s conftest.err; then
18955 ac_cpp_err=$ac_c_preproc_warn_flag
18956 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18963 if test -z "$ac_cpp_err"; then
18964 ac_header_preproc=yes
18966 echo "$as_me: failed program was
:" >&5
18967 sed 's/^/| /' conftest.$ac_ext >&5
18969 ac_header_preproc=no
18972 rm -f conftest.err conftest.$ac_ext
18973 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
18974 echo "${ECHO_T}$ac_header_preproc" >&6; }
18976 # So? What about this header?
18977 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18979 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
18980 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
18981 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
18982 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
18983 ac_header_preproc=yes
18986 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
18987 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
18988 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
18989 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
18990 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
18991 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
18992 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
18993 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
18994 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
18995 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
18996 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
18997 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
18999 ## ----------------------------------------- ##
19000 ## Report this to wx-dev@lists.wxwidgets.org ##
19001 ## ----------------------------------------- ##
19003 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
19006 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19007 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19008 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19009 echo $ECHO_N "(cached
) $ECHO_C" >&6
19011 eval "$as_ac_Header=\
$ac_header_preproc"
19013 ac_res=`eval echo '${'$as_ac_Header'}'`
19014 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19015 echo "${ECHO_T}$ac_res" >&6; }
19018 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19019 cat >>confdefs.h <<_ACEOF
19020 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19030 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19031 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19032 if test "${ac_cv_c_const+set}" = set; then
19033 echo $ECHO_N "(cached
) $ECHO_C" >&6
19035 cat >conftest.$ac_ext <<_ACEOF
19038 cat confdefs.h >>conftest.$ac_ext
19039 cat >>conftest.$ac_ext <<_ACEOF
19040 /* end confdefs.h. */
19045 /* FIXME: Include the comments suggested by Paul. */
19046 #ifndef __cplusplus
19047 /* Ultrix mips cc rejects this. */
19048 typedef int charset[2];
19050 /* SunOS 4.1.1 cc rejects this. */
19051 char const *const *ccp;
19053 /* NEC SVR4.0.2 mips cc rejects this. */
19054 struct point {int x, y;};
19055 static struct point const zero = {0,0};
19056 /* AIX XL C 1.02.0.0 rejects this.
19057 It does not let you subtract one const X* pointer from another in
19058 an arm of an if-expression whose if-part is not a constant
19060 const char *g = "string
";
19061 ccp = &g + (g ? g-g : 0);
19062 /* HPUX 7.0 cc rejects these. */
19065 ccp = (char const *const *) p;
19066 { /* SCO 3.2v4 cc rejects this. */
19068 char const *s = 0 ? (char *) 0 : (char const *) 0;
19073 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19074 int x[] = {25, 17};
19075 const int *foo = &x[0];
19078 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19079 typedef const int *iptr;
19083 { /* AIX XL C 1.02.0.0 rejects this saying
19084 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19085 struct s { int j; const int *ap[3]; };
19086 struct s *b; b->j = 5;
19088 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19089 const int foo = 10;
19090 if (!foo) return 0;
19092 return !x[0] && !zero.x;
19099 rm -f conftest.$ac_objext
19100 if { (ac_try="$ac_compile"
19101 case "(($ac_try" in
19102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19103 *) ac_try_echo=$ac_try;;
19105 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19106 (eval "$ac_compile") 2>conftest.er1
19108 grep -v '^ *+' conftest.er1 >conftest.err
19110 cat conftest.err >&5
19111 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19112 (exit $ac_status); } &&
19113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19114 { (case "(($ac_try" in
19115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19116 *) ac_try_echo=$ac_try;;
19118 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19119 (eval "$ac_try") 2>&5
19121 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19122 (exit $ac_status); }; } &&
19123 { ac_try='test -s conftest.$ac_objext'
19124 { (case "(($ac_try" in
19125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19126 *) ac_try_echo=$ac_try;;
19128 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19129 (eval "$ac_try") 2>&5
19131 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19132 (exit $ac_status); }; }; then
19135 echo "$as_me: failed program was
:" >&5
19136 sed 's/^/| /' conftest.$ac_ext >&5
19141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19143 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19144 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19145 if test $ac_cv_c_const = no; then
19147 cat >>confdefs.h <<\_ACEOF
19153 { echo "$as_me:$LINENO: checking
for inline
" >&5
19154 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19155 if test "${ac_cv_c_inline+set}" = set; then
19156 echo $ECHO_N "(cached
) $ECHO_C" >&6
19159 for ac_kw in inline __inline__ __inline; do
19160 cat >conftest.$ac_ext <<_ACEOF
19163 cat confdefs.h >>conftest.$ac_ext
19164 cat >>conftest.$ac_ext <<_ACEOF
19165 /* end confdefs.h. */
19166 #ifndef __cplusplus
19168 static $ac_kw foo_t static_foo () {return 0; }
19169 $ac_kw foo_t foo () {return 0; }
19173 rm -f conftest.$ac_objext
19174 if { (ac_try="$ac_compile"
19175 case "(($ac_try" in
19176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19177 *) ac_try_echo=$ac_try;;
19179 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19180 (eval "$ac_compile") 2>conftest.er1
19182 grep -v '^ *+' conftest.er1 >conftest.err
19184 cat conftest.err >&5
19185 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19186 (exit $ac_status); } &&
19187 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19188 { (case "(($ac_try" in
19189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19190 *) ac_try_echo=$ac_try;;
19192 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19193 (eval "$ac_try") 2>&5
19195 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19196 (exit $ac_status); }; } &&
19197 { ac_try='test -s conftest.$ac_objext'
19198 { (case "(($ac_try" in
19199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19200 *) ac_try_echo=$ac_try;;
19202 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19203 (eval "$ac_try") 2>&5
19205 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19206 (exit $ac_status); }; }; then
19207 ac_cv_c_inline=$ac_kw
19209 echo "$as_me: failed program was
:" >&5
19210 sed 's/^/| /' conftest.$ac_ext >&5
19215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19216 test "$ac_cv_c_inline" != no && break
19220 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19221 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19224 case $ac_cv_c_inline in
19227 case $ac_cv_c_inline in
19229 *) ac_val=$ac_cv_c_inline;;
19231 cat >>confdefs.h <<_ACEOF
19232 #ifndef __cplusplus
19233 #define inline $ac_val
19240 { echo "$as_me:$LINENO: checking
for char
" >&5
19241 echo $ECHO_N "checking
for char...
$ECHO_C" >&6; }
19242 if test "${ac_cv_type_char+set}" = set; then
19243 echo $ECHO_N "(cached
) $ECHO_C" >&6
19245 cat >conftest.$ac_ext <<_ACEOF
19248 cat confdefs.h >>conftest.$ac_ext
19249 cat >>conftest.$ac_ext <<_ACEOF
19250 /* end confdefs.h. */
19251 $ac_includes_default
19252 typedef char ac__type_new_;
19256 if ((ac__type_new_ *) 0)
19258 if (sizeof (ac__type_new_))
19264 rm -f conftest.$ac_objext
19265 if { (ac_try="$ac_compile"
19266 case "(($ac_try" in
19267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19268 *) ac_try_echo=$ac_try;;
19270 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19271 (eval "$ac_compile") 2>conftest.er1
19273 grep -v '^ *+' conftest.er1 >conftest.err
19275 cat conftest.err >&5
19276 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19277 (exit $ac_status); } &&
19278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19279 { (case "(($ac_try" in
19280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19281 *) ac_try_echo=$ac_try;;
19283 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19284 (eval "$ac_try") 2>&5
19286 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19287 (exit $ac_status); }; } &&
19288 { ac_try='test -s conftest.$ac_objext'
19289 { (case "(($ac_try" in
19290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19291 *) ac_try_echo=$ac_try;;
19293 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19294 (eval "$ac_try") 2>&5
19296 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19297 (exit $ac_status); }; }; then
19298 ac_cv_type_char=yes
19300 echo "$as_me: failed program was
:" >&5
19301 sed 's/^/| /' conftest.$ac_ext >&5
19306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19308 { echo "$as_me:$LINENO: result
: $ac_cv_type_char" >&5
19309 echo "${ECHO_T}$ac_cv_type_char" >&6; }
19311 { echo "$as_me:$LINENO: checking size of char
" >&5
19312 echo $ECHO_N "checking size of char...
$ECHO_C" >&6; }
19313 if test "${ac_cv_sizeof_char+set}" = set; then
19314 echo $ECHO_N "(cached
) $ECHO_C" >&6
19316 if test "$ac_cv_type_char" = yes; then
19317 # The cast to long int works around a bug in the HP C Compiler
19318 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19319 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19320 # This bug is HP SR number 8606223364.
19321 if test "$cross_compiling" = yes; then
19322 # Depending upon the size, compute the lo and hi bounds.
19323 cat >conftest.$ac_ext <<_ACEOF
19326 cat confdefs.h >>conftest.$ac_ext
19327 cat >>conftest.$ac_ext <<_ACEOF
19328 /* end confdefs.h. */
19329 $ac_includes_default
19330 typedef char ac__type_sizeof_;
19334 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19341 rm -f conftest.$ac_objext
19342 if { (ac_try="$ac_compile"
19343 case "(($ac_try" in
19344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19345 *) ac_try_echo=$ac_try;;
19347 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19348 (eval "$ac_compile") 2>conftest.er1
19350 grep -v '^ *+' conftest.er1 >conftest.err
19352 cat conftest.err >&5
19353 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19354 (exit $ac_status); } &&
19355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19356 { (case "(($ac_try" in
19357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19358 *) ac_try_echo=$ac_try;;
19360 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19361 (eval "$ac_try") 2>&5
19363 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19364 (exit $ac_status); }; } &&
19365 { ac_try='test -s conftest.$ac_objext'
19366 { (case "(($ac_try" in
19367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19368 *) ac_try_echo=$ac_try;;
19370 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19371 (eval "$ac_try") 2>&5
19373 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19374 (exit $ac_status); }; }; then
19377 cat >conftest.$ac_ext <<_ACEOF
19380 cat confdefs.h >>conftest.$ac_ext
19381 cat >>conftest.$ac_ext <<_ACEOF
19382 /* end confdefs.h. */
19383 $ac_includes_default
19384 typedef char ac__type_sizeof_;
19388 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19395 rm -f conftest.$ac_objext
19396 if { (ac_try="$ac_compile"
19397 case "(($ac_try" in
19398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19399 *) ac_try_echo=$ac_try;;
19401 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19402 (eval "$ac_compile") 2>conftest.er1
19404 grep -v '^ *+' conftest.er1 >conftest.err
19406 cat conftest.err >&5
19407 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19408 (exit $ac_status); } &&
19409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19410 { (case "(($ac_try" in
19411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19412 *) ac_try_echo=$ac_try;;
19414 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19415 (eval "$ac_try") 2>&5
19417 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19418 (exit $ac_status); }; } &&
19419 { ac_try='test -s conftest.$ac_objext'
19420 { (case "(($ac_try" in
19421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19422 *) ac_try_echo=$ac_try;;
19424 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19425 (eval "$ac_try") 2>&5
19427 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19428 (exit $ac_status); }; }; then
19429 ac_hi=$ac_mid; break
19431 echo "$as_me: failed program was
:" >&5
19432 sed 's/^/| /' conftest.$ac_ext >&5
19434 ac_lo=`expr $ac_mid + 1`
19435 if test $ac_lo -le $ac_mid; then
19439 ac_mid=`expr 2 '*' $ac_mid + 1`
19442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19445 echo "$as_me: failed program was
:" >&5
19446 sed 's/^/| /' conftest.$ac_ext >&5
19448 cat >conftest.$ac_ext <<_ACEOF
19451 cat confdefs.h >>conftest.$ac_ext
19452 cat >>conftest.$ac_ext <<_ACEOF
19453 /* end confdefs.h. */
19454 $ac_includes_default
19455 typedef char ac__type_sizeof_;
19459 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19466 rm -f conftest.$ac_objext
19467 if { (ac_try="$ac_compile"
19468 case "(($ac_try" in
19469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19470 *) ac_try_echo=$ac_try;;
19472 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19473 (eval "$ac_compile") 2>conftest.er1
19475 grep -v '^ *+' conftest.er1 >conftest.err
19477 cat conftest.err >&5
19478 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19479 (exit $ac_status); } &&
19480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19481 { (case "(($ac_try" in
19482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19483 *) ac_try_echo=$ac_try;;
19485 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19486 (eval "$ac_try") 2>&5
19488 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19489 (exit $ac_status); }; } &&
19490 { ac_try='test -s conftest.$ac_objext'
19491 { (case "(($ac_try" in
19492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19493 *) ac_try_echo=$ac_try;;
19495 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19496 (eval "$ac_try") 2>&5
19498 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19499 (exit $ac_status); }; }; then
19502 cat >conftest.$ac_ext <<_ACEOF
19505 cat confdefs.h >>conftest.$ac_ext
19506 cat >>conftest.$ac_ext <<_ACEOF
19507 /* end confdefs.h. */
19508 $ac_includes_default
19509 typedef char ac__type_sizeof_;
19513 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19520 rm -f conftest.$ac_objext
19521 if { (ac_try="$ac_compile"
19522 case "(($ac_try" in
19523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19524 *) ac_try_echo=$ac_try;;
19526 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19527 (eval "$ac_compile") 2>conftest.er1
19529 grep -v '^ *+' conftest.er1 >conftest.err
19531 cat conftest.err >&5
19532 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19533 (exit $ac_status); } &&
19534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19535 { (case "(($ac_try" in
19536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19537 *) ac_try_echo=$ac_try;;
19539 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19540 (eval "$ac_try") 2>&5
19542 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19543 (exit $ac_status); }; } &&
19544 { ac_try='test -s conftest.$ac_objext'
19545 { (case "(($ac_try" in
19546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19547 *) ac_try_echo=$ac_try;;
19549 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19550 (eval "$ac_try") 2>&5
19552 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19553 (exit $ac_status); }; }; then
19554 ac_lo=$ac_mid; break
19556 echo "$as_me: failed program was
:" >&5
19557 sed 's/^/| /' conftest.$ac_ext >&5
19559 ac_hi=`expr '(' $ac_mid ')' - 1`
19560 if test $ac_mid -le $ac_hi; then
19564 ac_mid=`expr 2 '*' $ac_mid`
19567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19570 echo "$as_me: failed program was
:" >&5
19571 sed 's/^/| /' conftest.$ac_ext >&5
19576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19580 # Binary search between lo and hi bounds.
19581 while test "x
$ac_lo" != "x
$ac_hi"; do
19582 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19583 cat >conftest.$ac_ext <<_ACEOF
19586 cat confdefs.h >>conftest.$ac_ext
19587 cat >>conftest.$ac_ext <<_ACEOF
19588 /* end confdefs.h. */
19589 $ac_includes_default
19590 typedef char ac__type_sizeof_;
19594 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19601 rm -f conftest.$ac_objext
19602 if { (ac_try="$ac_compile"
19603 case "(($ac_try" in
19604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19605 *) ac_try_echo=$ac_try;;
19607 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19608 (eval "$ac_compile") 2>conftest.er1
19610 grep -v '^ *+' conftest.er1 >conftest.err
19612 cat conftest.err >&5
19613 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19614 (exit $ac_status); } &&
19615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19616 { (case "(($ac_try" in
19617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19618 *) ac_try_echo=$ac_try;;
19620 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19621 (eval "$ac_try") 2>&5
19623 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19624 (exit $ac_status); }; } &&
19625 { ac_try='test -s conftest.$ac_objext'
19626 { (case "(($ac_try" in
19627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19628 *) ac_try_echo=$ac_try;;
19630 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19631 (eval "$ac_try") 2>&5
19633 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19634 (exit $ac_status); }; }; then
19637 echo "$as_me: failed program was
:" >&5
19638 sed 's/^/| /' conftest.$ac_ext >&5
19640 ac_lo=`expr '(' $ac_mid ')' + 1`
19643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19646 ?*) ac_cv_sizeof_char=$ac_lo;;
19647 '') { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(char
)
19648 See \
`config.log' for more details." >&5
19649 echo "$as_me: error: cannot compute sizeof (char)
19650 See \`config.log
' for more details." >&2;}
19651 { (exit 77); exit 77; }; } ;;
19654 cat >conftest.$ac_ext <<_ACEOF
19657 cat confdefs.h >>conftest.$ac_ext
19658 cat >>conftest.$ac_ext <<_ACEOF
19659 /* end confdefs.h. */
19660 $ac_includes_default
19661 typedef char ac__type_sizeof_;
19662 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19663 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19665 #include <stdlib.h>
19670 FILE *f = fopen ("conftest.val", "w");
19673 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19675 long int i = longval ();
19676 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19678 fprintf (f, "%ld\n", i);
19682 unsigned long int i = ulongval ();
19683 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19685 fprintf (f, "%lu\n", i);
19687 return ferror (f) || fclose (f) != 0;
19693 rm -f conftest$ac_exeext
19694 if { (ac_try="$ac_link"
19695 case "(($ac_try" in
19696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19697 *) ac_try_echo=$ac_try;;
19699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19700 (eval "$ac_link") 2>&5
19702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19703 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19704 { (case "(($ac_try" in
19705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19706 *) ac_try_echo=$ac_try;;
19708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19709 (eval "$ac_try") 2>&5
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); }; }; then
19713 ac_cv_sizeof_char=`cat conftest.val`
19715 echo "$as_me: program exited with status $ac_status" >&5
19716 echo "$as_me: failed program was:" >&5
19717 sed 's
/^
/| /' conftest.$ac_ext >&5
19719 ( exit $ac_status )
19720 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
19721 See \`config.log' for more details.
" >&5
19722 echo "$as_me: error
: cannot compute sizeof
(char
)
19723 See \
`config.log' for more details." >&2;}
19724 { (exit 77); exit 77; }; }
19726 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19730 ac_cv_sizeof_char=0
19733 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
19734 echo "${ECHO_T}$ac_cv_sizeof_char" >&6; }
19735 cat >>confdefs.h <<_ACEOF
19736 #define SIZEOF_CHAR $ac_cv_sizeof_char
19740 { echo "$as_me:$LINENO: checking for short" >&5
19741 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19742 if test "${ac_cv_type_short+set}" = set; then
19743 echo $ECHO_N "(cached) $ECHO_C" >&6
19745 cat >conftest.$ac_ext <<_ACEOF
19748 cat confdefs.h >>conftest.$ac_ext
19749 cat >>conftest.$ac_ext <<_ACEOF
19750 /* end confdefs.h. */
19751 $ac_includes_default
19752 typedef short ac__type_new_;
19756 if ((ac__type_new_ *) 0)
19758 if (sizeof (ac__type_new_))
19764 rm -f conftest.$ac_objext
19765 if { (ac_try="$ac_compile"
19766 case "(($ac_try" in
19767 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19768 *) ac_try_echo
=$ac_try;;
19770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19771 (eval "$ac_compile") 2>conftest.er1
19773 grep -v '^ *+' conftest.er1
>conftest.err
19775 cat conftest.err
>&5
19776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19777 (exit $ac_status); } &&
19778 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19779 { (case "(($ac_try" in
19780 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19781 *) ac_try_echo=$ac_try;;
19783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19784 (eval "$ac_try") 2>&5
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); }; } &&
19788 { ac_try='test -s conftest.$ac_objext'
19789 { (case "(($ac_try" in
19790 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19791 *) ac_try_echo
=$ac_try;;
19793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19794 (eval "$ac_try") 2>&5
19796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19797 (exit $ac_status); }; }; then
19798 ac_cv_type_short
=yes
19800 echo "$as_me: failed program was:" >&5
19801 sed 's/^/| /' conftest.
$ac_ext >&5
19803 ac_cv_type_short
=no
19806 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19808 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19809 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19811 { echo "$as_me:$LINENO: checking size of short" >&5
19812 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19813 if test "${ac_cv_sizeof_short+set}" = set; then
19814 echo $ECHO_N "(cached) $ECHO_C" >&6
19816 if test "$ac_cv_type_short" = yes; then
19817 # The cast to long int works around a bug in the HP C Compiler
19818 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19819 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19820 # This bug is HP SR number 8606223364.
19821 if test "$cross_compiling" = yes; then
19822 # Depending upon the size, compute the lo and hi bounds.
19823 cat >conftest.
$ac_ext <<_ACEOF
19826 cat confdefs.h
>>conftest.
$ac_ext
19827 cat >>conftest.
$ac_ext <<_ACEOF
19828 /* end confdefs.h. */
19829 $ac_includes_default
19830 typedef short ac__type_sizeof_;
19834 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19841 rm -f conftest.
$ac_objext
19842 if { (ac_try
="$ac_compile"
19843 case "(($ac_try" in
19844 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19845 *) ac_try_echo=$ac_try;;
19847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19848 (eval "$ac_compile") 2>conftest.er1
19850 grep -v '^ *+' conftest.er1 >conftest.err
19852 cat conftest.err >&5
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); } &&
19855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19856 { (case "(($ac_try" in
19857 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19858 *) ac_try_echo
=$ac_try;;
19860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19861 (eval "$ac_try") 2>&5
19863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19864 (exit $ac_status); }; } &&
19865 { ac_try
='test -s conftest.$ac_objext'
19866 { (case "(($ac_try" in
19867 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19868 *) ac_try_echo=$ac_try;;
19870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19871 (eval "$ac_try") 2>&5
19873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19874 (exit $ac_status); }; }; then
19877 cat >conftest.$ac_ext <<_ACEOF
19880 cat confdefs.h >>conftest.$ac_ext
19881 cat >>conftest.$ac_ext <<_ACEOF
19882 /* end confdefs.h. */
19883 $ac_includes_default
19884 typedef short ac__type_sizeof_;
19888 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19895 rm -f conftest.$ac_objext
19896 if { (ac_try="$ac_compile"
19897 case "(($ac_try" in
19898 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19899 *) ac_try_echo
=$ac_try;;
19901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19902 (eval "$ac_compile") 2>conftest.er1
19904 grep -v '^ *+' conftest.er1
>conftest.err
19906 cat conftest.err
>&5
19907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19908 (exit $ac_status); } &&
19909 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19910 { (case "(($ac_try" in
19911 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19912 *) ac_try_echo=$ac_try;;
19914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19915 (eval "$ac_try") 2>&5
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); }; } &&
19919 { ac_try='test -s conftest.$ac_objext'
19920 { (case "(($ac_try" in
19921 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19922 *) ac_try_echo
=$ac_try;;
19924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19925 (eval "$ac_try") 2>&5
19927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928 (exit $ac_status); }; }; then
19929 ac_hi
=$ac_mid; break
19931 echo "$as_me: failed program was:" >&5
19932 sed 's/^/| /' conftest.
$ac_ext >&5
19934 ac_lo
=`expr $ac_mid + 1`
19935 if test $ac_lo -le $ac_mid; then
19939 ac_mid
=`expr 2 '*' $ac_mid + 1`
19942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19945 echo "$as_me: failed program was:" >&5
19946 sed 's/^/| /' conftest.
$ac_ext >&5
19948 cat >conftest.
$ac_ext <<_ACEOF
19951 cat confdefs.h
>>conftest.
$ac_ext
19952 cat >>conftest.
$ac_ext <<_ACEOF
19953 /* end confdefs.h. */
19954 $ac_includes_default
19955 typedef short ac__type_sizeof_;
19959 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19966 rm -f conftest.
$ac_objext
19967 if { (ac_try
="$ac_compile"
19968 case "(($ac_try" in
19969 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19970 *) ac_try_echo=$ac_try;;
19972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19973 (eval "$ac_compile") 2>conftest.er1
19975 grep -v '^ *+' conftest.er1 >conftest.err
19977 cat conftest.err >&5
19978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19979 (exit $ac_status); } &&
19980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19981 { (case "(($ac_try" in
19982 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19983 *) ac_try_echo
=$ac_try;;
19985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19986 (eval "$ac_try") 2>&5
19988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19989 (exit $ac_status); }; } &&
19990 { ac_try
='test -s conftest.$ac_objext'
19991 { (case "(($ac_try" in
19992 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19993 *) ac_try_echo=$ac_try;;
19995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19996 (eval "$ac_try") 2>&5
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); }; }; then
20002 cat >conftest.$ac_ext <<_ACEOF
20005 cat confdefs.h >>conftest.$ac_ext
20006 cat >>conftest.$ac_ext <<_ACEOF
20007 /* end confdefs.h. */
20008 $ac_includes_default
20009 typedef short ac__type_sizeof_;
20013 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20020 rm -f conftest.$ac_objext
20021 if { (ac_try="$ac_compile"
20022 case "(($ac_try" in
20023 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20024 *) ac_try_echo
=$ac_try;;
20026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20027 (eval "$ac_compile") 2>conftest.er1
20029 grep -v '^ *+' conftest.er1
>conftest.err
20031 cat conftest.err
>&5
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); } &&
20034 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20035 { (case "(($ac_try" in
20036 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20037 *) ac_try_echo=$ac_try;;
20039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20040 (eval "$ac_try") 2>&5
20042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20043 (exit $ac_status); }; } &&
20044 { ac_try='test -s conftest.$ac_objext'
20045 { (case "(($ac_try" in
20046 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20047 *) ac_try_echo
=$ac_try;;
20049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20050 (eval "$ac_try") 2>&5
20052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20053 (exit $ac_status); }; }; then
20054 ac_lo
=$ac_mid; break
20056 echo "$as_me: failed program was:" >&5
20057 sed 's/^/| /' conftest.
$ac_ext >&5
20059 ac_hi
=`expr '(' $ac_mid ')' - 1`
20060 if test $ac_mid -le $ac_hi; then
20064 ac_mid
=`expr 2 '*' $ac_mid`
20067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20070 echo "$as_me: failed program was:" >&5
20071 sed 's/^/| /' conftest.
$ac_ext >&5
20076 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20080 # Binary search between lo and hi bounds.
20081 while test "x$ac_lo" != "x$ac_hi"; do
20082 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20083 cat >conftest.
$ac_ext <<_ACEOF
20086 cat confdefs.h
>>conftest.
$ac_ext
20087 cat >>conftest.
$ac_ext <<_ACEOF
20088 /* end confdefs.h. */
20089 $ac_includes_default
20090 typedef short ac__type_sizeof_;
20094 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20101 rm -f conftest.
$ac_objext
20102 if { (ac_try
="$ac_compile"
20103 case "(($ac_try" in
20104 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20105 *) ac_try_echo=$ac_try;;
20107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20108 (eval "$ac_compile") 2>conftest.er1
20110 grep -v '^ *+' conftest.er1 >conftest.err
20112 cat conftest.err >&5
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); } &&
20115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20116 { (case "(($ac_try" in
20117 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20118 *) ac_try_echo
=$ac_try;;
20120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20121 (eval "$ac_try") 2>&5
20123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124 (exit $ac_status); }; } &&
20125 { ac_try
='test -s conftest.$ac_objext'
20126 { (case "(($ac_try" in
20127 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20128 *) ac_try_echo=$ac_try;;
20130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20131 (eval "$ac_try") 2>&5
20133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20134 (exit $ac_status); }; }; then
20137 echo "$as_me: failed program was:" >&5
20138 sed 's/^/| /' conftest.$ac_ext >&5
20140 ac_lo=`expr '(' $ac_mid ')' + 1`
20143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20146 ?*) ac_cv_sizeof_short=$ac_lo;;
20147 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20148 See \`config.log
' for more details." >&5
20149 echo "$as_me: error: cannot compute sizeof (short)
20150 See \`config.log' for more details.
" >&2;}
20151 { (exit 77); exit 77; }; } ;;
20154 cat >conftest.$ac_ext <<_ACEOF
20157 cat confdefs.h >>conftest.$ac_ext
20158 cat >>conftest.$ac_ext <<_ACEOF
20159 /* end confdefs.h. */
20160 $ac_includes_default
20161 typedef short ac__type_sizeof_;
20162 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20163 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20165 #include <stdlib.h>
20170 FILE *f = fopen ("conftest.val
", "w
");
20173 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20175 long int i = longval ();
20176 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20178 fprintf (f, "%ld
\n", i);
20182 unsigned long int i = ulongval ();
20183 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20185 fprintf (f, "%lu
\n", i);
20187 return ferror (f) || fclose (f) != 0;
20193 rm -f conftest$ac_exeext
20194 if { (ac_try="$ac_link"
20195 case "(($ac_try" in
20196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20197 *) ac_try_echo=$ac_try;;
20199 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20200 (eval "$ac_link") 2>&5
20202 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20203 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20204 { (case "(($ac_try" in
20205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20206 *) ac_try_echo=$ac_try;;
20208 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20209 (eval "$ac_try") 2>&5
20211 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20212 (exit $ac_status); }; }; then
20213 ac_cv_sizeof_short=`cat conftest.val`
20215 echo "$as_me: program exited with status
$ac_status" >&5
20216 echo "$as_me: failed program was
:" >&5
20217 sed 's/^/| /' conftest.$ac_ext >&5
20219 ( exit $ac_status )
20220 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
20221 See \
`config.log' for more details." >&5
20222 echo "$as_me: error: cannot compute sizeof (short)
20223 See \`config.log
' for more details." >&2;}
20224 { (exit 77); exit 77; }; }
20226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20230 ac_cv_sizeof_short=0
20233 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20234 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20235 cat >>confdefs.h <<_ACEOF
20236 #define SIZEOF_SHORT $ac_cv_sizeof_short
20240 { echo "$as_me:$LINENO: checking for void *" >&5
20241 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20242 if test "${ac_cv_type_void_p+set}" = set; then
20243 echo $ECHO_N "(cached) $ECHO_C" >&6
20245 cat >conftest.$ac_ext <<_ACEOF
20248 cat confdefs.h >>conftest.$ac_ext
20249 cat >>conftest.$ac_ext <<_ACEOF
20250 /* end confdefs.h. */
20251 $ac_includes_default
20252 typedef void * ac__type_new_;
20256 if ((ac__type_new_ *) 0)
20258 if (sizeof (ac__type_new_))
20264 rm -f conftest.$ac_objext
20265 if { (ac_try="$ac_compile"
20266 case "(($ac_try" in
20267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20268 *) ac_try_echo=$ac_try;;
20270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20271 (eval "$ac_compile") 2>conftest.er1
20273 grep -v '^
*+' conftest.er1 >conftest.err
20275 cat conftest.err >&5
20276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20277 (exit $ac_status); } &&
20278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
20279 { (case "(($ac_try" in
20280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20281 *) ac_try_echo=$ac_try;;
20283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20284 (eval "$ac_try") 2>&5
20286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20287 (exit $ac_status); }; } &&
20288 { ac_try='test -s conftest.
$ac_objext'
20289 { (case "(($ac_try" in
20290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20291 *) ac_try_echo=$ac_try;;
20293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20294 (eval "$ac_try") 2>&5
20296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20297 (exit $ac_status); }; }; then
20298 ac_cv_type_void_p=yes
20300 echo "$as_me: failed program was:" >&5
20301 sed 's
/^
/| /' conftest.$ac_ext >&5
20303 ac_cv_type_void_p=no
20306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20308 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20309 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20311 { echo "$as_me:$LINENO: checking size of void *" >&5
20312 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20313 if test "${ac_cv_sizeof_void_p+set}" = set; then
20314 echo $ECHO_N "(cached) $ECHO_C" >&6
20316 if test "$ac_cv_type_void_p" = yes; then
20317 # The cast to long int works around a bug in the HP C Compiler
20318 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20319 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20320 # This bug is HP SR number 8606223364.
20321 if test "$cross_compiling" = yes; then
20322 # Depending upon the size, compute the lo and hi bounds.
20323 cat >conftest.
$ac_ext <<_ACEOF
20326 cat confdefs.h
>>conftest.
$ac_ext
20327 cat >>conftest.
$ac_ext <<_ACEOF
20328 /* end confdefs.h. */
20329 $ac_includes_default
20330 typedef void * ac__type_sizeof_;
20334 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20341 rm -f conftest.
$ac_objext
20342 if { (ac_try
="$ac_compile"
20343 case "(($ac_try" in
20344 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20345 *) ac_try_echo=$ac_try;;
20347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20348 (eval "$ac_compile") 2>conftest.er1
20350 grep -v '^ *+' conftest.er1 >conftest.err
20352 cat conftest.err >&5
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); } &&
20355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20356 { (case "(($ac_try" in
20357 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20358 *) ac_try_echo
=$ac_try;;
20360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20361 (eval "$ac_try") 2>&5
20363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20364 (exit $ac_status); }; } &&
20365 { ac_try
='test -s conftest.$ac_objext'
20366 { (case "(($ac_try" in
20367 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20368 *) ac_try_echo=$ac_try;;
20370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20371 (eval "$ac_try") 2>&5
20373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20374 (exit $ac_status); }; }; then
20377 cat >conftest.$ac_ext <<_ACEOF
20380 cat confdefs.h >>conftest.$ac_ext
20381 cat >>conftest.$ac_ext <<_ACEOF
20382 /* end confdefs.h. */
20383 $ac_includes_default
20384 typedef void * ac__type_sizeof_;
20388 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20395 rm -f conftest.$ac_objext
20396 if { (ac_try="$ac_compile"
20397 case "(($ac_try" in
20398 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20399 *) ac_try_echo
=$ac_try;;
20401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20402 (eval "$ac_compile") 2>conftest.er1
20404 grep -v '^ *+' conftest.er1
>conftest.err
20406 cat conftest.err
>&5
20407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408 (exit $ac_status); } &&
20409 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20410 { (case "(($ac_try" in
20411 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20412 *) ac_try_echo=$ac_try;;
20414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20415 (eval "$ac_try") 2>&5
20417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418 (exit $ac_status); }; } &&
20419 { ac_try='test -s conftest.$ac_objext'
20420 { (case "(($ac_try" in
20421 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20422 *) ac_try_echo
=$ac_try;;
20424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20425 (eval "$ac_try") 2>&5
20427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20428 (exit $ac_status); }; }; then
20429 ac_hi
=$ac_mid; break
20431 echo "$as_me: failed program was:" >&5
20432 sed 's/^/| /' conftest.
$ac_ext >&5
20434 ac_lo
=`expr $ac_mid + 1`
20435 if test $ac_lo -le $ac_mid; then
20439 ac_mid
=`expr 2 '*' $ac_mid + 1`
20442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20445 echo "$as_me: failed program was:" >&5
20446 sed 's/^/| /' conftest.
$ac_ext >&5
20448 cat >conftest.
$ac_ext <<_ACEOF
20451 cat confdefs.h
>>conftest.
$ac_ext
20452 cat >>conftest.
$ac_ext <<_ACEOF
20453 /* end confdefs.h. */
20454 $ac_includes_default
20455 typedef void * ac__type_sizeof_;
20459 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20466 rm -f conftest.
$ac_objext
20467 if { (ac_try
="$ac_compile"
20468 case "(($ac_try" in
20469 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20470 *) ac_try_echo=$ac_try;;
20472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20473 (eval "$ac_compile") 2>conftest.er1
20475 grep -v '^ *+' conftest.er1 >conftest.err
20477 cat conftest.err >&5
20478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20479 (exit $ac_status); } &&
20480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20481 { (case "(($ac_try" in
20482 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20483 *) ac_try_echo
=$ac_try;;
20485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20486 (eval "$ac_try") 2>&5
20488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20489 (exit $ac_status); }; } &&
20490 { ac_try
='test -s conftest.$ac_objext'
20491 { (case "(($ac_try" in
20492 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20493 *) ac_try_echo=$ac_try;;
20495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20496 (eval "$ac_try") 2>&5
20498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20499 (exit $ac_status); }; }; then
20502 cat >conftest.$ac_ext <<_ACEOF
20505 cat confdefs.h >>conftest.$ac_ext
20506 cat >>conftest.$ac_ext <<_ACEOF
20507 /* end confdefs.h. */
20508 $ac_includes_default
20509 typedef void * ac__type_sizeof_;
20513 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20520 rm -f conftest.$ac_objext
20521 if { (ac_try="$ac_compile"
20522 case "(($ac_try" in
20523 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20524 *) ac_try_echo
=$ac_try;;
20526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20527 (eval "$ac_compile") 2>conftest.er1
20529 grep -v '^ *+' conftest.er1
>conftest.err
20531 cat conftest.err
>&5
20532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); } &&
20534 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20535 { (case "(($ac_try" in
20536 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20537 *) ac_try_echo=$ac_try;;
20539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20540 (eval "$ac_try") 2>&5
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); }; } &&
20544 { ac_try='test -s conftest.$ac_objext'
20545 { (case "(($ac_try" in
20546 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20547 *) ac_try_echo
=$ac_try;;
20549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20550 (eval "$ac_try") 2>&5
20552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20553 (exit $ac_status); }; }; then
20554 ac_lo
=$ac_mid; break
20556 echo "$as_me: failed program was:" >&5
20557 sed 's/^/| /' conftest.
$ac_ext >&5
20559 ac_hi
=`expr '(' $ac_mid ')' - 1`
20560 if test $ac_mid -le $ac_hi; then
20564 ac_mid
=`expr 2 '*' $ac_mid`
20567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20570 echo "$as_me: failed program was:" >&5
20571 sed 's/^/| /' conftest.
$ac_ext >&5
20576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20580 # Binary search between lo and hi bounds.
20581 while test "x$ac_lo" != "x$ac_hi"; do
20582 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20583 cat >conftest.
$ac_ext <<_ACEOF
20586 cat confdefs.h
>>conftest.
$ac_ext
20587 cat >>conftest.
$ac_ext <<_ACEOF
20588 /* end confdefs.h. */
20589 $ac_includes_default
20590 typedef void * ac__type_sizeof_;
20594 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20601 rm -f conftest.
$ac_objext
20602 if { (ac_try
="$ac_compile"
20603 case "(($ac_try" in
20604 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20605 *) ac_try_echo=$ac_try;;
20607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20608 (eval "$ac_compile") 2>conftest.er1
20610 grep -v '^ *+' conftest.er1 >conftest.err
20612 cat conftest.err >&5
20613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614 (exit $ac_status); } &&
20615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20616 { (case "(($ac_try" in
20617 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20618 *) ac_try_echo
=$ac_try;;
20620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20621 (eval "$ac_try") 2>&5
20623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20624 (exit $ac_status); }; } &&
20625 { ac_try
='test -s conftest.$ac_objext'
20626 { (case "(($ac_try" in
20627 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20628 *) ac_try_echo=$ac_try;;
20630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20631 (eval "$ac_try") 2>&5
20633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20634 (exit $ac_status); }; }; then
20637 echo "$as_me: failed program was:" >&5
20638 sed 's/^/| /' conftest.$ac_ext >&5
20640 ac_lo=`expr '(' $ac_mid ')' + 1`
20643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20646 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20647 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20648 See \`config.log
' for more details." >&5
20649 echo "$as_me: error: cannot compute sizeof (void *)
20650 See \`config.log' for more details.
" >&2;}
20651 { (exit 77); exit 77; }; } ;;
20654 cat >conftest.$ac_ext <<_ACEOF
20657 cat confdefs.h >>conftest.$ac_ext
20658 cat >>conftest.$ac_ext <<_ACEOF
20659 /* end confdefs.h. */
20660 $ac_includes_default
20661 typedef void * ac__type_sizeof_;
20662 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20663 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20665 #include <stdlib.h>
20670 FILE *f = fopen ("conftest.val
", "w
");
20673 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20675 long int i = longval ();
20676 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20678 fprintf (f, "%ld
\n", i);
20682 unsigned long int i = ulongval ();
20683 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20685 fprintf (f, "%lu
\n", i);
20687 return ferror (f) || fclose (f) != 0;
20693 rm -f conftest$ac_exeext
20694 if { (ac_try="$ac_link"
20695 case "(($ac_try" in
20696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20697 *) ac_try_echo=$ac_try;;
20699 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20700 (eval "$ac_link") 2>&5
20702 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20703 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20704 { (case "(($ac_try" in
20705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20706 *) ac_try_echo=$ac_try;;
20708 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20709 (eval "$ac_try") 2>&5
20711 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20712 (exit $ac_status); }; }; then
20713 ac_cv_sizeof_void_p=`cat conftest.val`
20715 echo "$as_me: program exited with status
$ac_status" >&5
20716 echo "$as_me: failed program was
:" >&5
20717 sed 's/^/| /' conftest.$ac_ext >&5
20719 ( exit $ac_status )
20720 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20721 See \
`config.log' for more details." >&5
20722 echo "$as_me: error: cannot compute sizeof (void *)
20723 See \`config.log
' for more details." >&2;}
20724 { (exit 77); exit 77; }; }
20726 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20730 ac_cv_sizeof_void_p=0
20733 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20734 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20735 cat >>confdefs.h <<_ACEOF
20736 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20740 { echo "$as_me:$LINENO: checking for int" >&5
20741 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20742 if test "${ac_cv_type_int+set}" = set; then
20743 echo $ECHO_N "(cached) $ECHO_C" >&6
20745 cat >conftest.$ac_ext <<_ACEOF
20748 cat confdefs.h >>conftest.$ac_ext
20749 cat >>conftest.$ac_ext <<_ACEOF
20750 /* end confdefs.h. */
20751 $ac_includes_default
20752 typedef int ac__type_new_;
20756 if ((ac__type_new_ *) 0)
20758 if (sizeof (ac__type_new_))
20764 rm -f conftest.$ac_objext
20765 if { (ac_try="$ac_compile"
20766 case "(($ac_try" in
20767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20768 *) ac_try_echo=$ac_try;;
20770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20771 (eval "$ac_compile") 2>conftest.er1
20773 grep -v '^
*+' conftest.er1 >conftest.err
20775 cat conftest.err >&5
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); } &&
20778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
20779 { (case "(($ac_try" in
20780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20781 *) ac_try_echo=$ac_try;;
20783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20784 (eval "$ac_try") 2>&5
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); }; } &&
20788 { ac_try='test -s conftest.
$ac_objext'
20789 { (case "(($ac_try" in
20790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20791 *) ac_try_echo=$ac_try;;
20793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20794 (eval "$ac_try") 2>&5
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); }; }; then
20800 echo "$as_me: failed program was:" >&5
20801 sed 's
/^
/| /' conftest.$ac_ext >&5
20806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20808 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20809 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20811 { echo "$as_me:$LINENO: checking size of int" >&5
20812 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20813 if test "${ac_cv_sizeof_int+set}" = set; then
20814 echo $ECHO_N "(cached) $ECHO_C" >&6
20816 if test "$ac_cv_type_int" = yes; then
20817 # The cast to long int works around a bug in the HP C Compiler
20818 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20819 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20820 # This bug is HP SR number 8606223364.
20821 if test "$cross_compiling" = yes; then
20822 # Depending upon the size, compute the lo and hi bounds.
20823 cat >conftest.
$ac_ext <<_ACEOF
20826 cat confdefs.h
>>conftest.
$ac_ext
20827 cat >>conftest.
$ac_ext <<_ACEOF
20828 /* end confdefs.h. */
20829 $ac_includes_default
20830 typedef int ac__type_sizeof_;
20834 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20841 rm -f conftest.
$ac_objext
20842 if { (ac_try
="$ac_compile"
20843 case "(($ac_try" in
20844 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20845 *) ac_try_echo=$ac_try;;
20847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20848 (eval "$ac_compile") 2>conftest.er1
20850 grep -v '^ *+' conftest.er1 >conftest.err
20852 cat conftest.err >&5
20853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854 (exit $ac_status); } &&
20855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20856 { (case "(($ac_try" in
20857 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20858 *) ac_try_echo
=$ac_try;;
20860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20861 (eval "$ac_try") 2>&5
20863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20864 (exit $ac_status); }; } &&
20865 { ac_try
='test -s conftest.$ac_objext'
20866 { (case "(($ac_try" in
20867 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20868 *) ac_try_echo=$ac_try;;
20870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20871 (eval "$ac_try") 2>&5
20873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20874 (exit $ac_status); }; }; then
20877 cat >conftest.$ac_ext <<_ACEOF
20880 cat confdefs.h >>conftest.$ac_ext
20881 cat >>conftest.$ac_ext <<_ACEOF
20882 /* end confdefs.h. */
20883 $ac_includes_default
20884 typedef int ac__type_sizeof_;
20888 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20895 rm -f conftest.$ac_objext
20896 if { (ac_try="$ac_compile"
20897 case "(($ac_try" in
20898 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20899 *) ac_try_echo
=$ac_try;;
20901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20902 (eval "$ac_compile") 2>conftest.er1
20904 grep -v '^ *+' conftest.er1
>conftest.err
20906 cat conftest.err
>&5
20907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20908 (exit $ac_status); } &&
20909 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20910 { (case "(($ac_try" in
20911 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20912 *) ac_try_echo=$ac_try;;
20914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20915 (eval "$ac_try") 2>&5
20917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20918 (exit $ac_status); }; } &&
20919 { ac_try='test -s conftest.$ac_objext'
20920 { (case "(($ac_try" in
20921 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20922 *) ac_try_echo
=$ac_try;;
20924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20925 (eval "$ac_try") 2>&5
20927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928 (exit $ac_status); }; }; then
20929 ac_hi
=$ac_mid; break
20931 echo "$as_me: failed program was:" >&5
20932 sed 's/^/| /' conftest.
$ac_ext >&5
20934 ac_lo
=`expr $ac_mid + 1`
20935 if test $ac_lo -le $ac_mid; then
20939 ac_mid
=`expr 2 '*' $ac_mid + 1`
20942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20945 echo "$as_me: failed program was:" >&5
20946 sed 's/^/| /' conftest.
$ac_ext >&5
20948 cat >conftest.
$ac_ext <<_ACEOF
20951 cat confdefs.h
>>conftest.
$ac_ext
20952 cat >>conftest.
$ac_ext <<_ACEOF
20953 /* end confdefs.h. */
20954 $ac_includes_default
20955 typedef int ac__type_sizeof_;
20959 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20966 rm -f conftest.
$ac_objext
20967 if { (ac_try
="$ac_compile"
20968 case "(($ac_try" in
20969 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20970 *) ac_try_echo=$ac_try;;
20972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20973 (eval "$ac_compile") 2>conftest.er1
20975 grep -v '^ *+' conftest.er1 >conftest.err
20977 cat conftest.err >&5
20978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20979 (exit $ac_status); } &&
20980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20981 { (case "(($ac_try" in
20982 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20983 *) ac_try_echo
=$ac_try;;
20985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20986 (eval "$ac_try") 2>&5
20988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20989 (exit $ac_status); }; } &&
20990 { ac_try
='test -s conftest.$ac_objext'
20991 { (case "(($ac_try" in
20992 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20993 *) ac_try_echo=$ac_try;;
20995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20996 (eval "$ac_try") 2>&5
20998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20999 (exit $ac_status); }; }; then
21002 cat >conftest.$ac_ext <<_ACEOF
21005 cat confdefs.h >>conftest.$ac_ext
21006 cat >>conftest.$ac_ext <<_ACEOF
21007 /* end confdefs.h. */
21008 $ac_includes_default
21009 typedef int ac__type_sizeof_;
21013 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21020 rm -f conftest.$ac_objext
21021 if { (ac_try="$ac_compile"
21022 case "(($ac_try" in
21023 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21024 *) ac_try_echo
=$ac_try;;
21026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21027 (eval "$ac_compile") 2>conftest.er1
21029 grep -v '^ *+' conftest.er1
>conftest.err
21031 cat conftest.err
>&5
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); } &&
21034 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21035 { (case "(($ac_try" in
21036 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21037 *) ac_try_echo=$ac_try;;
21039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21040 (eval "$ac_try") 2>&5
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); }; } &&
21044 { ac_try='test -s conftest.$ac_objext'
21045 { (case "(($ac_try" in
21046 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21047 *) ac_try_echo
=$ac_try;;
21049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21050 (eval "$ac_try") 2>&5
21052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21053 (exit $ac_status); }; }; then
21054 ac_lo
=$ac_mid; break
21056 echo "$as_me: failed program was:" >&5
21057 sed 's/^/| /' conftest.
$ac_ext >&5
21059 ac_hi
=`expr '(' $ac_mid ')' - 1`
21060 if test $ac_mid -le $ac_hi; then
21064 ac_mid
=`expr 2 '*' $ac_mid`
21067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21070 echo "$as_me: failed program was:" >&5
21071 sed 's/^/| /' conftest.
$ac_ext >&5
21076 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21080 # Binary search between lo and hi bounds.
21081 while test "x$ac_lo" != "x$ac_hi"; do
21082 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21083 cat >conftest.
$ac_ext <<_ACEOF
21086 cat confdefs.h
>>conftest.
$ac_ext
21087 cat >>conftest.
$ac_ext <<_ACEOF
21088 /* end confdefs.h. */
21089 $ac_includes_default
21090 typedef int ac__type_sizeof_;
21094 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21101 rm -f conftest.
$ac_objext
21102 if { (ac_try
="$ac_compile"
21103 case "(($ac_try" in
21104 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21105 *) ac_try_echo=$ac_try;;
21107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21108 (eval "$ac_compile") 2>conftest.er1
21110 grep -v '^ *+' conftest.er1 >conftest.err
21112 cat conftest.err >&5
21113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21114 (exit $ac_status); } &&
21115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21116 { (case "(($ac_try" in
21117 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21118 *) ac_try_echo
=$ac_try;;
21120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21121 (eval "$ac_try") 2>&5
21123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21124 (exit $ac_status); }; } &&
21125 { ac_try
='test -s conftest.$ac_objext'
21126 { (case "(($ac_try" in
21127 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21128 *) ac_try_echo=$ac_try;;
21130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21131 (eval "$ac_try") 2>&5
21133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134 (exit $ac_status); }; }; then
21137 echo "$as_me: failed program was:" >&5
21138 sed 's/^/| /' conftest.$ac_ext >&5
21140 ac_lo=`expr '(' $ac_mid ')' + 1`
21143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21146 ?*) ac_cv_sizeof_int=$ac_lo;;
21147 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21148 See \`config.log
' for more details." >&5
21149 echo "$as_me: error: cannot compute sizeof (int)
21150 See \`config.log' for more details.
" >&2;}
21151 { (exit 77); exit 77; }; } ;;
21154 cat >conftest.$ac_ext <<_ACEOF
21157 cat confdefs.h >>conftest.$ac_ext
21158 cat >>conftest.$ac_ext <<_ACEOF
21159 /* end confdefs.h. */
21160 $ac_includes_default
21161 typedef int ac__type_sizeof_;
21162 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21163 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21165 #include <stdlib.h>
21170 FILE *f = fopen ("conftest.val
", "w
");
21173 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21175 long int i = longval ();
21176 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21178 fprintf (f, "%ld
\n", i);
21182 unsigned long int i = ulongval ();
21183 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21185 fprintf (f, "%lu
\n", i);
21187 return ferror (f) || fclose (f) != 0;
21193 rm -f conftest$ac_exeext
21194 if { (ac_try="$ac_link"
21195 case "(($ac_try" in
21196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21197 *) ac_try_echo=$ac_try;;
21199 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21200 (eval "$ac_link") 2>&5
21202 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21203 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21204 { (case "(($ac_try" in
21205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21206 *) ac_try_echo=$ac_try;;
21208 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21209 (eval "$ac_try") 2>&5
21211 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21212 (exit $ac_status); }; }; then
21213 ac_cv_sizeof_int=`cat conftest.val`
21215 echo "$as_me: program exited with status
$ac_status" >&5
21216 echo "$as_me: failed program was
:" >&5
21217 sed 's/^/| /' conftest.$ac_ext >&5
21219 ( exit $ac_status )
21220 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
21221 See \
`config.log' for more details." >&5
21222 echo "$as_me: error: cannot compute sizeof (int)
21223 See \`config.log
' for more details." >&2;}
21224 { (exit 77); exit 77; }; }
21226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21233 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21234 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21235 cat >>confdefs.h <<_ACEOF
21236 #define SIZEOF_INT $ac_cv_sizeof_int
21240 { echo "$as_me:$LINENO: checking for long" >&5
21241 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21242 if test "${ac_cv_type_long+set}" = set; then
21243 echo $ECHO_N "(cached) $ECHO_C" >&6
21245 cat >conftest.$ac_ext <<_ACEOF
21248 cat confdefs.h >>conftest.$ac_ext
21249 cat >>conftest.$ac_ext <<_ACEOF
21250 /* end confdefs.h. */
21251 $ac_includes_default
21252 typedef long ac__type_new_;
21256 if ((ac__type_new_ *) 0)
21258 if (sizeof (ac__type_new_))
21264 rm -f conftest.$ac_objext
21265 if { (ac_try="$ac_compile"
21266 case "(($ac_try" in
21267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21268 *) ac_try_echo=$ac_try;;
21270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21271 (eval "$ac_compile") 2>conftest.er1
21273 grep -v '^
*+' conftest.er1 >conftest.err
21275 cat conftest.err >&5
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); } &&
21278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
21279 { (case "(($ac_try" in
21280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21281 *) ac_try_echo=$ac_try;;
21283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21284 (eval "$ac_try") 2>&5
21286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21287 (exit $ac_status); }; } &&
21288 { ac_try='test -s conftest.
$ac_objext'
21289 { (case "(($ac_try" in
21290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21291 *) ac_try_echo=$ac_try;;
21293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21294 (eval "$ac_try") 2>&5
21296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21297 (exit $ac_status); }; }; then
21298 ac_cv_type_long=yes
21300 echo "$as_me: failed program was:" >&5
21301 sed 's
/^
/| /' conftest.$ac_ext >&5
21306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21308 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21309 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21311 { echo "$as_me:$LINENO: checking size of long" >&5
21312 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21313 if test "${ac_cv_sizeof_long+set}" = set; then
21314 echo $ECHO_N "(cached) $ECHO_C" >&6
21316 if test "$ac_cv_type_long" = yes; then
21317 # The cast to long int works around a bug in the HP C Compiler
21318 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21319 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21320 # This bug is HP SR number 8606223364.
21321 if test "$cross_compiling" = yes; then
21322 # Depending upon the size, compute the lo and hi bounds.
21323 cat >conftest.
$ac_ext <<_ACEOF
21326 cat confdefs.h
>>conftest.
$ac_ext
21327 cat >>conftest.
$ac_ext <<_ACEOF
21328 /* end confdefs.h. */
21329 $ac_includes_default
21330 typedef long ac__type_sizeof_;
21334 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21341 rm -f conftest.
$ac_objext
21342 if { (ac_try
="$ac_compile"
21343 case "(($ac_try" in
21344 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21345 *) ac_try_echo=$ac_try;;
21347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21348 (eval "$ac_compile") 2>conftest.er1
21350 grep -v '^ *+' conftest.er1 >conftest.err
21352 cat conftest.err >&5
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); } &&
21355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21356 { (case "(($ac_try" in
21357 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21358 *) ac_try_echo
=$ac_try;;
21360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21361 (eval "$ac_try") 2>&5
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); }; } &&
21365 { ac_try
='test -s conftest.$ac_objext'
21366 { (case "(($ac_try" in
21367 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21368 *) ac_try_echo=$ac_try;;
21370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21371 (eval "$ac_try") 2>&5
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); }; }; then
21377 cat >conftest.$ac_ext <<_ACEOF
21380 cat confdefs.h >>conftest.$ac_ext
21381 cat >>conftest.$ac_ext <<_ACEOF
21382 /* end confdefs.h. */
21383 $ac_includes_default
21384 typedef long ac__type_sizeof_;
21388 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21395 rm -f conftest.$ac_objext
21396 if { (ac_try="$ac_compile"
21397 case "(($ac_try" in
21398 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21399 *) ac_try_echo
=$ac_try;;
21401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21402 (eval "$ac_compile") 2>conftest.er1
21404 grep -v '^ *+' conftest.er1
>conftest.err
21406 cat conftest.err
>&5
21407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408 (exit $ac_status); } &&
21409 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21410 { (case "(($ac_try" in
21411 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21412 *) ac_try_echo=$ac_try;;
21414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21415 (eval "$ac_try") 2>&5
21417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21418 (exit $ac_status); }; } &&
21419 { ac_try='test -s conftest.$ac_objext'
21420 { (case "(($ac_try" in
21421 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21422 *) ac_try_echo
=$ac_try;;
21424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21425 (eval "$ac_try") 2>&5
21427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); }; }; then
21429 ac_hi
=$ac_mid; break
21431 echo "$as_me: failed program was:" >&5
21432 sed 's/^/| /' conftest.
$ac_ext >&5
21434 ac_lo
=`expr $ac_mid + 1`
21435 if test $ac_lo -le $ac_mid; then
21439 ac_mid
=`expr 2 '*' $ac_mid + 1`
21442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21445 echo "$as_me: failed program was:" >&5
21446 sed 's/^/| /' conftest.
$ac_ext >&5
21448 cat >conftest.
$ac_ext <<_ACEOF
21451 cat confdefs.h
>>conftest.
$ac_ext
21452 cat >>conftest.
$ac_ext <<_ACEOF
21453 /* end confdefs.h. */
21454 $ac_includes_default
21455 typedef long ac__type_sizeof_;
21459 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21466 rm -f conftest.
$ac_objext
21467 if { (ac_try
="$ac_compile"
21468 case "(($ac_try" in
21469 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21470 *) ac_try_echo=$ac_try;;
21472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21473 (eval "$ac_compile") 2>conftest.er1
21475 grep -v '^ *+' conftest.er1 >conftest.err
21477 cat conftest.err >&5
21478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21479 (exit $ac_status); } &&
21480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21481 { (case "(($ac_try" in
21482 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21483 *) ac_try_echo
=$ac_try;;
21485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21486 (eval "$ac_try") 2>&5
21488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21489 (exit $ac_status); }; } &&
21490 { ac_try
='test -s conftest.$ac_objext'
21491 { (case "(($ac_try" in
21492 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21493 *) ac_try_echo=$ac_try;;
21495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21496 (eval "$ac_try") 2>&5
21498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21499 (exit $ac_status); }; }; then
21502 cat >conftest.$ac_ext <<_ACEOF
21505 cat confdefs.h >>conftest.$ac_ext
21506 cat >>conftest.$ac_ext <<_ACEOF
21507 /* end confdefs.h. */
21508 $ac_includes_default
21509 typedef long ac__type_sizeof_;
21513 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21520 rm -f conftest.$ac_objext
21521 if { (ac_try="$ac_compile"
21522 case "(($ac_try" in
21523 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21524 *) ac_try_echo
=$ac_try;;
21526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21527 (eval "$ac_compile") 2>conftest.er1
21529 grep -v '^ *+' conftest.er1
>conftest.err
21531 cat conftest.err
>&5
21532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21533 (exit $ac_status); } &&
21534 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21535 { (case "(($ac_try" in
21536 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21537 *) ac_try_echo=$ac_try;;
21539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21540 (eval "$ac_try") 2>&5
21542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21543 (exit $ac_status); }; } &&
21544 { ac_try='test -s conftest.$ac_objext'
21545 { (case "(($ac_try" in
21546 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21547 *) ac_try_echo
=$ac_try;;
21549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21550 (eval "$ac_try") 2>&5
21552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21553 (exit $ac_status); }; }; then
21554 ac_lo
=$ac_mid; break
21556 echo "$as_me: failed program was:" >&5
21557 sed 's/^/| /' conftest.
$ac_ext >&5
21559 ac_hi
=`expr '(' $ac_mid ')' - 1`
21560 if test $ac_mid -le $ac_hi; then
21564 ac_mid
=`expr 2 '*' $ac_mid`
21567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21570 echo "$as_me: failed program was:" >&5
21571 sed 's/^/| /' conftest.
$ac_ext >&5
21576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21580 # Binary search between lo and hi bounds.
21581 while test "x$ac_lo" != "x$ac_hi"; do
21582 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21583 cat >conftest.
$ac_ext <<_ACEOF
21586 cat confdefs.h
>>conftest.
$ac_ext
21587 cat >>conftest.
$ac_ext <<_ACEOF
21588 /* end confdefs.h. */
21589 $ac_includes_default
21590 typedef long ac__type_sizeof_;
21594 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21601 rm -f conftest.
$ac_objext
21602 if { (ac_try
="$ac_compile"
21603 case "(($ac_try" in
21604 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21605 *) ac_try_echo=$ac_try;;
21607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21608 (eval "$ac_compile") 2>conftest.er1
21610 grep -v '^ *+' conftest.er1 >conftest.err
21612 cat conftest.err >&5
21613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21614 (exit $ac_status); } &&
21615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21616 { (case "(($ac_try" in
21617 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21618 *) ac_try_echo
=$ac_try;;
21620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21621 (eval "$ac_try") 2>&5
21623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21624 (exit $ac_status); }; } &&
21625 { ac_try
='test -s conftest.$ac_objext'
21626 { (case "(($ac_try" in
21627 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21628 *) ac_try_echo=$ac_try;;
21630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21631 (eval "$ac_try") 2>&5
21633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21634 (exit $ac_status); }; }; then
21637 echo "$as_me: failed program was:" >&5
21638 sed 's/^/| /' conftest.$ac_ext >&5
21640 ac_lo=`expr '(' $ac_mid ')' + 1`
21643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21646 ?*) ac_cv_sizeof_long=$ac_lo;;
21647 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21648 See \`config.log
' for more details." >&5
21649 echo "$as_me: error: cannot compute sizeof (long)
21650 See \`config.log' for more details.
" >&2;}
21651 { (exit 77); exit 77; }; } ;;
21654 cat >conftest.$ac_ext <<_ACEOF
21657 cat confdefs.h >>conftest.$ac_ext
21658 cat >>conftest.$ac_ext <<_ACEOF
21659 /* end confdefs.h. */
21660 $ac_includes_default
21661 typedef long ac__type_sizeof_;
21662 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21663 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21665 #include <stdlib.h>
21670 FILE *f = fopen ("conftest.val
", "w
");
21673 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21675 long int i = longval ();
21676 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21678 fprintf (f, "%ld
\n", i);
21682 unsigned long int i = ulongval ();
21683 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21685 fprintf (f, "%lu
\n", i);
21687 return ferror (f) || fclose (f) != 0;
21693 rm -f conftest$ac_exeext
21694 if { (ac_try="$ac_link"
21695 case "(($ac_try" in
21696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21697 *) ac_try_echo=$ac_try;;
21699 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21700 (eval "$ac_link") 2>&5
21702 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21703 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21704 { (case "(($ac_try" in
21705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21706 *) ac_try_echo=$ac_try;;
21708 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21709 (eval "$ac_try") 2>&5
21711 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21712 (exit $ac_status); }; }; then
21713 ac_cv_sizeof_long=`cat conftest.val`
21715 echo "$as_me: program exited with status
$ac_status" >&5
21716 echo "$as_me: failed program was
:" >&5
21717 sed 's/^/| /' conftest.$ac_ext >&5
21719 ( exit $ac_status )
21720 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21721 See \
`config.log' for more details." >&5
21722 echo "$as_me: error: cannot compute sizeof (long)
21723 See \`config.log
' for more details." >&2;}
21724 { (exit 77); exit 77; }; }
21726 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21730 ac_cv_sizeof_long=0
21733 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21734 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21735 cat >>confdefs.h <<_ACEOF
21736 #define SIZEOF_LONG $ac_cv_sizeof_long
21740 { echo "$as_me:$LINENO: checking for size_t" >&5
21741 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21742 if test "${ac_cv_type_size_t+set}" = set; then
21743 echo $ECHO_N "(cached) $ECHO_C" >&6
21745 cat >conftest.$ac_ext <<_ACEOF
21748 cat confdefs.h >>conftest.$ac_ext
21749 cat >>conftest.$ac_ext <<_ACEOF
21750 /* end confdefs.h. */
21751 $ac_includes_default
21752 typedef size_t ac__type_new_;
21756 if ((ac__type_new_ *) 0)
21758 if (sizeof (ac__type_new_))
21764 rm -f conftest.$ac_objext
21765 if { (ac_try="$ac_compile"
21766 case "(($ac_try" in
21767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21768 *) ac_try_echo=$ac_try;;
21770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21771 (eval "$ac_compile") 2>conftest.er1
21773 grep -v '^
*+' conftest.er1 >conftest.err
21775 cat conftest.err >&5
21776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777 (exit $ac_status); } &&
21778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
21779 { (case "(($ac_try" in
21780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21781 *) ac_try_echo=$ac_try;;
21783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21784 (eval "$ac_try") 2>&5
21786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787 (exit $ac_status); }; } &&
21788 { ac_try='test -s conftest.
$ac_objext'
21789 { (case "(($ac_try" in
21790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21791 *) ac_try_echo=$ac_try;;
21793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21794 (eval "$ac_try") 2>&5
21796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21797 (exit $ac_status); }; }; then
21798 ac_cv_type_size_t=yes
21800 echo "$as_me: failed program was:" >&5
21801 sed 's
/^
/| /' conftest.$ac_ext >&5
21803 ac_cv_type_size_t=no
21806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21808 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21809 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21811 { echo "$as_me:$LINENO: checking size of size_t" >&5
21812 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21813 if test "${ac_cv_sizeof_size_t+set}" = set; then
21814 echo $ECHO_N "(cached) $ECHO_C" >&6
21816 if test "$ac_cv_type_size_t" = yes; then
21817 # The cast to long int works around a bug in the HP C Compiler
21818 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21819 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21820 # This bug is HP SR number 8606223364.
21821 if test "$cross_compiling" = yes; then
21822 # Depending upon the size, compute the lo and hi bounds.
21823 cat >conftest.
$ac_ext <<_ACEOF
21826 cat confdefs.h
>>conftest.
$ac_ext
21827 cat >>conftest.
$ac_ext <<_ACEOF
21828 /* end confdefs.h. */
21829 $ac_includes_default
21830 typedef size_t ac__type_sizeof_;
21834 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21841 rm -f conftest.
$ac_objext
21842 if { (ac_try
="$ac_compile"
21843 case "(($ac_try" in
21844 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21845 *) ac_try_echo=$ac_try;;
21847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21848 (eval "$ac_compile") 2>conftest.er1
21850 grep -v '^ *+' conftest.er1 >conftest.err
21852 cat conftest.err >&5
21853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21854 (exit $ac_status); } &&
21855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21856 { (case "(($ac_try" in
21857 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21858 *) ac_try_echo
=$ac_try;;
21860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21861 (eval "$ac_try") 2>&5
21863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21864 (exit $ac_status); }; } &&
21865 { ac_try
='test -s conftest.$ac_objext'
21866 { (case "(($ac_try" in
21867 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21868 *) ac_try_echo=$ac_try;;
21870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21871 (eval "$ac_try") 2>&5
21873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21874 (exit $ac_status); }; }; then
21877 cat >conftest.$ac_ext <<_ACEOF
21880 cat confdefs.h >>conftest.$ac_ext
21881 cat >>conftest.$ac_ext <<_ACEOF
21882 /* end confdefs.h. */
21883 $ac_includes_default
21884 typedef size_t ac__type_sizeof_;
21888 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21895 rm -f conftest.$ac_objext
21896 if { (ac_try="$ac_compile"
21897 case "(($ac_try" in
21898 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21899 *) ac_try_echo
=$ac_try;;
21901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21902 (eval "$ac_compile") 2>conftest.er1
21904 grep -v '^ *+' conftest.er1
>conftest.err
21906 cat conftest.err
>&5
21907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21908 (exit $ac_status); } &&
21909 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21910 { (case "(($ac_try" in
21911 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21912 *) ac_try_echo=$ac_try;;
21914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21915 (eval "$ac_try") 2>&5
21917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21918 (exit $ac_status); }; } &&
21919 { ac_try='test -s conftest.$ac_objext'
21920 { (case "(($ac_try" in
21921 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21922 *) ac_try_echo
=$ac_try;;
21924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21925 (eval "$ac_try") 2>&5
21927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21928 (exit $ac_status); }; }; then
21929 ac_hi
=$ac_mid; break
21931 echo "$as_me: failed program was:" >&5
21932 sed 's/^/| /' conftest.
$ac_ext >&5
21934 ac_lo
=`expr $ac_mid + 1`
21935 if test $ac_lo -le $ac_mid; then
21939 ac_mid
=`expr 2 '*' $ac_mid + 1`
21942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21945 echo "$as_me: failed program was:" >&5
21946 sed 's/^/| /' conftest.
$ac_ext >&5
21948 cat >conftest.
$ac_ext <<_ACEOF
21951 cat confdefs.h
>>conftest.
$ac_ext
21952 cat >>conftest.
$ac_ext <<_ACEOF
21953 /* end confdefs.h. */
21954 $ac_includes_default
21955 typedef size_t ac__type_sizeof_;
21959 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21966 rm -f conftest.
$ac_objext
21967 if { (ac_try
="$ac_compile"
21968 case "(($ac_try" in
21969 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21970 *) ac_try_echo=$ac_try;;
21972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21973 (eval "$ac_compile") 2>conftest.er1
21975 grep -v '^ *+' conftest.er1 >conftest.err
21977 cat conftest.err >&5
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); } &&
21980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21981 { (case "(($ac_try" in
21982 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21983 *) ac_try_echo
=$ac_try;;
21985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21986 (eval "$ac_try") 2>&5
21988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21989 (exit $ac_status); }; } &&
21990 { ac_try
='test -s conftest.$ac_objext'
21991 { (case "(($ac_try" in
21992 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21993 *) ac_try_echo=$ac_try;;
21995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21996 (eval "$ac_try") 2>&5
21998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21999 (exit $ac_status); }; }; then
22002 cat >conftest.$ac_ext <<_ACEOF
22005 cat confdefs.h >>conftest.$ac_ext
22006 cat >>conftest.$ac_ext <<_ACEOF
22007 /* end confdefs.h. */
22008 $ac_includes_default
22009 typedef size_t ac__type_sizeof_;
22013 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22020 rm -f conftest.$ac_objext
22021 if { (ac_try="$ac_compile"
22022 case "(($ac_try" in
22023 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22024 *) ac_try_echo
=$ac_try;;
22026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22027 (eval "$ac_compile") 2>conftest.er1
22029 grep -v '^ *+' conftest.er1
>conftest.err
22031 cat conftest.err
>&5
22032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22033 (exit $ac_status); } &&
22034 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22035 { (case "(($ac_try" in
22036 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22037 *) ac_try_echo=$ac_try;;
22039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22040 (eval "$ac_try") 2>&5
22042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043 (exit $ac_status); }; } &&
22044 { ac_try='test -s conftest.$ac_objext'
22045 { (case "(($ac_try" in
22046 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22047 *) ac_try_echo
=$ac_try;;
22049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22050 (eval "$ac_try") 2>&5
22052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22053 (exit $ac_status); }; }; then
22054 ac_lo
=$ac_mid; break
22056 echo "$as_me: failed program was:" >&5
22057 sed 's/^/| /' conftest.
$ac_ext >&5
22059 ac_hi
=`expr '(' $ac_mid ')' - 1`
22060 if test $ac_mid -le $ac_hi; then
22064 ac_mid
=`expr 2 '*' $ac_mid`
22067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22070 echo "$as_me: failed program was:" >&5
22071 sed 's/^/| /' conftest.
$ac_ext >&5
22076 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22080 # Binary search between lo and hi bounds.
22081 while test "x$ac_lo" != "x$ac_hi"; do
22082 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22083 cat >conftest.
$ac_ext <<_ACEOF
22086 cat confdefs.h
>>conftest.
$ac_ext
22087 cat >>conftest.
$ac_ext <<_ACEOF
22088 /* end confdefs.h. */
22089 $ac_includes_default
22090 typedef size_t ac__type_sizeof_;
22094 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22101 rm -f conftest.
$ac_objext
22102 if { (ac_try
="$ac_compile"
22103 case "(($ac_try" in
22104 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22105 *) ac_try_echo=$ac_try;;
22107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22108 (eval "$ac_compile") 2>conftest.er1
22110 grep -v '^ *+' conftest.er1 >conftest.err
22112 cat conftest.err >&5
22113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22114 (exit $ac_status); } &&
22115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22116 { (case "(($ac_try" in
22117 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22118 *) ac_try_echo
=$ac_try;;
22120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22121 (eval "$ac_try") 2>&5
22123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22124 (exit $ac_status); }; } &&
22125 { ac_try
='test -s conftest.$ac_objext'
22126 { (case "(($ac_try" in
22127 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22128 *) ac_try_echo=$ac_try;;
22130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22131 (eval "$ac_try") 2>&5
22133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22134 (exit $ac_status); }; }; then
22137 echo "$as_me: failed program was:" >&5
22138 sed 's/^/| /' conftest.$ac_ext >&5
22140 ac_lo=`expr '(' $ac_mid ')' + 1`
22143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22146 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22147 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22148 See \`config.log
' for more details." >&5
22149 echo "$as_me: error: cannot compute sizeof (size_t)
22150 See \`config.log' for more details.
" >&2;}
22151 { (exit 77); exit 77; }; } ;;
22154 cat >conftest.$ac_ext <<_ACEOF
22157 cat confdefs.h >>conftest.$ac_ext
22158 cat >>conftest.$ac_ext <<_ACEOF
22159 /* end confdefs.h. */
22160 $ac_includes_default
22161 typedef size_t ac__type_sizeof_;
22162 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22163 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22165 #include <stdlib.h>
22170 FILE *f = fopen ("conftest.val
", "w
");
22173 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22175 long int i = longval ();
22176 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22178 fprintf (f, "%ld
\n", i);
22182 unsigned long int i = ulongval ();
22183 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22185 fprintf (f, "%lu
\n", i);
22187 return ferror (f) || fclose (f) != 0;
22193 rm -f conftest$ac_exeext
22194 if { (ac_try="$ac_link"
22195 case "(($ac_try" in
22196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22197 *) ac_try_echo=$ac_try;;
22199 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22200 (eval "$ac_link") 2>&5
22202 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22203 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22204 { (case "(($ac_try" in
22205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22206 *) ac_try_echo=$ac_try;;
22208 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22209 (eval "$ac_try") 2>&5
22211 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22212 (exit $ac_status); }; }; then
22213 ac_cv_sizeof_size_t=`cat conftest.val`
22215 echo "$as_me: program exited with status
$ac_status" >&5
22216 echo "$as_me: failed program was
:" >&5
22217 sed 's/^/| /' conftest.$ac_ext >&5
22219 ( exit $ac_status )
22220 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
22221 See \
`config.log' for more details." >&5
22222 echo "$as_me: error: cannot compute sizeof (size_t)
22223 See \`config.log
' for more details." >&2;}
22224 { (exit 77); exit 77; }; }
22226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22230 ac_cv_sizeof_size_t=0
22233 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22234 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22235 cat >>confdefs.h <<_ACEOF
22236 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22243 { echo "$as_me:$LINENO: checking for long long" >&5
22244 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22245 if test "${ac_cv_type_long_long+set}" = set; then
22246 echo $ECHO_N "(cached) $ECHO_C" >&6
22248 cat >conftest.$ac_ext <<_ACEOF
22251 cat confdefs.h >>conftest.$ac_ext
22252 cat >>conftest.$ac_ext <<_ACEOF
22253 /* end confdefs.h. */
22254 $ac_includes_default
22255 typedef long long ac__type_new_;
22259 if ((ac__type_new_ *) 0)
22261 if (sizeof (ac__type_new_))
22267 rm -f conftest.$ac_objext
22268 if { (ac_try="$ac_compile"
22269 case "(($ac_try" in
22270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22271 *) ac_try_echo=$ac_try;;
22273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22274 (eval "$ac_compile") 2>conftest.er1
22276 grep -v '^
*+' conftest.er1 >conftest.err
22278 cat conftest.err >&5
22279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22280 (exit $ac_status); } &&
22281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
22282 { (case "(($ac_try" in
22283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22284 *) ac_try_echo=$ac_try;;
22286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22287 (eval "$ac_try") 2>&5
22289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22290 (exit $ac_status); }; } &&
22291 { ac_try='test -s conftest.
$ac_objext'
22292 { (case "(($ac_try" in
22293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22294 *) ac_try_echo=$ac_try;;
22296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22297 (eval "$ac_try") 2>&5
22299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300 (exit $ac_status); }; }; then
22301 ac_cv_type_long_long=yes
22303 echo "$as_me: failed program was:" >&5
22304 sed 's
/^
/| /' conftest.$ac_ext >&5
22306 ac_cv_type_long_long=no
22309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22311 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22312 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22314 { echo "$as_me:$LINENO: checking size of long long" >&5
22315 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22316 if test "${ac_cv_sizeof_long_long+set}" = set; then
22317 echo $ECHO_N "(cached) $ECHO_C" >&6
22319 if test "$ac_cv_type_long_long" = yes; then
22320 # The cast to long int works around a bug in the HP C Compiler
22321 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22322 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22323 # This bug is HP SR number 8606223364.
22324 if test "$cross_compiling" = yes; then
22325 # Depending upon the size, compute the lo and hi bounds.
22326 cat >conftest.
$ac_ext <<_ACEOF
22329 cat confdefs.h
>>conftest.
$ac_ext
22330 cat >>conftest.
$ac_ext <<_ACEOF
22331 /* end confdefs.h. */
22332 $ac_includes_default
22333 typedef long long ac__type_sizeof_;
22337 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22344 rm -f conftest.
$ac_objext
22345 if { (ac_try
="$ac_compile"
22346 case "(($ac_try" in
22347 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22348 *) ac_try_echo=$ac_try;;
22350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22351 (eval "$ac_compile") 2>conftest.er1
22353 grep -v '^ *+' conftest.er1 >conftest.err
22355 cat conftest.err >&5
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); } &&
22358 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22359 { (case "(($ac_try" in
22360 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22361 *) ac_try_echo
=$ac_try;;
22363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22364 (eval "$ac_try") 2>&5
22366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22367 (exit $ac_status); }; } &&
22368 { ac_try
='test -s conftest.$ac_objext'
22369 { (case "(($ac_try" in
22370 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22371 *) ac_try_echo=$ac_try;;
22373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22374 (eval "$ac_try") 2>&5
22376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22377 (exit $ac_status); }; }; then
22380 cat >conftest.$ac_ext <<_ACEOF
22383 cat confdefs.h >>conftest.$ac_ext
22384 cat >>conftest.$ac_ext <<_ACEOF
22385 /* end confdefs.h. */
22386 $ac_includes_default
22387 typedef long long ac__type_sizeof_;
22391 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22398 rm -f conftest.$ac_objext
22399 if { (ac_try="$ac_compile"
22400 case "(($ac_try" in
22401 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22402 *) ac_try_echo
=$ac_try;;
22404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22405 (eval "$ac_compile") 2>conftest.er1
22407 grep -v '^ *+' conftest.er1
>conftest.err
22409 cat conftest.err
>&5
22410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22411 (exit $ac_status); } &&
22412 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22413 { (case "(($ac_try" in
22414 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22415 *) ac_try_echo=$ac_try;;
22417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22418 (eval "$ac_try") 2>&5
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); }; } &&
22422 { ac_try='test -s conftest.$ac_objext'
22423 { (case "(($ac_try" in
22424 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22425 *) ac_try_echo
=$ac_try;;
22427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22428 (eval "$ac_try") 2>&5
22430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22431 (exit $ac_status); }; }; then
22432 ac_hi
=$ac_mid; break
22434 echo "$as_me: failed program was:" >&5
22435 sed 's/^/| /' conftest.
$ac_ext >&5
22437 ac_lo
=`expr $ac_mid + 1`
22438 if test $ac_lo -le $ac_mid; then
22442 ac_mid
=`expr 2 '*' $ac_mid + 1`
22445 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22448 echo "$as_me: failed program was:" >&5
22449 sed 's/^/| /' conftest.
$ac_ext >&5
22451 cat >conftest.
$ac_ext <<_ACEOF
22454 cat confdefs.h
>>conftest.
$ac_ext
22455 cat >>conftest.
$ac_ext <<_ACEOF
22456 /* end confdefs.h. */
22457 $ac_includes_default
22458 typedef long long ac__type_sizeof_;
22462 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22469 rm -f conftest.
$ac_objext
22470 if { (ac_try
="$ac_compile"
22471 case "(($ac_try" in
22472 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22473 *) ac_try_echo=$ac_try;;
22475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22476 (eval "$ac_compile") 2>conftest.er1
22478 grep -v '^ *+' conftest.er1 >conftest.err
22480 cat conftest.err >&5
22481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22482 (exit $ac_status); } &&
22483 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22484 { (case "(($ac_try" in
22485 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22486 *) ac_try_echo
=$ac_try;;
22488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22489 (eval "$ac_try") 2>&5
22491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22492 (exit $ac_status); }; } &&
22493 { ac_try
='test -s conftest.$ac_objext'
22494 { (case "(($ac_try" in
22495 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22496 *) ac_try_echo=$ac_try;;
22498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22499 (eval "$ac_try") 2>&5
22501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22502 (exit $ac_status); }; }; then
22505 cat >conftest.$ac_ext <<_ACEOF
22508 cat confdefs.h >>conftest.$ac_ext
22509 cat >>conftest.$ac_ext <<_ACEOF
22510 /* end confdefs.h. */
22511 $ac_includes_default
22512 typedef long long ac__type_sizeof_;
22516 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22523 rm -f conftest.$ac_objext
22524 if { (ac_try="$ac_compile"
22525 case "(($ac_try" in
22526 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22527 *) ac_try_echo
=$ac_try;;
22529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22530 (eval "$ac_compile") 2>conftest.er1
22532 grep -v '^ *+' conftest.er1
>conftest.err
22534 cat conftest.err
>&5
22535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536 (exit $ac_status); } &&
22537 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22538 { (case "(($ac_try" in
22539 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22540 *) ac_try_echo=$ac_try;;
22542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22543 (eval "$ac_try") 2>&5
22545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22546 (exit $ac_status); }; } &&
22547 { ac_try='test -s conftest.$ac_objext'
22548 { (case "(($ac_try" in
22549 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22550 *) ac_try_echo
=$ac_try;;
22552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22553 (eval "$ac_try") 2>&5
22555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22556 (exit $ac_status); }; }; then
22557 ac_lo
=$ac_mid; break
22559 echo "$as_me: failed program was:" >&5
22560 sed 's/^/| /' conftest.
$ac_ext >&5
22562 ac_hi
=`expr '(' $ac_mid ')' - 1`
22563 if test $ac_mid -le $ac_hi; then
22567 ac_mid
=`expr 2 '*' $ac_mid`
22570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22573 echo "$as_me: failed program was:" >&5
22574 sed 's/^/| /' conftest.
$ac_ext >&5
22579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22582 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22583 # Binary search between lo and hi bounds.
22584 while test "x$ac_lo" != "x$ac_hi"; do
22585 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22586 cat >conftest.
$ac_ext <<_ACEOF
22589 cat confdefs.h
>>conftest.
$ac_ext
22590 cat >>conftest.
$ac_ext <<_ACEOF
22591 /* end confdefs.h. */
22592 $ac_includes_default
22593 typedef long long ac__type_sizeof_;
22597 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22604 rm -f conftest.
$ac_objext
22605 if { (ac_try
="$ac_compile"
22606 case "(($ac_try" in
22607 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22608 *) ac_try_echo=$ac_try;;
22610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22611 (eval "$ac_compile") 2>conftest.er1
22613 grep -v '^ *+' conftest.er1 >conftest.err
22615 cat conftest.err >&5
22616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617 (exit $ac_status); } &&
22618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22619 { (case "(($ac_try" in
22620 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22621 *) ac_try_echo
=$ac_try;;
22623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22624 (eval "$ac_try") 2>&5
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); }; } &&
22628 { ac_try
='test -s conftest.$ac_objext'
22629 { (case "(($ac_try" in
22630 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22631 *) ac_try_echo=$ac_try;;
22633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22634 (eval "$ac_try") 2>&5
22636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22637 (exit $ac_status); }; }; then
22640 echo "$as_me: failed program was:" >&5
22641 sed 's/^/| /' conftest.$ac_ext >&5
22643 ac_lo=`expr '(' $ac_mid ')' + 1`
22646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22649 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22650 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22651 See \`config.log
' for more details." >&5
22652 echo "$as_me: error: cannot compute sizeof (long long)
22653 See \`config.log' for more details.
" >&2;}
22654 { (exit 77); exit 77; }; } ;;
22657 cat >conftest.$ac_ext <<_ACEOF
22660 cat confdefs.h >>conftest.$ac_ext
22661 cat >>conftest.$ac_ext <<_ACEOF
22662 /* end confdefs.h. */
22663 $ac_includes_default
22664 typedef long long ac__type_sizeof_;
22665 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22666 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22668 #include <stdlib.h>
22673 FILE *f = fopen ("conftest.val
", "w
");
22676 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22678 long int i = longval ();
22679 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22681 fprintf (f, "%ld
\n", i);
22685 unsigned long int i = ulongval ();
22686 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22688 fprintf (f, "%lu
\n", i);
22690 return ferror (f) || fclose (f) != 0;
22696 rm -f conftest$ac_exeext
22697 if { (ac_try="$ac_link"
22698 case "(($ac_try" in
22699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22700 *) ac_try_echo=$ac_try;;
22702 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22703 (eval "$ac_link") 2>&5
22705 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22706 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22707 { (case "(($ac_try" in
22708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22709 *) ac_try_echo=$ac_try;;
22711 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22712 (eval "$ac_try") 2>&5
22714 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22715 (exit $ac_status); }; }; then
22716 ac_cv_sizeof_long_long=`cat conftest.val`
22718 echo "$as_me: program exited with status
$ac_status" >&5
22719 echo "$as_me: failed program was
:" >&5
22720 sed 's/^/| /' conftest.$ac_ext >&5
22722 ( exit $ac_status )
22723 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22724 See \
`config.log' for more details." >&5
22725 echo "$as_me: error: cannot compute sizeof (long long)
22726 See \`config.log
' for more details." >&2;}
22727 { (exit 77); exit 77; }; }
22729 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22733 ac_cv_sizeof_long_long=0
22736 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22737 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22738 cat >>confdefs.h <<_ACEOF
22739 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22745 { echo "$as_me:$LINENO: checking for long long" >&5
22746 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22747 if test "${ac_cv_type_long_long+set}" = set; then
22748 echo $ECHO_N "(cached) $ECHO_C" >&6
22750 cat >conftest.$ac_ext <<_ACEOF
22753 cat confdefs.h >>conftest.$ac_ext
22754 cat >>conftest.$ac_ext <<_ACEOF
22755 /* end confdefs.h. */
22756 $ac_includes_default
22757 typedef long long ac__type_new_;
22761 if ((ac__type_new_ *) 0)
22763 if (sizeof (ac__type_new_))
22769 rm -f conftest.$ac_objext
22770 if { (ac_try="$ac_compile"
22771 case "(($ac_try" in
22772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22773 *) ac_try_echo=$ac_try;;
22775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22776 (eval "$ac_compile") 2>conftest.er1
22778 grep -v '^
*+' conftest.er1 >conftest.err
22780 cat conftest.err >&5
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); } &&
22783 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
22784 { (case "(($ac_try" in
22785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22786 *) ac_try_echo=$ac_try;;
22788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22789 (eval "$ac_try") 2>&5
22791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22792 (exit $ac_status); }; } &&
22793 { ac_try='test -s conftest.
$ac_objext'
22794 { (case "(($ac_try" in
22795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22796 *) ac_try_echo=$ac_try;;
22798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22799 (eval "$ac_try") 2>&5
22801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802 (exit $ac_status); }; }; then
22803 ac_cv_type_long_long=yes
22805 echo "$as_me: failed program was:" >&5
22806 sed 's
/^
/| /' conftest.$ac_ext >&5
22808 ac_cv_type_long_long=no
22811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22813 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22814 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22816 { echo "$as_me:$LINENO: checking size of long long" >&5
22817 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22818 if test "${ac_cv_sizeof_long_long+set}" = set; then
22819 echo $ECHO_N "(cached) $ECHO_C" >&6
22821 if test "$ac_cv_type_long_long" = yes; then
22822 # The cast to long int works around a bug in the HP C Compiler
22823 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22824 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22825 # This bug is HP SR number 8606223364.
22826 if test "$cross_compiling" = yes; then
22827 # Depending upon the size, compute the lo and hi bounds.
22828 cat >conftest.
$ac_ext <<_ACEOF
22831 cat confdefs.h
>>conftest.
$ac_ext
22832 cat >>conftest.
$ac_ext <<_ACEOF
22833 /* end confdefs.h. */
22834 $ac_includes_default
22835 typedef long long ac__type_sizeof_;
22839 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22846 rm -f conftest.
$ac_objext
22847 if { (ac_try
="$ac_compile"
22848 case "(($ac_try" in
22849 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22850 *) ac_try_echo=$ac_try;;
22852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22853 (eval "$ac_compile") 2>conftest.er1
22855 grep -v '^ *+' conftest.er1 >conftest.err
22857 cat conftest.err >&5
22858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859 (exit $ac_status); } &&
22860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22861 { (case "(($ac_try" in
22862 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22863 *) ac_try_echo
=$ac_try;;
22865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22866 (eval "$ac_try") 2>&5
22868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869 (exit $ac_status); }; } &&
22870 { ac_try
='test -s conftest.$ac_objext'
22871 { (case "(($ac_try" in
22872 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22873 *) ac_try_echo=$ac_try;;
22875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22876 (eval "$ac_try") 2>&5
22878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22879 (exit $ac_status); }; }; then
22882 cat >conftest.$ac_ext <<_ACEOF
22885 cat confdefs.h >>conftest.$ac_ext
22886 cat >>conftest.$ac_ext <<_ACEOF
22887 /* end confdefs.h. */
22888 $ac_includes_default
22889 typedef long long ac__type_sizeof_;
22893 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22900 rm -f conftest.$ac_objext
22901 if { (ac_try="$ac_compile"
22902 case "(($ac_try" in
22903 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22904 *) ac_try_echo
=$ac_try;;
22906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22907 (eval "$ac_compile") 2>conftest.er1
22909 grep -v '^ *+' conftest.er1
>conftest.err
22911 cat conftest.err
>&5
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); } &&
22914 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22915 { (case "(($ac_try" in
22916 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22917 *) ac_try_echo=$ac_try;;
22919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22920 (eval "$ac_try") 2>&5
22922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22923 (exit $ac_status); }; } &&
22924 { ac_try='test -s conftest.$ac_objext'
22925 { (case "(($ac_try" in
22926 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22927 *) ac_try_echo
=$ac_try;;
22929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22930 (eval "$ac_try") 2>&5
22932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22933 (exit $ac_status); }; }; then
22934 ac_hi
=$ac_mid; break
22936 echo "$as_me: failed program was:" >&5
22937 sed 's/^/| /' conftest.
$ac_ext >&5
22939 ac_lo
=`expr $ac_mid + 1`
22940 if test $ac_lo -le $ac_mid; then
22944 ac_mid
=`expr 2 '*' $ac_mid + 1`
22947 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22950 echo "$as_me: failed program was:" >&5
22951 sed 's/^/| /' conftest.
$ac_ext >&5
22953 cat >conftest.
$ac_ext <<_ACEOF
22956 cat confdefs.h
>>conftest.
$ac_ext
22957 cat >>conftest.
$ac_ext <<_ACEOF
22958 /* end confdefs.h. */
22959 $ac_includes_default
22960 typedef long long ac__type_sizeof_;
22964 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22971 rm -f conftest.
$ac_objext
22972 if { (ac_try
="$ac_compile"
22973 case "(($ac_try" in
22974 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22975 *) ac_try_echo=$ac_try;;
22977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22978 (eval "$ac_compile") 2>conftest.er1
22980 grep -v '^ *+' conftest.er1 >conftest.err
22982 cat conftest.err >&5
22983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22984 (exit $ac_status); } &&
22985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22986 { (case "(($ac_try" in
22987 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22988 *) ac_try_echo
=$ac_try;;
22990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22991 (eval "$ac_try") 2>&5
22993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22994 (exit $ac_status); }; } &&
22995 { ac_try
='test -s conftest.$ac_objext'
22996 { (case "(($ac_try" in
22997 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22998 *) ac_try_echo=$ac_try;;
23000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23001 (eval "$ac_try") 2>&5
23003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23004 (exit $ac_status); }; }; then
23007 cat >conftest.$ac_ext <<_ACEOF
23010 cat confdefs.h >>conftest.$ac_ext
23011 cat >>conftest.$ac_ext <<_ACEOF
23012 /* end confdefs.h. */
23013 $ac_includes_default
23014 typedef long long ac__type_sizeof_;
23018 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23025 rm -f conftest.$ac_objext
23026 if { (ac_try="$ac_compile"
23027 case "(($ac_try" in
23028 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23029 *) ac_try_echo
=$ac_try;;
23031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23032 (eval "$ac_compile") 2>conftest.er1
23034 grep -v '^ *+' conftest.er1
>conftest.err
23036 cat conftest.err
>&5
23037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23038 (exit $ac_status); } &&
23039 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23040 { (case "(($ac_try" in
23041 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23042 *) ac_try_echo=$ac_try;;
23044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23045 (eval "$ac_try") 2>&5
23047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23048 (exit $ac_status); }; } &&
23049 { ac_try='test -s conftest.$ac_objext'
23050 { (case "(($ac_try" in
23051 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23052 *) ac_try_echo
=$ac_try;;
23054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23055 (eval "$ac_try") 2>&5
23057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23058 (exit $ac_status); }; }; then
23059 ac_lo
=$ac_mid; break
23061 echo "$as_me: failed program was:" >&5
23062 sed 's/^/| /' conftest.
$ac_ext >&5
23064 ac_hi
=`expr '(' $ac_mid ')' - 1`
23065 if test $ac_mid -le $ac_hi; then
23069 ac_mid
=`expr 2 '*' $ac_mid`
23072 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23075 echo "$as_me: failed program was:" >&5
23076 sed 's/^/| /' conftest.
$ac_ext >&5
23081 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23085 # Binary search between lo and hi bounds.
23086 while test "x$ac_lo" != "x$ac_hi"; do
23087 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23088 cat >conftest.
$ac_ext <<_ACEOF
23091 cat confdefs.h
>>conftest.
$ac_ext
23092 cat >>conftest.
$ac_ext <<_ACEOF
23093 /* end confdefs.h. */
23094 $ac_includes_default
23095 typedef long long ac__type_sizeof_;
23099 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23106 rm -f conftest.
$ac_objext
23107 if { (ac_try
="$ac_compile"
23108 case "(($ac_try" in
23109 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23110 *) ac_try_echo=$ac_try;;
23112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23113 (eval "$ac_compile") 2>conftest.er1
23115 grep -v '^ *+' conftest.er1 >conftest.err
23117 cat conftest.err >&5
23118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23119 (exit $ac_status); } &&
23120 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23121 { (case "(($ac_try" in
23122 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23123 *) ac_try_echo
=$ac_try;;
23125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23126 (eval "$ac_try") 2>&5
23128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23129 (exit $ac_status); }; } &&
23130 { ac_try
='test -s conftest.$ac_objext'
23131 { (case "(($ac_try" in
23132 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23133 *) ac_try_echo=$ac_try;;
23135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23136 (eval "$ac_try") 2>&5
23138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23139 (exit $ac_status); }; }; then
23142 echo "$as_me: failed program was:" >&5
23143 sed 's/^/| /' conftest.$ac_ext >&5
23145 ac_lo=`expr '(' $ac_mid ')' + 1`
23148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23151 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23152 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23153 See \`config.log
' for more details." >&5
23154 echo "$as_me: error: cannot compute sizeof (long long)
23155 See \`config.log' for more details.
" >&2;}
23156 { (exit 77); exit 77; }; } ;;
23159 cat >conftest.$ac_ext <<_ACEOF
23162 cat confdefs.h >>conftest.$ac_ext
23163 cat >>conftest.$ac_ext <<_ACEOF
23164 /* end confdefs.h. */
23165 $ac_includes_default
23166 typedef long long ac__type_sizeof_;
23167 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23168 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23170 #include <stdlib.h>
23175 FILE *f = fopen ("conftest.val
", "w
");
23178 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23180 long int i = longval ();
23181 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23183 fprintf (f, "%ld
\n", i);
23187 unsigned long int i = ulongval ();
23188 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23190 fprintf (f, "%lu
\n", i);
23192 return ferror (f) || fclose (f) != 0;
23198 rm -f conftest$ac_exeext
23199 if { (ac_try="$ac_link"
23200 case "(($ac_try" in
23201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23202 *) ac_try_echo=$ac_try;;
23204 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23205 (eval "$ac_link") 2>&5
23207 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23208 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23209 { (case "(($ac_try" in
23210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23211 *) ac_try_echo=$ac_try;;
23213 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23214 (eval "$ac_try") 2>&5
23216 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23217 (exit $ac_status); }; }; then
23218 ac_cv_sizeof_long_long=`cat conftest.val`
23220 echo "$as_me: program exited with status
$ac_status" >&5
23221 echo "$as_me: failed program was
:" >&5
23222 sed 's/^/| /' conftest.$ac_ext >&5
23224 ( exit $ac_status )
23225 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23226 See \
`config.log' for more details." >&5
23227 echo "$as_me: error: cannot compute sizeof (long long)
23228 See \`config.log
' for more details." >&2;}
23229 { (exit 77); exit 77; }; }
23231 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23235 ac_cv_sizeof_long_long=0
23238 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23239 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23240 cat >>confdefs.h <<_ACEOF
23241 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23245 if test "$ac_cv_sizeof_long_long" != "0"; then
23246 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23250 { echo "$as_me:$LINENO: checking for long long" >&5
23251 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23252 if test "${ac_cv_type_long_long+set}" = set; then
23253 echo $ECHO_N "(cached) $ECHO_C" >&6
23255 cat >conftest.$ac_ext <<_ACEOF
23258 cat confdefs.h >>conftest.$ac_ext
23259 cat >>conftest.$ac_ext <<_ACEOF
23260 /* end confdefs.h. */
23261 $ac_includes_default
23262 typedef long long ac__type_new_;
23266 if ((ac__type_new_ *) 0)
23268 if (sizeof (ac__type_new_))
23274 rm -f conftest.$ac_objext
23275 if { (ac_try="$ac_compile"
23276 case "(($ac_try" in
23277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23278 *) ac_try_echo=$ac_try;;
23280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23281 (eval "$ac_compile") 2>conftest.er1
23283 grep -v '^
*+' conftest.er1 >conftest.err
23285 cat conftest.err >&5
23286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23287 (exit $ac_status); } &&
23288 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
23289 { (case "(($ac_try" in
23290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23291 *) ac_try_echo=$ac_try;;
23293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23294 (eval "$ac_try") 2>&5
23296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23297 (exit $ac_status); }; } &&
23298 { ac_try='test -s conftest.
$ac_objext'
23299 { (case "(($ac_try" in
23300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23301 *) ac_try_echo=$ac_try;;
23303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23304 (eval "$ac_try") 2>&5
23306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23307 (exit $ac_status); }; }; then
23308 ac_cv_type_long_long=yes
23310 echo "$as_me: failed program was:" >&5
23311 sed 's
/^
/| /' conftest.$ac_ext >&5
23313 ac_cv_type_long_long=no
23316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23318 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23319 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23321 { echo "$as_me:$LINENO: checking size of long long" >&5
23322 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23323 if test "${ac_cv_sizeof_long_long+set}" = set; then
23324 echo $ECHO_N "(cached) $ECHO_C" >&6
23326 if test "$ac_cv_type_long_long" = yes; then
23327 # The cast to long int works around a bug in the HP C Compiler
23328 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23329 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23330 # This bug is HP SR number 8606223364.
23331 if test "$cross_compiling" = yes; then
23332 # Depending upon the size, compute the lo and hi bounds.
23333 cat >conftest.
$ac_ext <<_ACEOF
23336 cat confdefs.h
>>conftest.
$ac_ext
23337 cat >>conftest.
$ac_ext <<_ACEOF
23338 /* end confdefs.h. */
23339 $ac_includes_default
23340 typedef long long ac__type_sizeof_;
23344 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23351 rm -f conftest.
$ac_objext
23352 if { (ac_try
="$ac_compile"
23353 case "(($ac_try" in
23354 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23355 *) ac_try_echo=$ac_try;;
23357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23358 (eval "$ac_compile") 2>conftest.er1
23360 grep -v '^ *+' conftest.er1 >conftest.err
23362 cat conftest.err >&5
23363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23364 (exit $ac_status); } &&
23365 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23366 { (case "(($ac_try" in
23367 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23368 *) ac_try_echo
=$ac_try;;
23370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23371 (eval "$ac_try") 2>&5
23373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23374 (exit $ac_status); }; } &&
23375 { ac_try
='test -s conftest.$ac_objext'
23376 { (case "(($ac_try" in
23377 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23378 *) ac_try_echo=$ac_try;;
23380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23381 (eval "$ac_try") 2>&5
23383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23384 (exit $ac_status); }; }; then
23387 cat >conftest.$ac_ext <<_ACEOF
23390 cat confdefs.h >>conftest.$ac_ext
23391 cat >>conftest.$ac_ext <<_ACEOF
23392 /* end confdefs.h. */
23393 $ac_includes_default
23394 typedef long long ac__type_sizeof_;
23398 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23405 rm -f conftest.$ac_objext
23406 if { (ac_try="$ac_compile"
23407 case "(($ac_try" in
23408 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23409 *) ac_try_echo
=$ac_try;;
23411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23412 (eval "$ac_compile") 2>conftest.er1
23414 grep -v '^ *+' conftest.er1
>conftest.err
23416 cat conftest.err
>&5
23417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23418 (exit $ac_status); } &&
23419 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23420 { (case "(($ac_try" in
23421 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23422 *) ac_try_echo=$ac_try;;
23424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23425 (eval "$ac_try") 2>&5
23427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23428 (exit $ac_status); }; } &&
23429 { ac_try='test -s conftest.$ac_objext'
23430 { (case "(($ac_try" in
23431 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23432 *) ac_try_echo
=$ac_try;;
23434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23435 (eval "$ac_try") 2>&5
23437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438 (exit $ac_status); }; }; then
23439 ac_hi
=$ac_mid; break
23441 echo "$as_me: failed program was:" >&5
23442 sed 's/^/| /' conftest.
$ac_ext >&5
23444 ac_lo
=`expr $ac_mid + 1`
23445 if test $ac_lo -le $ac_mid; then
23449 ac_mid
=`expr 2 '*' $ac_mid + 1`
23452 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23455 echo "$as_me: failed program was:" >&5
23456 sed 's/^/| /' conftest.
$ac_ext >&5
23458 cat >conftest.
$ac_ext <<_ACEOF
23461 cat confdefs.h
>>conftest.
$ac_ext
23462 cat >>conftest.
$ac_ext <<_ACEOF
23463 /* end confdefs.h. */
23464 $ac_includes_default
23465 typedef long long ac__type_sizeof_;
23469 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23476 rm -f conftest.
$ac_objext
23477 if { (ac_try
="$ac_compile"
23478 case "(($ac_try" in
23479 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23480 *) ac_try_echo=$ac_try;;
23482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23483 (eval "$ac_compile") 2>conftest.er1
23485 grep -v '^ *+' conftest.er1 >conftest.err
23487 cat conftest.err >&5
23488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23489 (exit $ac_status); } &&
23490 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23491 { (case "(($ac_try" in
23492 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23493 *) ac_try_echo
=$ac_try;;
23495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23496 (eval "$ac_try") 2>&5
23498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499 (exit $ac_status); }; } &&
23500 { ac_try
='test -s conftest.$ac_objext'
23501 { (case "(($ac_try" in
23502 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23503 *) ac_try_echo=$ac_try;;
23505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23506 (eval "$ac_try") 2>&5
23508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23509 (exit $ac_status); }; }; then
23512 cat >conftest.$ac_ext <<_ACEOF
23515 cat confdefs.h >>conftest.$ac_ext
23516 cat >>conftest.$ac_ext <<_ACEOF
23517 /* end confdefs.h. */
23518 $ac_includes_default
23519 typedef long long ac__type_sizeof_;
23523 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23530 rm -f conftest.$ac_objext
23531 if { (ac_try="$ac_compile"
23532 case "(($ac_try" in
23533 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23534 *) ac_try_echo
=$ac_try;;
23536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23537 (eval "$ac_compile") 2>conftest.er1
23539 grep -v '^ *+' conftest.er1
>conftest.err
23541 cat conftest.err
>&5
23542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23543 (exit $ac_status); } &&
23544 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23545 { (case "(($ac_try" in
23546 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23547 *) ac_try_echo=$ac_try;;
23549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23550 (eval "$ac_try") 2>&5
23552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23553 (exit $ac_status); }; } &&
23554 { ac_try='test -s conftest.$ac_objext'
23555 { (case "(($ac_try" in
23556 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23557 *) ac_try_echo
=$ac_try;;
23559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23560 (eval "$ac_try") 2>&5
23562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23563 (exit $ac_status); }; }; then
23564 ac_lo
=$ac_mid; break
23566 echo "$as_me: failed program was:" >&5
23567 sed 's/^/| /' conftest.
$ac_ext >&5
23569 ac_hi
=`expr '(' $ac_mid ')' - 1`
23570 if test $ac_mid -le $ac_hi; then
23574 ac_mid
=`expr 2 '*' $ac_mid`
23577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23580 echo "$as_me: failed program was:" >&5
23581 sed 's/^/| /' conftest.
$ac_ext >&5
23586 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23590 # Binary search between lo and hi bounds.
23591 while test "x$ac_lo" != "x$ac_hi"; do
23592 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23593 cat >conftest.
$ac_ext <<_ACEOF
23596 cat confdefs.h
>>conftest.
$ac_ext
23597 cat >>conftest.
$ac_ext <<_ACEOF
23598 /* end confdefs.h. */
23599 $ac_includes_default
23600 typedef long long ac__type_sizeof_;
23604 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23611 rm -f conftest.
$ac_objext
23612 if { (ac_try
="$ac_compile"
23613 case "(($ac_try" in
23614 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23615 *) ac_try_echo=$ac_try;;
23617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23618 (eval "$ac_compile") 2>conftest.er1
23620 grep -v '^ *+' conftest.er1 >conftest.err
23622 cat conftest.err >&5
23623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23624 (exit $ac_status); } &&
23625 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23626 { (case "(($ac_try" in
23627 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23628 *) ac_try_echo
=$ac_try;;
23630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23631 (eval "$ac_try") 2>&5
23633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23634 (exit $ac_status); }; } &&
23635 { ac_try
='test -s conftest.$ac_objext'
23636 { (case "(($ac_try" in
23637 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23638 *) ac_try_echo=$ac_try;;
23640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23641 (eval "$ac_try") 2>&5
23643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23644 (exit $ac_status); }; }; then
23647 echo "$as_me: failed program was:" >&5
23648 sed 's/^/| /' conftest.$ac_ext >&5
23650 ac_lo=`expr '(' $ac_mid ')' + 1`
23653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23656 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23657 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23658 See \`config.log
' for more details." >&5
23659 echo "$as_me: error: cannot compute sizeof (long long)
23660 See \`config.log' for more details.
" >&2;}
23661 { (exit 77); exit 77; }; } ;;
23664 cat >conftest.$ac_ext <<_ACEOF
23667 cat confdefs.h >>conftest.$ac_ext
23668 cat >>conftest.$ac_ext <<_ACEOF
23669 /* end confdefs.h. */
23670 $ac_includes_default
23671 typedef long long ac__type_sizeof_;
23672 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23673 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23675 #include <stdlib.h>
23680 FILE *f = fopen ("conftest.val
", "w
");
23683 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23685 long int i = longval ();
23686 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23688 fprintf (f, "%ld
\n", i);
23692 unsigned long int i = ulongval ();
23693 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23695 fprintf (f, "%lu
\n", i);
23697 return ferror (f) || fclose (f) != 0;
23703 rm -f conftest$ac_exeext
23704 if { (ac_try="$ac_link"
23705 case "(($ac_try" in
23706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23707 *) ac_try_echo=$ac_try;;
23709 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23710 (eval "$ac_link") 2>&5
23712 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23713 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23714 { (case "(($ac_try" in
23715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23716 *) ac_try_echo=$ac_try;;
23718 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23719 (eval "$ac_try") 2>&5
23721 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23722 (exit $ac_status); }; }; then
23723 ac_cv_sizeof_long_long=`cat conftest.val`
23725 echo "$as_me: program exited with status
$ac_status" >&5
23726 echo "$as_me: failed program was
:" >&5
23727 sed 's/^/| /' conftest.$ac_ext >&5
23729 ( exit $ac_status )
23730 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23731 See \
`config.log' for more details." >&5
23732 echo "$as_me: error: cannot compute sizeof (long long)
23733 See \`config.log
' for more details." >&2;}
23734 { (exit 77); exit 77; }; }
23736 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23740 ac_cv_sizeof_long_long=0
23743 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23744 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23745 cat >>confdefs.h <<_ACEOF
23746 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23752 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23753 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23754 if test "${ac_cv_type_wchar_t+set}" = set; then
23755 echo $ECHO_N "(cached) $ECHO_C" >&6
23757 cat >conftest.$ac_ext <<_ACEOF
23760 cat confdefs.h >>conftest.$ac_ext
23761 cat >>conftest.$ac_ext <<_ACEOF
23762 /* end confdefs.h. */
23764 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23765 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23766 # error "fake wchar_t"
23768 #ifdef HAVE_WCHAR_H
23770 # include <stddef.h>
23772 # include <wchar.h>
23774 #ifdef HAVE_STDLIB_H
23775 # include <stdlib.h>
23781 typedef wchar_t ac__type_new_
;
23785 if ((ac__type_new_
*) 0)
23787 if (sizeof
(ac__type_new_
))
23793 rm -f conftest.
$ac_objext
23794 if { (ac_try
="$ac_compile"
23795 case "(($ac_try" in
23796 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23797 *) ac_try_echo=$ac_try;;
23799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23800 (eval "$ac_compile") 2>conftest.er1
23802 grep -v '^ *+' conftest.er1 >conftest.err
23804 cat conftest.err >&5
23805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23806 (exit $ac_status); } &&
23807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23808 { (case "(($ac_try" in
23809 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23810 *) ac_try_echo
=$ac_try;;
23812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23813 (eval "$ac_try") 2>&5
23815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23816 (exit $ac_status); }; } &&
23817 { ac_try
='test -s conftest.$ac_objext'
23818 { (case "(($ac_try" in
23819 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23820 *) ac_try_echo=$ac_try;;
23822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23823 (eval "$ac_try") 2>&5
23825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23826 (exit $ac_status); }; }; then
23827 ac_cv_type_wchar_t=yes
23829 echo "$as_me: failed program was:" >&5
23830 sed 's/^/| /' conftest.$ac_ext >&5
23832 ac_cv_type_wchar_t=no
23835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23837 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23838 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23840 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23841 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23842 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23843 echo $ECHO_N "(cached) $ECHO_C" >&6
23845 if test "$ac_cv_type_wchar_t" = yes; then
23846 # The cast to long int works around a bug in the HP C Compiler
23847 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23848 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
23849 # This bug is HP SR number 8606223364.
23850 if test "$cross_compiling" = yes; then
23851 # Depending upon the size, compute the lo and hi bounds.
23852 cat >conftest.$ac_ext <<_ACEOF
23855 cat confdefs.h >>conftest.$ac_ext
23856 cat >>conftest.$ac_ext <<_ACEOF
23857 /* end confdefs.h. */
23859 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23860 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23861 # error "fake wchar_t"
23863 #ifdef HAVE_WCHAR_H
23865 # include <stddef.h>
23867 # include <wchar.h>
23869 #ifdef HAVE_STDLIB_H
23870 # include <stdlib.h>
23876 typedef wchar_t ac__type_sizeof_
;
23880 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
23887 rm -f conftest.
$ac_objext
23888 if { (ac_try
="$ac_compile"
23889 case "(($ac_try" in
23890 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23891 *) ac_try_echo=$ac_try;;
23893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23894 (eval "$ac_compile") 2>conftest.er1
23896 grep -v '^ *+' conftest.er1 >conftest.err
23898 cat conftest.err >&5
23899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23900 (exit $ac_status); } &&
23901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23902 { (case "(($ac_try" in
23903 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23904 *) ac_try_echo
=$ac_try;;
23906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23907 (eval "$ac_try") 2>&5
23909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23910 (exit $ac_status); }; } &&
23911 { ac_try
='test -s conftest.$ac_objext'
23912 { (case "(($ac_try" in
23913 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23914 *) ac_try_echo=$ac_try;;
23916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23917 (eval "$ac_try") 2>&5
23919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23920 (exit $ac_status); }; }; then
23923 cat >conftest.$ac_ext <<_ACEOF
23926 cat confdefs.h >>conftest.$ac_ext
23927 cat >>conftest.$ac_ext <<_ACEOF
23928 /* end confdefs.h. */
23930 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23931 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23932 # error "fake wchar_t"
23934 #ifdef HAVE_WCHAR_H
23936 # include <stddef.h>
23938 # include <wchar.h>
23940 #ifdef HAVE_STDLIB_H
23941 # include <stdlib.h>
23947 typedef wchar_t ac__type_sizeof_;
23951 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23958 rm -f conftest.$ac_objext
23959 if { (ac_try="$ac_compile"
23960 case "(($ac_try" in
23961 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23962 *) ac_try_echo
=$ac_try;;
23964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23965 (eval "$ac_compile") 2>conftest.er1
23967 grep -v '^ *+' conftest.er1
>conftest.err
23969 cat conftest.err
>&5
23970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23971 (exit $ac_status); } &&
23972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23973 { (case "(($ac_try" in
23974 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23975 *) ac_try_echo=$ac_try;;
23977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23978 (eval "$ac_try") 2>&5
23980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23981 (exit $ac_status); }; } &&
23982 { ac_try='test -s conftest.$ac_objext'
23983 { (case "(($ac_try" in
23984 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23985 *) ac_try_echo
=$ac_try;;
23987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23988 (eval "$ac_try") 2>&5
23990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23991 (exit $ac_status); }; }; then
23992 ac_hi
=$ac_mid; break
23994 echo "$as_me: failed program was:" >&5
23995 sed 's/^/| /' conftest.
$ac_ext >&5
23997 ac_lo
=`expr $ac_mid + 1`
23998 if test $ac_lo -le $ac_mid; then
24002 ac_mid
=`expr 2 '*' $ac_mid + 1`
24005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24008 echo "$as_me: failed program was:" >&5
24009 sed 's/^/| /' conftest.
$ac_ext >&5
24011 cat >conftest.
$ac_ext <<_ACEOF
24014 cat confdefs.h
>>conftest.
$ac_ext
24015 cat >>conftest.
$ac_ext <<_ACEOF
24016 /* end confdefs.h. */
24018 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24019 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24020 # error "fake wchar_t"
24022 #ifdef HAVE_WCHAR_H
24024 # include <stddef.h>
24026 # include <wchar.h>
24028 #ifdef HAVE_STDLIB_H
24029 # include <stdlib.h>
24035 typedef wchar_t ac__type_sizeof_;
24039 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24046 rm -f conftest.
$ac_objext
24047 if { (ac_try
="$ac_compile"
24048 case "(($ac_try" in
24049 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24050 *) ac_try_echo=$ac_try;;
24052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24053 (eval "$ac_compile") 2>conftest.er1
24055 grep -v '^ *+' conftest.er1 >conftest.err
24057 cat conftest.err >&5
24058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24059 (exit $ac_status); } &&
24060 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24061 { (case "(($ac_try" in
24062 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24063 *) ac_try_echo
=$ac_try;;
24065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24066 (eval "$ac_try") 2>&5
24068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24069 (exit $ac_status); }; } &&
24070 { ac_try
='test -s conftest.$ac_objext'
24071 { (case "(($ac_try" in
24072 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24073 *) ac_try_echo=$ac_try;;
24075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24076 (eval "$ac_try") 2>&5
24078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24079 (exit $ac_status); }; }; then
24082 cat >conftest.$ac_ext <<_ACEOF
24085 cat confdefs.h >>conftest.$ac_ext
24086 cat >>conftest.$ac_ext <<_ACEOF
24087 /* end confdefs.h. */
24089 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24090 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24091 # error "fake wchar_t"
24093 #ifdef HAVE_WCHAR_H
24095 # include <stddef.h>
24097 # include <wchar.h>
24099 #ifdef HAVE_STDLIB_H
24100 # include <stdlib.h>
24106 typedef wchar_t ac__type_sizeof_;
24110 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24117 rm -f conftest.$ac_objext
24118 if { (ac_try="$ac_compile"
24119 case "(($ac_try" in
24120 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24121 *) ac_try_echo
=$ac_try;;
24123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24124 (eval "$ac_compile") 2>conftest.er1
24126 grep -v '^ *+' conftest.er1
>conftest.err
24128 cat conftest.err
>&5
24129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24130 (exit $ac_status); } &&
24131 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24132 { (case "(($ac_try" in
24133 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24134 *) ac_try_echo=$ac_try;;
24136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24137 (eval "$ac_try") 2>&5
24139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24140 (exit $ac_status); }; } &&
24141 { ac_try='test -s conftest.$ac_objext'
24142 { (case "(($ac_try" in
24143 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24144 *) ac_try_echo
=$ac_try;;
24146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24147 (eval "$ac_try") 2>&5
24149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24150 (exit $ac_status); }; }; then
24151 ac_lo
=$ac_mid; break
24153 echo "$as_me: failed program was:" >&5
24154 sed 's/^/| /' conftest.
$ac_ext >&5
24156 ac_hi
=`expr '(' $ac_mid ')' - 1`
24157 if test $ac_mid -le $ac_hi; then
24161 ac_mid
=`expr 2 '*' $ac_mid`
24164 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24167 echo "$as_me: failed program was:" >&5
24168 sed 's/^/| /' conftest.
$ac_ext >&5
24173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24177 # Binary search between lo and hi bounds.
24178 while test "x$ac_lo" != "x$ac_hi"; do
24179 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24180 cat >conftest.
$ac_ext <<_ACEOF
24183 cat confdefs.h
>>conftest.
$ac_ext
24184 cat >>conftest.
$ac_ext <<_ACEOF
24185 /* end confdefs.h. */
24187 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24188 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24189 # error "fake wchar_t"
24191 #ifdef HAVE_WCHAR_H
24193 # include <stddef.h>
24195 # include <wchar.h>
24197 #ifdef HAVE_STDLIB_H
24198 # include <stdlib.h>
24204 typedef wchar_t ac__type_sizeof_;
24208 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24215 rm -f conftest.
$ac_objext
24216 if { (ac_try
="$ac_compile"
24217 case "(($ac_try" in
24218 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24219 *) ac_try_echo=$ac_try;;
24221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24222 (eval "$ac_compile") 2>conftest.er1
24224 grep -v '^ *+' conftest.er1 >conftest.err
24226 cat conftest.err >&5
24227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24228 (exit $ac_status); } &&
24229 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24230 { (case "(($ac_try" in
24231 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24232 *) ac_try_echo
=$ac_try;;
24234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24235 (eval "$ac_try") 2>&5
24237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24238 (exit $ac_status); }; } &&
24239 { ac_try
='test -s conftest.$ac_objext'
24240 { (case "(($ac_try" in
24241 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24242 *) ac_try_echo=$ac_try;;
24244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24245 (eval "$ac_try") 2>&5
24247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24248 (exit $ac_status); }; }; then
24251 echo "$as_me: failed program was:" >&5
24252 sed 's/^/| /' conftest.$ac_ext >&5
24254 ac_lo=`expr '(' $ac_mid ')' + 1`
24257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24260 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24261 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24262 See \`config.log
' for more details." >&5
24263 echo "$as_me: error: cannot compute sizeof (wchar_t)
24264 See \`config.log' for more details.
" >&2;}
24265 { (exit 77); exit 77; }; } ;;
24268 cat >conftest.$ac_ext <<_ACEOF
24271 cat confdefs.h >>conftest.$ac_ext
24272 cat >>conftest.$ac_ext <<_ACEOF
24273 /* end confdefs.h. */
24275 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24276 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24277 # error "fake wchar_t
"
24279 #ifdef HAVE_WCHAR_H
24281 # include <stddef.h>
24283 # include <wchar.h>
24285 #ifdef HAVE_STDLIB_H
24286 # include <stdlib.h>
24292 typedef wchar_t ac__type_sizeof_;
24293 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24294 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24296 #include <stdlib.h>
24301 FILE *f = fopen ("conftest.val
", "w
");
24304 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24306 long int i = longval ();
24307 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24309 fprintf (f, "%ld
\n", i);
24313 unsigned long int i = ulongval ();
24314 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24316 fprintf (f, "%lu
\n", i);
24318 return ferror (f) || fclose (f) != 0;
24324 rm -f conftest$ac_exeext
24325 if { (ac_try="$ac_link"
24326 case "(($ac_try" in
24327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24328 *) ac_try_echo=$ac_try;;
24330 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24331 (eval "$ac_link") 2>&5
24333 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24334 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24335 { (case "(($ac_try" in
24336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24337 *) ac_try_echo=$ac_try;;
24339 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24340 (eval "$ac_try") 2>&5
24342 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24343 (exit $ac_status); }; }; then
24344 ac_cv_sizeof_wchar_t=`cat conftest.val`
24346 echo "$as_me: program exited with status
$ac_status" >&5
24347 echo "$as_me: failed program was
:" >&5
24348 sed 's/^/| /' conftest.$ac_ext >&5
24350 ( exit $ac_status )
24351 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
24352 See \
`config.log' for more details." >&5
24353 echo "$as_me: error: cannot compute sizeof (wchar_t)
24354 See \`config.log
' for more details." >&2;}
24355 { (exit 77); exit 77; }; }
24357 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24361 ac_cv_sizeof_wchar_t=0
24364 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24365 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24366 cat >>confdefs.h <<_ACEOF
24367 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24371 if test "$ac_cv_sizeof_wchar_t" != "0"; then
24377 { echo "$as_me:$LINENO: checking for va_copy" >&5
24378 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24379 if test "${wx_cv_func_va_copy+set}" = set; then
24380 echo $ECHO_N "(cached) $ECHO_C" >&6
24383 cat >conftest.$ac_ext <<_ACEOF
24385 #include <stdarg.h>
24386 void foo(char *f, ...)
24400 rm -f conftest.$ac_objext conftest$ac_exeext
24401 if { (ac_try="$ac_link"
24402 case "(($ac_try" in
24403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24404 *) ac_try_echo=$ac_try;;
24406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24407 (eval "$ac_link") 2>conftest.er1
24409 grep -v '^
*+' conftest.er1 >conftest.err
24411 cat conftest.err >&5
24412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24413 (exit $ac_status); } &&
24414 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
24415 { (case "(($ac_try" in
24416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24417 *) ac_try_echo=$ac_try;;
24419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24420 (eval "$ac_try") 2>&5
24422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423 (exit $ac_status); }; } &&
24424 { ac_try='test -s conftest
$ac_exeext'
24425 { (case "(($ac_try" in
24426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24427 *) ac_try_echo=$ac_try;;
24429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24430 (eval "$ac_try") 2>&5
24432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24433 (exit $ac_status); }; }; then
24434 wx_cv_func_va_copy=yes
24436 echo "$as_me: failed program was:" >&5
24437 sed 's
/^
/| /' conftest.$ac_ext >&5
24439 wx_cv_func_va_copy=no
24443 rm -f core conftest.err conftest.$ac_objext \
24444 conftest$ac_exeext conftest.$ac_ext
24448 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24449 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24451 if test $wx_cv_func_va_copy = "yes"; then
24452 cat >>confdefs.h <<\_ACEOF
24453 #define HAVE_VA_COPY 1
24457 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24458 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24459 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24460 echo $ECHO_N "(cached) $ECHO_C" >&6
24463 if test "$cross_compiling" = yes; then
24464 wx_cv_type_va_list_lvalue=yes
24467 cat >conftest.$ac_ext <<_ACEOF
24469 #include <stdarg.h>
24470 int foo(char *f, ...)
24475 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24483 return foo("hi", 17);
24486 rm -f conftest$ac_exeext
24487 if { (ac_try="$ac_link"
24488 case "(($ac_try" in
24489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24490 *) ac_try_echo=$ac_try;;
24492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24493 (eval "$ac_link") 2>&5
24495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24496 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24497 { (case "(($ac_try" in
24498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24499 *) ac_try_echo=$ac_try;;
24501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24502 (eval "$ac_try") 2>&5
24504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24505 (exit $ac_status); }; }; then
24506 wx_cv_type_va_list_lvalue=yes
24508 echo "$as_me: program exited with status $ac_status" >&5
24509 echo "$as_me: failed program was:" >&5
24510 sed 's
/^
/| /' conftest.$ac_ext >&5
24512 ( exit $ac_status )
24513 wx_cv_type_va_list_lvalue=no
24515 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24522 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24523 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24525 if test $wx_cv_type_va_list_lvalue != "yes"; then
24526 cat >>confdefs.h <<\_ACEOF
24527 #define VA_LIST_IS_ARRAY 1
24533 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24535 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24536 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24537 if test "${wx_cv_have_variadic_macros+set}" = set; then
24538 echo $ECHO_N "(cached) $ECHO_C" >&6
24542 ac_cpp='$CXXCPP $CPPFLAGS'
24543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24544 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24547 cat >conftest.$ac_ext <<_ACEOF
24550 cat confdefs.h >>conftest.$ac_ext
24551 cat >>conftest.$ac_ext <<_ACEOF
24552 /* end confdefs.h. */
24555 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24561 test("%s %d %p", "test", 1, 0);
24568 rm -f conftest.$ac_objext
24569 if { (ac_try="$ac_compile"
24570 case "(($ac_try" in
24571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24572 *) ac_try_echo=$ac_try;;
24574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24575 (eval "$ac_compile") 2>conftest.er1
24577 grep -v '^
*+' conftest.er1 >conftest.err
24579 cat conftest.err >&5
24580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24581 (exit $ac_status); } &&
24582 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
'
24583 { (case "(($ac_try" in
24584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24585 *) ac_try_echo=$ac_try;;
24587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24588 (eval "$ac_try") 2>&5
24590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24591 (exit $ac_status); }; } &&
24592 { ac_try='test -s conftest.
$ac_objext'
24593 { (case "(($ac_try" in
24594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24595 *) ac_try_echo=$ac_try;;
24597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24598 (eval "$ac_try") 2>&5
24600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24601 (exit $ac_status); }; }; then
24602 wx_cv_have_variadic_macros=yes
24604 echo "$as_me: failed program was:" >&5
24605 sed 's
/^
/| /' conftest.$ac_ext >&5
24607 wx_cv_have_variadic_macros=no
24611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24613 ac_cpp='$CPP $CPPFLAGS'
24614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24615 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24621 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24622 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24624 if test $wx_cv_have_variadic_macros = "yes"; then
24625 cat >>confdefs.h <<\_ACEOF
24626 #define HAVE_VARIADIC_MACROS 1
24632 # Check whether --enable-largefile was given.
24633 if test "${enable_largefile+set}" = set; then
24634 enableval=$enable_largefile;
24637 if test "$enable_largefile" != no; then
24640 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24641 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24642 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24643 echo $ECHO_N "(cached) $ECHO_C" >&6
24646 cat >conftest.$ac_ext <<_ACEOF
24649 cat confdefs.h >>conftest.$ac_ext
24650 cat >>conftest.$ac_ext <<_ACEOF
24651 /* end confdefs.h. */
24652 #define _FILE_OFFSET_BITS 64
24653 #include <sys/types.h>
24658 unsigned int field: sizeof(off_t) == 8;
24665 rm -f conftest.$ac_objext
24666 if { (ac_try="$ac_compile"
24667 case "(($ac_try" in
24668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24669 *) ac_try_echo=$ac_try;;
24671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24672 (eval "$ac_compile") 2>conftest.er1
24674 grep -v '^
*+' conftest.er1 >conftest.err
24676 cat conftest.err >&5
24677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24678 (exit $ac_status); } &&
24679 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
24680 { (case "(($ac_try" in
24681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24682 *) ac_try_echo=$ac_try;;
24684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24685 (eval "$ac_try") 2>&5
24687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24688 (exit $ac_status); }; } &&
24689 { ac_try='test -s conftest.
$ac_objext'
24690 { (case "(($ac_try" in
24691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24692 *) ac_try_echo=$ac_try;;
24694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24695 (eval "$ac_try") 2>&5
24697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24698 (exit $ac_status); }; }; then
24699 ac_cv_sys_file_offset_bits=64
24701 echo "$as_me: failed program was:" >&5
24702 sed 's
/^
/| /' conftest.$ac_ext >&5
24704 ac_cv_sys_file_offset_bits=no
24707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24711 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24712 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24714 if test "$ac_cv_sys_file_offset_bits" != no; then
24716 cat >>confdefs.h <<_ACEOF
24717 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24722 if test "x$wx_largefile" != "xyes"; then
24724 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24725 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24726 if test "${ac_cv_sys_large_files+set}" = set; then
24727 echo $ECHO_N "(cached) $ECHO_C" >&6
24730 cat >conftest.$ac_ext <<_ACEOF
24733 cat confdefs.h >>conftest.$ac_ext
24734 cat >>conftest.$ac_ext <<_ACEOF
24735 /* end confdefs.h. */
24736 #define _LARGE_FILES 1
24737 #include <sys/types.h>
24742 unsigned int field: sizeof(off_t) == 8;
24749 rm -f conftest.$ac_objext
24750 if { (ac_try="$ac_compile"
24751 case "(($ac_try" in
24752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24753 *) ac_try_echo=$ac_try;;
24755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24756 (eval "$ac_compile") 2>conftest.er1
24758 grep -v '^
*+' conftest.er1 >conftest.err
24760 cat conftest.err >&5
24761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24762 (exit $ac_status); } &&
24763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
24764 { (case "(($ac_try" in
24765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24766 *) ac_try_echo=$ac_try;;
24768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24769 (eval "$ac_try") 2>&5
24771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24772 (exit $ac_status); }; } &&
24773 { ac_try='test -s conftest.
$ac_objext'
24774 { (case "(($ac_try" in
24775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24776 *) ac_try_echo=$ac_try;;
24778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24779 (eval "$ac_try") 2>&5
24781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24782 (exit $ac_status); }; }; then
24783 ac_cv_sys_large_files=1
24785 echo "$as_me: failed program was:" >&5
24786 sed 's
/^
/| /' conftest.$ac_ext >&5
24788 ac_cv_sys_large_files=no
24791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24795 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24796 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24798 if test "$ac_cv_sys_large_files" != no; then
24800 cat >>confdefs.h <<_ACEOF
24801 #define _LARGE_FILES $ac_cv_sys_large_files
24808 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24809 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24810 if test "x$wx_largefile" = "xyes"; then
24811 cat >>confdefs.h <<\_ACEOF
24812 #define HAVE_LARGEFILE_SUPPORT 1
24816 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24817 echo "${ECHO_T}$wx_largefile" >&6; }
24821 if test "x$wx_largefile" = "xyes"; then
24822 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
24823 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
24825 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24826 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24827 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24828 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24829 echo $ECHO_N "(cached) $ECHO_C" >&6
24833 ac_cpp='$CXXCPP $CPPFLAGS'
24834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24835 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24838 cat >conftest.$ac_ext <<_ACEOF
24841 cat confdefs.h >>conftest.$ac_ext
24842 cat >>conftest.$ac_ext <<_ACEOF
24843 /* end confdefs.h. */
24849 #ifndef __STDC_EXT__
24857 rm -f conftest.$ac_objext
24858 if { (ac_try="$ac_compile"
24859 case "(($ac_try" in
24860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24861 *) ac_try_echo=$ac_try;;
24863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24864 (eval "$ac_compile") 2>conftest.er1
24866 grep -v '^
*+' conftest.er1 >conftest.err
24868 cat conftest.err >&5
24869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24870 (exit $ac_status); } &&
24871 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
'
24872 { (case "(($ac_try" in
24873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24874 *) ac_try_echo=$ac_try;;
24876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24877 (eval "$ac_try") 2>&5
24879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24880 (exit $ac_status); }; } &&
24881 { ac_try='test -s conftest.
$ac_objext'
24882 { (case "(($ac_try" in
24883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24884 *) ac_try_echo=$ac_try;;
24886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24887 (eval "$ac_try") 2>&5
24889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24890 (exit $ac_status); }; }; then
24891 wx_cv_STDC_EXT_required=no
24893 echo "$as_me: failed program was:" >&5
24894 sed 's
/^
/| /' conftest.$ac_ext >&5
24896 wx_cv_STDC_EXT_required=yes
24900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24902 ac_cpp='$CPP $CPPFLAGS'
24903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24904 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24910 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24911 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24912 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24913 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24917 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
24919 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24920 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24921 if test "${ac_cv_sys_largefile_source+set}" = set; then
24922 echo $ECHO_N "(cached) $ECHO_C" >&6
24925 ac_cv_sys_largefile_source=no
24926 cat >conftest.$ac_ext <<_ACEOF
24929 cat confdefs.h >>conftest.$ac_ext
24930 cat >>conftest.$ac_ext <<_ACEOF
24931 /* end confdefs.h. */
24941 rm -f conftest.$ac_objext
24942 if { (ac_try="$ac_compile"
24943 case "(($ac_try" in
24944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24945 *) ac_try_echo=$ac_try;;
24947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24948 (eval "$ac_compile") 2>conftest.er1
24950 grep -v '^
*+' conftest.er1 >conftest.err
24952 cat conftest.err >&5
24953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24954 (exit $ac_status); } &&
24955 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
24956 { (case "(($ac_try" in
24957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24958 *) ac_try_echo=$ac_try;;
24960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24961 (eval "$ac_try") 2>&5
24963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24964 (exit $ac_status); }; } &&
24965 { ac_try='test -s conftest.
$ac_objext'
24966 { (case "(($ac_try" in
24967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24968 *) ac_try_echo=$ac_try;;
24970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24971 (eval "$ac_try") 2>&5
24973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24974 (exit $ac_status); }; }; then
24977 echo "$as_me: failed program was:" >&5
24978 sed 's
/^
/| /' conftest.$ac_ext >&5
24983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24984 cat >conftest.$ac_ext <<_ACEOF
24987 cat confdefs.h >>conftest.$ac_ext
24988 cat >>conftest.$ac_ext <<_ACEOF
24989 /* end confdefs.h. */
24990 #define _LARGEFILE_SOURCE 1
25000 rm -f conftest.$ac_objext
25001 if { (ac_try="$ac_compile"
25002 case "(($ac_try" in
25003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25004 *) ac_try_echo=$ac_try;;
25006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25007 (eval "$ac_compile") 2>conftest.er1
25009 grep -v '^
*+' conftest.er1 >conftest.err
25011 cat conftest.err >&5
25012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25013 (exit $ac_status); } &&
25014 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
25015 { (case "(($ac_try" in
25016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25017 *) ac_try_echo=$ac_try;;
25019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25020 (eval "$ac_try") 2>&5
25022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25023 (exit $ac_status); }; } &&
25024 { ac_try='test -s conftest.
$ac_objext'
25025 { (case "(($ac_try" in
25026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25027 *) ac_try_echo=$ac_try;;
25029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25030 (eval "$ac_try") 2>&5
25032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25033 (exit $ac_status); }; }; then
25034 ac_cv_sys_largefile_source=1; break
25036 echo "$as_me: failed program was:" >&5
25037 sed 's
/^
/| /' conftest.$ac_ext >&5
25042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25046 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25047 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25048 if test "$ac_cv_sys_largefile_source" != no; then
25050 cat >>confdefs.h <<_ACEOF
25051 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25057 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25058 # in glibc 2.1.3, but that breaks too many other things.
25059 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25060 { echo "$as_me:$LINENO: checking for fseeko" >&5
25061 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6; }
25062 if test "${ac_cv_func_fseeko+set}" = set; then
25063 echo $ECHO_N "(cached) $ECHO_C" >&6
25065 cat >conftest.$ac_ext <<_ACEOF
25068 cat confdefs.h >>conftest.$ac_ext
25069 cat >>conftest.$ac_ext <<_ACEOF
25070 /* end confdefs.h. */
25075 return fseeko && fseeko (stdin, 0, 0);
25080 rm -f conftest.$ac_objext conftest$ac_exeext
25081 if { (ac_try="$ac_link"
25082 case "(($ac_try" in
25083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25084 *) ac_try_echo=$ac_try;;
25086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25087 (eval "$ac_link") 2>conftest.er1
25089 grep -v '^
*+' conftest.er1 >conftest.err
25091 cat conftest.err >&5
25092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25093 (exit $ac_status); } &&
25094 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
25095 { (case "(($ac_try" in
25096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25097 *) ac_try_echo=$ac_try;;
25099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25100 (eval "$ac_try") 2>&5
25102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25103 (exit $ac_status); }; } &&
25104 { ac_try='test -s conftest
$ac_exeext'
25105 { (case "(($ac_try" in
25106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25107 *) ac_try_echo=$ac_try;;
25109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25110 (eval "$ac_try") 2>&5
25112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25113 (exit $ac_status); }; }; then
25114 ac_cv_func_fseeko=yes
25116 echo "$as_me: failed program was:" >&5
25117 sed 's
/^
/| /' conftest.$ac_ext >&5
25119 ac_cv_func_fseeko=no
25122 rm -f core conftest.err conftest.$ac_objext \
25123 conftest$ac_exeext conftest.$ac_ext
25125 { echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
25126 echo "${ECHO_T}$ac_cv_func_fseeko" >&6; }
25127 if test $ac_cv_func_fseeko = yes; then
25129 cat >>confdefs.h <<\_ACEOF
25130 #define HAVE_FSEEKO 1
25135 if test "$ac_cv_sys_largefile_source" != no; then
25136 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25140 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25141 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25142 if test "${ac_cv_c_bigendian+set}" = set; then
25143 echo $ECHO_N "(cached) $ECHO_C" >&6
25145 ac_cv_c_bigendian=unknown
25146 # See if sys/param.h defines the BYTE_ORDER macro.
25147 cat >conftest.$ac_ext <<_ACEOF
25150 cat confdefs.h >>conftest.$ac_ext
25151 cat >>conftest.$ac_ext <<_ACEOF
25152 /* end confdefs.h. */
25153 #include <sys/types.h>
25154 #include <sys/param.h>
25159 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25160 bogus endian macros
25166 rm -f conftest.$ac_objext
25167 if { (ac_try="$ac_compile"
25168 case "(($ac_try" in
25169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25170 *) ac_try_echo=$ac_try;;
25172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25173 (eval "$ac_compile") 2>conftest.er1
25175 grep -v '^
*+' conftest.er1 >conftest.err
25177 cat conftest.err >&5
25178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25179 (exit $ac_status); } &&
25180 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
25181 { (case "(($ac_try" in
25182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25183 *) ac_try_echo=$ac_try;;
25185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25186 (eval "$ac_try") 2>&5
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); }; } &&
25190 { ac_try='test -s conftest.
$ac_objext'
25191 { (case "(($ac_try" in
25192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25193 *) ac_try_echo=$ac_try;;
25195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25196 (eval "$ac_try") 2>&5
25198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25199 (exit $ac_status); }; }; then
25200 # It does; now see whether it defined to BIG_ENDIAN or not.
25201 cat >conftest.$ac_ext <<_ACEOF
25204 cat confdefs.h >>conftest.$ac_ext
25205 cat >>conftest.$ac_ext <<_ACEOF
25206 /* end confdefs.h. */
25207 #include <sys/types.h>
25208 #include <sys/param.h>
25213 #if BYTE_ORDER != BIG_ENDIAN
25220 rm -f conftest.$ac_objext
25221 if { (ac_try="$ac_compile"
25222 case "(($ac_try" in
25223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25224 *) ac_try_echo=$ac_try;;
25226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25227 (eval "$ac_compile") 2>conftest.er1
25229 grep -v '^
*+' conftest.er1 >conftest.err
25231 cat conftest.err >&5
25232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25233 (exit $ac_status); } &&
25234 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
25235 { (case "(($ac_try" in
25236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25237 *) ac_try_echo=$ac_try;;
25239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25240 (eval "$ac_try") 2>&5
25242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25243 (exit $ac_status); }; } &&
25244 { ac_try='test -s conftest.
$ac_objext'
25245 { (case "(($ac_try" in
25246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25247 *) ac_try_echo=$ac_try;;
25249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25250 (eval "$ac_try") 2>&5
25252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25253 (exit $ac_status); }; }; then
25254 ac_cv_c_bigendian=yes
25256 echo "$as_me: failed program was:" >&5
25257 sed 's
/^
/| /' conftest.$ac_ext >&5
25259 ac_cv_c_bigendian=no
25262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25264 echo "$as_me: failed program was:" >&5
25265 sed 's
/^
/| /' conftest.$ac_ext >&5
25270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25271 if test $ac_cv_c_bigendian = unknown; then
25272 if test "$cross_compiling" = yes; then
25273 ac_cv_c_bigendian=unknown
25275 cat >conftest.$ac_ext <<_ACEOF
25278 cat confdefs.h >>conftest.$ac_ext
25279 cat >>conftest.$ac_ext <<_ACEOF
25280 /* end confdefs.h. */
25282 /* Are we little or big endian? From Harbison&Steele. */
25286 char c[sizeof (long)];
25289 exit (u.c[sizeof (long) - 1] == 1);
25292 rm -f conftest$ac_exeext
25293 if { (ac_try="$ac_link"
25294 case "(($ac_try" in
25295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25296 *) ac_try_echo=$ac_try;;
25298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25299 (eval "$ac_link") 2>&5
25301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25302 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
25303 { (case "(($ac_try" in
25304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25305 *) ac_try_echo=$ac_try;;
25307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25308 (eval "$ac_try") 2>&5
25310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25311 (exit $ac_status); }; }; then
25312 ac_cv_c_bigendian=no
25314 echo "$as_me: program exited with status $ac_status" >&5
25315 echo "$as_me: failed program was:" >&5
25316 sed 's
/^
/| /' conftest.$ac_ext >&5
25318 ( exit $ac_status )
25319 ac_cv_c_bigendian=yes
25321 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25327 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25328 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25329 if test $ac_cv_c_bigendian = unknown; then
25330 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
25331 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
25333 if test $ac_cv_c_bigendian = yes; then
25334 cat >>confdefs.h <<\_ACEOF
25335 #define WORDS_BIGENDIAN 1
25342 ac_cpp='$CXXCPP $CPPFLAGS'
25343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25344 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25346 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
25347 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
25348 if test -z "$CXXCPP"; then
25349 if test "${ac_cv_prog_CXXCPP+set}" = set; then
25350 echo $ECHO_N "(cached) $ECHO_C" >&6
25352 # Double quotes because CXXCPP needs to be expanded
25353 for CXXCPP in "$CXX -E" "/lib/cpp"
25355 ac_preproc_ok=false
25356 for ac_cxx_preproc_warn_flag in '' yes
25358 # Use a header file that comes with gcc, so configuring glibc
25359 # with a fresh cross-compiler works.
25360 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25361 # <limits.h> exists even on freestanding compilers.
25362 # On the NeXT, cc -E runs the code through the compiler's parser
,
25363 # not just through cpp. "Syntax error" is here to catch this case.
25364 cat >conftest.
$ac_ext <<_ACEOF
25367 cat confdefs.h
>>conftest.
$ac_ext
25368 cat >>conftest.
$ac_ext <<_ACEOF
25369 /* end confdefs.h. */
25371 # include <limits.h>
25373 # include <assert.h>
25377 if { (ac_try
="$ac_cpp conftest.$ac_ext"
25378 case "(($ac_try" in
25379 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25380 *) ac_try_echo=$ac_try;;
25382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25383 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25385 grep -v '^ *+' conftest.er1 >conftest.err
25387 cat conftest.err >&5
25388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25389 (exit $ac_status); } >/dev/null; then
25390 if test -s conftest.err; then
25391 ac_cpp_err=$ac_cxx_preproc_warn_flag
25392 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25399 if test -z "$ac_cpp_err"; then
25402 echo "$as_me: failed program was:" >&5
25403 sed 's/^/| /' conftest.$ac_ext >&5
25405 # Broken: fails on valid input.
25409 rm -f conftest.err conftest.$ac_ext
25411 # OK, works on sane cases. Now check whether nonexistent headers
25412 # can be detected and how.
25413 cat >conftest.$ac_ext <<_ACEOF
25416 cat confdefs.h >>conftest.$ac_ext
25417 cat >>conftest.$ac_ext <<_ACEOF
25418 /* end confdefs.h. */
25419 #include <ac_nonexistent.h>
25421 if { (ac_try="$ac_cpp conftest.$ac_ext"
25422 case "(($ac_try" in
25423 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25424 *) ac_try_echo
=$ac_try;;
25426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25427 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25429 grep -v '^ *+' conftest.er1
>conftest.err
25431 cat conftest.err
>&5
25432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25433 (exit $ac_status); } >/dev
/null
; then
25434 if test -s conftest.err
; then
25435 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25436 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25443 if test -z "$ac_cpp_err"; then
25444 # Broken: success on invalid input.
25447 echo "$as_me: failed program was:" >&5
25448 sed 's/^/| /' conftest.
$ac_ext >&5
25450 # Passes both tests.
25455 rm -f conftest.err conftest.
$ac_ext
25458 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
25459 rm -f conftest.err conftest.
$ac_ext
25460 if $ac_preproc_ok; then
25465 ac_cv_prog_CXXCPP
=$CXXCPP
25468 CXXCPP
=$ac_cv_prog_CXXCPP
25470 ac_cv_prog_CXXCPP
=$CXXCPP
25472 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
25473 echo "${ECHO_T}$CXXCPP" >&6; }
25474 ac_preproc_ok
=false
25475 for ac_cxx_preproc_warn_flag
in '' yes
25477 # Use a header file that comes with gcc, so configuring glibc
25478 # with a fresh cross-compiler works.
25479 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25480 # <limits.h> exists even on freestanding compilers.
25481 # On the NeXT, cc -E runs the code through the compiler's parser,
25482 # not just through cpp. "Syntax error" is here to catch this case.
25483 cat >conftest.
$ac_ext <<_ACEOF
25486 cat confdefs.h
>>conftest.
$ac_ext
25487 cat >>conftest.
$ac_ext <<_ACEOF
25488 /* end confdefs.h. */
25490 # include <limits.h>
25492 # include <assert.h>
25496 if { (ac_try
="$ac_cpp conftest.$ac_ext"
25497 case "(($ac_try" in
25498 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25499 *) ac_try_echo=$ac_try;;
25501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25502 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25504 grep -v '^ *+' conftest.er1 >conftest.err
25506 cat conftest.err >&5
25507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25508 (exit $ac_status); } >/dev/null; then
25509 if test -s conftest.err; then
25510 ac_cpp_err=$ac_cxx_preproc_warn_flag
25511 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25518 if test -z "$ac_cpp_err"; then
25521 echo "$as_me: failed program was:" >&5
25522 sed 's/^/| /' conftest.$ac_ext >&5
25524 # Broken: fails on valid input.
25528 rm -f conftest.err conftest.$ac_ext
25530 # OK, works on sane cases. Now check whether nonexistent headers
25531 # can be detected and how.
25532 cat >conftest.$ac_ext <<_ACEOF
25535 cat confdefs.h >>conftest.$ac_ext
25536 cat >>conftest.$ac_ext <<_ACEOF
25537 /* end confdefs.h. */
25538 #include <ac_nonexistent.h>
25540 if { (ac_try="$ac_cpp conftest.$ac_ext"
25541 case "(($ac_try" in
25542 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25543 *) ac_try_echo
=$ac_try;;
25545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25546 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25548 grep -v '^ *+' conftest.er1
>conftest.err
25550 cat conftest.err
>&5
25551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25552 (exit $ac_status); } >/dev
/null
; then
25553 if test -s conftest.err
; then
25554 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25555 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25562 if test -z "$ac_cpp_err"; then
25563 # Broken: success on invalid input.
25566 echo "$as_me: failed program was:" >&5
25567 sed 's/^/| /' conftest.
$ac_ext >&5
25569 # Passes both tests.
25574 rm -f conftest.err conftest.
$ac_ext
25577 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
25578 rm -f conftest.err conftest.
$ac_ext
25579 if $ac_preproc_ok; then
25582 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
25583 See \`config.log' for more details." >&5
25584 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
25585 See \`config.log' for more details." >&2;}
25586 { (exit 1); exit 1; }; }
25590 ac_cpp
='$CXXCPP $CPPFLAGS'
25591 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25592 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25593 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25599 ac_cpp
='$CXXCPP $CPPFLAGS'
25600 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25601 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25602 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25606 for ac_header
in iostream
25608 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25609 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25610 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25612 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25613 echo $ECHO_N "(cached) $ECHO_C" >&6
25615 ac_res
=`eval echo '${'$as_ac_Header'}'`
25616 { echo "$as_me:$LINENO: result: $ac_res" >&5
25617 echo "${ECHO_T}$ac_res" >&6; }
25619 # Is the header compilable?
25620 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
25621 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
25622 cat >conftest.
$ac_ext <<_ACEOF
25625 cat confdefs.h
>>conftest.
$ac_ext
25626 cat >>conftest.
$ac_ext <<_ACEOF
25627 /* end confdefs.h. */
25628 $ac_includes_default
25629 #include <$ac_header>
25631 rm -f conftest.
$ac_objext
25632 if { (ac_try
="$ac_compile"
25633 case "(($ac_try" in
25634 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25635 *) ac_try_echo=$ac_try;;
25637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25638 (eval "$ac_compile") 2>conftest.er1
25640 grep -v '^ *+' conftest.er1 >conftest.err
25642 cat conftest.err >&5
25643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25644 (exit $ac_status); } &&
25645 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25646 { (case "(($ac_try" in
25647 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25648 *) ac_try_echo
=$ac_try;;
25650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25651 (eval "$ac_try") 2>&5
25653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25654 (exit $ac_status); }; } &&
25655 { ac_try
='test -s conftest.$ac_objext'
25656 { (case "(($ac_try" in
25657 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25658 *) ac_try_echo=$ac_try;;
25660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25661 (eval "$ac_try") 2>&5
25663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25664 (exit $ac_status); }; }; then
25665 ac_header_compiler=yes
25667 echo "$as_me: failed program was:" >&5
25668 sed 's/^/| /' conftest.$ac_ext >&5
25670 ac_header_compiler=no
25673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25674 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25675 echo "${ECHO_T}$ac_header_compiler" >&6; }
25677 # Is the header present?
25678 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
25679 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
25680 cat >conftest.$ac_ext <<_ACEOF
25683 cat confdefs.h >>conftest.$ac_ext
25684 cat >>conftest.$ac_ext <<_ACEOF
25685 /* end confdefs.h. */
25686 #include <$ac_header>
25688 if { (ac_try="$ac_cpp conftest.$ac_ext"
25689 case "(($ac_try" in
25690 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25691 *) ac_try_echo
=$ac_try;;
25693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25694 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25696 grep -v '^ *+' conftest.er1
>conftest.err
25698 cat conftest.err
>&5
25699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25700 (exit $ac_status); } >/dev
/null
; then
25701 if test -s conftest.err
; then
25702 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25703 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25710 if test -z "$ac_cpp_err"; then
25711 ac_header_preproc
=yes
25713 echo "$as_me: failed program was:" >&5
25714 sed 's/^/| /' conftest.
$ac_ext >&5
25716 ac_header_preproc
=no
25719 rm -f conftest.err conftest.
$ac_ext
25720 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25721 echo "${ECHO_T}$ac_header_preproc" >&6; }
25723 # So? What about this header?
25724 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25726 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25727 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25728 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25729 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25730 ac_header_preproc
=yes
25733 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25734 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25735 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25736 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25737 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25738 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25739 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25740 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25741 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25742 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25743 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25744 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25746 ## ----------------------------------------- ##
25747 ## Report this to wx-dev@lists.wxwidgets.org ##
25748 ## ----------------------------------------- ##
25750 ) | sed "s/^/$as_me: WARNING: /" >&2
25753 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25755 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25756 echo $ECHO_N "(cached) $ECHO_C" >&6
25758 eval "$as_ac_Header=\$ac_header_preproc"
25760 ac_res
=`eval echo '${'$as_ac_Header'}'`
25761 { echo "$as_me:$LINENO: result: $ac_res" >&5
25762 echo "${ECHO_T}$ac_res" >&6; }
25765 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25766 cat >>confdefs.h
<<_ACEOF
25767 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25775 if test "$ac_cv_header_iostream" = "yes" ; then
25778 cat >>confdefs.h
<<\_ACEOF
25779 #define wxUSE_IOSTREAMH 1
25785 ac_cpp
='$CPP $CPPFLAGS'
25786 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25787 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25788 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25793 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
25794 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
25795 if test "${wx_cv_cpp_bool+set}" = set; then
25796 echo $ECHO_N "(cached) $ECHO_C" >&6
25801 ac_cpp
='$CXXCPP $CPPFLAGS'
25802 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25803 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25804 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25807 cat >conftest.
$ac_ext <<_ACEOF
25810 cat confdefs.h
>>conftest.
$ac_ext
25811 cat >>conftest.
$ac_ext <<_ACEOF
25812 /* end confdefs.h. */
25827 rm -f conftest.
$ac_objext
25828 if { (ac_try
="$ac_compile"
25829 case "(($ac_try" in
25830 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25831 *) ac_try_echo=$ac_try;;
25833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25834 (eval "$ac_compile") 2>conftest.er1
25836 grep -v '^ *+' conftest.er1 >conftest.err
25838 cat conftest.err >&5
25839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25840 (exit $ac_status); } &&
25841 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25842 { (case "(($ac_try" in
25843 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25844 *) ac_try_echo
=$ac_try;;
25846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25847 (eval "$ac_try") 2>&5
25849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25850 (exit $ac_status); }; } &&
25851 { ac_try
='test -s conftest.$ac_objext'
25852 { (case "(($ac_try" in
25853 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25854 *) ac_try_echo=$ac_try;;
25856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25857 (eval "$ac_try") 2>&5
25859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25860 (exit $ac_status); }; }; then
25865 echo "$as_me: failed program was:" >&5
25866 sed 's/^/| /' conftest.$ac_ext >&5
25874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25877 ac_cpp='$CPP $CPPFLAGS'
25878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25884 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
25885 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
25887 if test "$wx_cv_cpp_bool" = "yes"; then
25888 cat >>confdefs.h <<\_ACEOF
25889 #define HAVE_BOOL 1
25896 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25897 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25898 if test "${wx_cv_explicit+set}" = set; then
25899 echo $ECHO_N "(cached) $ECHO_C" >&6
25904 ac_cpp='$CXXCPP $CPPFLAGS'
25905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25910 cat >conftest.$ac_ext <<_ACEOF
25913 cat confdefs.h >>conftest.$ac_ext
25914 cat >>conftest.$ac_ext <<_ACEOF
25915 /* end confdefs.h. */
25917 class Foo { public: explicit Foo(int) {} };
25929 rm -f conftest.$ac_objext
25930 if { (ac_try="$ac_compile"
25931 case "(($ac_try" in
25932 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25933 *) ac_try_echo
=$ac_try;;
25935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25936 (eval "$ac_compile") 2>conftest.er1
25938 grep -v '^ *+' conftest.er1
>conftest.err
25940 cat conftest.err
>&5
25941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25942 (exit $ac_status); } &&
25943 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25944 { (case "(($ac_try" in
25945 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25946 *) ac_try_echo=$ac_try;;
25948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25949 (eval "$ac_try") 2>&5
25951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25952 (exit $ac_status); }; } &&
25953 { ac_try='test -s conftest.$ac_objext'
25954 { (case "(($ac_try" in
25955 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25956 *) ac_try_echo
=$ac_try;;
25958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25959 (eval "$ac_try") 2>&5
25961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25962 (exit $ac_status); }; }; then
25964 cat >conftest.
$ac_ext <<_ACEOF
25967 cat confdefs.h
>>conftest.
$ac_ext
25968 cat >>conftest.
$ac_ext <<_ACEOF
25969 /* end confdefs.h. */
25971 class Foo { public: explicit Foo(int) {} };
25972 static void TakeFoo(const Foo& foo) { }
25985 rm -f conftest.
$ac_objext
25986 if { (ac_try
="$ac_compile"
25987 case "(($ac_try" in
25988 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25989 *) ac_try_echo=$ac_try;;
25991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25992 (eval "$ac_compile") 2>conftest.er1
25994 grep -v '^ *+' conftest.er1 >conftest.err
25996 cat conftest.err >&5
25997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25998 (exit $ac_status); } &&
25999 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26000 { (case "(($ac_try" in
26001 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26002 *) ac_try_echo
=$ac_try;;
26004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26005 (eval "$ac_try") 2>&5
26007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26008 (exit $ac_status); }; } &&
26009 { ac_try
='test -s conftest.$ac_objext'
26010 { (case "(($ac_try" in
26011 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26012 *) ac_try_echo=$ac_try;;
26014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26015 (eval "$ac_try") 2>&5
26017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26018 (exit $ac_status); }; }; then
26021 echo "$as_me: failed program was:" >&5
26022 sed 's/^/| /' conftest.$ac_ext >&5
26028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26031 echo "$as_me: failed program was:" >&5
26032 sed 's/^/| /' conftest.$ac_ext >&5
26038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26041 ac_cpp='$CPP $CPPFLAGS'
26042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26048 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26049 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26051 if test "$wx_cv_explicit" = "yes"; then
26052 cat >>confdefs.h <<\_ACEOF
26053 #define HAVE_EXPLICIT 1
26059 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26060 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26061 if test "${ac_cv_cxx_const_cast+set}" = set; then
26062 echo $ECHO_N "(cached) $ECHO_C" >&6
26066 ac_cpp='$CXXCPP $CPPFLAGS'
26067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26071 cat >conftest.$ac_ext <<_ACEOF
26074 cat confdefs.h >>conftest.$ac_ext
26075 cat >>conftest.$ac_ext <<_ACEOF
26076 /* end confdefs.h. */
26081 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26086 rm -f conftest.$ac_objext
26087 if { (ac_try="$ac_compile"
26088 case "(($ac_try" in
26089 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26090 *) ac_try_echo
=$ac_try;;
26092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26093 (eval "$ac_compile") 2>conftest.er1
26095 grep -v '^ *+' conftest.er1
>conftest.err
26097 cat conftest.err
>&5
26098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26099 (exit $ac_status); } &&
26100 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26101 { (case "(($ac_try" in
26102 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26103 *) ac_try_echo=$ac_try;;
26105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26106 (eval "$ac_try") 2>&5
26108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26109 (exit $ac_status); }; } &&
26110 { ac_try='test -s conftest.$ac_objext'
26111 { (case "(($ac_try" in
26112 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26113 *) ac_try_echo
=$ac_try;;
26115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26116 (eval "$ac_try") 2>&5
26118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26119 (exit $ac_status); }; }; then
26120 ac_cv_cxx_const_cast
=yes
26122 echo "$as_me: failed program was:" >&5
26123 sed 's/^/| /' conftest.
$ac_ext >&5
26125 ac_cv_cxx_const_cast
=no
26128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26130 ac_cpp
='$CPP $CPPFLAGS'
26131 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26132 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26133 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26137 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26138 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26139 if test "$ac_cv_cxx_const_cast" = yes; then
26141 cat >>confdefs.h
<<\_ACEOF
26142 #define HAVE_CONST_CAST
26147 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26148 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26149 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26150 echo $ECHO_N "(cached) $ECHO_C" >&6
26154 ac_cpp
='$CXXCPP $CPPFLAGS'
26155 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26156 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26157 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26159 cat >conftest.
$ac_ext <<_ACEOF
26162 cat confdefs.h
>>conftest.
$ac_ext
26163 cat >>conftest.
$ac_ext <<_ACEOF
26164 /* end confdefs.h. */
26165 #include <typeinfo>
26166 class Base { public : Base () {} virtual void f () = 0;};
26167 class Derived : public Base { public : Derived () {} virtual void f () {} };
26168 class Unrelated { public : Unrelated () {} };
26169 int g (Unrelated&) { return 0; }
26174 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26179 rm -f conftest.
$ac_objext
26180 if { (ac_try
="$ac_compile"
26181 case "(($ac_try" in
26182 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26183 *) ac_try_echo=$ac_try;;
26185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26186 (eval "$ac_compile") 2>conftest.er1
26188 grep -v '^ *+' conftest.er1 >conftest.err
26190 cat conftest.err >&5
26191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26192 (exit $ac_status); } &&
26193 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26194 { (case "(($ac_try" in
26195 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26196 *) ac_try_echo
=$ac_try;;
26198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26199 (eval "$ac_try") 2>&5
26201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26202 (exit $ac_status); }; } &&
26203 { ac_try
='test -s conftest.$ac_objext'
26204 { (case "(($ac_try" in
26205 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26206 *) ac_try_echo=$ac_try;;
26208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26209 (eval "$ac_try") 2>&5
26211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26212 (exit $ac_status); }; }; then
26213 ac_cv_cxx_reinterpret_cast=yes
26215 echo "$as_me: failed program was:" >&5
26216 sed 's/^/| /' conftest.$ac_ext >&5
26218 ac_cv_cxx_reinterpret_cast=no
26221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26223 ac_cpp='$CPP $CPPFLAGS'
26224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26230 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26231 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26232 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26234 cat >>confdefs.h <<\_ACEOF
26235 #define HAVE_REINTERPRET_CAST
26240 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26241 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26242 if test "${ac_cv_cxx_static_cast+set}" = set; then
26243 echo $ECHO_N "(cached) $ECHO_C" >&6
26247 ac_cpp='$CXXCPP $CPPFLAGS'
26248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26252 cat >conftest.$ac_ext <<_ACEOF
26255 cat confdefs.h >>conftest.$ac_ext
26256 cat >>conftest.$ac_ext <<_ACEOF
26257 /* end confdefs.h. */
26258 #include <typeinfo>
26259 class Base { public : Base () {} virtual void f () = 0; };
26260 class Derived : public Base { public : Derived () {} virtual void f () {} };
26261 int g (Derived&) { return 0; }
26266 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26271 rm -f conftest.$ac_objext
26272 if { (ac_try="$ac_compile"
26273 case "(($ac_try" in
26274 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26275 *) ac_try_echo
=$ac_try;;
26277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26278 (eval "$ac_compile") 2>conftest.er1
26280 grep -v '^ *+' conftest.er1
>conftest.err
26282 cat conftest.err
>&5
26283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26284 (exit $ac_status); } &&
26285 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26286 { (case "(($ac_try" in
26287 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26288 *) ac_try_echo=$ac_try;;
26290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26291 (eval "$ac_try") 2>&5
26293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26294 (exit $ac_status); }; } &&
26295 { ac_try='test -s conftest.$ac_objext'
26296 { (case "(($ac_try" in
26297 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26298 *) ac_try_echo
=$ac_try;;
26300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26301 (eval "$ac_try") 2>&5
26303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26304 (exit $ac_status); }; }; then
26305 ac_cv_cxx_static_cast
=yes
26307 echo "$as_me: failed program was:" >&5
26308 sed 's/^/| /' conftest.
$ac_ext >&5
26310 ac_cv_cxx_static_cast
=no
26313 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26315 ac_cpp
='$CPP $CPPFLAGS'
26316 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26317 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26318 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26322 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26323 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26324 if test "$ac_cv_cxx_static_cast" = yes; then
26326 cat >>confdefs.h
<<\_ACEOF
26327 #define HAVE_STATIC_CAST
26333 if test "x$SUNCXX" = xyes
; then
26334 CXXFLAGS
="-features=tmplife $CXXFLAGS"
26337 if test "x$SUNCC" = xyes
; then
26338 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26341 if test "x$SGICC" = "xyes"; then
26342 CFLAGS
="-woff 3970 $CFLAGS"
26344 if test "x$SGICXX" = "xyes"; then
26345 CXXFLAGS
="-woff 3970 $CXXFLAGS"
26348 if test "x$HPCC" = "xyes"; then
26349 CFLAGS
="+W 2011,2450 $CFLAGS"
26351 if test "x$HPCXX" = "xyes"; then
26352 CXXFLAGS
="+W 2340 $CXXFLAGS"
26355 if test "x$COMPAQCXX" = "xyes"; then
26356 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26360 ac_cpp
='$CXXCPP $CPPFLAGS'
26361 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26362 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26363 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26366 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26367 if test "$wxUSE_UNICODE" = "yes"; then
26368 std_string
="std::wstring"
26369 char_type
="wchar_t"
26371 std_string
="std::string"
26375 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26376 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26377 if test "${wx_cv_class_stdstring+set}" = set; then
26378 echo $ECHO_N "(cached) $ECHO_C" >&6
26381 cat >conftest.
$ac_ext <<_ACEOF
26384 cat confdefs.h
>>conftest.
$ac_ext
26385 cat >>conftest.
$ac_ext <<_ACEOF
26386 /* end confdefs.h. */
26396 rm -f conftest.
$ac_objext
26397 if { (ac_try
="$ac_compile"
26398 case "(($ac_try" in
26399 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26400 *) ac_try_echo=$ac_try;;
26402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26403 (eval "$ac_compile") 2>conftest.er1
26405 grep -v '^ *+' conftest.er1 >conftest.err
26407 cat conftest.err >&5
26408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26409 (exit $ac_status); } &&
26410 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26411 { (case "(($ac_try" in
26412 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26413 *) ac_try_echo
=$ac_try;;
26415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26416 (eval "$ac_try") 2>&5
26418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26419 (exit $ac_status); }; } &&
26420 { ac_try
='test -s conftest.$ac_objext'
26421 { (case "(($ac_try" in
26422 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26423 *) ac_try_echo=$ac_try;;
26425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26426 (eval "$ac_try") 2>&5
26428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26429 (exit $ac_status); }; }; then
26430 wx_cv_class_stdstring=yes
26432 echo "$as_me: failed program was:" >&5
26433 sed 's/^/| /' conftest.$ac_ext >&5
26435 wx_cv_class_stdstring=no
26439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26443 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26444 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26446 if test "$wx_cv_class_stdstring" = yes; then
26447 if test "$wxUSE_UNICODE" = "yes"; then
26448 cat >>confdefs.h <<\_ACEOF
26449 #define HAVE_STD_WSTRING 1
26454 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26455 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26456 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26457 echo $ECHO_N "(cached) $ECHO_C" >&6
26460 cat >conftest.$ac_ext <<_ACEOF
26463 cat confdefs.h >>conftest.$ac_ext
26464 cat >>conftest.$ac_ext <<_ACEOF
26465 /* end confdefs.h. */
26467 #ifdef HAVE_WCHAR_H
26469 # include <stddef.h>
26471 # include <wchar.h>
26473 #ifdef HAVE_STDLIB_H
26474 # include <stdlib.h>
26482 std::basic_string<$char_type> foo;
26483 const $char_type* dummy = foo.c_str();
26488 rm -f conftest.$ac_objext
26489 if { (ac_try="$ac_compile"
26490 case "(($ac_try" in
26491 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26492 *) ac_try_echo
=$ac_try;;
26494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26495 (eval "$ac_compile") 2>conftest.er1
26497 grep -v '^ *+' conftest.er1
>conftest.err
26499 cat conftest.err
>&5
26500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26501 (exit $ac_status); } &&
26502 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26503 { (case "(($ac_try" in
26504 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26505 *) ac_try_echo=$ac_try;;
26507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26508 (eval "$ac_try") 2>&5
26510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26511 (exit $ac_status); }; } &&
26512 { ac_try='test -s conftest.$ac_objext'
26513 { (case "(($ac_try" in
26514 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26515 *) ac_try_echo
=$ac_try;;
26517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26518 (eval "$ac_try") 2>&5
26520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26521 (exit $ac_status); }; }; then
26522 wx_cv_class_stdbasicstring
=yes
26524 echo "$as_me: failed program was:" >&5
26525 sed 's/^/| /' conftest.
$ac_ext >&5
26527 wx_cv_class_stdbasicstring
=no
26531 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26535 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26536 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26538 if test "$wx_cv_class_stdbasicstring" != yes; then
26539 if test "$wxUSE_STL" = "yes"; then
26540 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
26541 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26542 { (exit 1); exit 1; }; }
26543 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
26544 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
26545 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26546 { (exit 1); exit 1; }; }
26548 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26549 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26550 wxUSE_STD_STRING
=no
26556 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26557 { echo "$as_me:$LINENO: checking for std::istream" >&5
26558 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
26559 if test "${ac_cv_type_std__istream+set}" = set; then
26560 echo $ECHO_N "(cached) $ECHO_C" >&6
26562 cat >conftest.
$ac_ext <<_ACEOF
26565 cat confdefs.h
>>conftest.
$ac_ext
26566 cat >>conftest.
$ac_ext <<_ACEOF
26567 /* end confdefs.h. */
26568 #include <iostream>
26570 typedef std::istream ac__type_new_;
26574 if ((ac__type_new_ *) 0)
26576 if (sizeof (ac__type_new_))
26582 rm -f conftest.
$ac_objext
26583 if { (ac_try
="$ac_compile"
26584 case "(($ac_try" in
26585 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26586 *) ac_try_echo=$ac_try;;
26588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26589 (eval "$ac_compile") 2>conftest.er1
26591 grep -v '^ *+' conftest.er1 >conftest.err
26593 cat conftest.err >&5
26594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26595 (exit $ac_status); } &&
26596 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26597 { (case "(($ac_try" in
26598 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26599 *) ac_try_echo
=$ac_try;;
26601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26602 (eval "$ac_try") 2>&5
26604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26605 (exit $ac_status); }; } &&
26606 { ac_try
='test -s conftest.$ac_objext'
26607 { (case "(($ac_try" in
26608 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26609 *) ac_try_echo=$ac_try;;
26611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26612 (eval "$ac_try") 2>&5
26614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26615 (exit $ac_status); }; }; then
26616 ac_cv_type_std__istream=yes
26618 echo "$as_me: failed program was:" >&5
26619 sed 's/^/| /' conftest.$ac_ext >&5
26621 ac_cv_type_std__istream=no
26624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26626 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26627 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
26628 if test $ac_cv_type_std__istream = yes; then
26630 cat >>confdefs.h <<_ACEOF
26631 #define HAVE_STD__ISTREAM 1
26636 wxUSE_STD_IOSTREAM=no
26638 { echo "$as_me:$LINENO: checking for std::ostream" >&5
26639 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
26640 if test "${ac_cv_type_std__ostream+set}" = set; then
26641 echo $ECHO_N "(cached) $ECHO_C" >&6
26643 cat >conftest.$ac_ext <<_ACEOF
26646 cat confdefs.h >>conftest.$ac_ext
26647 cat >>conftest.$ac_ext <<_ACEOF
26648 /* end confdefs.h. */
26649 #include <iostream>
26651 typedef std::ostream ac__type_new_;
26655 if ((ac__type_new_ *) 0)
26657 if (sizeof (ac__type_new_))
26663 rm -f conftest.$ac_objext
26664 if { (ac_try="$ac_compile"
26665 case "(($ac_try" in
26666 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26667 *) ac_try_echo
=$ac_try;;
26669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26670 (eval "$ac_compile") 2>conftest.er1
26672 grep -v '^ *+' conftest.er1
>conftest.err
26674 cat conftest.err
>&5
26675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26676 (exit $ac_status); } &&
26677 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26678 { (case "(($ac_try" in
26679 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26680 *) ac_try_echo=$ac_try;;
26682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26683 (eval "$ac_try") 2>&5
26685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26686 (exit $ac_status); }; } &&
26687 { ac_try='test -s conftest.$ac_objext'
26688 { (case "(($ac_try" in
26689 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26690 *) ac_try_echo
=$ac_try;;
26692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26693 (eval "$ac_try") 2>&5
26695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26696 (exit $ac_status); }; }; then
26697 ac_cv_type_std__ostream
=yes
26699 echo "$as_me: failed program was:" >&5
26700 sed 's/^/| /' conftest.
$ac_ext >&5
26702 ac_cv_type_std__ostream
=no
26705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26707 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26708 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26709 if test $ac_cv_type_std__ostream = yes; then
26711 cat >>confdefs.h
<<_ACEOF
26712 #define HAVE_STD__OSTREAM 1
26717 wxUSE_STD_IOSTREAM
=no
26721 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26722 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
26723 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
26724 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26725 { (exit 1); exit 1; }; }
26727 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26728 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26733 if test "$wxUSE_STL" = "yes"; then
26734 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26735 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26736 if test "${wx_cv_lib_stl+set}" = set; then
26737 echo $ECHO_N "(cached) $ECHO_C" >&6
26739 cat >conftest.
$ac_ext <<_ACEOF
26742 cat confdefs.h
>>conftest.
$ac_ext
26743 cat >>conftest.
$ac_ext <<_ACEOF
26744 /* end confdefs.h. */
26746 #include <functional>
26747 #include <algorithm>
26753 std::vector<int> moo;
26754 std::list<int> foo;
26755 std::vector<int>::iterator it =
26756 std::find_if(moo.begin(), moo.end(),
26757 std::bind2nd(std::less<int>(), 3));
26762 rm -f conftest.
$ac_objext
26763 if { (ac_try
="$ac_compile"
26764 case "(($ac_try" in
26765 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26766 *) ac_try_echo=$ac_try;;
26768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26769 (eval "$ac_compile") 2>conftest.er1
26771 grep -v '^ *+' conftest.er1 >conftest.err
26773 cat conftest.err >&5
26774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26775 (exit $ac_status); } &&
26776 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26777 { (case "(($ac_try" in
26778 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26779 *) ac_try_echo
=$ac_try;;
26781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26782 (eval "$ac_try") 2>&5
26784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26785 (exit $ac_status); }; } &&
26786 { ac_try
='test -s conftest.$ac_objext'
26787 { (case "(($ac_try" in
26788 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26789 *) ac_try_echo=$ac_try;;
26791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26792 (eval "$ac_try") 2>&5
26794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26795 (exit $ac_status); }; }; then
26798 echo "$as_me: failed program was:" >&5
26799 sed 's/^/| /' conftest.$ac_ext >&5
26805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26808 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26809 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26811 if test "$wx_cv_lib_stl" != yes; then
26812 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
26813 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
26814 { (exit 1); exit 1; }; }
26817 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26818 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26819 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26820 echo $ECHO_N "(cached) $ECHO_C" >&6
26822 cat >conftest.$ac_ext <<_ACEOF
26825 cat confdefs.h >>conftest.$ac_ext
26826 cat >>conftest.$ac_ext <<_ACEOF
26827 /* end confdefs.h. */
26832 std::string foo, bar;
26834 foo.compare(1, 1, bar);
26835 foo.compare(1, 1, bar, 1, 1);
26837 foo.compare(1, 1, "");
26838 foo.compare(1, 1, "", 2);
26843 rm -f conftest.$ac_objext
26844 if { (ac_try="$ac_compile"
26845 case "(($ac_try" in
26846 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26847 *) ac_try_echo
=$ac_try;;
26849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26850 (eval "$ac_compile") 2>conftest.er1
26852 grep -v '^ *+' conftest.er1
>conftest.err
26854 cat conftest.err
>&5
26855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26856 (exit $ac_status); } &&
26857 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26858 { (case "(($ac_try" in
26859 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26860 *) ac_try_echo=$ac_try;;
26862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26863 (eval "$ac_try") 2>&5
26865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26866 (exit $ac_status); }; } &&
26867 { ac_try='test -s conftest.$ac_objext'
26868 { (case "(($ac_try" in
26869 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26870 *) ac_try_echo
=$ac_try;;
26872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26873 (eval "$ac_try") 2>&5
26875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26876 (exit $ac_status); }; }; then
26877 wx_cv_func_stdstring_compare
=yes
26879 echo "$as_me: failed program was:" >&5
26880 sed 's/^/| /' conftest.
$ac_ext >&5
26882 wx_cv_func_stdstring_compare
=no
26886 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26889 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26890 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26892 if test "$wx_cv_func_stdstring_compare" = yes; then
26893 cat >>confdefs.h
<<\_ACEOF
26894 #define HAVE_STD_STRING_COMPARE 1
26899 if test "${ac_cv_header_hash_map+set}" = set; then
26900 { echo "$as_me:$LINENO: checking for hash_map" >&5
26901 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26902 if test "${ac_cv_header_hash_map+set}" = set; then
26903 echo $ECHO_N "(cached) $ECHO_C" >&6
26905 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26906 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26908 # Is the header compilable?
26909 { echo "$as_me:$LINENO: checking hash_map usability" >&5
26910 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6; }
26911 cat >conftest.
$ac_ext <<_ACEOF
26914 cat confdefs.h
>>conftest.
$ac_ext
26915 cat >>conftest.
$ac_ext <<_ACEOF
26916 /* end confdefs.h. */
26917 $ac_includes_default
26918 #include <hash_map>
26920 rm -f conftest.
$ac_objext
26921 if { (ac_try
="$ac_compile"
26922 case "(($ac_try" in
26923 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26924 *) ac_try_echo=$ac_try;;
26926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26927 (eval "$ac_compile") 2>conftest.er1
26929 grep -v '^ *+' conftest.er1 >conftest.err
26931 cat conftest.err >&5
26932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26933 (exit $ac_status); } &&
26934 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26935 { (case "(($ac_try" in
26936 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26937 *) ac_try_echo
=$ac_try;;
26939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26940 (eval "$ac_try") 2>&5
26942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26943 (exit $ac_status); }; } &&
26944 { ac_try
='test -s conftest.$ac_objext'
26945 { (case "(($ac_try" in
26946 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26947 *) ac_try_echo=$ac_try;;
26949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26950 (eval "$ac_try") 2>&5
26952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26953 (exit $ac_status); }; }; then
26954 ac_header_compiler=yes
26956 echo "$as_me: failed program was:" >&5
26957 sed 's/^/| /' conftest.$ac_ext >&5
26959 ac_header_compiler=no
26962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26963 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26964 echo "${ECHO_T}$ac_header_compiler" >&6; }
26966 # Is the header present?
26967 { echo "$as_me:$LINENO: checking hash_map presence" >&5
26968 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6; }
26969 cat >conftest.$ac_ext <<_ACEOF
26972 cat confdefs.h >>conftest.$ac_ext
26973 cat >>conftest.$ac_ext <<_ACEOF
26974 /* end confdefs.h. */
26975 #include <hash_map>
26977 if { (ac_try="$ac_cpp conftest.$ac_ext"
26978 case "(($ac_try" in
26979 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26980 *) ac_try_echo
=$ac_try;;
26982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26983 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26985 grep -v '^ *+' conftest.er1
>conftest.err
26987 cat conftest.err
>&5
26988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26989 (exit $ac_status); } >/dev
/null
; then
26990 if test -s conftest.err
; then
26991 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26992 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26999 if test -z "$ac_cpp_err"; then
27000 ac_header_preproc
=yes
27002 echo "$as_me: failed program was:" >&5
27003 sed 's/^/| /' conftest.
$ac_ext >&5
27005 ac_header_preproc
=no
27008 rm -f conftest.err conftest.
$ac_ext
27009 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27010 echo "${ECHO_T}$ac_header_preproc" >&6; }
27012 # So? What about this header?
27013 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27015 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
27016 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
27017 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
27018 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
27019 ac_header_preproc
=yes
27022 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
27023 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
27024 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
27025 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
27026 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
27027 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
27028 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
27029 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
27030 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
27031 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
27032 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
27033 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
27035 ## ----------------------------------------- ##
27036 ## Report this to wx-dev@lists.wxwidgets.org ##
27037 ## ----------------------------------------- ##
27039 ) | sed "s/^/$as_me: WARNING: /" >&2
27042 { echo "$as_me:$LINENO: checking for hash_map" >&5
27043 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27044 if test "${ac_cv_header_hash_map+set}" = set; then
27045 echo $ECHO_N "(cached) $ECHO_C" >&6
27047 ac_cv_header_hash_map
=$ac_header_preproc
27049 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27050 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27053 if test $ac_cv_header_hash_map = yes; then
27054 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27055 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27056 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27057 echo $ECHO_N "(cached) $ECHO_C" >&6
27059 cat >conftest.
$ac_ext <<_ACEOF
27062 cat confdefs.h
>>conftest.
$ac_ext
27063 cat >>conftest.
$ac_ext <<_ACEOF
27064 /* end confdefs.h. */
27065 #include <hash_map>
27066 #include <hash_set>
27070 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27071 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27076 rm -f conftest.
$ac_objext
27077 if { (ac_try
="$ac_compile"
27078 case "(($ac_try" in
27079 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27080 *) ac_try_echo=$ac_try;;
27082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27083 (eval "$ac_compile") 2>conftest.er1
27085 grep -v '^ *+' conftest.er1 >conftest.err
27087 cat conftest.err >&5
27088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27089 (exit $ac_status); } &&
27090 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27091 { (case "(($ac_try" in
27092 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27093 *) ac_try_echo
=$ac_try;;
27095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27096 (eval "$ac_try") 2>&5
27098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27099 (exit $ac_status); }; } &&
27100 { ac_try
='test -s conftest.$ac_objext'
27101 { (case "(($ac_try" in
27102 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27103 *) ac_try_echo=$ac_try;;
27105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27106 (eval "$ac_try") 2>&5
27108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27109 (exit $ac_status); }; }; then
27110 wx_cv_class_stdhashmapset=yes
27112 echo "$as_me: failed program was:" >&5
27113 sed 's/^/| /' conftest.$ac_ext >&5
27115 wx_cv_class_stdhashmapset=no
27118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27122 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27123 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27129 if test "$wx_cv_class_stdhashmapset" = yes; then
27130 cat >>confdefs.h <<\_ACEOF
27131 #define HAVE_HASH_MAP 1
27134 cat >>confdefs.h <<\_ACEOF
27135 #define HAVE_STD_HASH_MAP 1
27140 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27141 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27142 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27143 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27144 echo $ECHO_N "(cached) $ECHO_C" >&6
27146 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27147 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27149 # Is the header compilable?
27150 { echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
27151 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6; }
27152 cat >conftest.$ac_ext <<_ACEOF
27155 cat confdefs.h >>conftest.$ac_ext
27156 cat >>conftest.$ac_ext <<_ACEOF
27157 /* end confdefs.h. */
27158 $ac_includes_default
27159 #include <ext/hash_map>
27161 rm -f conftest.$ac_objext
27162 if { (ac_try="$ac_compile"
27163 case "(($ac_try" in
27164 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27165 *) ac_try_echo
=$ac_try;;
27167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27168 (eval "$ac_compile") 2>conftest.er1
27170 grep -v '^ *+' conftest.er1
>conftest.err
27172 cat conftest.err
>&5
27173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27174 (exit $ac_status); } &&
27175 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27176 { (case "(($ac_try" in
27177 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27178 *) ac_try_echo=$ac_try;;
27180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27181 (eval "$ac_try") 2>&5
27183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27184 (exit $ac_status); }; } &&
27185 { ac_try='test -s conftest.$ac_objext'
27186 { (case "(($ac_try" in
27187 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27188 *) ac_try_echo
=$ac_try;;
27190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27191 (eval "$ac_try") 2>&5
27193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27194 (exit $ac_status); }; }; then
27195 ac_header_compiler
=yes
27197 echo "$as_me: failed program was:" >&5
27198 sed 's/^/| /' conftest.
$ac_ext >&5
27200 ac_header_compiler
=no
27203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27204 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27205 echo "${ECHO_T}$ac_header_compiler" >&6; }
27207 # Is the header present?
27208 { echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
27209 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6; }
27210 cat >conftest.
$ac_ext <<_ACEOF
27213 cat confdefs.h
>>conftest.
$ac_ext
27214 cat >>conftest.
$ac_ext <<_ACEOF
27215 /* end confdefs.h. */
27216 #include <ext/hash_map>
27218 if { (ac_try
="$ac_cpp conftest.$ac_ext"
27219 case "(($ac_try" in
27220 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27221 *) ac_try_echo=$ac_try;;
27223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27224 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27226 grep -v '^ *+' conftest.er1 >conftest.err
27228 cat conftest.err >&5
27229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27230 (exit $ac_status); } >/dev/null; then
27231 if test -s conftest.err; then
27232 ac_cpp_err=$ac_cxx_preproc_warn_flag
27233 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27240 if test -z "$ac_cpp_err"; then
27241 ac_header_preproc=yes
27243 echo "$as_me: failed program was:" >&5
27244 sed 's/^/| /' conftest.$ac_ext >&5
27246 ac_header_preproc=no
27249 rm -f conftest.err conftest.$ac_ext
27250 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27251 echo "${ECHO_T}$ac_header_preproc" >&6; }
27253 # So? What about this header?
27254 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27256 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
27257 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
27258 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
27259 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
27260 ac_header_preproc=yes
27263 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
27264 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
27265 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
27266 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
27267 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
27268 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
27269 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
27270 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
27271 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
27272 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
27273 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
27274 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
27276 ## ----------------------------------------- ##
27277 ## Report this to wx-dev@lists.wxwidgets.org ##
27278 ## ----------------------------------------- ##
27280 ) | sed "s/^/$as_me: WARNING: /" >&2
27283 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27284 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27285 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27286 echo $ECHO_N "(cached) $ECHO_C" >&6
27288 ac_cv_header_ext_hash_map=$ac_header_preproc
27290 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27291 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27294 if test $ac_cv_header_ext_hash_map = yes; then
27295 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27296 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27297 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27298 echo $ECHO_N "(cached) $ECHO_C" >&6
27300 cat >conftest.$ac_ext <<_ACEOF
27303 cat confdefs.h >>conftest.$ac_ext
27304 cat >>conftest.$ac_ext <<_ACEOF
27305 /* end confdefs.h. */
27306 #include <ext/hash_map>
27307 #include <ext/hash_set>
27311 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27312 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27317 rm -f conftest.$ac_objext
27318 if { (ac_try="$ac_compile"
27319 case "(($ac_try" in
27320 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27321 *) ac_try_echo
=$ac_try;;
27323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27324 (eval "$ac_compile") 2>conftest.er1
27326 grep -v '^ *+' conftest.er1
>conftest.err
27328 cat conftest.err
>&5
27329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27330 (exit $ac_status); } &&
27331 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27332 { (case "(($ac_try" in
27333 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27334 *) ac_try_echo=$ac_try;;
27336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27337 (eval "$ac_try") 2>&5
27339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27340 (exit $ac_status); }; } &&
27341 { ac_try='test -s conftest.$ac_objext'
27342 { (case "(($ac_try" in
27343 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27344 *) ac_try_echo
=$ac_try;;
27346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27347 (eval "$ac_try") 2>&5
27349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27350 (exit $ac_status); }; }; then
27351 wx_cv_class_gnuhashmapset
=yes
27353 echo "$as_me: failed program was:" >&5
27354 sed 's/^/| /' conftest.
$ac_ext >&5
27356 wx_cv_class_gnuhashmapset
=no
27359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27363 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27364 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27370 if test "$wx_cv_class_gnuhashmapset" = yes; then
27371 cat >>confdefs.h
<<\_ACEOF
27372 #define HAVE_EXT_HASH_MAP 1
27375 cat >>confdefs.h
<<\_ACEOF
27376 #define HAVE_GNU_CXX_HASH_MAP 1
27383 ac_cpp
='$CPP $CPPFLAGS'
27384 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27385 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27386 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27391 /usr/local/include \
27393 /usr/Motif-2.1/include \
27394 /usr/Motif-1.2/include \
27395 /usr/include/Motif1.2 \
27398 /usr/openwin/include \
27402 /usr/X11R6/include \
27403 /usr/X11R6.4/include \
27404 /usr/X11R5/include \
27405 /usr/X11R4/include \
27407 /usr/include/X11R6 \
27408 /usr/include/X11R5 \
27409 /usr/include/X11R4 \
27411 /usr/local/X11R6/include \
27412 /usr/local/X11R5/include \
27413 /usr/local/X11R4/include \
27415 /usr/local/include/X11R6 \
27416 /usr/local/include/X11R5 \
27417 /usr/local/include/X11R4 \
27421 /usr/local/X11/include \
27422 /usr/local/include/X11 \
27424 /usr/XFree86/include/X11 \
27427 /usr/openwin/share/include"
27429 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27430 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27434 if test "${wx_cv_std_libpath+set}" = set; then
27435 echo $ECHO_N "(cached) $ECHO_C" >&6
27438 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
27439 for e
in a so sl dylib dll.a
; do
27441 if test -f $libc; then
27444 cat >conftest.
$ac_ext <<_ACEOF
27445 int main() { return 0; }
27447 rm -f conftest.
$ac_objext conftest
$ac_exeext
27448 if { (ac_try
="$ac_link"
27449 case "(($ac_try" in
27450 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27451 *) ac_try_echo=$ac_try;;
27453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27454 (eval "$ac_link") 2>conftest.er1
27456 grep -v '^ *+' conftest.er1 >conftest.err
27458 cat conftest.err >&5
27459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27460 (exit $ac_status); } &&
27461 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27462 { (case "(($ac_try" in
27463 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27464 *) ac_try_echo
=$ac_try;;
27466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27467 (eval "$ac_try") 2>&5
27469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27470 (exit $ac_status); }; } &&
27471 { ac_try
='test -s conftest$ac_exeext'
27472 { (case "(($ac_try" in
27473 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27474 *) ac_try_echo=$ac_try;;
27476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27477 (eval "$ac_try") 2>&5
27479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27480 (exit $ac_status); }; }; then
27481 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
27483 echo "$as_me: failed program was:" >&5
27484 sed 's/^/| /' conftest.$ac_ext >&5
27489 rm -f core conftest.err conftest.$ac_objext \
27490 conftest$ac_exeext conftest.$ac_ext
27492 if test "x$wx_cv_std_libpath" != "x"; then
27498 if test "x$wx_cv_std_libpath" = "x"; then
27499 wx_cv_std_libpath="lib"
27508 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27509 wx_cv_std_libpath="lib/64"
27511 wx_cv_std_libpath="lib"
27516 if test "$ac_cv_sizeof_void_p" = 8 -a \
27517 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27518 wx_cv_std_libpath="lib64"
27520 wx_cv_std_libpath="lib"
27525 wx_cv_std_libpath="lib";
27529 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27530 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27532 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
27534 if test "$build" != "$host" -a "$GCC" = yes; then
27535 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
27536 cross_root=`dirname $cross_root`
27537 cross_root=`dirname $cross_root`
27539 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27540 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27541 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27543 if test -z "$PKG_CONFIG_PATH"; then
27544 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27545 export PKG_CONFIG_PATH
27548 if test -z "$x_includes" -o "$x_includes" = NONE; then
27551 for ac_dir in $SEARCH_INCLUDE /usr/include;
27553 if test -f "$ac_dir/X11/Intrinsic.h"; then
27554 ac_find_includes=$ac_dir
27559 x_includes=$ac_find_includes
27561 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27564 for ac_dir in $SEARCH_LIB;
27566 for ac_extension in a so sl dylib dll.a; do
27567 if test -f "$ac_dir/libXt.$ac_extension"; then
27568 ac_find_libraries=$ac_dir
27574 x_libraries=$ac_find_libraries
27580 cat >confcache <<\_ACEOF
27581 # This file is a shell script that caches the results of configure
27582 # tests run on this system so they can be shared between configure
27583 # scripts and configure runs, see configure's option --config-cache.
27584 # It is not useful on other systems. If it contains results you don't
27585 # want to keep, you may remove or edit it.
27587 # config.status only pays attention to the cache file if you give it
27588 # the --recheck option to rerun configure.
27590 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
27591 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27592 # following values.
27596 # The following way of writing the cache mishandles newlines in values,
27597 # but we know of no workaround that is simple, portable, and efficient.
27598 # So, we kill variables containing newlines.
27599 # Ultrix sh set writes to stderr and can't be redirected directly,
27600 # and sets the high bit in the cache file unless we assign to the vars.
27602 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27603 eval ac_val
=\$
$ac_var
27607 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27608 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27611 _
| IFS
| as_nl
) ;; #(
27612 *) $as_unset $ac_var ;;
27618 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27619 *${as_nl}ac_space
=\
*)
27620 # `set' does not quote correctly, so add quotes (double-quote
27621 # substitution turns \\\\ into \\, and sed turns \\ into \).
27624 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27627 # `set' quotes correctly as required by POSIX, so do not add quotes.
27628 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27637 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27639 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27641 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27642 if test -w "$cache_file"; then
27643 test "x$cache_file" != "x/dev/null" &&
27644 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27645 echo "$as_me: updating cache $cache_file" >&6;}
27646 cat confcache
>$cache_file
27648 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27649 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27654 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27655 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27656 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27657 if test "${wx_cv_lib_glibc21+set}" = set; then
27658 echo $ECHO_N "(cached) $ECHO_C" >&6
27661 cat >conftest.
$ac_ext <<_ACEOF
27664 cat confdefs.h
>>conftest.
$ac_ext
27665 cat >>conftest.
$ac_ext <<_ACEOF
27666 /* end confdefs.h. */
27667 #include <features.h>
27672 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27680 rm -f conftest.
$ac_objext
27681 if { (ac_try
="$ac_compile"
27682 case "(($ac_try" in
27683 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27684 *) ac_try_echo=$ac_try;;
27686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27687 (eval "$ac_compile") 2>conftest.er1
27689 grep -v '^ *+' conftest.er1 >conftest.err
27691 cat conftest.err >&5
27692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27693 (exit $ac_status); } &&
27694 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27695 { (case "(($ac_try" in
27696 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27697 *) ac_try_echo
=$ac_try;;
27699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27700 (eval "$ac_try") 2>&5
27702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27703 (exit $ac_status); }; } &&
27704 { ac_try
='test -s conftest.$ac_objext'
27705 { (case "(($ac_try" in
27706 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27707 *) ac_try_echo=$ac_try;;
27709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27710 (eval "$ac_try") 2>&5
27712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27713 (exit $ac_status); }; }; then
27715 wx_cv_lib_glibc21=yes
27718 echo "$as_me: failed program was:" >&5
27719 sed 's/^/| /' conftest.$ac_ext >&5
27722 wx_cv_lib_glibc21=no
27727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27730 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27731 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27732 if test "$wx_cv_lib_glibc21" = "yes"; then
27733 cat >>confdefs.h <<\_ACEOF
27734 #define wxHAVE_GLIBC2 1
27740 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27741 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27742 cat >>confdefs.h <<\_ACEOF
27743 #define _GNU_SOURCE 1
27754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27755 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27757 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27758 echo $ECHO_N "(cached) $ECHO_C" >&6
27760 cat >conftest.$ac_ext <<_ACEOF
27763 cat confdefs.h >>conftest.$ac_ext
27764 cat >>conftest.$ac_ext <<_ACEOF
27765 /* end confdefs.h. */
27766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27768 #define $ac_func innocuous_$ac_func
27770 /* System header to define __stub macros and hopefully few prototypes,
27771 which can conflict with char $ac_func (); below.
27772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27773 <limits.h> exists even on freestanding compilers. */
27776 # include <limits.h>
27778 # include <assert.h>
27783 /* Override any GCC internal prototype to avoid an error.
27784 Use char because int might match the return type of a GCC
27785 builtin and then its argument prototype would still apply. */
27790 /* The GNU C library defines this for functions which it implements
27791 to always fail with ENOSYS. Some functions are actually named
27792 something starting with __ and the normal name is an alias. */
27793 #if defined __stub_$ac_func || defined __stub___$ac_func
27800 return $ac_func ();
27805 rm -f conftest.$ac_objext conftest$ac_exeext
27806 if { (ac_try="$ac_link"
27807 case "(($ac_try" in
27808 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27809 *) ac_try_echo
=$ac_try;;
27811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27812 (eval "$ac_link") 2>conftest.er1
27814 grep -v '^ *+' conftest.er1
>conftest.err
27816 cat conftest.err
>&5
27817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27818 (exit $ac_status); } &&
27819 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27820 { (case "(($ac_try" in
27821 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27822 *) ac_try_echo=$ac_try;;
27824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27825 (eval "$ac_try") 2>&5
27827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27828 (exit $ac_status); }; } &&
27829 { ac_try='test -s conftest$ac_exeext'
27830 { (case "(($ac_try" in
27831 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27832 *) ac_try_echo
=$ac_try;;
27834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27835 (eval "$ac_try") 2>&5
27837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27838 (exit $ac_status); }; }; then
27839 eval "$as_ac_var=yes"
27841 echo "$as_me: failed program was:" >&5
27842 sed 's/^/| /' conftest.
$ac_ext >&5
27844 eval "$as_ac_var=no"
27847 rm -f core conftest.err conftest.
$ac_objext \
27848 conftest
$ac_exeext conftest.
$ac_ext
27850 ac_res
=`eval echo '${'$as_ac_var'}'`
27851 { echo "$as_me:$LINENO: result: $ac_res" >&5
27852 echo "${ECHO_T}$ac_res" >&6; }
27853 if test `eval echo '${'$as_ac_var'}'` = yes; then
27854 cat >>confdefs.h
<<_ACEOF
27855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27862 for ac_func
in floor
27864 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27865 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27867 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27868 echo $ECHO_N "(cached) $ECHO_C" >&6
27870 cat >conftest.
$ac_ext <<_ACEOF
27873 cat confdefs.h
>>conftest.
$ac_ext
27874 cat >>conftest.
$ac_ext <<_ACEOF
27875 /* end confdefs.h. */
27876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27878 #define $ac_func innocuous_$ac_func
27880 /* System header to define __stub macros and hopefully few prototypes,
27881 which can conflict with char $ac_func (); below.
27882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27883 <limits.h> exists even on freestanding compilers. */
27886 # include <limits.h>
27888 # include <assert.h>
27893 /* Override any GCC internal prototype to avoid an error.
27894 Use char because int might match the return type of a GCC
27895 builtin and then its argument prototype would still apply. */
27900 /* The GNU C library defines this for functions which it implements
27901 to always fail with ENOSYS. Some functions are actually named
27902 something starting with __ and the normal name is an alias. */
27903 #if defined __stub_$ac_func || defined __stub___$ac_func
27910 return $ac_func ();
27915 rm -f conftest.
$ac_objext conftest
$ac_exeext
27916 if { (ac_try
="$ac_link"
27917 case "(($ac_try" in
27918 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27919 *) ac_try_echo=$ac_try;;
27921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27922 (eval "$ac_link") 2>conftest.er1
27924 grep -v '^ *+' conftest.er1 >conftest.err
27926 cat conftest.err >&5
27927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27928 (exit $ac_status); } &&
27929 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27930 { (case "(($ac_try" in
27931 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27932 *) ac_try_echo
=$ac_try;;
27934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27935 (eval "$ac_try") 2>&5
27937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27938 (exit $ac_status); }; } &&
27939 { ac_try
='test -s conftest$ac_exeext'
27940 { (case "(($ac_try" in
27941 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27942 *) ac_try_echo=$ac_try;;
27944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27945 (eval "$ac_try") 2>&5
27947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27948 (exit $ac_status); }; }; then
27949 eval "$as_ac_var=yes"
27951 echo "$as_me: failed program was:" >&5
27952 sed 's/^/| /' conftest.$ac_ext >&5
27954 eval "$as_ac_var=no"
27957 rm -f core conftest.err conftest.$ac_objext \
27958 conftest$ac_exeext conftest.$ac_ext
27960 ac_res=`eval echo '${'$as_ac_var'}'`
27961 { echo "$as_me:$LINENO: result: $ac_res" >&5
27962 echo "${ECHO_T}$ac_res" >&6; }
27963 if test `eval echo '${'$as_ac_var'}'` = yes; then
27964 cat >>confdefs.h <<_ACEOF
27965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27971 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27972 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27973 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27974 { echo "$as_me:$LINENO: result: yes" >&5
27975 echo "${ECHO_T}yes" >&6; }
27977 { echo "$as_me:$LINENO: result: no" >&5
27978 echo "${ECHO_T}no" >&6; }
27980 # use different functions to avoid configure caching
27986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27987 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27989 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27990 echo $ECHO_N "(cached) $ECHO_C" >&6
27992 cat >conftest.$ac_ext <<_ACEOF
27995 cat confdefs.h >>conftest.$ac_ext
27996 cat >>conftest.$ac_ext <<_ACEOF
27997 /* end confdefs.h. */
27998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28000 #define $ac_func innocuous_$ac_func
28002 /* System header to define __stub macros and hopefully few prototypes,
28003 which can conflict with char $ac_func (); below.
28004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28005 <limits.h> exists even on freestanding compilers. */
28008 # include <limits.h>
28010 # include <assert.h>
28015 /* Override any GCC internal prototype to avoid an error.
28016 Use char because int might match the return type of a GCC
28017 builtin and then its argument prototype would still apply. */
28022 /* The GNU C library defines this for functions which it implements
28023 to always fail with ENOSYS. Some functions are actually named
28024 something starting with __ and the normal name is an alias. */
28025 #if defined __stub_$ac_func || defined __stub___$ac_func
28032 return $ac_func ();
28037 rm -f conftest.$ac_objext conftest$ac_exeext
28038 if { (ac_try="$ac_link"
28039 case "(($ac_try" in
28040 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28041 *) ac_try_echo
=$ac_try;;
28043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28044 (eval "$ac_link") 2>conftest.er1
28046 grep -v '^ *+' conftest.er1
>conftest.err
28048 cat conftest.err
>&5
28049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28050 (exit $ac_status); } &&
28051 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28052 { (case "(($ac_try" in
28053 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28054 *) ac_try_echo=$ac_try;;
28056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28057 (eval "$ac_try") 2>&5
28059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28060 (exit $ac_status); }; } &&
28061 { ac_try='test -s conftest$ac_exeext'
28062 { (case "(($ac_try" in
28063 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28064 *) ac_try_echo
=$ac_try;;
28066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28067 (eval "$ac_try") 2>&5
28069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28070 (exit $ac_status); }; }; then
28071 eval "$as_ac_var=yes"
28073 echo "$as_me: failed program was:" >&5
28074 sed 's/^/| /' conftest.
$ac_ext >&5
28076 eval "$as_ac_var=no"
28079 rm -f core conftest.err conftest.
$ac_objext \
28080 conftest
$ac_exeext conftest.
$ac_ext
28082 ac_res
=`eval echo '${'$as_ac_var'}'`
28083 { echo "$as_me:$LINENO: result: $ac_res" >&5
28084 echo "${ECHO_T}$ac_res" >&6; }
28085 if test `eval echo '${'$as_ac_var'}'` = yes; then
28086 cat >>confdefs.h
<<_ACEOF
28087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28094 for ac_func
in ceil
28096 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28097 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28099 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28100 echo $ECHO_N "(cached) $ECHO_C" >&6
28102 cat >conftest.
$ac_ext <<_ACEOF
28105 cat confdefs.h
>>conftest.
$ac_ext
28106 cat >>conftest.
$ac_ext <<_ACEOF
28107 /* end confdefs.h. */
28108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28110 #define $ac_func innocuous_$ac_func
28112 /* System header to define __stub macros and hopefully few prototypes,
28113 which can conflict with char $ac_func (); below.
28114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28115 <limits.h> exists even on freestanding compilers. */
28118 # include <limits.h>
28120 # include <assert.h>
28125 /* Override any GCC internal prototype to avoid an error.
28126 Use char because int might match the return type of a GCC
28127 builtin and then its argument prototype would still apply. */
28132 /* The GNU C library defines this for functions which it implements
28133 to always fail with ENOSYS. Some functions are actually named
28134 something starting with __ and the normal name is an alias. */
28135 #if defined __stub_$ac_func || defined __stub___$ac_func
28142 return $ac_func ();
28147 rm -f conftest.
$ac_objext conftest
$ac_exeext
28148 if { (ac_try
="$ac_link"
28149 case "(($ac_try" in
28150 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28151 *) ac_try_echo=$ac_try;;
28153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28154 (eval "$ac_link") 2>conftest.er1
28156 grep -v '^ *+' conftest.er1 >conftest.err
28158 cat conftest.err >&5
28159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28160 (exit $ac_status); } &&
28161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28162 { (case "(($ac_try" in
28163 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28164 *) ac_try_echo
=$ac_try;;
28166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28167 (eval "$ac_try") 2>&5
28169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28170 (exit $ac_status); }; } &&
28171 { ac_try
='test -s conftest$ac_exeext'
28172 { (case "(($ac_try" in
28173 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28174 *) ac_try_echo=$ac_try;;
28176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28177 (eval "$ac_try") 2>&5
28179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28180 (exit $ac_status); }; }; then
28181 eval "$as_ac_var=yes"
28183 echo "$as_me: failed program was:" >&5
28184 sed 's/^/| /' conftest.$ac_ext >&5
28186 eval "$as_ac_var=no"
28189 rm -f core conftest.err conftest.$ac_objext \
28190 conftest$ac_exeext conftest.$ac_ext
28192 ac_res=`eval echo '${'$as_ac_var'}'`
28193 { echo "$as_me:$LINENO: result: $ac_res" >&5
28194 echo "${ECHO_T}$ac_res" >&6; }
28195 if test `eval echo '${'$as_ac_var'}'` = yes; then
28196 cat >>confdefs.h <<_ACEOF
28197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28203 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28204 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28205 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28206 { echo "$as_me:$LINENO: result: yes" >&5
28207 echo "${ECHO_T}yes" >&6; }
28209 { echo "$as_me:$LINENO: result: no" >&5
28210 echo "${ECHO_T}no" >&6; }
28211 # not sure we should warn the user, crash, etc.
28215 if test "wxUSE_UNICODE" = "yes"; then
28217 for wx_func in wcstoull
28219 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28220 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28221 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28222 echo $ECHO_N "(cached) $ECHO_C" >&6
28225 cat >conftest.$ac_ext <<_ACEOF
28229 cat confdefs.h >>conftest.$ac_ext
28230 cat >>conftest.$ac_ext <<_ACEOF
28231 /* end confdefs.h. */
28234 $ac_includes_default
28250 rm -f conftest.$ac_objext conftest$ac_exeext
28251 if { (ac_try="$ac_link"
28252 case "(($ac_try" in
28253 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28254 *) ac_try_echo
=$ac_try;;
28256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28257 (eval "$ac_link") 2>conftest.er1
28259 grep -v '^ *+' conftest.er1
>conftest.err
28261 cat conftest.err
>&5
28262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28263 (exit $ac_status); } &&
28264 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28265 { (case "(($ac_try" in
28266 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28267 *) ac_try_echo=$ac_try;;
28269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28270 (eval "$ac_try") 2>&5
28272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28273 (exit $ac_status); }; } &&
28274 { ac_try='test -s conftest$ac_exeext'
28275 { (case "(($ac_try" in
28276 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28277 *) ac_try_echo
=$ac_try;;
28279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28280 (eval "$ac_try") 2>&5
28282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28283 (exit $ac_status); }; }; then
28284 eval wx_cv_func_
$wx_func=yes
28286 echo "$as_me: failed program was:" >&5
28287 sed 's/^/| /' conftest.
$ac_ext >&5
28289 eval wx_cv_func_
$wx_func=no
28292 rm -f core conftest.err conftest.
$ac_objext \
28293 conftest
$ac_exeext conftest.
$ac_ext
28296 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
28297 { echo "$as_me:$LINENO: result: $ac_res" >&5
28298 echo "${ECHO_T}$ac_res" >&6; }
28300 if eval test \
$wx_cv_func_$wx_func = yes
28302 cat >>confdefs.h
<<_ACEOF
28303 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28315 for wx_func
in strtoull
28317 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28318 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28319 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28320 echo $ECHO_N "(cached) $ECHO_C" >&6
28323 cat >conftest.
$ac_ext <<_ACEOF
28327 cat confdefs.h
>>conftest.
$ac_ext
28328 cat >>conftest.
$ac_ext <<_ACEOF
28329 /* end confdefs.h. */
28332 $ac_includes_default
28348 rm -f conftest.
$ac_objext conftest
$ac_exeext
28349 if { (ac_try
="$ac_link"
28350 case "(($ac_try" in
28351 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28352 *) ac_try_echo=$ac_try;;
28354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28355 (eval "$ac_link") 2>conftest.er1
28357 grep -v '^ *+' conftest.er1 >conftest.err
28359 cat conftest.err >&5
28360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28361 (exit $ac_status); } &&
28362 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28363 { (case "(($ac_try" in
28364 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28365 *) ac_try_echo
=$ac_try;;
28367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28368 (eval "$ac_try") 2>&5
28370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28371 (exit $ac_status); }; } &&
28372 { ac_try
='test -s conftest$ac_exeext'
28373 { (case "(($ac_try" in
28374 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28375 *) ac_try_echo=$ac_try;;
28377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28378 (eval "$ac_try") 2>&5
28380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28381 (exit $ac_status); }; }; then
28382 eval wx_cv_func_$wx_func=yes
28384 echo "$as_me: failed program was:" >&5
28385 sed 's/^/| /' conftest.$ac_ext >&5
28387 eval wx_cv_func_$wx_func=no
28390 rm -f core conftest.err conftest.$ac_objext \
28391 conftest$ac_exeext conftest.$ac_ext
28394 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28395 { echo "$as_me:$LINENO: result: $ac_res" >&5
28396 echo "${ECHO_T}$ac_res" >&6; }
28398 if eval test \$wx_cv_func_$wx_func = yes
28400 cat >>confdefs.h <<_ACEOF
28401 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28415 if test "$wxUSE_REGEX" != "no"; then
28416 cat >>confdefs.h <<\_ACEOF
28417 #define wxUSE_REGEX 1
28421 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28422 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28423 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28424 wxUSE_REGEX=builtin
28427 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28428 if test "${ac_cv_header_regex_h+set}" = set; then
28429 { echo "$as_me:$LINENO: checking for regex.h" >&5
28430 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28431 if test "${ac_cv_header_regex_h+set}" = set; then
28432 echo $ECHO_N "(cached) $ECHO_C" >&6
28434 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28435 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28437 # Is the header compilable?
28438 { echo "$as_me:$LINENO: checking regex.h usability" >&5
28439 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6; }
28440 cat >conftest.$ac_ext <<_ACEOF
28443 cat confdefs.h >>conftest.$ac_ext
28444 cat >>conftest.$ac_ext <<_ACEOF
28445 /* end confdefs.h. */
28446 $ac_includes_default
28449 rm -f conftest.$ac_objext
28450 if { (ac_try="$ac_compile"
28451 case "(($ac_try" in
28452 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28453 *) ac_try_echo
=$ac_try;;
28455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28456 (eval "$ac_compile") 2>conftest.er1
28458 grep -v '^ *+' conftest.er1
>conftest.err
28460 cat conftest.err
>&5
28461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28462 (exit $ac_status); } &&
28463 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28464 { (case "(($ac_try" in
28465 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28466 *) ac_try_echo=$ac_try;;
28468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28469 (eval "$ac_try") 2>&5
28471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28472 (exit $ac_status); }; } &&
28473 { ac_try='test -s conftest.$ac_objext'
28474 { (case "(($ac_try" in
28475 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28476 *) ac_try_echo
=$ac_try;;
28478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28479 (eval "$ac_try") 2>&5
28481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28482 (exit $ac_status); }; }; then
28483 ac_header_compiler
=yes
28485 echo "$as_me: failed program was:" >&5
28486 sed 's/^/| /' conftest.
$ac_ext >&5
28488 ac_header_compiler
=no
28491 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28492 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28493 echo "${ECHO_T}$ac_header_compiler" >&6; }
28495 # Is the header present?
28496 { echo "$as_me:$LINENO: checking regex.h presence" >&5
28497 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6; }
28498 cat >conftest.
$ac_ext <<_ACEOF
28501 cat confdefs.h
>>conftest.
$ac_ext
28502 cat >>conftest.
$ac_ext <<_ACEOF
28503 /* end confdefs.h. */
28506 if { (ac_try
="$ac_cpp conftest.$ac_ext"
28507 case "(($ac_try" in
28508 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28509 *) ac_try_echo=$ac_try;;
28511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28512 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28514 grep -v '^ *+' conftest.er1 >conftest.err
28516 cat conftest.err >&5
28517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28518 (exit $ac_status); } >/dev/null; then
28519 if test -s conftest.err; then
28520 ac_cpp_err=$ac_c_preproc_warn_flag
28521 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28528 if test -z "$ac_cpp_err"; then
28529 ac_header_preproc=yes
28531 echo "$as_me: failed program was:" >&5
28532 sed 's/^/| /' conftest.$ac_ext >&5
28534 ac_header_preproc=no
28537 rm -f conftest.err conftest.$ac_ext
28538 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28539 echo "${ECHO_T}$ac_header_preproc" >&6; }
28541 # So? What about this header?
28542 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28544 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
28545 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28546 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
28547 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
28548 ac_header_preproc=yes
28551 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
28552 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
28553 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
28554 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
28555 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
28556 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
28557 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
28558 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
28559 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
28560 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
28561 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
28562 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
28564 ## ----------------------------------------- ##
28565 ## Report this to wx-dev@lists.wxwidgets.org ##
28566 ## ----------------------------------------- ##
28568 ) | sed "s/^/$as_me: WARNING: /" >&2
28571 { echo "$as_me:$LINENO: checking for regex.h" >&5
28572 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28573 if test "${ac_cv_header_regex_h+set}" = set; then
28574 echo $ECHO_N "(cached) $ECHO_C" >&6
28576 ac_cv_header_regex_h=$ac_header_preproc
28578 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28579 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28582 if test $ac_cv_header_regex_h = yes; then
28585 for ac_func in regcomp re_search
28587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28588 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28590 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28591 echo $ECHO_N "(cached) $ECHO_C" >&6
28593 cat >conftest.$ac_ext <<_ACEOF
28596 cat confdefs.h >>conftest.$ac_ext
28597 cat >>conftest.$ac_ext <<_ACEOF
28598 /* end confdefs.h. */
28599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28601 #define $ac_func innocuous_$ac_func
28603 /* System header to define __stub macros and hopefully few prototypes,
28604 which can conflict with char $ac_func (); below.
28605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28606 <limits.h> exists even on freestanding compilers. */
28609 # include <limits.h>
28611 # include <assert.h>
28616 /* Override any GCC internal prototype to avoid an error.
28617 Use char because int might match the return type of a GCC
28618 builtin and then its argument prototype would still apply. */
28623 /* The GNU C library defines this for functions which it implements
28624 to always fail with ENOSYS. Some functions are actually named
28625 something starting with __ and the normal name is an alias. */
28626 #if defined __stub_$ac_func || defined __stub___$ac_func
28633 return $ac_func ();
28638 rm -f conftest.$ac_objext conftest$ac_exeext
28639 if { (ac_try="$ac_link"
28640 case "(($ac_try" in
28641 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28642 *) ac_try_echo
=$ac_try;;
28644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28645 (eval "$ac_link") 2>conftest.er1
28647 grep -v '^ *+' conftest.er1
>conftest.err
28649 cat conftest.err
>&5
28650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28651 (exit $ac_status); } &&
28652 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28653 { (case "(($ac_try" in
28654 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28655 *) ac_try_echo=$ac_try;;
28657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28658 (eval "$ac_try") 2>&5
28660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28661 (exit $ac_status); }; } &&
28662 { ac_try='test -s conftest$ac_exeext'
28663 { (case "(($ac_try" in
28664 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28665 *) ac_try_echo
=$ac_try;;
28667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28668 (eval "$ac_try") 2>&5
28670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28671 (exit $ac_status); }; }; then
28672 eval "$as_ac_var=yes"
28674 echo "$as_me: failed program was:" >&5
28675 sed 's/^/| /' conftest.
$ac_ext >&5
28677 eval "$as_ac_var=no"
28680 rm -f core conftest.err conftest.
$ac_objext \
28681 conftest
$ac_exeext conftest.
$ac_ext
28683 ac_res
=`eval echo '${'$as_ac_var'}'`
28684 { echo "$as_me:$LINENO: result: $ac_res" >&5
28685 echo "${ECHO_T}$ac_res" >&6; }
28686 if test `eval echo '${'$as_ac_var'}'` = yes; then
28687 cat >>confdefs.h
<<_ACEOF
28688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28698 if test "x$ac_cv_func_regcomp" != "xyes"; then
28699 if test "$wxUSE_REGEX" = "sys" ; then
28700 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28701 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28702 { (exit 1); exit 1; }; }
28704 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28705 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28706 wxUSE_REGEX
=builtin
28710 cat >>confdefs.h
<<\_ACEOF
28711 #define WX_NO_REGEX_ADVANCED 1
28720 if test "$wxUSE_ZLIB" != "no" ; then
28721 cat >>confdefs.h
<<\_ACEOF
28722 #define wxUSE_ZLIB 1
28726 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28727 if test "$USE_DARWIN" = 1; then
28728 system_zlib_h_ok
="yes"
28730 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28731 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28732 if test "${ac_cv_header_zlib_h+set}" = set; then
28733 echo $ECHO_N "(cached) $ECHO_C" >&6
28735 if test "$cross_compiling" = yes; then
28736 unset ac_cv_header_zlib_h
28739 cat >conftest.
$ac_ext <<_ACEOF
28742 cat confdefs.h
>>conftest.
$ac_ext
28743 cat >>conftest.
$ac_ext <<_ACEOF
28744 /* end confdefs.h. */
28751 FILE *f=fopen("conftestval", "w");
28754 ZLIB_VERSION[0] == '1' &&
28755 (ZLIB_VERSION[2] > '1' ||
28756 (ZLIB_VERSION[2] == '1' &&
28757 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28762 rm -f conftest
$ac_exeext
28763 if { (ac_try
="$ac_link"
28764 case "(($ac_try" in
28765 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28766 *) ac_try_echo=$ac_try;;
28768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28769 (eval "$ac_link") 2>&5
28771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28772 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28773 { (case "(($ac_try" in
28774 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28775 *) ac_try_echo
=$ac_try;;
28777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28778 (eval "$ac_try") 2>&5
28780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28781 (exit $ac_status); }; }; then
28782 ac_cv_header_zlib_h
=`cat conftestval`
28784 echo "$as_me: program exited with status $ac_status" >&5
28785 echo "$as_me: failed program was:" >&5
28786 sed 's/^/| /' conftest.
$ac_ext >&5
28788 ( exit $ac_status )
28789 ac_cv_header_zlib_h
=no
28791 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28797 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28798 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28799 if test "${ac_cv_header_zlib_h+set}" = set; then
28800 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28801 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28802 if test "${ac_cv_header_zlib_h+set}" = set; then
28803 echo $ECHO_N "(cached) $ECHO_C" >&6
28805 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28806 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28808 # Is the header compilable?
28809 { echo "$as_me:$LINENO: checking zlib.h usability" >&5
28810 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; }
28811 cat >conftest.
$ac_ext <<_ACEOF
28814 cat confdefs.h
>>conftest.
$ac_ext
28815 cat >>conftest.
$ac_ext <<_ACEOF
28816 /* end confdefs.h. */
28817 $ac_includes_default
28820 rm -f conftest.
$ac_objext
28821 if { (ac_try
="$ac_compile"
28822 case "(($ac_try" in
28823 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28824 *) ac_try_echo=$ac_try;;
28826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28827 (eval "$ac_compile") 2>conftest.er1
28829 grep -v '^ *+' conftest.er1 >conftest.err
28831 cat conftest.err >&5
28832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28833 (exit $ac_status); } &&
28834 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28835 { (case "(($ac_try" in
28836 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28837 *) ac_try_echo
=$ac_try;;
28839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28840 (eval "$ac_try") 2>&5
28842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28843 (exit $ac_status); }; } &&
28844 { ac_try
='test -s conftest.$ac_objext'
28845 { (case "(($ac_try" in
28846 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28847 *) ac_try_echo=$ac_try;;
28849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28850 (eval "$ac_try") 2>&5
28852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28853 (exit $ac_status); }; }; then
28854 ac_header_compiler=yes
28856 echo "$as_me: failed program was:" >&5
28857 sed 's/^/| /' conftest.$ac_ext >&5
28859 ac_header_compiler=no
28862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28863 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28864 echo "${ECHO_T}$ac_header_compiler" >&6; }
28866 # Is the header present?
28867 { echo "$as_me:$LINENO: checking zlib.h presence" >&5
28868 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; }
28869 cat >conftest.$ac_ext <<_ACEOF
28872 cat confdefs.h >>conftest.$ac_ext
28873 cat >>conftest.$ac_ext <<_ACEOF
28874 /* end confdefs.h. */
28877 if { (ac_try="$ac_cpp conftest.$ac_ext"
28878 case "(($ac_try" in
28879 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28880 *) ac_try_echo
=$ac_try;;
28882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28883 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28885 grep -v '^ *+' conftest.er1
>conftest.err
28887 cat conftest.err
>&5
28888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28889 (exit $ac_status); } >/dev
/null
; then
28890 if test -s conftest.err
; then
28891 ac_cpp_err
=$ac_c_preproc_warn_flag
28892 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28899 if test -z "$ac_cpp_err"; then
28900 ac_header_preproc
=yes
28902 echo "$as_me: failed program was:" >&5
28903 sed 's/^/| /' conftest.
$ac_ext >&5
28905 ac_header_preproc
=no
28908 rm -f conftest.err conftest.
$ac_ext
28909 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28910 echo "${ECHO_T}$ac_header_preproc" >&6; }
28912 # So? What about this header?
28913 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28915 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
28916 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28917 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
28918 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
28919 ac_header_preproc
=yes
28922 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
28923 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
28924 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
28925 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
28926 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
28927 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
28928 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
28929 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
28930 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
28931 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
28932 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
28933 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
28935 ## ----------------------------------------- ##
28936 ## Report this to wx-dev@lists.wxwidgets.org ##
28937 ## ----------------------------------------- ##
28939 ) | sed "s/^/$as_me: WARNING: /" >&2
28942 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28943 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28944 if test "${ac_cv_header_zlib_h+set}" = set; then
28945 echo $ECHO_N "(cached) $ECHO_C" >&6
28947 ac_cv_header_zlib_h
=$ac_header_preproc
28949 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28950 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28956 system_zlib_h_ok
=$ac_cv_header_zlib_h
28959 if test "$system_zlib_h_ok" = "yes"; then
28960 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28961 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28962 if test "${ac_cv_lib_z_deflate+set}" = set; then
28963 echo $ECHO_N "(cached) $ECHO_C" >&6
28965 ac_check_lib_save_LIBS
=$LIBS
28967 cat >conftest.
$ac_ext <<_ACEOF
28970 cat confdefs.h
>>conftest.
$ac_ext
28971 cat >>conftest.
$ac_ext <<_ACEOF
28972 /* end confdefs.h. */
28974 /* Override any GCC internal prototype to avoid an error.
28975 Use char because int might match the return type of a GCC
28976 builtin and then its argument prototype would still apply. */
28989 rm -f conftest.
$ac_objext conftest
$ac_exeext
28990 if { (ac_try
="$ac_link"
28991 case "(($ac_try" in
28992 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28993 *) ac_try_echo=$ac_try;;
28995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28996 (eval "$ac_link") 2>conftest.er1
28998 grep -v '^ *+' conftest.er1 >conftest.err
29000 cat conftest.err >&5
29001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29002 (exit $ac_status); } &&
29003 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29004 { (case "(($ac_try" in
29005 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29006 *) ac_try_echo
=$ac_try;;
29008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29009 (eval "$ac_try") 2>&5
29011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29012 (exit $ac_status); }; } &&
29013 { ac_try
='test -s conftest$ac_exeext'
29014 { (case "(($ac_try" in
29015 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29016 *) ac_try_echo=$ac_try;;
29018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29019 (eval "$ac_try") 2>&5
29021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29022 (exit $ac_status); }; }; then
29023 ac_cv_lib_z_deflate=yes
29025 echo "$as_me: failed program was:" >&5
29026 sed 's/^/| /' conftest.$ac_ext >&5
29028 ac_cv_lib_z_deflate=no
29031 rm -f core conftest.err conftest.$ac_objext \
29032 conftest$ac_exeext conftest.$ac_ext
29033 LIBS=$ac_check_lib_save_LIBS
29035 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
29036 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
29037 if test $ac_cv_lib_z_deflate = yes; then
29043 if test "x$ZLIB_LINK" = "x" ; then
29044 if test "$wxUSE_ZLIB" = "sys" ; then
29045 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
29046 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
29047 { (exit 1); exit 1; }; }
29049 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
29050 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
29061 if test "$wxUSE_LIBPNG" != "no" ; then
29062 cat >>confdefs.h <<\_ACEOF
29063 #define wxUSE_LIBPNG 1
29067 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
29068 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
29069 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
29073 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
29074 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
29075 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
29076 wxUSE_LIBPNG=builtin
29079 if test "$wxUSE_MGL" != 1 ; then
29080 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
29081 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
29082 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
29083 if test "${ac_cv_header_png_h+set}" = set; then
29084 echo $ECHO_N "(cached) $ECHO_C" >&6
29086 if test "$cross_compiling" = yes; then
29087 unset ac_cv_header_png_h
29090 cat >conftest.$ac_ext <<_ACEOF
29093 cat confdefs.h >>conftest.$ac_ext
29094 cat >>conftest.$ac_ext <<_ACEOF
29095 /* end confdefs.h. */
29102 FILE *f=fopen("conftestval", "w");
29105 PNG_LIBPNG_VER > 90 ? "yes" : "no");
29110 rm -f conftest$ac_exeext
29111 if { (ac_try="$ac_link"
29112 case "(($ac_try" in
29113 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29114 *) ac_try_echo
=$ac_try;;
29116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29117 (eval "$ac_link") 2>&5
29119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29120 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29121 { (case "(($ac_try" in
29122 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29123 *) ac_try_echo=$ac_try;;
29125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29126 (eval "$ac_try") 2>&5
29128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29129 (exit $ac_status); }; }; then
29130 ac_cv_header_png_h=`cat conftestval
`
29132 echo "$as_me: program exited with status $ac_status" >&5
29133 echo "$as_me: failed program was:" >&5
29134 sed 's/^/| /' conftest.$ac_ext >&5
29136 ( exit $ac_status )
29137 ac_cv_header_png_h=no
29139 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29145 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29146 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29147 if test "${ac_cv_header_png_h+set}" = set; then
29148 { echo "$as_me:$LINENO: checking for png.h" >&5
29149 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29150 if test "${ac_cv_header_png_h+set}" = set; then
29151 echo $ECHO_N "(cached) $ECHO_C" >&6
29153 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29154 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29156 # Is the header compilable?
29157 { echo "$as_me:$LINENO: checking png.h usability" >&5
29158 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6; }
29159 cat >conftest.$ac_ext <<_ACEOF
29162 cat confdefs.h >>conftest.$ac_ext
29163 cat >>conftest.$ac_ext <<_ACEOF
29164 /* end confdefs.h. */
29165 $ac_includes_default
29168 rm -f conftest.$ac_objext
29169 if { (ac_try="$ac_compile"
29170 case "(($ac_try" in
29171 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29172 *) ac_try_echo
=$ac_try;;
29174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29175 (eval "$ac_compile") 2>conftest.er1
29177 grep -v '^ *+' conftest.er1
>conftest.err
29179 cat conftest.err
>&5
29180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29181 (exit $ac_status); } &&
29182 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29183 { (case "(($ac_try" in
29184 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29185 *) ac_try_echo=$ac_try;;
29187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29188 (eval "$ac_try") 2>&5
29190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29191 (exit $ac_status); }; } &&
29192 { ac_try='test -s conftest.$ac_objext'
29193 { (case "(($ac_try" in
29194 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29195 *) ac_try_echo
=$ac_try;;
29197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29198 (eval "$ac_try") 2>&5
29200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29201 (exit $ac_status); }; }; then
29202 ac_header_compiler
=yes
29204 echo "$as_me: failed program was:" >&5
29205 sed 's/^/| /' conftest.
$ac_ext >&5
29207 ac_header_compiler
=no
29210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29211 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29212 echo "${ECHO_T}$ac_header_compiler" >&6; }
29214 # Is the header present?
29215 { echo "$as_me:$LINENO: checking png.h presence" >&5
29216 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6; }
29217 cat >conftest.
$ac_ext <<_ACEOF
29220 cat confdefs.h
>>conftest.
$ac_ext
29221 cat >>conftest.
$ac_ext <<_ACEOF
29222 /* end confdefs.h. */
29225 if { (ac_try
="$ac_cpp conftest.$ac_ext"
29226 case "(($ac_try" in
29227 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29228 *) ac_try_echo=$ac_try;;
29230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29231 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29233 grep -v '^ *+' conftest.er1 >conftest.err
29235 cat conftest.err >&5
29236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29237 (exit $ac_status); } >/dev/null; then
29238 if test -s conftest.err; then
29239 ac_cpp_err=$ac_c_preproc_warn_flag
29240 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29247 if test -z "$ac_cpp_err"; then
29248 ac_header_preproc=yes
29250 echo "$as_me: failed program was:" >&5
29251 sed 's/^/| /' conftest.$ac_ext >&5
29253 ac_header_preproc=no
29256 rm -f conftest.err conftest.$ac_ext
29257 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29258 echo "${ECHO_T}$ac_header_preproc" >&6; }
29260 # So? What about this header?
29261 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29263 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
29264 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29265 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
29266 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
29267 ac_header_preproc=yes
29270 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
29271 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
29272 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
29273 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
29274 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
29275 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
29276 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
29277 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
29278 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
29279 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
29280 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
29281 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
29283 ## ----------------------------------------- ##
29284 ## Report this to wx-dev@lists.wxwidgets.org ##
29285 ## ----------------------------------------- ##
29287 ) | sed "s/^/$as_me: WARNING: /" >&2
29290 { echo "$as_me:$LINENO: checking for png.h" >&5
29291 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29292 if test "${ac_cv_header_png_h+set}" = set; then
29293 echo $ECHO_N "(cached) $ECHO_C" >&6
29295 ac_cv_header_png_h=$ac_header_preproc
29297 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29298 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29304 if test "$ac_cv_header_png_h" = "yes"; then
29305 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
29306 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
29307 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
29308 echo $ECHO_N "(cached) $ECHO_C" >&6
29310 ac_check_lib_save_LIBS=$LIBS
29311 LIBS="-lpng -lz -lm $LIBS"
29312 cat >conftest.$ac_ext <<_ACEOF
29315 cat confdefs.h >>conftest.$ac_ext
29316 cat >>conftest.$ac_ext <<_ACEOF
29317 /* end confdefs.h. */
29319 /* Override any GCC internal prototype to avoid an error.
29320 Use char because int might match the return type of a GCC
29321 builtin and then its argument prototype would still apply. */
29325 char png_check_sig ();
29329 return png_check_sig ();
29334 rm -f conftest.$ac_objext conftest$ac_exeext
29335 if { (ac_try="$ac_link"
29336 case "(($ac_try" in
29337 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29338 *) ac_try_echo
=$ac_try;;
29340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29341 (eval "$ac_link") 2>conftest.er1
29343 grep -v '^ *+' conftest.er1
>conftest.err
29345 cat conftest.err
>&5
29346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29347 (exit $ac_status); } &&
29348 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29349 { (case "(($ac_try" in
29350 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29351 *) ac_try_echo=$ac_try;;
29353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29354 (eval "$ac_try") 2>&5
29356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29357 (exit $ac_status); }; } &&
29358 { ac_try='test -s conftest$ac_exeext'
29359 { (case "(($ac_try" in
29360 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29361 *) ac_try_echo
=$ac_try;;
29363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29364 (eval "$ac_try") 2>&5
29366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29367 (exit $ac_status); }; }; then
29368 ac_cv_lib_png_png_check_sig
=yes
29370 echo "$as_me: failed program was:" >&5
29371 sed 's/^/| /' conftest.
$ac_ext >&5
29373 ac_cv_lib_png_png_check_sig
=no
29376 rm -f core conftest.err conftest.
$ac_objext \
29377 conftest
$ac_exeext conftest.
$ac_ext
29378 LIBS
=$ac_check_lib_save_LIBS
29380 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29381 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29382 if test $ac_cv_lib_png_png_check_sig = yes; then
29383 PNG_LINK
=" -lpng -lz"
29388 if test "x$PNG_LINK" = "x" ; then
29389 if test "$wxUSE_LIBPNG" = "sys" ; then
29390 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29391 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29392 { (exit 1); exit 1; }; }
29394 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29395 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29396 wxUSE_LIBPNG
=builtin
29404 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
29409 if test "$wxUSE_LIBJPEG" != "no" ; then
29410 cat >>confdefs.h
<<\_ACEOF
29411 #define wxUSE_LIBJPEG 1
29415 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29416 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29417 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29421 if test "$wxUSE_MGL" != 1 ; then
29422 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29423 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29424 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29425 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29426 echo $ECHO_N "(cached) $ECHO_C" >&6
29428 cat >conftest.
$ac_ext <<_ACEOF
29431 cat confdefs.h
>>conftest.
$ac_ext
29432 cat >>conftest.
$ac_ext <<_ACEOF
29433 /* end confdefs.h. */
29435 #undef HAVE_STDLIB_H
29437 #include <jpeglib.h>
29448 rm -f conftest.
$ac_objext
29449 if { (ac_try
="$ac_compile"
29450 case "(($ac_try" in
29451 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29452 *) ac_try_echo=$ac_try;;
29454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29455 (eval "$ac_compile") 2>conftest.er1
29457 grep -v '^ *+' conftest.er1 >conftest.err
29459 cat conftest.err >&5
29460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29461 (exit $ac_status); } &&
29462 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29463 { (case "(($ac_try" in
29464 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29465 *) ac_try_echo
=$ac_try;;
29467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29468 (eval "$ac_try") 2>&5
29470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29471 (exit $ac_status); }; } &&
29472 { ac_try
='test -s conftest.$ac_objext'
29473 { (case "(($ac_try" in
29474 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29475 *) ac_try_echo=$ac_try;;
29477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29478 (eval "$ac_try") 2>&5
29480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29481 (exit $ac_status); }; }; then
29482 ac_cv_header_jpeglib_h=yes
29484 echo "$as_me: failed program was:" >&5
29485 sed 's/^/| /' conftest.$ac_ext >&5
29487 ac_cv_header_jpeglib_h=no
29491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29495 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29496 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29498 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29499 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29500 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29501 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29502 echo $ECHO_N "(cached) $ECHO_C" >&6
29504 ac_check_lib_save_LIBS=$LIBS
29505 LIBS="-ljpeg $LIBS"
29506 cat >conftest.$ac_ext <<_ACEOF
29509 cat confdefs.h >>conftest.$ac_ext
29510 cat >>conftest.$ac_ext <<_ACEOF
29511 /* end confdefs.h. */
29513 /* Override any GCC internal prototype to avoid an error.
29514 Use char because int might match the return type of a GCC
29515 builtin and then its argument prototype would still apply. */
29519 char jpeg_read_header ();
29523 return jpeg_read_header ();
29528 rm -f conftest.$ac_objext conftest$ac_exeext
29529 if { (ac_try="$ac_link"
29530 case "(($ac_try" in
29531 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29532 *) ac_try_echo
=$ac_try;;
29534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29535 (eval "$ac_link") 2>conftest.er1
29537 grep -v '^ *+' conftest.er1
>conftest.err
29539 cat conftest.err
>&5
29540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29541 (exit $ac_status); } &&
29542 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29543 { (case "(($ac_try" in
29544 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29545 *) ac_try_echo=$ac_try;;
29547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29548 (eval "$ac_try") 2>&5
29550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29551 (exit $ac_status); }; } &&
29552 { ac_try='test -s conftest$ac_exeext'
29553 { (case "(($ac_try" in
29554 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29555 *) ac_try_echo
=$ac_try;;
29557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29558 (eval "$ac_try") 2>&5
29560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29561 (exit $ac_status); }; }; then
29562 ac_cv_lib_jpeg_jpeg_read_header
=yes
29564 echo "$as_me: failed program was:" >&5
29565 sed 's/^/| /' conftest.
$ac_ext >&5
29567 ac_cv_lib_jpeg_jpeg_read_header
=no
29570 rm -f core conftest.err conftest.
$ac_objext \
29571 conftest
$ac_exeext conftest.
$ac_ext
29572 LIBS
=$ac_check_lib_save_LIBS
29574 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29575 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29576 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29577 JPEG_LINK
=" -ljpeg"
29582 if test "x$JPEG_LINK" = "x" ; then
29583 if test "$wxUSE_LIBJPEG" = "sys" ; then
29584 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29585 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29586 { (exit 1); exit 1; }; }
29588 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29589 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29590 wxUSE_LIBJPEG
=builtin
29595 if test "$wxUSE_MSW" = 1; then
29596 { echo "$as_me:$LINENO: checking for boolean" >&5
29597 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29598 if test "${ac_cv_type_boolean+set}" = set; then
29599 echo $ECHO_N "(cached) $ECHO_C" >&6
29601 cat >conftest.
$ac_ext <<_ACEOF
29604 cat confdefs.h
>>conftest.
$ac_ext
29605 cat >>conftest.
$ac_ext <<_ACEOF
29606 /* end confdefs.h. */
29607 #include <windows.h>
29609 typedef boolean ac__type_new_;
29613 if ((ac__type_new_ *) 0)
29615 if (sizeof (ac__type_new_))
29621 rm -f conftest.
$ac_objext
29622 if { (ac_try
="$ac_compile"
29623 case "(($ac_try" in
29624 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29625 *) ac_try_echo=$ac_try;;
29627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29628 (eval "$ac_compile") 2>conftest.er1
29630 grep -v '^ *+' conftest.er1 >conftest.err
29632 cat conftest.err >&5
29633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29634 (exit $ac_status); } &&
29635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29636 { (case "(($ac_try" in
29637 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29638 *) ac_try_echo
=$ac_try;;
29640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29641 (eval "$ac_try") 2>&5
29643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29644 (exit $ac_status); }; } &&
29645 { ac_try
='test -s conftest.$ac_objext'
29646 { (case "(($ac_try" in
29647 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29648 *) ac_try_echo=$ac_try;;
29650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29651 (eval "$ac_try") 2>&5
29653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29654 (exit $ac_status); }; }; then
29655 ac_cv_type_boolean=yes
29657 echo "$as_me: failed program was:" >&5
29658 sed 's/^/| /' conftest.$ac_ext >&5
29660 ac_cv_type_boolean=no
29663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29665 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29666 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29667 if test $ac_cv_type_boolean = yes; then
29669 cat >>confdefs.h <<_ACEOF
29670 #define HAVE_BOOLEAN 1
29674 { echo "$as_me:$LINENO: checking for boolean" >&5
29675 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29676 if test "${ac_cv_type_boolean+set}" = set; then
29677 echo $ECHO_N "(cached) $ECHO_C" >&6
29679 cat >conftest.$ac_ext <<_ACEOF
29682 cat confdefs.h >>conftest.$ac_ext
29683 cat >>conftest.$ac_ext <<_ACEOF
29684 /* end confdefs.h. */
29686 #undef HAVE_BOOLEAN
29688 #include <jpeglib.h>
29691 typedef boolean ac__type_new_;
29695 if ((ac__type_new_ *) 0)
29697 if (sizeof (ac__type_new_))
29703 rm -f conftest.$ac_objext
29704 if { (ac_try="$ac_compile"
29705 case "(($ac_try" in
29706 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29707 *) ac_try_echo
=$ac_try;;
29709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29710 (eval "$ac_compile") 2>conftest.er1
29712 grep -v '^ *+' conftest.er1
>conftest.err
29714 cat conftest.err
>&5
29715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29716 (exit $ac_status); } &&
29717 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29718 { (case "(($ac_try" in
29719 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29720 *) ac_try_echo=$ac_try;;
29722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29723 (eval "$ac_try") 2>&5
29725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29726 (exit $ac_status); }; } &&
29727 { ac_try='test -s conftest.$ac_objext'
29728 { (case "(($ac_try" in
29729 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29730 *) ac_try_echo
=$ac_try;;
29732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29733 (eval "$ac_try") 2>&5
29735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29736 (exit $ac_status); }; }; then
29737 ac_cv_type_boolean
=yes
29739 echo "$as_me: failed program was:" >&5
29740 sed 's/^/| /' conftest.
$ac_ext >&5
29742 ac_cv_type_boolean
=no
29745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29747 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29748 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29750 { echo "$as_me:$LINENO: checking size of boolean" >&5
29751 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29752 if test "${ac_cv_sizeof_boolean+set}" = set; then
29753 echo $ECHO_N "(cached) $ECHO_C" >&6
29755 if test "$ac_cv_type_boolean" = yes; then
29756 # The cast to long int works around a bug in the HP C Compiler
29757 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29758 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29759 # This bug is HP SR number 8606223364.
29760 if test "$cross_compiling" = yes; then
29761 # Depending upon the size, compute the lo and hi bounds.
29762 cat >conftest.
$ac_ext <<_ACEOF
29765 cat confdefs.h
>>conftest.
$ac_ext
29766 cat >>conftest.
$ac_ext <<_ACEOF
29767 /* end confdefs.h. */
29769 #undef HAVE_BOOLEAN
29771 #include <jpeglib.h>
29774 typedef boolean ac__type_sizeof_;
29778 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29785 rm -f conftest.
$ac_objext
29786 if { (ac_try
="$ac_compile"
29787 case "(($ac_try" in
29788 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29789 *) ac_try_echo=$ac_try;;
29791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29792 (eval "$ac_compile") 2>conftest.er1
29794 grep -v '^ *+' conftest.er1 >conftest.err
29796 cat conftest.err >&5
29797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29798 (exit $ac_status); } &&
29799 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29800 { (case "(($ac_try" in
29801 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29802 *) ac_try_echo
=$ac_try;;
29804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29805 (eval "$ac_try") 2>&5
29807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29808 (exit $ac_status); }; } &&
29809 { ac_try
='test -s conftest.$ac_objext'
29810 { (case "(($ac_try" in
29811 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29812 *) ac_try_echo=$ac_try;;
29814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29815 (eval "$ac_try") 2>&5
29817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29818 (exit $ac_status); }; }; then
29821 cat >conftest.$ac_ext <<_ACEOF
29824 cat confdefs.h >>conftest.$ac_ext
29825 cat >>conftest.$ac_ext <<_ACEOF
29826 /* end confdefs.h. */
29828 #undef HAVE_BOOLEAN
29830 #include <jpeglib.h>
29833 typedef boolean ac__type_sizeof_;
29837 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29844 rm -f conftest.$ac_objext
29845 if { (ac_try="$ac_compile"
29846 case "(($ac_try" in
29847 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29848 *) ac_try_echo
=$ac_try;;
29850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29851 (eval "$ac_compile") 2>conftest.er1
29853 grep -v '^ *+' conftest.er1
>conftest.err
29855 cat conftest.err
>&5
29856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29857 (exit $ac_status); } &&
29858 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29859 { (case "(($ac_try" in
29860 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29861 *) ac_try_echo=$ac_try;;
29863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29864 (eval "$ac_try") 2>&5
29866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29867 (exit $ac_status); }; } &&
29868 { ac_try='test -s conftest.$ac_objext'
29869 { (case "(($ac_try" in
29870 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29871 *) ac_try_echo
=$ac_try;;
29873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29874 (eval "$ac_try") 2>&5
29876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29877 (exit $ac_status); }; }; then
29878 ac_hi
=$ac_mid; break
29880 echo "$as_me: failed program was:" >&5
29881 sed 's/^/| /' conftest.
$ac_ext >&5
29883 ac_lo
=`expr $ac_mid + 1`
29884 if test $ac_lo -le $ac_mid; then
29888 ac_mid
=`expr 2 '*' $ac_mid + 1`
29891 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29894 echo "$as_me: failed program was:" >&5
29895 sed 's/^/| /' conftest.
$ac_ext >&5
29897 cat >conftest.
$ac_ext <<_ACEOF
29900 cat confdefs.h
>>conftest.
$ac_ext
29901 cat >>conftest.
$ac_ext <<_ACEOF
29902 /* end confdefs.h. */
29904 #undef HAVE_BOOLEAN
29906 #include <jpeglib.h>
29909 typedef boolean ac__type_sizeof_;
29913 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29920 rm -f conftest.
$ac_objext
29921 if { (ac_try
="$ac_compile"
29922 case "(($ac_try" in
29923 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29924 *) ac_try_echo=$ac_try;;
29926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29927 (eval "$ac_compile") 2>conftest.er1
29929 grep -v '^ *+' conftest.er1 >conftest.err
29931 cat conftest.err >&5
29932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29933 (exit $ac_status); } &&
29934 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29935 { (case "(($ac_try" in
29936 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29937 *) ac_try_echo
=$ac_try;;
29939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29940 (eval "$ac_try") 2>&5
29942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29943 (exit $ac_status); }; } &&
29944 { ac_try
='test -s conftest.$ac_objext'
29945 { (case "(($ac_try" in
29946 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29947 *) ac_try_echo=$ac_try;;
29949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29950 (eval "$ac_try") 2>&5
29952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29953 (exit $ac_status); }; }; then
29956 cat >conftest.$ac_ext <<_ACEOF
29959 cat confdefs.h >>conftest.$ac_ext
29960 cat >>conftest.$ac_ext <<_ACEOF
29961 /* end confdefs.h. */
29963 #undef HAVE_BOOLEAN
29965 #include <jpeglib.h>
29968 typedef boolean ac__type_sizeof_;
29972 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29979 rm -f conftest.$ac_objext
29980 if { (ac_try="$ac_compile"
29981 case "(($ac_try" in
29982 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29983 *) ac_try_echo
=$ac_try;;
29985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29986 (eval "$ac_compile") 2>conftest.er1
29988 grep -v '^ *+' conftest.er1
>conftest.err
29990 cat conftest.err
>&5
29991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29992 (exit $ac_status); } &&
29993 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29994 { (case "(($ac_try" in
29995 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29996 *) ac_try_echo=$ac_try;;
29998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29999 (eval "$ac_try") 2>&5
30001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30002 (exit $ac_status); }; } &&
30003 { ac_try='test -s conftest.$ac_objext'
30004 { (case "(($ac_try" in
30005 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30006 *) ac_try_echo
=$ac_try;;
30008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30009 (eval "$ac_try") 2>&5
30011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30012 (exit $ac_status); }; }; then
30013 ac_lo
=$ac_mid; break
30015 echo "$as_me: failed program was:" >&5
30016 sed 's/^/| /' conftest.
$ac_ext >&5
30018 ac_hi
=`expr '(' $ac_mid ')' - 1`
30019 if test $ac_mid -le $ac_hi; then
30023 ac_mid
=`expr 2 '*' $ac_mid`
30026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30029 echo "$as_me: failed program was:" >&5
30030 sed 's/^/| /' conftest.
$ac_ext >&5
30035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30039 # Binary search between lo and hi bounds.
30040 while test "x$ac_lo" != "x$ac_hi"; do
30041 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
30042 cat >conftest.
$ac_ext <<_ACEOF
30045 cat confdefs.h
>>conftest.
$ac_ext
30046 cat >>conftest.
$ac_ext <<_ACEOF
30047 /* end confdefs.h. */
30049 #undef HAVE_BOOLEAN
30051 #include <jpeglib.h>
30054 typedef boolean ac__type_sizeof_;
30058 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
30065 rm -f conftest.
$ac_objext
30066 if { (ac_try
="$ac_compile"
30067 case "(($ac_try" in
30068 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30069 *) ac_try_echo=$ac_try;;
30071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30072 (eval "$ac_compile") 2>conftest.er1
30074 grep -v '^ *+' conftest.er1 >conftest.err
30076 cat conftest.err >&5
30077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30078 (exit $ac_status); } &&
30079 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30080 { (case "(($ac_try" in
30081 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30082 *) ac_try_echo
=$ac_try;;
30084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30085 (eval "$ac_try") 2>&5
30087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30088 (exit $ac_status); }; } &&
30089 { ac_try
='test -s conftest.$ac_objext'
30090 { (case "(($ac_try" in
30091 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30092 *) ac_try_echo=$ac_try;;
30094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30095 (eval "$ac_try") 2>&5
30097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30098 (exit $ac_status); }; }; then
30101 echo "$as_me: failed program was:" >&5
30102 sed 's/^/| /' conftest.$ac_ext >&5
30104 ac_lo=`expr '(' $ac_mid ')' + 1`
30107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30110 ?*) ac_cv_sizeof_boolean=$ac_lo;;
30111 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
30112 See \`config.log
' for more details." >&5
30113 echo "$as_me: error: cannot compute sizeof (boolean)
30114 See \`config.log' for more details.
" >&2;}
30115 { (exit 77); exit 77; }; } ;;
30118 cat >conftest.$ac_ext <<_ACEOF
30121 cat confdefs.h >>conftest.$ac_ext
30122 cat >>conftest.$ac_ext <<_ACEOF
30123 /* end confdefs.h. */
30125 #undef HAVE_BOOLEAN
30127 #include <jpeglib.h>
30130 typedef boolean ac__type_sizeof_;
30131 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
30132 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
30134 #include <stdlib.h>
30139 FILE *f = fopen ("conftest.val
", "w
");
30142 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
30144 long int i = longval ();
30145 if (i != ((long int) (sizeof (ac__type_sizeof_))))
30147 fprintf (f, "%ld
\n", i);
30151 unsigned long int i = ulongval ();
30152 if (i != ((long int) (sizeof (ac__type_sizeof_))))
30154 fprintf (f, "%lu
\n", i);
30156 return ferror (f) || fclose (f) != 0;
30162 rm -f conftest$ac_exeext
30163 if { (ac_try="$ac_link"
30164 case "(($ac_try" in
30165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30166 *) ac_try_echo=$ac_try;;
30168 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30169 (eval "$ac_link") 2>&5
30171 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30172 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30173 { (case "(($ac_try" in
30174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30175 *) ac_try_echo=$ac_try;;
30177 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30178 (eval "$ac_try") 2>&5
30180 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30181 (exit $ac_status); }; }; then
30182 ac_cv_sizeof_boolean=`cat conftest.val`
30184 echo "$as_me: program exited with status
$ac_status" >&5
30185 echo "$as_me: failed program was
:" >&5
30186 sed 's/^/| /' conftest.$ac_ext >&5
30188 ( exit $ac_status )
30189 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(boolean
)
30190 See \
`config.log' for more details." >&5
30191 echo "$as_me: error: cannot compute sizeof (boolean)
30192 See \`config.log
' for more details." >&2;}
30193 { (exit 77); exit 77; }; }
30195 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30199 ac_cv_sizeof_boolean=0
30202 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
30203 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
30204 cat >>confdefs.h <<_ACEOF
30205 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
30209 cat >>confdefs.h <<_ACEOF
30210 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
30224 TIFF_PREREQ_LINKS=-lm
30225 if test "$wxUSE_LIBTIFF" != "no" ; then
30226 cat >>confdefs.h <<\_ACEOF
30227 #define wxUSE_LIBTIFF 1
30231 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
30232 if test "$wxUSE_LIBJPEG" = "sys"; then
30233 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
30235 if test "$wxUSE_ZLIB" = "sys"; then
30236 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
30238 if test "${ac_cv_header_tiffio_h+set}" = set; then
30239 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
30240 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
30241 if test "${ac_cv_header_tiffio_h+set}" = set; then
30242 echo $ECHO_N "(cached) $ECHO_C" >&6
30244 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
30245 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
30247 # Is the header compilable?
30248 { echo "$as_me:$LINENO: checking tiffio.h usability" >&5
30249 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6; }
30250 cat >conftest.$ac_ext <<_ACEOF
30253 cat confdefs.h >>conftest.$ac_ext
30254 cat >>conftest.$ac_ext <<_ACEOF
30255 /* end confdefs.h. */
30256 $ac_includes_default
30257 #include <tiffio.h>
30259 rm -f conftest.$ac_objext
30260 if { (ac_try="$ac_compile"
30261 case "(($ac_try" in
30262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30263 *) ac_try_echo=$ac_try;;
30265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30266 (eval "$ac_compile") 2>conftest.er1
30268 grep -v '^
*+' conftest.er1 >conftest.err
30270 cat conftest.err >&5
30271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30272 (exit $ac_status); } &&
30273 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
30274 { (case "(($ac_try" in
30275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30276 *) ac_try_echo=$ac_try;;
30278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30279 (eval "$ac_try") 2>&5
30281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30282 (exit $ac_status); }; } &&
30283 { ac_try='test -s conftest.
$ac_objext'
30284 { (case "(($ac_try" in
30285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30286 *) ac_try_echo=$ac_try;;
30288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30289 (eval "$ac_try") 2>&5
30291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30292 (exit $ac_status); }; }; then
30293 ac_header_compiler=yes
30295 echo "$as_me: failed program was:" >&5
30296 sed 's
/^
/| /' conftest.$ac_ext >&5
30298 ac_header_compiler=no
30301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30302 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30303 echo "${ECHO_T}$ac_header_compiler" >&6; }
30305 # Is the header present?
30306 { echo "$as_me:$LINENO: checking tiffio.h presence" >&5
30307 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6; }
30308 cat >conftest.$ac_ext <<_ACEOF
30311 cat confdefs.h >>conftest.$ac_ext
30312 cat >>conftest.$ac_ext <<_ACEOF
30313 /* end confdefs.h. */
30314 #include <tiffio.h>
30316 if { (ac_try="$ac_cpp conftest.$ac_ext"
30317 case "(($ac_try" in
30318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30319 *) ac_try_echo=$ac_try;;
30321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30322 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30324 grep -v '^
*+' conftest.er1 >conftest.err
30326 cat conftest.err >&5
30327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30328 (exit $ac_status); } >/dev/null; then
30329 if test -s conftest.err; then
30330 ac_cpp_err=$ac_c_preproc_warn_flag
30331 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30338 if test -z "$ac_cpp_err"; then
30339 ac_header_preproc=yes
30341 echo "$as_me: failed program was:" >&5
30342 sed 's
/^
/| /' conftest.$ac_ext >&5
30344 ac_header_preproc=no
30347 rm -f conftest.err conftest.$ac_ext
30348 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30349 echo "${ECHO_T}$ac_header_preproc" >&6; }
30351 # So? What about this header?
30352 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30354 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
30355 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30356 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result
" >&5
30357 echo "$as_me: WARNING
: tiffio.h
: proceeding with the compiler
's result" >&2;}
30358 ac_header_preproc=yes
30361 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
30362 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
30363 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
30364 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
30365 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
30366 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
30367 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
30368 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
30369 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result
" >&5
30370 echo "$as_me: WARNING
: tiffio.h
: proceeding with the preprocessor
's result" >&2;}
30371 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
30372 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
30374 ## ----------------------------------------- ##
30375 ## Report this to wx-dev@lists.wxwidgets.org ##
30376 ## ----------------------------------------- ##
30378 ) | sed "s/^/$as_me: WARNING: /" >&2
30381 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
30382 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
30383 if test "${ac_cv_header_tiffio_h+set}" = set; then
30384 echo $ECHO_N "(cached) $ECHO_C" >&6
30386 ac_cv_header_tiffio_h=$ac_header_preproc
30388 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
30389 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
30392 if test $ac_cv_header_tiffio_h = yes; then
30394 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
30395 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
30396 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
30397 echo $ECHO_N "(cached) $ECHO_C" >&6
30399 ac_check_lib_save_LIBS=$LIBS
30400 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
30401 cat >conftest.$ac_ext <<_ACEOF
30404 cat confdefs.h >>conftest.$ac_ext
30405 cat >>conftest.$ac_ext <<_ACEOF
30406 /* end confdefs.h. */
30408 /* Override any GCC internal prototype to avoid an error.
30409 Use char because int might match the return type of a GCC
30410 builtin and then its argument prototype would still apply. */
30418 return TIFFError ();
30423 rm -f conftest.$ac_objext conftest$ac_exeext
30424 if { (ac_try="$ac_link"
30425 case "(($ac_try" in
30426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30427 *) ac_try_echo=$ac_try;;
30429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30430 (eval "$ac_link") 2>conftest.er1
30432 grep -v '^
*+' conftest.er1 >conftest.err
30434 cat conftest.err >&5
30435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30436 (exit $ac_status); } &&
30437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
30438 { (case "(($ac_try" in
30439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30440 *) ac_try_echo=$ac_try;;
30442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30443 (eval "$ac_try") 2>&5
30445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30446 (exit $ac_status); }; } &&
30447 { ac_try='test -s conftest
$ac_exeext'
30448 { (case "(($ac_try" in
30449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30450 *) ac_try_echo=$ac_try;;
30452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30453 (eval "$ac_try") 2>&5
30455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30456 (exit $ac_status); }; }; then
30457 ac_cv_lib_tiff_TIFFError=yes
30459 echo "$as_me: failed program was:" >&5
30460 sed 's
/^
/| /' conftest.$ac_ext >&5
30462 ac_cv_lib_tiff_TIFFError=no
30465 rm -f core conftest.err conftest.$ac_objext \
30466 conftest$ac_exeext conftest.$ac_ext
30467 LIBS=$ac_check_lib_save_LIBS
30469 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
30470 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
30471 if test $ac_cv_lib_tiff_TIFFError = yes; then
30472 TIFF_LINK=" -ltiff"
30481 if test "x$TIFF_LINK" = "x" ; then
30482 if test "$wxUSE_LIBTIFF" = "sys" ; then
30483 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
30484 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
30485 { (exit 1); exit 1; }; }
30487 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
30488 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
30489 wxUSE_LIBTIFF=builtin
30498 if test "$wxUSE_WCHAR_T" != "yes"; then
30499 if test "$wxUSE_EXPAT" != "no"; then
30500 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
30501 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
30504 if test "$wxUSE_XML" != "no"; then
30505 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
30506 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
30511 if test "$wxUSE_EXPAT" != "no"; then
30513 cat >>confdefs.h <<\_ACEOF
30514 #define wxUSE_EXPAT 1
30517 cat >>confdefs.h <<\_ACEOF
30518 #define wxUSE_XML 1
30522 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
30523 if test "${ac_cv_header_expat_h+set}" = set; then
30524 { echo "$as_me:$LINENO: checking for expat.h" >&5
30525 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
30526 if test "${ac_cv_header_expat_h+set}" = set; then
30527 echo $ECHO_N "(cached) $ECHO_C" >&6
30529 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
30530 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30532 # Is the header compilable?
30533 { echo "$as_me:$LINENO: checking expat.h usability" >&5
30534 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6; }
30535 cat >conftest.$ac_ext <<_ACEOF
30538 cat confdefs.h >>conftest.$ac_ext
30539 cat >>conftest.$ac_ext <<_ACEOF
30540 /* end confdefs.h. */
30541 $ac_includes_default
30544 rm -f conftest.$ac_objext
30545 if { (ac_try="$ac_compile"
30546 case "(($ac_try" in
30547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30548 *) ac_try_echo=$ac_try;;
30550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30551 (eval "$ac_compile") 2>conftest.er1
30553 grep -v '^
*+' conftest.er1 >conftest.err
30555 cat conftest.err >&5
30556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30557 (exit $ac_status); } &&
30558 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
30559 { (case "(($ac_try" in
30560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30561 *) ac_try_echo=$ac_try;;
30563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30564 (eval "$ac_try") 2>&5
30566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30567 (exit $ac_status); }; } &&
30568 { ac_try='test -s conftest.
$ac_objext'
30569 { (case "(($ac_try" in
30570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30571 *) ac_try_echo=$ac_try;;
30573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30574 (eval "$ac_try") 2>&5
30576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30577 (exit $ac_status); }; }; then
30578 ac_header_compiler=yes
30580 echo "$as_me: failed program was:" >&5
30581 sed 's
/^
/| /' conftest.$ac_ext >&5
30583 ac_header_compiler=no
30586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30587 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30588 echo "${ECHO_T}$ac_header_compiler" >&6; }
30590 # Is the header present?
30591 { echo "$as_me:$LINENO: checking expat.h presence" >&5
30592 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6; }
30593 cat >conftest.$ac_ext <<_ACEOF
30596 cat confdefs.h >>conftest.$ac_ext
30597 cat >>conftest.$ac_ext <<_ACEOF
30598 /* end confdefs.h. */
30601 if { (ac_try="$ac_cpp conftest.$ac_ext"
30602 case "(($ac_try" in
30603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30604 *) ac_try_echo=$ac_try;;
30606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30607 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30609 grep -v '^
*+' conftest.er1 >conftest.err
30611 cat conftest.err >&5
30612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30613 (exit $ac_status); } >/dev/null; then
30614 if test -s conftest.err; then
30615 ac_cpp_err=$ac_c_preproc_warn_flag
30616 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30623 if test -z "$ac_cpp_err"; then
30624 ac_header_preproc=yes
30626 echo "$as_me: failed program was:" >&5
30627 sed 's
/^
/| /' conftest.$ac_ext >&5
30629 ac_header_preproc=no
30632 rm -f conftest.err conftest.$ac_ext
30633 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30634 echo "${ECHO_T}$ac_header_preproc" >&6; }
30636 # So? What about this header?
30637 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30639 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
30640 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30641 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result
" >&5
30642 echo "$as_me: WARNING
: expat.h
: proceeding with the compiler
's result" >&2;}
30643 ac_header_preproc=yes
30646 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
30647 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
30648 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
30649 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
30650 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
30651 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
30652 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
30653 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
30654 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result
" >&5
30655 echo "$as_me: WARNING
: expat.h
: proceeding with the preprocessor
's result" >&2;}
30656 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
30657 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
30659 ## ----------------------------------------- ##
30660 ## Report this to wx-dev@lists.wxwidgets.org ##
30661 ## ----------------------------------------- ##
30663 ) | sed "s/^/$as_me: WARNING: /" >&2
30666 { echo "$as_me:$LINENO: checking for expat.h" >&5
30667 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
30668 if test "${ac_cv_header_expat_h+set}" = set; then
30669 echo $ECHO_N "(cached) $ECHO_C" >&6
30671 ac_cv_header_expat_h=$ac_header_preproc
30673 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
30674 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30677 if test $ac_cv_header_expat_h = yes; then
30682 if test "x$found_expat_h" = "x1"; then
30683 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
30684 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
30685 if test "${wx_cv_expat_is_not_broken+set}" = set; then
30686 echo $ECHO_N "(cached) $ECHO_C" >&6
30690 ac_cpp='$CXXCPP $CPPFLAGS'
30691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
30692 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
30693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30695 cat >conftest.$ac_ext <<_ACEOF
30698 cat confdefs.h >>conftest.$ac_ext
30699 cat >>conftest.$ac_ext <<_ACEOF
30700 /* end confdefs.h. */
30710 rm -f conftest.$ac_objext
30711 if { (ac_try="$ac_compile"
30712 case "(($ac_try" in
30713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30714 *) ac_try_echo=$ac_try;;
30716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30717 (eval "$ac_compile") 2>conftest.er1
30719 grep -v '^
*+' conftest.er1 >conftest.err
30721 cat conftest.err >&5
30722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30723 (exit $ac_status); } &&
30724 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
'
30725 { (case "(($ac_try" in
30726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30727 *) ac_try_echo=$ac_try;;
30729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30730 (eval "$ac_try") 2>&5
30732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30733 (exit $ac_status); }; } &&
30734 { ac_try='test -s conftest.
$ac_objext'
30735 { (case "(($ac_try" in
30736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30737 *) ac_try_echo=$ac_try;;
30739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30740 (eval "$ac_try") 2>&5
30742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30743 (exit $ac_status); }; }; then
30744 wx_cv_expat_is_not_broken=yes
30746 echo "$as_me: failed program was:" >&5
30747 sed 's
/^
/| /' conftest.$ac_ext >&5
30749 wx_cv_expat_is_not_broken=no
30753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30755 ac_cpp='$CPP $CPPFLAGS'
30756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
30757 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
30758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30763 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
30764 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30765 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30766 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
30767 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
30768 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30769 echo $ECHO_N "(cached) $ECHO_C" >&6
30771 ac_check_lib_save_LIBS=$LIBS
30772 LIBS="-lexpat $LIBS"
30773 cat >conftest.$ac_ext <<_ACEOF
30776 cat confdefs.h >>conftest.$ac_ext
30777 cat >>conftest.$ac_ext <<_ACEOF
30778 /* end confdefs.h. */
30780 /* Override any GCC internal prototype to avoid an error.
30781 Use char because int might match the return type of a GCC
30782 builtin and then its argument prototype would still apply. */
30786 char XML_ParserCreate ();
30790 return XML_ParserCreate ();
30795 rm -f conftest.$ac_objext conftest$ac_exeext
30796 if { (ac_try="$ac_link"
30797 case "(($ac_try" in
30798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30799 *) ac_try_echo=$ac_try;;
30801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30802 (eval "$ac_link") 2>conftest.er1
30804 grep -v '^
*+' conftest.er1 >conftest.err
30806 cat conftest.err >&5
30807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30808 (exit $ac_status); } &&
30809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
30810 { (case "(($ac_try" in
30811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30812 *) ac_try_echo=$ac_try;;
30814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30815 (eval "$ac_try") 2>&5
30817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30818 (exit $ac_status); }; } &&
30819 { ac_try='test -s conftest
$ac_exeext'
30820 { (case "(($ac_try" in
30821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30822 *) ac_try_echo=$ac_try;;
30824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30825 (eval "$ac_try") 2>&5
30827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30828 (exit $ac_status); }; }; then
30829 ac_cv_lib_expat_XML_ParserCreate=yes
30831 echo "$as_me: failed program was:" >&5
30832 sed 's
/^
/| /' conftest.$ac_ext >&5
30834 ac_cv_lib_expat_XML_ParserCreate=no
30837 rm -f core conftest.err conftest.$ac_objext \
30838 conftest$ac_exeext conftest.$ac_ext
30839 LIBS=$ac_check_lib_save_LIBS
30841 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
30842 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30843 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30844 EXPAT_LINK=" -lexpat"
30849 if test "x$EXPAT_LINK" = "x" ; then
30850 if test "$wxUSE_EXPAT" = "sys" ; then
30851 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
30852 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
30853 { (exit 1); exit 1; }; }
30855 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
30856 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
30857 wxUSE_EXPAT=builtin
30863 if test "$wxUSE_EXPAT" = "builtin" ; then
30864 subdirs="$subdirs src/expat"
30871 if test "$wxUSE_LIBMSPACK" != "no"; then
30872 if test "${ac_cv_header_mspack_h+set}" = set; then
30873 { echo "$as_me:$LINENO: checking for mspack.h" >&5
30874 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
30875 if test "${ac_cv_header_mspack_h+set}" = set; then
30876 echo $ECHO_N "(cached) $ECHO_C" >&6
30878 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
30879 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30881 # Is the header compilable?
30882 { echo "$as_me:$LINENO: checking mspack.h usability" >&5
30883 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6; }
30884 cat >conftest.$ac_ext <<_ACEOF
30887 cat confdefs.h >>conftest.$ac_ext
30888 cat >>conftest.$ac_ext <<_ACEOF
30889 /* end confdefs.h. */
30890 $ac_includes_default
30891 #include <mspack.h>
30893 rm -f conftest.$ac_objext
30894 if { (ac_try="$ac_compile"
30895 case "(($ac_try" in
30896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30897 *) ac_try_echo=$ac_try;;
30899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30900 (eval "$ac_compile") 2>conftest.er1
30902 grep -v '^
*+' conftest.er1 >conftest.err
30904 cat conftest.err >&5
30905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30906 (exit $ac_status); } &&
30907 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
30908 { (case "(($ac_try" in
30909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30910 *) ac_try_echo=$ac_try;;
30912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30913 (eval "$ac_try") 2>&5
30915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30916 (exit $ac_status); }; } &&
30917 { ac_try='test -s conftest.
$ac_objext'
30918 { (case "(($ac_try" in
30919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30920 *) ac_try_echo=$ac_try;;
30922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30923 (eval "$ac_try") 2>&5
30925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30926 (exit $ac_status); }; }; then
30927 ac_header_compiler=yes
30929 echo "$as_me: failed program was:" >&5
30930 sed 's
/^
/| /' conftest.$ac_ext >&5
30932 ac_header_compiler=no
30935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30936 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30937 echo "${ECHO_T}$ac_header_compiler" >&6; }
30939 # Is the header present?
30940 { echo "$as_me:$LINENO: checking mspack.h presence" >&5
30941 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6; }
30942 cat >conftest.$ac_ext <<_ACEOF
30945 cat confdefs.h >>conftest.$ac_ext
30946 cat >>conftest.$ac_ext <<_ACEOF
30947 /* end confdefs.h. */
30948 #include <mspack.h>
30950 if { (ac_try="$ac_cpp conftest.$ac_ext"
30951 case "(($ac_try" in
30952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30953 *) ac_try_echo=$ac_try;;
30955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30956 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30958 grep -v '^
*+' conftest.er1 >conftest.err
30960 cat conftest.err >&5
30961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30962 (exit $ac_status); } >/dev/null; then
30963 if test -s conftest.err; then
30964 ac_cpp_err=$ac_c_preproc_warn_flag
30965 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30972 if test -z "$ac_cpp_err"; then
30973 ac_header_preproc=yes
30975 echo "$as_me: failed program was:" >&5
30976 sed 's
/^
/| /' conftest.$ac_ext >&5
30978 ac_header_preproc=no
30981 rm -f conftest.err conftest.$ac_ext
30982 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30983 echo "${ECHO_T}$ac_header_preproc" >&6; }
30985 # So? What about this header?
30986 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30988 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
30989 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30990 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result
" >&5
30991 echo "$as_me: WARNING
: mspack.h
: proceeding with the compiler
's result" >&2;}
30992 ac_header_preproc=yes
30995 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
30996 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
30997 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
30998 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
30999 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
31000 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
31001 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
31002 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
31003 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result
" >&5
31004 echo "$as_me: WARNING
: mspack.h
: proceeding with the preprocessor
's result" >&2;}
31005 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
31006 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
31008 ## ----------------------------------------- ##
31009 ## Report this to wx-dev@lists.wxwidgets.org ##
31010 ## ----------------------------------------- ##
31012 ) | sed "s/^/$as_me: WARNING: /" >&2
31015 { echo "$as_me:$LINENO: checking for mspack.h" >&5
31016 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
31017 if test "${ac_cv_header_mspack_h+set}" = set; then
31018 echo $ECHO_N "(cached) $ECHO_C" >&6
31020 ac_cv_header_mspack_h=$ac_header_preproc
31022 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
31023 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
31026 if test $ac_cv_header_mspack_h = yes; then
31031 if test "x$found_mspack_h" = "x1"; then
31032 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
31033 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
31034 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
31035 echo $ECHO_N "(cached) $ECHO_C" >&6
31037 ac_check_lib_save_LIBS=$LIBS
31038 LIBS="-lmspack $LIBS"
31039 cat >conftest.$ac_ext <<_ACEOF
31042 cat confdefs.h >>conftest.$ac_ext
31043 cat >>conftest.$ac_ext <<_ACEOF
31044 /* end confdefs.h. */
31046 /* Override any GCC internal prototype to avoid an error.
31047 Use char because int might match the return type of a GCC
31048 builtin and then its argument prototype would still apply. */
31052 char mspack_create_chm_decompressor ();
31056 return mspack_create_chm_decompressor ();
31061 rm -f conftest.$ac_objext conftest$ac_exeext
31062 if { (ac_try="$ac_link"
31063 case "(($ac_try" in
31064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31065 *) ac_try_echo=$ac_try;;
31067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31068 (eval "$ac_link") 2>conftest.er1
31070 grep -v '^
*+' conftest.er1 >conftest.err
31072 cat conftest.err >&5
31073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31074 (exit $ac_status); } &&
31075 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
31076 { (case "(($ac_try" in
31077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31078 *) ac_try_echo=$ac_try;;
31080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31081 (eval "$ac_try") 2>&5
31083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31084 (exit $ac_status); }; } &&
31085 { ac_try='test -s conftest
$ac_exeext'
31086 { (case "(($ac_try" in
31087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31088 *) ac_try_echo=$ac_try;;
31090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31091 (eval "$ac_try") 2>&5
31093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31094 (exit $ac_status); }; }; then
31095 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
31097 echo "$as_me: failed program was:" >&5
31098 sed 's
/^
/| /' conftest.$ac_ext >&5
31100 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
31103 rm -f core conftest.err conftest.$ac_objext \
31104 conftest$ac_exeext conftest.$ac_ext
31105 LIBS=$ac_check_lib_save_LIBS
31107 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
31108 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
31109 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
31110 MSPACK_LINK=" -lmspack"
31114 if test "x$MSPACK_LINK" = "x" ; then
31119 if test "$wxUSE_LIBMSPACK" != "no"; then
31120 cat >>confdefs.h <<\_ACEOF
31121 #define wxUSE_LIBMSPACK 1
31135 if test "$USE_WIN32" = 1 ; then
31137 for ac_header in w32api.h
31139 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31140 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31141 { echo "$as_me:$LINENO: checking for $ac_header" >&5
31142 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31143 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31144 echo $ECHO_N "(cached) $ECHO_C" >&6
31146 ac_res=`eval echo '${'$as_ac_Header'}'`
31147 { echo "$as_me:$LINENO: result: $ac_res" >&5
31148 echo "${ECHO_T}$ac_res" >&6; }
31150 # Is the header compilable?
31151 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
31152 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
31153 cat >conftest.$ac_ext <<_ACEOF
31156 cat confdefs.h >>conftest.$ac_ext
31157 cat >>conftest.$ac_ext <<_ACEOF
31158 /* end confdefs.h. */
31159 $ac_includes_default
31160 #include <$ac_header>
31162 rm -f conftest.$ac_objext
31163 if { (ac_try="$ac_compile"
31164 case "(($ac_try" in
31165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31166 *) ac_try_echo=$ac_try;;
31168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31169 (eval "$ac_compile") 2>conftest.er1
31171 grep -v '^
*+' conftest.er1 >conftest.err
31173 cat conftest.err >&5
31174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31175 (exit $ac_status); } &&
31176 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
31177 { (case "(($ac_try" in
31178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31179 *) ac_try_echo=$ac_try;;
31181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31182 (eval "$ac_try") 2>&5
31184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31185 (exit $ac_status); }; } &&
31186 { ac_try='test -s conftest.
$ac_objext'
31187 { (case "(($ac_try" in
31188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31189 *) ac_try_echo=$ac_try;;
31191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31192 (eval "$ac_try") 2>&5
31194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31195 (exit $ac_status); }; }; then
31196 ac_header_compiler=yes
31198 echo "$as_me: failed program was:" >&5
31199 sed 's
/^
/| /' conftest.$ac_ext >&5
31201 ac_header_compiler=no
31204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31205 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31206 echo "${ECHO_T}$ac_header_compiler" >&6; }
31208 # Is the header present?
31209 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
31210 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
31211 cat >conftest.$ac_ext <<_ACEOF
31214 cat confdefs.h >>conftest.$ac_ext
31215 cat >>conftest.$ac_ext <<_ACEOF
31216 /* end confdefs.h. */
31217 #include <$ac_header>
31219 if { (ac_try="$ac_cpp conftest.$ac_ext"
31220 case "(($ac_try" in
31221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31222 *) ac_try_echo=$ac_try;;
31224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31225 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31227 grep -v '^
*+' conftest.er1 >conftest.err
31229 cat conftest.err >&5
31230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31231 (exit $ac_status); } >/dev/null; then
31232 if test -s conftest.err; then
31233 ac_cpp_err=$ac_c_preproc_warn_flag
31234 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31241 if test -z "$ac_cpp_err"; then
31242 ac_header_preproc=yes
31244 echo "$as_me: failed program was:" >&5
31245 sed 's
/^
/| /' conftest.$ac_ext >&5
31247 ac_header_preproc=no
31250 rm -f conftest.err conftest.$ac_ext
31251 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31252 echo "${ECHO_T}$ac_header_preproc" >&6; }
31254 # So? What about this header?
31255 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31257 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31258 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31259 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
31260 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
31261 ac_header_preproc=yes
31264 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31265 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31266 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31267 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31268 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31269 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31270 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31271 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31272 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
31273 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
31274 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31275 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31277 ## ----------------------------------------- ##
31278 ## Report this to wx-dev@lists.wxwidgets.org ##
31279 ## ----------------------------------------- ##
31281 ) | sed "s/^/$as_me: WARNING: /" >&2
31284 { echo "$as_me:$LINENO: checking for $ac_header" >&5
31285 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31286 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31287 echo $ECHO_N "(cached) $ECHO_C" >&6
31289 eval "$as_ac_Header=\$ac_header_preproc"
31291 ac_res=`eval echo '${'$as_ac_Header'}'`
31292 { echo "$as_me:$LINENO: result: $ac_res" >&5
31293 echo "${ECHO_T}$ac_res" >&6; }
31296 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31297 cat >>confdefs.h <<_ACEOF
31298 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31305 if test "${ac_cv_header_windows_h+set}" = set; then
31306 { echo "$as_me:$LINENO: checking for windows.h" >&5
31307 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
31308 if test "${ac_cv_header_windows_h+set}" = set; then
31309 echo $ECHO_N "(cached) $ECHO_C" >&6
31311 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
31312 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
31314 # Is the header compilable?
31315 { echo "$as_me:$LINENO: checking windows.h usability" >&5
31316 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6; }
31317 cat >conftest.$ac_ext <<_ACEOF
31320 cat confdefs.h >>conftest.$ac_ext
31321 cat >>conftest.$ac_ext <<_ACEOF
31322 /* end confdefs.h. */
31323 $ac_includes_default
31324 #include <windows.h>
31326 rm -f conftest.$ac_objext
31327 if { (ac_try="$ac_compile"
31328 case "(($ac_try" in
31329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31330 *) ac_try_echo=$ac_try;;
31332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31333 (eval "$ac_compile") 2>conftest.er1
31335 grep -v '^
*+' conftest.er1 >conftest.err
31337 cat conftest.err >&5
31338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31339 (exit $ac_status); } &&
31340 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
31341 { (case "(($ac_try" in
31342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31343 *) ac_try_echo=$ac_try;;
31345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31346 (eval "$ac_try") 2>&5
31348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31349 (exit $ac_status); }; } &&
31350 { ac_try='test -s conftest.
$ac_objext'
31351 { (case "(($ac_try" in
31352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31353 *) ac_try_echo=$ac_try;;
31355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31356 (eval "$ac_try") 2>&5
31358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31359 (exit $ac_status); }; }; then
31360 ac_header_compiler=yes
31362 echo "$as_me: failed program was:" >&5
31363 sed 's
/^
/| /' conftest.$ac_ext >&5
31365 ac_header_compiler=no
31368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31369 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31370 echo "${ECHO_T}$ac_header_compiler" >&6; }
31372 # Is the header present?
31373 { echo "$as_me:$LINENO: checking windows.h presence" >&5
31374 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6; }
31375 cat >conftest.$ac_ext <<_ACEOF
31378 cat confdefs.h >>conftest.$ac_ext
31379 cat >>conftest.$ac_ext <<_ACEOF
31380 /* end confdefs.h. */
31381 #include <windows.h>
31383 if { (ac_try="$ac_cpp conftest.$ac_ext"
31384 case "(($ac_try" in
31385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31386 *) ac_try_echo=$ac_try;;
31388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31389 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31391 grep -v '^
*+' conftest.er1 >conftest.err
31393 cat conftest.err >&5
31394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31395 (exit $ac_status); } >/dev/null; then
31396 if test -s conftest.err; then
31397 ac_cpp_err=$ac_c_preproc_warn_flag
31398 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31405 if test -z "$ac_cpp_err"; then
31406 ac_header_preproc=yes
31408 echo "$as_me: failed program was:" >&5
31409 sed 's
/^
/| /' conftest.$ac_ext >&5
31411 ac_header_preproc=no
31414 rm -f conftest.err conftest.$ac_ext
31415 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31416 echo "${ECHO_T}$ac_header_preproc" >&6; }
31418 # So? What about this header?
31419 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31421 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
31422 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31423 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result
" >&5
31424 echo "$as_me: WARNING
: windows.h
: proceeding with the compiler
's result" >&2;}
31425 ac_header_preproc=yes
31428 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
31429 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
31430 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
31431 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
31432 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
31433 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
31434 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
31435 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
31436 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result
" >&5
31437 echo "$as_me: WARNING
: windows.h
: proceeding with the preprocessor
's result" >&2;}
31438 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
31439 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
31441 ## ----------------------------------------- ##
31442 ## Report this to wx-dev@lists.wxwidgets.org ##
31443 ## ----------------------------------------- ##
31445 ) | sed "s/^/$as_me: WARNING: /" >&2
31448 { echo "$as_me:$LINENO: checking for windows.h" >&5
31449 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
31450 if test "${ac_cv_header_windows_h+set}" = set; then
31451 echo $ECHO_N "(cached) $ECHO_C" >&6
31453 ac_cv_header_windows_h=$ac_header_preproc
31455 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
31456 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
31459 if test $ac_cv_header_windows_h = yes; then
31463 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
31464 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
31465 { (exit 1); exit 1; }; }
31471 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
31473 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
31474 LIBS="$LIBS -loleacc"
31479 LIBS="$LIBS -lkernel32 -luser32"
31482 if test "$wxUSE_ODBC" = "sys" ; then
31485 if test "$wxUSE_ODBC" = "yes" ; then
31486 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
31487 cat >>confdefs.h <<\_ACEOF
31488 #define wxUSE_ODBC 1
31493 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
31494 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
31496 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
31498 WIN32INSTALL=win32install
31501 for ac_header in pbt.h
31503 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31504 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31505 { echo "$as_me:$LINENO: checking for $ac_header" >&5
31506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31507 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31508 echo $ECHO_N "(cached) $ECHO_C" >&6
31510 ac_res=`eval echo '${'$as_ac_Header'}'`
31511 { echo "$as_me:$LINENO: result: $ac_res" >&5
31512 echo "${ECHO_T}$ac_res" >&6; }
31514 # Is the header compilable?
31515 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
31516 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
31517 cat >conftest.$ac_ext <<_ACEOF
31520 cat confdefs.h >>conftest.$ac_ext
31521 cat >>conftest.$ac_ext <<_ACEOF
31522 /* end confdefs.h. */
31523 $ac_includes_default
31524 #include <$ac_header>
31526 rm -f conftest.$ac_objext
31527 if { (ac_try="$ac_compile"
31528 case "(($ac_try" in
31529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31530 *) ac_try_echo=$ac_try;;
31532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31533 (eval "$ac_compile") 2>conftest.er1
31535 grep -v '^
*+' conftest.er1 >conftest.err
31537 cat conftest.err >&5
31538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31539 (exit $ac_status); } &&
31540 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
31541 { (case "(($ac_try" in
31542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31543 *) ac_try_echo=$ac_try;;
31545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31546 (eval "$ac_try") 2>&5
31548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31549 (exit $ac_status); }; } &&
31550 { ac_try='test -s conftest.
$ac_objext'
31551 { (case "(($ac_try" in
31552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31553 *) ac_try_echo=$ac_try;;
31555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31556 (eval "$ac_try") 2>&5
31558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31559 (exit $ac_status); }; }; then
31560 ac_header_compiler=yes
31562 echo "$as_me: failed program was:" >&5
31563 sed 's
/^
/| /' conftest.$ac_ext >&5
31565 ac_header_compiler=no
31568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31569 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31570 echo "${ECHO_T}$ac_header_compiler" >&6; }
31572 # Is the header present?
31573 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
31574 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
31575 cat >conftest.$ac_ext <<_ACEOF
31578 cat confdefs.h >>conftest.$ac_ext
31579 cat >>conftest.$ac_ext <<_ACEOF
31580 /* end confdefs.h. */
31581 #include <$ac_header>
31583 if { (ac_try="$ac_cpp conftest.$ac_ext"
31584 case "(($ac_try" in
31585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31586 *) ac_try_echo=$ac_try;;
31588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31589 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31591 grep -v '^
*+' conftest.er1 >conftest.err
31593 cat conftest.err >&5
31594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31595 (exit $ac_status); } >/dev/null; then
31596 if test -s conftest.err; then
31597 ac_cpp_err=$ac_c_preproc_warn_flag
31598 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31605 if test -z "$ac_cpp_err"; then
31606 ac_header_preproc=yes
31608 echo "$as_me: failed program was:" >&5
31609 sed 's
/^
/| /' conftest.$ac_ext >&5
31611 ac_header_preproc=no
31614 rm -f conftest.err conftest.$ac_ext
31615 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31616 echo "${ECHO_T}$ac_header_preproc" >&6; }
31618 # So? What about this header?
31619 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31621 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31622 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31623 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
31624 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
31625 ac_header_preproc=yes
31628 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31629 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31630 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31631 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31632 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31633 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31634 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31635 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31636 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
31637 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
31638 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31639 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31641 ## ----------------------------------------- ##
31642 ## Report this to wx-dev@lists.wxwidgets.org ##
31643 ## ----------------------------------------- ##
31645 ) | sed "s/^/$as_me: WARNING: /" >&2
31648 { echo "$as_me:$LINENO: checking for $ac_header" >&5
31649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31651 echo $ECHO_N "(cached) $ECHO_C" >&6
31653 eval "$as_ac_Header=\$ac_header_preproc"
31655 ac_res=`eval echo '${'$as_ac_Header'}'`
31656 { echo "$as_me:$LINENO: result: $ac_res" >&5
31657 echo "${ECHO_T}$ac_res" >&6; }
31660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31661 cat >>confdefs.h <<_ACEOF
31662 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31666 cat >>confdefs.h <<\_ACEOF
31667 #define NEED_PBT_H 1
31676 if test "$wxUSE_GUI" = "yes"; then
31686 if test "$wxUSE_COCOA" = 1 ; then
31687 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
31688 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
31689 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
31690 wxUSE_PRINTING_ARCHITECTURE=no
31692 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
31693 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
31694 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
31695 wxUSE_DRAG_AND_DROP=no
31697 if test "$wxUSE_DRAGIMAGE" = "yes"; then
31698 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
31699 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
31704 if test "$wxUSE_MSW" = 1 ; then
31710 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
31714 if test "$wxUSE_GTK" = 1; then
31715 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
31716 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
31718 gtk_version_cached=1
31719 if test "${wx_cv_lib_gtk+set}" = set; then
31720 echo $ECHO_N "(cached) $ECHO_C" >&6
31723 gtk_version_cached=0
31724 { echo "$as_me:$LINENO: result: " >&5
31725 echo "${ECHO_T}" >&6; }
31728 if test "$wxUSE_THREADS" = "yes"; then
31729 GTK_MODULES=gthread
31733 if test "x$wxGTK_VERSION" != "x1"
31737 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
31742 # Check whether --enable-gtktest was given.
31743 if test "${enable_gtktest+set}" = set; then
31744 enableval=$enable_gtktest;
31750 pkg_config_args=gtk+-2.0
31751 for module in . $GTK_MODULES
31755 pkg_config_args="$pkg_config_args gthread-2.0"
31762 # Extract the first word of "pkg-config", so it can be a program name with args.
31763 set dummy pkg-config; ac_word=$2
31764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31766 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31767 echo $ECHO_N "(cached) $ECHO_C" >&6
31769 case $PKG_CONFIG in
31771 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31775 for as_dir in $PATH
31778 test -z "$as_dir" && as_dir=.
31779 for ac_exec_ext in '' $ac_executable_extensions; do
31780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
31781 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31789 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
31793 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31794 if test -n "$PKG_CONFIG"; then
31795 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31796 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31798 { echo "$as_me:$LINENO: result: no" >&5
31799 echo "${ECHO_T}no" >&6; }
31804 if test x$PKG_CONFIG != xno ; then
31805 if pkg-config --atleast-pkgconfig-version 0.7 ; then
31808 echo "*** pkg-config too old; version 0.7 or better required."
31816 min_gtk_version=2.0.0
31817 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
31818 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
31820 if test x$PKG_CONFIG != xno ; then
31821 ## don't try to run the
test against uninstalled libtool libs
31822 if $PKG_CONFIG --uninstalled $pkg_config_args; then
31823 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
31827 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
31834 if test x
"$no_gtk" = x
; then
31835 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
31836 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
31837 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
31838 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31839 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
31840 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31841 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
31842 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31843 if test "x$enable_gtktest" = "xyes" ; then
31844 ac_save_CFLAGS
="$CFLAGS"
31845 ac_save_LIBS
="$LIBS"
31846 CFLAGS
="$CFLAGS $GTK_CFLAGS"
31847 LIBS
="$GTK_LIBS $LIBS"
31849 if test "$cross_compiling" = yes; then
31850 echo $ac_n "cross compiling; assumed OK... $ac_c"
31852 cat >conftest.
$ac_ext <<_ACEOF
31855 cat confdefs.h
>>conftest.
$ac_ext
31856 cat >>conftest.
$ac_ext <<_ACEOF
31857 /* end confdefs.h. */
31859 #include <gtk/gtk.h>
31861 #include <stdlib.h>
31866 int major, minor, micro;
31869 system ("touch conf.gtktest");
31871 /* HP/UX 9 (%@#!) writes to sscanf strings */
31872 tmp_version = g_strdup("$min_gtk_version");
31873 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
31874 printf("%s, bad version string\n", "$min_gtk_version");
31878 if ((gtk_major_version != $gtk_config_major_version) ||
31879 (gtk_minor_version != $gtk_config_minor_version) ||
31880 (gtk_micro_version != $gtk_config_micro_version))
31882 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31883 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31884 gtk_major_version, gtk_minor_version, gtk_micro_version);
31885 printf ("*** was found! If pkg-config was correct, then it is best\n");
31886 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31887 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31888 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31889 printf("*** required on your system.\n");
31890 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
31891 printf("*** to point to the correct configuration files\n");
31893 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31894 (gtk_minor_version != GTK_MINOR_VERSION) ||
31895 (gtk_micro_version != GTK_MICRO_VERSION))
31897 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31898 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31899 printf("*** library (version %d.%d.%d)\n",
31900 gtk_major_version, gtk_minor_version, gtk_micro_version);
31904 if ((gtk_major_version > major) ||
31905 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31906 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31912 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31913 gtk_major_version, gtk_minor_version, gtk_micro_version);
31914 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31915 major, minor, micro);
31916 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31918 printf("*** If you have already installed a sufficiently new version, this error\n");
31919 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
31920 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31921 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
31922 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
31923 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31924 printf("*** so that the correct libraries are found at run-time))\n");
31931 rm -f conftest
$ac_exeext
31932 if { (ac_try
="$ac_link"
31933 case "(($ac_try" in
31934 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31935 *) ac_try_echo=$ac_try;;
31937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31938 (eval "$ac_link") 2>&5
31940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31941 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31942 { (case "(($ac_try" in
31943 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31944 *) ac_try_echo
=$ac_try;;
31946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31947 (eval "$ac_try") 2>&5
31949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31950 (exit $ac_status); }; }; then
31953 echo "$as_me: program exited with status $ac_status" >&5
31954 echo "$as_me: failed program was:" >&5
31955 sed 's/^/| /' conftest.
$ac_ext >&5
31957 ( exit $ac_status )
31960 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
31964 CFLAGS
="$ac_save_CFLAGS"
31965 LIBS
="$ac_save_LIBS"
31968 if test "x$no_gtk" = x
; then
31969 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
31970 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
31973 { echo "$as_me:$LINENO: result: no" >&5
31974 echo "${ECHO_T}no" >&6; }
31975 if test "$PKG_CONFIG" = "no" ; then
31976 echo "*** A new enough version of pkg-config was not found."
31977 echo "*** See http://pkgconfig.sourceforge.net"
31979 if test -f conf.gtktest
; then
31982 echo "*** Could not run GTK+ test program, checking why..."
31983 ac_save_CFLAGS
="$CFLAGS"
31984 ac_save_LIBS
="$LIBS"
31985 CFLAGS
="$CFLAGS $GTK_CFLAGS"
31986 LIBS
="$LIBS $GTK_LIBS"
31987 cat >conftest.
$ac_ext <<_ACEOF
31990 cat confdefs.h
>>conftest.
$ac_ext
31991 cat >>conftest.
$ac_ext <<_ACEOF
31992 /* end confdefs.h. */
31994 #include <gtk/gtk.h>
32000 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
32005 rm -f conftest.
$ac_objext conftest
$ac_exeext
32006 if { (ac_try
="$ac_link"
32007 case "(($ac_try" in
32008 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32009 *) ac_try_echo=$ac_try;;
32011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32012 (eval "$ac_link") 2>conftest.er1
32014 grep -v '^ *+' conftest.er1 >conftest.err
32016 cat conftest.err >&5
32017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32018 (exit $ac_status); } &&
32019 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32020 { (case "(($ac_try" in
32021 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32022 *) ac_try_echo
=$ac_try;;
32024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32025 (eval "$ac_try") 2>&5
32027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32028 (exit $ac_status); }; } &&
32029 { ac_try
='test -s conftest$ac_exeext'
32030 { (case "(($ac_try" in
32031 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32032 *) ac_try_echo=$ac_try;;
32034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32035 (eval "$ac_try") 2>&5
32037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32038 (exit $ac_status); }; }; then
32039 echo "*** The test program compiled, but did not run. This usually means"
32040 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
32041 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
32042 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
32043 echo "*** to the installed location Also, make sure you have run ldconfig if that"
32044 echo "*** is required on your system"
32046 echo "*** If you have an old version installed, it is best to remove it, although"
32047 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
32049 echo "$as_me: failed program was:" >&5
32050 sed 's/^/| /' conftest.$ac_ext >&5
32052 echo "*** The test program failed to compile or link. See the file config.log for the"
32053 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
32056 rm -f core conftest.err conftest.$ac_objext \
32057 conftest$ac_exeext conftest.$ac_ext
32058 CFLAGS="$ac_save_CFLAGS"
32059 LIBS="$ac_save_LIBS"
32073 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
32074 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
32075 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
32077 if test "$wxUSE_SHARED" != "yes"; then
32078 GTK_LIBS="$GTK_LIBS -lX11"
32083 if test -z "$wx_cv_lib_gtk"; then
32084 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
32086 # Check whether --with-gtk-prefix was given.
32087 if test "${with_gtk_prefix+set}" = set; then
32088 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
32090 gtk_config_prefix=""
32094 # Check whether --with-gtk-exec-prefix was given.
32095 if test "${with_gtk_exec_prefix+set}" = set; then
32096 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
32098 gtk_config_exec_prefix=""
32101 # Check whether --enable-gtktest was given.
32102 if test "${enable_gtktest+set}" = set; then
32103 enableval=$enable_gtktest;
32109 for module in . $GTK_MODULES
32113 gtk_config_args="$gtk_config_args gthread"
32118 if test x$gtk_config_exec_prefix != x ; then
32119 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
32120 if test x${GTK_CONFIG+set} != xset ; then
32121 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
32124 if test x$gtk_config_prefix != x ; then
32125 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
32126 if test x${GTK_CONFIG+set} != xset ; then
32127 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
32131 # Extract the first word of "gtk-config", so it can be a program name with args.
32132 set dummy gtk-config; ac_word=$2
32133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32135 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
32136 echo $ECHO_N "(cached) $ECHO_C" >&6
32138 case $GTK_CONFIG in
32140 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
32143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32144 for as_dir in $PATH
32147 test -z "$as_dir" && as_dir=.
32148 for ac_exec_ext in '' $ac_executable_extensions; do
32149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
32150 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32158 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
32162 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
32163 if test -n "$GTK_CONFIG"; then
32164 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
32165 echo "${ECHO_T}$GTK_CONFIG" >&6; }
32167 { echo "$as_me:$LINENO: result: no" >&5
32168 echo "${ECHO_T}no" >&6; }
32172 min_gtk_version=1.2.7
32173 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
32174 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
32176 if test "$GTK_CONFIG" = "no" ; then
32179 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
32180 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
32181 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
32182 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
32183 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
32184 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
32185 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
32186 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
32187 if test "x$enable_gtktest" = "xyes" ; then
32188 ac_save_CFLAGS="$CFLAGS"
32189 ac_save_LIBS="$LIBS"
32190 CFLAGS="$CFLAGS $GTK_CFLAGS"
32191 LIBS="$GTK_LIBS $LIBS"
32193 if test "$cross_compiling" = yes; then
32194 echo $ac_n "cross compiling; assumed OK... $ac_c"
32196 cat >conftest.$ac_ext <<_ACEOF
32199 cat confdefs.h >>conftest.$ac_ext
32200 cat >>conftest.$ac_ext <<_ACEOF
32201 /* end confdefs.h. */
32203 #include <gtk/gtk.h>
32205 #include <stdlib.h>
32210 int major, minor, micro;
32213 system ("touch conf.gtktest");
32215 /* HP/UX 9 (%@#!) writes to sscanf strings */
32216 tmp_version = g_strdup("$min_gtk_version");
32217 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
32218 printf("%s, bad version string\n", "$min_gtk_version");
32222 if ((gtk_major_version != $gtk_config_major_version) ||
32223 (gtk_minor_version != $gtk_config_minor_version) ||
32224 (gtk_micro_version != $gtk_config_micro_version))
32226 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
32227 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
32228 gtk_major_version, gtk_minor_version, gtk_micro_version);
32229 printf ("*** was found! If gtk-config was correct, then it is best\n");
32230 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
32231 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
32232 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
32233 printf("*** required on your system.\n");
32234 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
32235 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
32236 printf("*** before re-running configure\n");
32238 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
32239 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
32240 (gtk_minor_version != GTK_MINOR_VERSION) ||
32241 (gtk_micro_version != GTK_MICRO_VERSION))
32243 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
32244 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
32245 printf("*** library (version %d.%d.%d)\n",
32246 gtk_major_version, gtk_minor_version, gtk_micro_version);
32248 #endif /* defined (GTK_MAJOR_VERSION) ... */
32251 if ((gtk_major_version > major) ||
32252 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
32253 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
32259 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
32260 gtk_major_version, gtk_minor_version, gtk_micro_version);
32261 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
32262 major, minor, micro);
32263 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
32265 printf("*** If you have already installed a sufficiently new version, this error\n");
32266 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
32267 printf("*** being found. The easiest way to fix this is to remove the old version\n");
32268 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
32269 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
32270 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
32271 printf("*** so that the correct libraries are found at run-time))\n");
32278 rm -f conftest$ac_exeext
32279 if { (ac_try="$ac_link"
32280 case "(($ac_try" in
32281 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32282 *) ac_try_echo
=$ac_try;;
32284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32285 (eval "$ac_link") 2>&5
32287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32288 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
32289 { (case "(($ac_try" in
32290 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32291 *) ac_try_echo=$ac_try;;
32293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32294 (eval "$ac_try") 2>&5
32296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32297 (exit $ac_status); }; }; then
32300 echo "$as_me: program exited with status $ac_status" >&5
32301 echo "$as_me: failed program was:" >&5
32302 sed 's/^/| /' conftest.$ac_ext >&5
32304 ( exit $ac_status )
32307 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32311 CFLAGS="$ac_save_CFLAGS"
32312 LIBS="$ac_save_LIBS"
32315 if test "x$no_gtk" = x ; then
32316 { echo "$as_me:$LINENO: result: yes" >&5
32317 echo "${ECHO_T}yes" >&6; }
32318 wx_cv_lib_gtk=1.2.7
32320 { echo "$as_me:$LINENO: result: no" >&5
32321 echo "${ECHO_T}no" >&6; }
32322 if test "$GTK_CONFIG" = "no" ; then
32323 echo "*** The gtk-config script installed by GTK could not be found"
32324 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
32325 echo "*** your path, or set the GTK_CONFIG environment variable to the"
32326 echo "*** full path to gtk-config."
32328 if test -f conf.gtktest ; then
32331 echo "*** Could not run GTK test program, checking why..."
32332 CFLAGS="$CFLAGS $GTK_CFLAGS"
32333 LIBS="$LIBS $GTK_LIBS"
32334 cat >conftest.$ac_ext <<_ACEOF
32337 cat confdefs.h >>conftest.$ac_ext
32338 cat >>conftest.$ac_ext <<_ACEOF
32339 /* end confdefs.h. */
32341 #include <gtk/gtk.h>
32347 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
32352 rm -f conftest.$ac_objext conftest$ac_exeext
32353 if { (ac_try="$ac_link"
32354 case "(($ac_try" in
32355 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32356 *) ac_try_echo
=$ac_try;;
32358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32359 (eval "$ac_link") 2>conftest.er1
32361 grep -v '^ *+' conftest.er1
>conftest.err
32363 cat conftest.err
>&5
32364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32365 (exit $ac_status); } &&
32366 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32367 { (case "(($ac_try" in
32368 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32369 *) ac_try_echo=$ac_try;;
32371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32372 (eval "$ac_try") 2>&5
32374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32375 (exit $ac_status); }; } &&
32376 { ac_try='test -s conftest$ac_exeext'
32377 { (case "(($ac_try" in
32378 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32379 *) ac_try_echo
=$ac_try;;
32381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32382 (eval "$ac_try") 2>&5
32384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32385 (exit $ac_status); }; }; then
32386 echo "*** The test program compiled, but did not run. This usually means"
32387 echo "*** that the run-time linker is not finding GTK or finding the wrong"
32388 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
32389 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
32390 echo "*** to the installed location Also, make sure you have run ldconfig if that"
32391 echo "*** is required on your system"
32393 echo "*** If you have an old version installed, it is best to remove it, although"
32394 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
32396 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
32397 echo "*** came with the system with the command"
32399 echo "*** rpm --erase --nodeps gtk gtk-devel"
32401 echo "$as_me: failed program was:" >&5
32402 sed 's/^/| /' conftest.
$ac_ext >&5
32404 echo "*** The test program failed to compile or link. See the file config.log for the"
32405 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
32406 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
32407 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
32410 rm -f core conftest.err conftest.
$ac_objext \
32411 conftest
$ac_exeext conftest.
$ac_ext
32412 CFLAGS
="$ac_save_CFLAGS"
32413 LIBS
="$ac_save_LIBS"
32425 if test -z "$wx_cv_lib_gtk"; then
32427 # Check whether --with-gtk-prefix was given.
32428 if test "${with_gtk_prefix+set}" = set; then
32429 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
32431 gtk_config_prefix
=""
32435 # Check whether --with-gtk-exec-prefix was given.
32436 if test "${with_gtk_exec_prefix+set}" = set; then
32437 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
32439 gtk_config_exec_prefix
=""
32442 # Check whether --enable-gtktest was given.
32443 if test "${enable_gtktest+set}" = set; then
32444 enableval
=$enable_gtktest;
32450 for module
in .
$GTK_MODULES
32454 gtk_config_args
="$gtk_config_args gthread"
32459 if test x
$gtk_config_exec_prefix != x
; then
32460 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
32461 if test x
${GTK_CONFIG+set} != xset
; then
32462 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
32465 if test x
$gtk_config_prefix != x
; then
32466 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
32467 if test x
${GTK_CONFIG+set} != xset
; then
32468 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
32472 # Extract the first word of "gtk-config", so it can be a program name with args.
32473 set dummy gtk
-config; ac_word
=$2
32474 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32476 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
32477 echo $ECHO_N "(cached) $ECHO_C" >&6
32479 case $GTK_CONFIG in
32481 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
32484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32485 for as_dir
in $PATH
32488 test -z "$as_dir" && as_dir
=.
32489 for ac_exec_ext
in '' $ac_executable_extensions; do
32490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
32491 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32499 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
32503 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
32504 if test -n "$GTK_CONFIG"; then
32505 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
32506 echo "${ECHO_T}$GTK_CONFIG" >&6; }
32508 { echo "$as_me:$LINENO: result: no" >&5
32509 echo "${ECHO_T}no" >&6; }
32513 min_gtk_version
=1.2.3
32514 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
32515 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
32517 if test "$GTK_CONFIG" = "no" ; then
32520 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
32521 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
32522 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
32523 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
32524 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
32525 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
32526 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
32527 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
32528 if test "x$enable_gtktest" = "xyes" ; then
32529 ac_save_CFLAGS
="$CFLAGS"
32530 ac_save_LIBS
="$LIBS"
32531 CFLAGS
="$CFLAGS $GTK_CFLAGS"
32532 LIBS
="$GTK_LIBS $LIBS"
32534 if test "$cross_compiling" = yes; then
32535 echo $ac_n "cross compiling; assumed OK... $ac_c"
32537 cat >conftest.
$ac_ext <<_ACEOF
32540 cat confdefs.h
>>conftest.
$ac_ext
32541 cat >>conftest.
$ac_ext <<_ACEOF
32542 /* end confdefs.h. */
32544 #include <gtk/gtk.h>
32546 #include <stdlib.h>
32551 int major, minor, micro;
32554 system ("touch conf.gtktest");
32556 /* HP/UX 9 (%@#!) writes to sscanf strings */
32557 tmp_version = g_strdup("$min_gtk_version");
32558 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
32559 printf("%s, bad version string\n", "$min_gtk_version");
32563 if ((gtk_major_version != $gtk_config_major_version) ||
32564 (gtk_minor_version != $gtk_config_minor_version) ||
32565 (gtk_micro_version != $gtk_config_micro_version))
32567 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
32568 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
32569 gtk_major_version, gtk_minor_version, gtk_micro_version);
32570 printf ("*** was found! If gtk-config was correct, then it is best\n");
32571 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
32572 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
32573 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
32574 printf("*** required on your system.\n");
32575 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
32576 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
32577 printf("*** before re-running configure\n");
32579 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
32580 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
32581 (gtk_minor_version != GTK_MINOR_VERSION) ||
32582 (gtk_micro_version != GTK_MICRO_VERSION))
32584 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
32585 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
32586 printf("*** library (version %d.%d.%d)\n",
32587 gtk_major_version, gtk_minor_version, gtk_micro_version);
32589 #endif /* defined (GTK_MAJOR_VERSION) ... */
32592 if ((gtk_major_version > major) ||
32593 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
32594 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
32600 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
32601 gtk_major_version, gtk_minor_version, gtk_micro_version);
32602 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
32603 major, minor, micro);
32604 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
32606 printf("*** If you have already installed a sufficiently new version, this error\n");
32607 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
32608 printf("*** being found. The easiest way to fix this is to remove the old version\n");
32609 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
32610 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
32611 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
32612 printf("*** so that the correct libraries are found at run-time))\n");
32619 rm -f conftest
$ac_exeext
32620 if { (ac_try
="$ac_link"
32621 case "(($ac_try" in
32622 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32623 *) ac_try_echo=$ac_try;;
32625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32626 (eval "$ac_link") 2>&5
32628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32629 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32630 { (case "(($ac_try" in
32631 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32632 *) ac_try_echo
=$ac_try;;
32634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32635 (eval "$ac_try") 2>&5
32637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32638 (exit $ac_status); }; }; then
32641 echo "$as_me: program exited with status $ac_status" >&5
32642 echo "$as_me: failed program was:" >&5
32643 sed 's/^/| /' conftest.
$ac_ext >&5
32645 ( exit $ac_status )
32648 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
32652 CFLAGS
="$ac_save_CFLAGS"
32653 LIBS
="$ac_save_LIBS"
32656 if test "x$no_gtk" = x
; then
32657 { echo "$as_me:$LINENO: result: yes" >&5
32658 echo "${ECHO_T}yes" >&6; }
32659 wx_cv_lib_gtk
=1.2.3
32661 { echo "$as_me:$LINENO: result: no" >&5
32662 echo "${ECHO_T}no" >&6; }
32663 if test "$GTK_CONFIG" = "no" ; then
32664 echo "*** The gtk-config script installed by GTK could not be found"
32665 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
32666 echo "*** your path, or set the GTK_CONFIG environment variable to the"
32667 echo "*** full path to gtk-config."
32669 if test -f conf.gtktest
; then
32672 echo "*** Could not run GTK test program, checking why..."
32673 CFLAGS
="$CFLAGS $GTK_CFLAGS"
32674 LIBS
="$LIBS $GTK_LIBS"
32675 cat >conftest.
$ac_ext <<_ACEOF
32678 cat confdefs.h
>>conftest.
$ac_ext
32679 cat >>conftest.
$ac_ext <<_ACEOF
32680 /* end confdefs.h. */
32682 #include <gtk/gtk.h>
32688 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
32693 rm -f conftest.
$ac_objext conftest
$ac_exeext
32694 if { (ac_try
="$ac_link"
32695 case "(($ac_try" in
32696 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32697 *) ac_try_echo=$ac_try;;
32699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32700 (eval "$ac_link") 2>conftest.er1
32702 grep -v '^ *+' conftest.er1 >conftest.err
32704 cat conftest.err >&5
32705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32706 (exit $ac_status); } &&
32707 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32708 { (case "(($ac_try" in
32709 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32710 *) ac_try_echo
=$ac_try;;
32712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32713 (eval "$ac_try") 2>&5
32715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32716 (exit $ac_status); }; } &&
32717 { ac_try
='test -s conftest$ac_exeext'
32718 { (case "(($ac_try" in
32719 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32720 *) ac_try_echo=$ac_try;;
32722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32723 (eval "$ac_try") 2>&5
32725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32726 (exit $ac_status); }; }; then
32727 echo "*** The test program compiled, but did not run. This usually means"
32728 echo "*** that the run-time linker is not finding GTK or finding the wrong"
32729 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
32730 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
32731 echo "*** to the installed location Also, make sure you have run ldconfig if that"
32732 echo "*** is required on your system"
32734 echo "*** If you have an old version installed, it is best to remove it, although"
32735 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
32737 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
32738 echo "*** came with the system with the command"
32740 echo "*** rpm --erase --nodeps gtk gtk-devel"
32742 echo "$as_me: failed program was:" >&5
32743 sed 's/^/| /' conftest.$ac_ext >&5
32745 echo "*** The test program failed to compile or link. See the file config.log for the"
32746 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
32747 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
32748 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
32751 rm -f core conftest.err conftest.$ac_objext \
32752 conftest$ac_exeext conftest.$ac_ext
32753 CFLAGS="$ac_save_CFLAGS"
32754 LIBS="$ac_save_LIBS"
32769 if test -z "$wx_cv_lib_gtk"; then
32772 wx_cv_cflags_gtk=$GTK_CFLAGS
32773 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
32780 if test "$gtk_version_cached" = 1; then
32781 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
32782 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
32785 case "$wx_cv_lib_gtk" in
32794 *) { { echo "$as_me:$LINENO: error:
32795 The development files for GTK+ were not found. For GTK+ 2, please
32796 ensure that pkg-config is in the path and that gtk+-2.0.pc is
32797 installed. For GTK+ 1.2 please check that gtk-config is in the path,
32798 and that the version is 1.2.3 or above. Also check that the
32799 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
32800 --libs' are in the LD_LIBRARY_PATH or equivalent.
32802 echo "$as_me: error:
32803 The development files for GTK+ were not found. For GTK+ 2, please
32804 ensure that pkg-config is in the path and that gtk+-2.0.pc is
32805 installed. For GTK+ 1.2 please check that gtk-config is in the path,
32806 and that the version is 1.2.3 or above. Also check that the
32807 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
32808 --libs' are in the LD_LIBRARY_PATH or equivalent.
32810 { (exit 1); exit 1; }; }
32814 if test "$WXGTK20" = 1; then
32815 save_CFLAGS="$CFLAGS"
32817 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
32818 LIBS="$LIBS $wx_cv_libs_gtk"
32820 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
32821 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
32822 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
32823 echo $ECHO_N "(cached) $ECHO_C" >&6
32825 cat >conftest.$ac_ext <<_ACEOF
32828 cat confdefs.h >>conftest.$ac_ext
32829 cat >>conftest.$ac_ext <<_ACEOF
32830 /* end confdefs.h. */
32831 #include <gtk/gtk.h>
32836 #ifndef gtk_icon_size_lookup
32837 char *p = (char *) gtk_icon_size_lookup;
32845 rm -f conftest.$ac_objext
32846 if { (ac_try="$ac_compile"
32847 case "(($ac_try" in
32848 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32849 *) ac_try_echo
=$ac_try;;
32851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32852 (eval "$ac_compile") 2>conftest.er1
32854 grep -v '^ *+' conftest.er1
>conftest.err
32856 cat conftest.err
>&5
32857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32858 (exit $ac_status); } &&
32859 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32860 { (case "(($ac_try" in
32861 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32862 *) ac_try_echo=$ac_try;;
32864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32865 (eval "$ac_try") 2>&5
32867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32868 (exit $ac_status); }; } &&
32869 { ac_try='test -s conftest.$ac_objext'
32870 { (case "(($ac_try" in
32871 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32872 *) ac_try_echo
=$ac_try;;
32874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32875 (eval "$ac_try") 2>&5
32877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32878 (exit $ac_status); }; }; then
32879 ac_cv_have_decl_gtk_icon_size_lookup
=yes
32881 echo "$as_me: failed program was:" >&5
32882 sed 's/^/| /' conftest.
$ac_ext >&5
32884 ac_cv_have_decl_gtk_icon_size_lookup
=no
32887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32889 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
32890 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
32891 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
32893 cat >>confdefs.h
<<_ACEOF
32894 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
32899 cat >>confdefs.h
<<_ACEOF
32900 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
32903 cat >>confdefs.h
<<\_ACEOF
32904 #define NEED_GTK_ICON_SIZE_LOOKUP 1
32911 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
32912 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
32913 cat >conftest.
$ac_ext <<_ACEOF
32916 cat confdefs.h
>>conftest.
$ac_ext
32917 cat >>conftest.
$ac_ext <<_ACEOF
32918 /* end confdefs.h. */
32920 #include <gtk/gtk.h>
32926 #if !GTK_CHECK_VERSION(2,6,0)
32934 rm -f conftest.
$ac_objext
32935 if { (ac_try
="$ac_compile"
32936 case "(($ac_try" in
32937 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32938 *) ac_try_echo=$ac_try;;
32940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32941 (eval "$ac_compile") 2>conftest.er1
32943 grep -v '^ *+' conftest.er1 >conftest.err
32945 cat conftest.err >&5
32946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32947 (exit $ac_status); } &&
32948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32949 { (case "(($ac_try" in
32950 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32951 *) ac_try_echo
=$ac_try;;
32953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32954 (eval "$ac_try") 2>&5
32956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32957 (exit $ac_status); }; } &&
32958 { ac_try
='test -s conftest.$ac_objext'
32959 { (case "(($ac_try" in
32960 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32961 *) ac_try_echo=$ac_try;;
32963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32964 (eval "$ac_try") 2>&5
32966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32967 (exit $ac_status); }; }; then
32969 cat >>confdefs.h <<\_ACEOF
32970 #define __WXGTK26__ 1
32973 cat >>confdefs.h <<\_ACEOF
32974 #define __WXGTK24__ 1
32977 { echo "$as_me:$LINENO: result: yes" >&5
32978 echo "${ECHO_T}yes" >&6; }
32982 echo "$as_me: failed program was:" >&5
32983 sed 's/^/| /' conftest.$ac_ext >&5
32986 { echo "$as_me:$LINENO: result: no" >&5
32987 echo "${ECHO_T}no" >&6; }
32992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32994 if test "$ac_wxgtk26" = 0; then
32995 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
32996 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
32997 cat >conftest.$ac_ext <<_ACEOF
33000 cat confdefs.h >>conftest.$ac_ext
33001 cat >>conftest.$ac_ext <<_ACEOF
33002 /* end confdefs.h. */
33004 #include <gtk/gtk.h>
33010 #if !GTK_CHECK_VERSION(2,4,0)
33018 rm -f conftest.$ac_objext
33019 if { (ac_try="$ac_compile"
33020 case "(($ac_try" in
33021 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33022 *) ac_try_echo
=$ac_try;;
33024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33025 (eval "$ac_compile") 2>conftest.er1
33027 grep -v '^ *+' conftest.er1
>conftest.err
33029 cat conftest.err
>&5
33030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33031 (exit $ac_status); } &&
33032 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33033 { (case "(($ac_try" in
33034 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33035 *) ac_try_echo=$ac_try;;
33037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33038 (eval "$ac_try") 2>&5
33040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33041 (exit $ac_status); }; } &&
33042 { ac_try='test -s conftest.$ac_objext'
33043 { (case "(($ac_try" in
33044 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33045 *) ac_try_echo
=$ac_try;;
33047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33048 (eval "$ac_try") 2>&5
33050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33051 (exit $ac_status); }; }; then
33053 cat >>confdefs.h
<<\_ACEOF
33054 #define __WXGTK24__ 1
33057 { echo "$as_me:$LINENO: result: yes" >&5
33058 echo "${ECHO_T}yes" >&6; }
33061 echo "$as_me: failed program was:" >&5
33062 sed 's/^/| /' conftest.
$ac_ext >&5
33065 { echo "$as_me:$LINENO: result: no" >&5
33066 echo "${ECHO_T}no" >&6; }
33070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33073 CFLAGS
="$save_CFLAGS"
33076 if test "$wxUSE_UNICODE" = "yes"; then
33077 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
33078 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
33082 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
33083 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
33084 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
33085 echo $ECHO_N "(cached) $ECHO_C" >&6
33087 ac_check_lib_save_LIBS
=$LIBS
33089 cat >conftest.
$ac_ext <<_ACEOF
33092 cat confdefs.h
>>conftest.
$ac_ext
33093 cat >>conftest.
$ac_ext <<_ACEOF
33094 /* end confdefs.h. */
33096 /* Override any GCC internal prototype to avoid an error.
33097 Use char because int might match the return type of a GCC
33098 builtin and then its argument prototype would still apply. */
33102 char gdk_im_open ();
33106 return gdk_im_open ();
33111 rm -f conftest.
$ac_objext conftest
$ac_exeext
33112 if { (ac_try
="$ac_link"
33113 case "(($ac_try" in
33114 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33115 *) ac_try_echo=$ac_try;;
33117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33118 (eval "$ac_link") 2>conftest.er1
33120 grep -v '^ *+' conftest.er1 >conftest.err
33122 cat conftest.err >&5
33123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33124 (exit $ac_status); } &&
33125 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33126 { (case "(($ac_try" in
33127 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33128 *) ac_try_echo
=$ac_try;;
33130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33131 (eval "$ac_try") 2>&5
33133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33134 (exit $ac_status); }; } &&
33135 { ac_try
='test -s conftest$ac_exeext'
33136 { (case "(($ac_try" in
33137 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33138 *) ac_try_echo=$ac_try;;
33140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33141 (eval "$ac_try") 2>&5
33143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33144 (exit $ac_status); }; }; then
33145 ac_cv_lib_gdk_gdk_im_open=yes
33147 echo "$as_me: failed program was:" >&5
33148 sed 's/^/| /' conftest.$ac_ext >&5
33150 ac_cv_lib_gdk_gdk_im_open=no
33153 rm -f core conftest.err conftest.$ac_objext \
33154 conftest$ac_exeext conftest.$ac_ext
33155 LIBS=$ac_check_lib_save_LIBS
33157 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
33158 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
33159 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
33160 cat >>confdefs.h <<\_ACEOF
33168 if test "$USE_DARWIN" != 1; then
33170 for ac_func in poll
33172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33173 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33175 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33176 echo $ECHO_N "(cached) $ECHO_C" >&6
33178 cat >conftest.$ac_ext <<_ACEOF
33181 cat confdefs.h >>conftest.$ac_ext
33182 cat >>conftest.$ac_ext <<_ACEOF
33183 /* end confdefs.h. */
33184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33186 #define $ac_func innocuous_$ac_func
33188 /* System header to define __stub macros and hopefully few prototypes,
33189 which can conflict with char $ac_func (); below.
33190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33191 <limits.h> exists even on freestanding compilers. */
33194 # include <limits.h>
33196 # include <assert.h>
33201 /* Override any GCC internal prototype to avoid an error.
33202 Use char because int might match the return type of a GCC
33203 builtin and then its argument prototype would still apply. */
33208 /* The GNU C library defines this for functions which it implements
33209 to always fail with ENOSYS. Some functions are actually named
33210 something starting with __ and the normal name is an alias. */
33211 #if defined __stub_$ac_func || defined __stub___$ac_func
33218 return $ac_func ();
33223 rm -f conftest.$ac_objext conftest$ac_exeext
33224 if { (ac_try="$ac_link"
33225 case "(($ac_try" in
33226 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33227 *) ac_try_echo
=$ac_try;;
33229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33230 (eval "$ac_link") 2>conftest.er1
33232 grep -v '^ *+' conftest.er1
>conftest.err
33234 cat conftest.err
>&5
33235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33236 (exit $ac_status); } &&
33237 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33238 { (case "(($ac_try" in
33239 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33240 *) ac_try_echo=$ac_try;;
33242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33243 (eval "$ac_try") 2>&5
33245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33246 (exit $ac_status); }; } &&
33247 { ac_try='test -s conftest$ac_exeext'
33248 { (case "(($ac_try" in
33249 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33250 *) ac_try_echo
=$ac_try;;
33252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33253 (eval "$ac_try") 2>&5
33255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33256 (exit $ac_status); }; }; then
33257 eval "$as_ac_var=yes"
33259 echo "$as_me: failed program was:" >&5
33260 sed 's/^/| /' conftest.
$ac_ext >&5
33262 eval "$as_ac_var=no"
33265 rm -f core conftest.err conftest.
$ac_objext \
33266 conftest
$ac_exeext conftest.
$ac_ext
33268 ac_res
=`eval echo '${'$as_ac_var'}'`
33269 { echo "$as_me:$LINENO: result: $ac_res" >&5
33270 echo "${ECHO_T}$ac_res" >&6; }
33271 if test `eval echo '${'$as_ac_var'}'` = yes; then
33272 cat >>confdefs.h
<<_ACEOF
33273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33281 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
33282 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
33284 AFMINSTALL
=afminstall
33288 if test "$wxUSE_GPE" = "yes"; then
33289 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
33290 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
33293 for ac_dir
in $SEARCH_LIB;
33295 for ac_extension
in a so sl dylib dll.a
; do
33296 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
33297 ac_find_libraries
=$ac_dir
33303 if test "$ac_find_libraries" != "" ; then
33305 if test "$ac_find_libraries" = "default location"; then
33308 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
33310 if test $result = 0; then
33313 ac_path_to_link
=" -L$ac_find_libraries"
33317 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
33319 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33320 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33322 { echo "$as_me:$LINENO: result: not found" >&5
33323 echo "${ECHO_T}not found" >&6; }
33329 if test "$wxUSE_MGL" = 1; then
33330 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
33331 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
33332 if test "x$MGL_ROOT" = x
; then
33333 { echo "$as_me:$LINENO: result: not found" >&5
33334 echo "${ECHO_T}not found" >&6; }
33335 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
33336 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
33337 { (exit 1); exit 1; }; }
33339 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
33340 echo "${ECHO_T}$MGL_ROOT" >&6; }
33343 { echo "$as_me:$LINENO: checking for libmgl location" >&5
33344 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
33347 if test "x$wxUSE_SHARED" = xyes
; then
33348 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
33350 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
33354 mgl_os_candidates
="dos32/dj2"
33357 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
33358 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
33359 { (exit 1); exit 1; }; }
33365 for mgl_os_i
in $mgl_os_candidates ; do
33366 if test "x$mgl_os" = x
; then
33367 if test "$wxUSE_DEBUG_FLAG" = yes ; then
33368 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
33369 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
33374 if test "x$mgl_lib_type" = x
; then
33375 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
33376 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
33377 mgl_lib_type
=release
33384 if test "x$mgl_os" = x
; then
33385 { echo "$as_me:$LINENO: result: not found" >&5
33386 echo "${ECHO_T}not found" >&6; }
33387 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
33388 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
33389 { (exit 1); exit 1; }; }
33391 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
33392 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
33394 wxUSE_UNIVERSAL
="yes"
33396 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
33397 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
33399 AFMINSTALL
=afminstall
33404 if test "$wxUSE_DFB" = 1; then
33407 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33408 if test -n "$ac_tool_prefix"; then
33409 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33410 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33411 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33413 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33414 echo $ECHO_N "(cached) $ECHO_C" >&6
33416 case $PKG_CONFIG in
33418 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33422 for as_dir
in $PATH
33425 test -z "$as_dir" && as_dir
=.
33426 for ac_exec_ext
in '' $ac_executable_extensions; do
33427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
33428 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33439 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33440 if test -n "$PKG_CONFIG"; then
33441 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33442 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33444 { echo "$as_me:$LINENO: result: no" >&5
33445 echo "${ECHO_T}no" >&6; }
33450 if test -z "$ac_cv_path_PKG_CONFIG"; then
33451 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33452 # Extract the first word of "pkg-config", so it can be a program name with args.
33453 set dummy pkg
-config; ac_word
=$2
33454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33456 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33457 echo $ECHO_N "(cached) $ECHO_C" >&6
33459 case $ac_pt_PKG_CONFIG in
33461 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33465 for as_dir
in $PATH
33468 test -z "$as_dir" && as_dir
=.
33469 for ac_exec_ext
in '' $ac_executable_extensions; do
33470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
33471 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33482 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33483 if test -n "$ac_pt_PKG_CONFIG"; then
33484 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33485 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33487 { echo "$as_me:$LINENO: result: no" >&5
33488 echo "${ECHO_T}no" >&6; }
33491 if test "x$ac_pt_PKG_CONFIG" = x
; then
33494 case $cross_compiling:$ac_tool_warned in
33496 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33497 whose name does not start with the host triplet. If you think this
33498 configuration is useful to you, please write to autoconf@gnu.org." >&5
33499 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33500 whose name does not start with the host triplet. If you think this
33501 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33502 ac_tool_warned
=yes ;;
33504 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33507 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33511 if test -n "$PKG_CONFIG"; then
33512 _pkg_min_version
=0.9.0
33513 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33514 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33515 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33516 { echo "$as_me:$LINENO: result: yes" >&5
33517 echo "${ECHO_T}yes" >&6; }
33519 { echo "$as_me:$LINENO: result: no" >&5
33520 echo "${ECHO_T}no" >&6; }
33528 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
33529 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
33531 if test -n "$PKG_CONFIG"; then
33532 if test -n "$DIRECTFB_CFLAGS"; then
33533 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
33535 if test -n "$PKG_CONFIG" && \
33536 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
33537 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
33539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33540 (exit $ac_status); }; then
33541 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
33549 if test -n "$PKG_CONFIG"; then
33550 if test -n "$DIRECTFB_LIBS"; then
33551 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
33553 if test -n "$PKG_CONFIG" && \
33554 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
33555 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
33557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33558 (exit $ac_status); }; then
33559 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
33570 if test $pkg_failed = yes; then
33572 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33573 _pkg_short_errors_supported
=yes
33575 _pkg_short_errors_supported
=no
33577 if test $_pkg_short_errors_supported = yes; then
33578 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
33580 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
33582 # Put the nasty error message in config.log where it belongs
33583 echo "$DIRECTFB_PKG_ERRORS" >&5
33586 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
33587 echo "$as_me: error: DirectFB not found." >&2;}
33588 { (exit 1); exit 1; }; }
33591 elif test $pkg_failed = untried
; then
33593 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
33594 echo "$as_me: error: DirectFB not found." >&2;}
33595 { (exit 1); exit 1; }; }
33599 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
33600 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
33601 { echo "$as_me:$LINENO: result: yes" >&5
33602 echo "${ECHO_T}yes" >&6; }
33604 wxUSE_UNIVERSAL
="yes"
33605 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
33606 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
33613 if test "$wxUSE_MICROWIN" = 1; then
33614 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
33615 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
33616 if test "x$MICROWINDOWS" = x
; then
33617 { echo "$as_me:$LINENO: result: not found" >&5
33618 echo "${ECHO_T}not found" >&6; }
33619 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
33620 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
33621 { (exit 1); exit 1; }; }
33623 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
33624 echo "${ECHO_T}$MICROWINDOWS" >&6; }
33627 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
33628 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
33629 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
33631 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
33632 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
33633 { (exit 1); exit 1; }; }
33636 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
33637 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
33639 wxUSE_UNIVERSAL
="yes"
33641 AFMINSTALL
=afminstall
33643 GUIDIST
=MICROWIN_DIST
33645 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
33648 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33649 { echo "$as_me:$LINENO: checking for X" >&5
33650 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
33653 # Check whether --with-x was given.
33654 if test "${with_x+set}" = set; then
33658 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
33659 if test "x$with_x" = xno
; then
33660 # The user explicitly disabled X.
33663 case $x_includes,$x_libraries in #(
33664 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
33665 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
33666 { (exit 1); exit 1; }; };; #(
33667 *,NONE
| NONE
,*) if test "${ac_cv_have_x+set}" = set; then
33668 echo $ECHO_N "(cached) $ECHO_C" >&6
33670 # One or both of the vars are not set, and there is no cached value.
33671 ac_x_includes
=no ac_x_libraries
=no
33672 rm -f -r conftest.dir
33673 if mkdir conftest.dir
; then
33675 cat >Imakefile
<<'_ACEOF'
33677 @echo incroot='${INCROOT}'
33679 @echo usrlibdir='${USRLIBDIR}'
33681 @echo libdir='${LIBDIR}'
33683 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
33684 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33685 for ac_var
in incroot usrlibdir libdir
; do
33686 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
33688 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
33689 for ac_extension
in a so sl
; do
33690 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
33691 test -f "$ac_im_libdir/libX11.$ac_extension"; then
33692 ac_im_usrlibdir
=$ac_im_libdir; break
33695 # Screen out bogus values from the imake configuration. They are
33696 # bogus both because they are the default anyway, and because
33697 # using them would break gcc on systems where it needs fixed includes.
33698 case $ac_im_incroot in
33699 /usr
/include
) ac_x_includes
= ;;
33700 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
33702 case $ac_im_usrlibdir in
33703 /usr
/lib
| /lib
) ;;
33704 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
33708 rm -f -r conftest.dir
33711 # Standard set of common directories for X headers.
33712 # Check X11 before X11Rn because it is often a symlink to the current release.
33724 /usr/local/X11/include
33725 /usr/local/X11R6/include
33726 /usr/local/X11R5/include
33727 /usr/local/X11R4/include
33729 /usr/local/include/X11
33730 /usr/local/include/X11R6
33731 /usr/local/include/X11R5
33732 /usr/local/include/X11R4
33736 /usr/XFree86/include/X11
33740 /usr/unsupported/include
33741 /usr/athena/include
33742 /usr/local/x11r5/include
33743 /usr/lpp/Xamples/include
33745 /usr/openwin/include
33746 /usr/openwin/share/include'
33748 if test "$ac_x_includes" = no
; then
33749 # Guess where to find include files, by looking for Xlib.h.
33750 # First, try using that file with no special directory specified.
33751 cat >conftest.
$ac_ext <<_ACEOF
33754 cat confdefs.h
>>conftest.
$ac_ext
33755 cat >>conftest.
$ac_ext <<_ACEOF
33756 /* end confdefs.h. */
33757 #include <X11/Xlib.h>
33759 if { (ac_try
="$ac_cpp conftest.$ac_ext"
33760 case "(($ac_try" in
33761 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33762 *) ac_try_echo=$ac_try;;
33764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33765 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33767 grep -v '^ *+' conftest.er1 >conftest.err
33769 cat conftest.err >&5
33770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33771 (exit $ac_status); } >/dev/null; then
33772 if test -s conftest.err; then
33773 ac_cpp_err=$ac_c_preproc_warn_flag
33774 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33781 if test -z "$ac_cpp_err"; then
33782 # We can compile using X headers with no special include directory.
33785 echo "$as_me: failed program was:" >&5
33786 sed 's/^/| /' conftest.$ac_ext >&5
33788 for ac_dir in $ac_x_header_dirs; do
33789 if test -r "$ac_dir/X11/Xlib.h"; then
33790 ac_x_includes=$ac_dir
33796 rm -f conftest.err conftest.$ac_ext
33797 fi # $ac_x_includes = no
33799 if test "$ac_x_libraries" = no; then
33800 # Check for the libraries.
33801 # See if we find them without any special options.
33802 # Don't add to $LIBS permanently.
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>
33820 rm -f conftest.$ac_objext conftest$ac_exeext
33821 if { (ac_try="$ac_link"
33822 case "(($ac_try" in
33823 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33824 *) ac_try_echo
=$ac_try;;
33826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33827 (eval "$ac_link") 2>conftest.er1
33829 grep -v '^ *+' conftest.er1
>conftest.err
33831 cat conftest.err
>&5
33832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33833 (exit $ac_status); } &&
33834 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33835 { (case "(($ac_try" in
33836 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33837 *) ac_try_echo=$ac_try;;
33839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33840 (eval "$ac_try") 2>&5
33842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33843 (exit $ac_status); }; } &&
33844 { ac_try='test -s conftest$ac_exeext'
33845 { (case "(($ac_try" in
33846 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33847 *) ac_try_echo
=$ac_try;;
33849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33850 (eval "$ac_try") 2>&5
33852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33853 (exit $ac_status); }; }; then
33855 # We can link X programs with no special library path.
33858 echo "$as_me: failed program was:" >&5
33859 sed 's/^/| /' conftest.
$ac_ext >&5
33862 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
33864 # Don't even attempt the hair of trying to link an X program!
33865 for ac_extension
in a so sl
; do
33866 if test -r "$ac_dir/libXt.$ac_extension"; then
33867 ac_x_libraries
=$ac_dir
33874 rm -f core conftest.err conftest.
$ac_objext \
33875 conftest
$ac_exeext conftest.
$ac_ext
33876 fi # $ac_x_libraries = no
33878 case $ac_x_includes,$ac_x_libraries in #(
33879 no
,* | *,no
| *\'*)
33880 # Didn't find X, or a directory has "'" in its name.
33881 ac_cv_have_x
="have_x=no";; #(
33883 # Record where we found X for the cache.
33884 ac_cv_have_x
="have_x=yes\
33885 ac_x_includes='$ac_x_includes'\
33886 ac_x_libraries='$ac_x_libraries'"
33892 eval "$ac_cv_have_x"
33895 if test "$have_x" != yes; then
33896 { echo "$as_me:$LINENO: result: $have_x" >&5
33897 echo "${ECHO_T}$have_x" >&6; }
33900 # If each of the values was on the command line, it overrides each guess.
33901 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
33902 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
33903 # Update the cache value to reflect the command line values.
33904 ac_cv_have_x
="have_x=yes\
33905 ac_x_includes='$x_includes'\
33906 ac_x_libraries='$x_libraries'"
33907 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
33908 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
33911 if test "$no_x" = yes; then
33912 # Not all programs may use this symbol, but it does not hurt to define it.
33914 cat >>confdefs.h
<<\_ACEOF
33915 #define X_DISPLAY_MISSING 1
33918 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
33920 if test -n "$x_includes"; then
33921 X_CFLAGS
="$X_CFLAGS -I$x_includes"
33924 # It would also be nice to do this for all -L options, not just this one.
33925 if test -n "$x_libraries"; then
33926 X_LIBS
="$X_LIBS -L$x_libraries"
33927 # For Solaris; some versions of Sun CC require a space after -R and
33928 # others require no space. Words are not sufficient . . . .
33929 case `(uname -sr) 2>/dev/null` in
33931 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
33932 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
33933 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
33934 cat >conftest.
$ac_ext <<_ACEOF
33937 cat confdefs.h
>>conftest.
$ac_ext
33938 cat >>conftest.
$ac_ext <<_ACEOF
33939 /* end confdefs.h. */
33949 rm -f conftest.
$ac_objext conftest
$ac_exeext
33950 if { (ac_try
="$ac_link"
33951 case "(($ac_try" in
33952 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33953 *) ac_try_echo=$ac_try;;
33955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33956 (eval "$ac_link") 2>conftest.er1
33958 grep -v '^ *+' conftest.er1 >conftest.err
33960 cat conftest.err >&5
33961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33962 (exit $ac_status); } &&
33963 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33964 { (case "(($ac_try" in
33965 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33966 *) ac_try_echo
=$ac_try;;
33968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33969 (eval "$ac_try") 2>&5
33971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33972 (exit $ac_status); }; } &&
33973 { ac_try
='test -s conftest$ac_exeext'
33974 { (case "(($ac_try" in
33975 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33976 *) ac_try_echo=$ac_try;;
33978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33979 (eval "$ac_try") 2>&5
33981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33982 (exit $ac_status); }; }; then
33985 echo "$as_me: failed program was:" >&5
33986 sed 's/^/| /' conftest.$ac_ext >&5
33991 rm -f core conftest.err conftest.$ac_objext \
33992 conftest$ac_exeext conftest.$ac_ext
33993 if test $ac_R_nospace = yes; then
33994 { echo "$as_me:$LINENO: result: no" >&5
33995 echo "${ECHO_T}no" >&6; }
33996 X_LIBS="$X_LIBS -R$x_libraries"
33998 LIBS="$ac_xsave_LIBS -R $x_libraries"
33999 cat >conftest.$ac_ext <<_ACEOF
34002 cat confdefs.h >>conftest.$ac_ext
34003 cat >>conftest.$ac_ext <<_ACEOF
34004 /* end confdefs.h. */
34014 rm -f conftest.$ac_objext conftest$ac_exeext
34015 if { (ac_try="$ac_link"
34016 case "(($ac_try" in
34017 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34018 *) ac_try_echo
=$ac_try;;
34020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34021 (eval "$ac_link") 2>conftest.er1
34023 grep -v '^ *+' conftest.er1
>conftest.err
34025 cat conftest.err
>&5
34026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34027 (exit $ac_status); } &&
34028 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34029 { (case "(($ac_try" in
34030 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34031 *) ac_try_echo=$ac_try;;
34033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34034 (eval "$ac_try") 2>&5
34036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34037 (exit $ac_status); }; } &&
34038 { ac_try='test -s conftest$ac_exeext'
34039 { (case "(($ac_try" in
34040 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34041 *) ac_try_echo
=$ac_try;;
34043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34044 (eval "$ac_try") 2>&5
34046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34047 (exit $ac_status); }; }; then
34050 echo "$as_me: failed program was:" >&5
34051 sed 's/^/| /' conftest.
$ac_ext >&5
34056 rm -f core conftest.err conftest.
$ac_objext \
34057 conftest
$ac_exeext conftest.
$ac_ext
34058 if test $ac_R_space = yes; then
34059 { echo "$as_me:$LINENO: result: yes" >&5
34060 echo "${ECHO_T}yes" >&6; }
34061 X_LIBS
="$X_LIBS -R $x_libraries"
34063 { echo "$as_me:$LINENO: result: neither works" >&5
34064 echo "${ECHO_T}neither works" >&6; }
34067 LIBS
=$ac_xsave_LIBS
34071 # Check for system-dependent libraries X programs must link with.
34072 # Do this before checking for the system-independent R6 libraries
34073 # (-lICE), since we may need -lsocket or whatever for X linking.
34075 if test "$ISC" = yes; then
34076 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
34078 # Martyn Johnson says this is needed for Ultrix, if the X
34079 # libraries were built with DECnet support. And Karl Berry says
34080 # the Alpha needs dnet_stub (dnet does not exist).
34081 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
34082 cat >conftest.
$ac_ext <<_ACEOF
34085 cat confdefs.h
>>conftest.
$ac_ext
34086 cat >>conftest.
$ac_ext <<_ACEOF
34087 /* end confdefs.h. */
34089 /* Override any GCC internal prototype to avoid an error.
34090 Use char because int might match the return type of a GCC
34091 builtin and then its argument prototype would still apply. */
34095 char XOpenDisplay ();
34099 return XOpenDisplay ();
34104 rm -f conftest.
$ac_objext conftest
$ac_exeext
34105 if { (ac_try
="$ac_link"
34106 case "(($ac_try" in
34107 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34108 *) ac_try_echo=$ac_try;;
34110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34111 (eval "$ac_link") 2>conftest.er1
34113 grep -v '^ *+' conftest.er1 >conftest.err
34115 cat conftest.err >&5
34116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34117 (exit $ac_status); } &&
34118 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34119 { (case "(($ac_try" in
34120 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34121 *) ac_try_echo
=$ac_try;;
34123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34124 (eval "$ac_try") 2>&5
34126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34127 (exit $ac_status); }; } &&
34128 { ac_try
='test -s conftest$ac_exeext'
34129 { (case "(($ac_try" in
34130 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34131 *) ac_try_echo=$ac_try;;
34133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34134 (eval "$ac_try") 2>&5
34136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34137 (exit $ac_status); }; }; then
34140 echo "$as_me: failed program was:" >&5
34141 sed 's/^/| /' conftest.$ac_ext >&5
34143 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
34144 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
34145 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
34146 echo $ECHO_N "(cached) $ECHO_C" >&6
34148 ac_check_lib_save_LIBS=$LIBS
34149 LIBS="-ldnet $LIBS"
34150 cat >conftest.$ac_ext <<_ACEOF
34153 cat confdefs.h >>conftest.$ac_ext
34154 cat >>conftest.$ac_ext <<_ACEOF
34155 /* end confdefs.h. */
34157 /* Override any GCC internal prototype to avoid an error.
34158 Use char because int might match the return type of a GCC
34159 builtin and then its argument prototype would still apply. */
34167 return dnet_ntoa ();
34172 rm -f conftest.$ac_objext conftest$ac_exeext
34173 if { (ac_try="$ac_link"
34174 case "(($ac_try" in
34175 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34176 *) ac_try_echo
=$ac_try;;
34178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34179 (eval "$ac_link") 2>conftest.er1
34181 grep -v '^ *+' conftest.er1
>conftest.err
34183 cat conftest.err
>&5
34184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34185 (exit $ac_status); } &&
34186 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34187 { (case "(($ac_try" in
34188 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34189 *) ac_try_echo=$ac_try;;
34191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34192 (eval "$ac_try") 2>&5
34194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34195 (exit $ac_status); }; } &&
34196 { ac_try='test -s conftest$ac_exeext'
34197 { (case "(($ac_try" in
34198 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34199 *) ac_try_echo
=$ac_try;;
34201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34202 (eval "$ac_try") 2>&5
34204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34205 (exit $ac_status); }; }; then
34206 ac_cv_lib_dnet_dnet_ntoa
=yes
34208 echo "$as_me: failed program was:" >&5
34209 sed 's/^/| /' conftest.
$ac_ext >&5
34211 ac_cv_lib_dnet_dnet_ntoa
=no
34214 rm -f core conftest.err conftest.
$ac_objext \
34215 conftest
$ac_exeext conftest.
$ac_ext
34216 LIBS
=$ac_check_lib_save_LIBS
34218 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
34219 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
34220 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
34221 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
34224 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
34225 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
34226 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
34227 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
34228 echo $ECHO_N "(cached) $ECHO_C" >&6
34230 ac_check_lib_save_LIBS
=$LIBS
34231 LIBS
="-ldnet_stub $LIBS"
34232 cat >conftest.
$ac_ext <<_ACEOF
34235 cat confdefs.h
>>conftest.
$ac_ext
34236 cat >>conftest.
$ac_ext <<_ACEOF
34237 /* end confdefs.h. */
34239 /* Override any GCC internal prototype to avoid an error.
34240 Use char because int might match the return type of a GCC
34241 builtin and then its argument prototype would still apply. */
34249 return dnet_ntoa ();
34254 rm -f conftest.
$ac_objext conftest
$ac_exeext
34255 if { (ac_try
="$ac_link"
34256 case "(($ac_try" in
34257 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34258 *) ac_try_echo=$ac_try;;
34260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34261 (eval "$ac_link") 2>conftest.er1
34263 grep -v '^ *+' conftest.er1 >conftest.err
34265 cat conftest.err >&5
34266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34267 (exit $ac_status); } &&
34268 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34269 { (case "(($ac_try" in
34270 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34271 *) ac_try_echo
=$ac_try;;
34273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34274 (eval "$ac_try") 2>&5
34276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34277 (exit $ac_status); }; } &&
34278 { ac_try
='test -s conftest$ac_exeext'
34279 { (case "(($ac_try" in
34280 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34281 *) ac_try_echo=$ac_try;;
34283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34284 (eval "$ac_try") 2>&5
34286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34287 (exit $ac_status); }; }; then
34288 ac_cv_lib_dnet_stub_dnet_ntoa=yes
34290 echo "$as_me: failed program was:" >&5
34291 sed 's/^/| /' conftest.$ac_ext >&5
34293 ac_cv_lib_dnet_stub_dnet_ntoa=no
34296 rm -f core conftest.err conftest.$ac_objext \
34297 conftest$ac_exeext conftest.$ac_ext
34298 LIBS=$ac_check_lib_save_LIBS
34300 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
34301 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
34302 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
34303 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
34309 rm -f core conftest.err conftest.$ac_objext \
34310 conftest$ac_exeext conftest.$ac_ext
34311 LIBS="$ac_xsave_LIBS"
34313 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
34314 # to get the SysV transport functions.
34315 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
34317 # The nsl library prevents programs from opening the X display
34318 # on Irix 5.2, according to T.E. Dickey.
34319 # The functions gethostbyname, getservbyname, and inet_addr are
34320 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
34321 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
34322 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
34323 if test "${ac_cv_func_gethostbyname+set}" = set; then
34324 echo $ECHO_N "(cached) $ECHO_C" >&6
34326 cat >conftest.$ac_ext <<_ACEOF
34329 cat confdefs.h >>conftest.$ac_ext
34330 cat >>conftest.$ac_ext <<_ACEOF
34331 /* end confdefs.h. */
34332 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
34333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34334 #define gethostbyname innocuous_gethostbyname
34336 /* System header to define __stub macros and hopefully few prototypes,
34337 which can conflict with char gethostbyname (); below.
34338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34339 <limits.h> exists even on freestanding compilers. */
34342 # include <limits.h>
34344 # include <assert.h>
34347 #undef gethostbyname
34349 /* Override any GCC internal prototype to avoid an error.
34350 Use char because int might match the return type of a GCC
34351 builtin and then its argument prototype would still apply. */
34355 char gethostbyname ();
34356 /* The GNU C library defines this for functions which it implements
34357 to always fail with ENOSYS. Some functions are actually named
34358 something starting with __ and the normal name is an alias. */
34359 #if defined __stub_gethostbyname || defined __stub___gethostbyname
34366 return gethostbyname ();
34371 rm -f conftest.$ac_objext conftest$ac_exeext
34372 if { (ac_try="$ac_link"
34373 case "(($ac_try" in
34374 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34375 *) ac_try_echo
=$ac_try;;
34377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34378 (eval "$ac_link") 2>conftest.er1
34380 grep -v '^ *+' conftest.er1
>conftest.err
34382 cat conftest.err
>&5
34383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34384 (exit $ac_status); } &&
34385 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34386 { (case "(($ac_try" in
34387 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34388 *) ac_try_echo=$ac_try;;
34390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34391 (eval "$ac_try") 2>&5
34393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34394 (exit $ac_status); }; } &&
34395 { ac_try='test -s conftest$ac_exeext'
34396 { (case "(($ac_try" in
34397 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34398 *) ac_try_echo
=$ac_try;;
34400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34401 (eval "$ac_try") 2>&5
34403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34404 (exit $ac_status); }; }; then
34405 ac_cv_func_gethostbyname
=yes
34407 echo "$as_me: failed program was:" >&5
34408 sed 's/^/| /' conftest.
$ac_ext >&5
34410 ac_cv_func_gethostbyname
=no
34413 rm -f core conftest.err conftest.
$ac_objext \
34414 conftest
$ac_exeext conftest.
$ac_ext
34416 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
34417 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
34419 if test $ac_cv_func_gethostbyname = no
; then
34420 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
34421 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
34422 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
34423 echo $ECHO_N "(cached) $ECHO_C" >&6
34425 ac_check_lib_save_LIBS
=$LIBS
34427 cat >conftest.
$ac_ext <<_ACEOF
34430 cat confdefs.h
>>conftest.
$ac_ext
34431 cat >>conftest.
$ac_ext <<_ACEOF
34432 /* end confdefs.h. */
34434 /* Override any GCC internal prototype to avoid an error.
34435 Use char because int might match the return type of a GCC
34436 builtin and then its argument prototype would still apply. */
34440 char gethostbyname ();
34444 return gethostbyname ();
34449 rm -f conftest.
$ac_objext conftest
$ac_exeext
34450 if { (ac_try
="$ac_link"
34451 case "(($ac_try" in
34452 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34453 *) ac_try_echo=$ac_try;;
34455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34456 (eval "$ac_link") 2>conftest.er1
34458 grep -v '^ *+' conftest.er1 >conftest.err
34460 cat conftest.err >&5
34461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34462 (exit $ac_status); } &&
34463 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34464 { (case "(($ac_try" in
34465 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34466 *) ac_try_echo
=$ac_try;;
34468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34469 (eval "$ac_try") 2>&5
34471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34472 (exit $ac_status); }; } &&
34473 { ac_try
='test -s conftest$ac_exeext'
34474 { (case "(($ac_try" in
34475 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34476 *) ac_try_echo=$ac_try;;
34478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34479 (eval "$ac_try") 2>&5
34481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34482 (exit $ac_status); }; }; then
34483 ac_cv_lib_nsl_gethostbyname=yes
34485 echo "$as_me: failed program was:" >&5
34486 sed 's/^/| /' conftest.$ac_ext >&5
34488 ac_cv_lib_nsl_gethostbyname=no
34491 rm -f core conftest.err conftest.$ac_objext \
34492 conftest$ac_exeext conftest.$ac_ext
34493 LIBS=$ac_check_lib_save_LIBS
34495 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
34496 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
34497 if test $ac_cv_lib_nsl_gethostbyname = yes; then
34498 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
34501 if test $ac_cv_lib_nsl_gethostbyname = no; then
34502 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
34503 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
34504 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
34505 echo $ECHO_N "(cached) $ECHO_C" >&6
34507 ac_check_lib_save_LIBS=$LIBS
34509 cat >conftest.$ac_ext <<_ACEOF
34512 cat confdefs.h >>conftest.$ac_ext
34513 cat >>conftest.$ac_ext <<_ACEOF
34514 /* end confdefs.h. */
34516 /* Override any GCC internal prototype to avoid an error.
34517 Use char because int might match the return type of a GCC
34518 builtin and then its argument prototype would still apply. */
34522 char gethostbyname ();
34526 return gethostbyname ();
34531 rm -f conftest.$ac_objext conftest$ac_exeext
34532 if { (ac_try="$ac_link"
34533 case "(($ac_try" in
34534 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34535 *) ac_try_echo
=$ac_try;;
34537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34538 (eval "$ac_link") 2>conftest.er1
34540 grep -v '^ *+' conftest.er1
>conftest.err
34542 cat conftest.err
>&5
34543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34544 (exit $ac_status); } &&
34545 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34546 { (case "(($ac_try" in
34547 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34548 *) ac_try_echo=$ac_try;;
34550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34551 (eval "$ac_try") 2>&5
34553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34554 (exit $ac_status); }; } &&
34555 { ac_try='test -s conftest$ac_exeext'
34556 { (case "(($ac_try" in
34557 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34558 *) ac_try_echo
=$ac_try;;
34560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34561 (eval "$ac_try") 2>&5
34563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34564 (exit $ac_status); }; }; then
34565 ac_cv_lib_bsd_gethostbyname
=yes
34567 echo "$as_me: failed program was:" >&5
34568 sed 's/^/| /' conftest.
$ac_ext >&5
34570 ac_cv_lib_bsd_gethostbyname
=no
34573 rm -f core conftest.err conftest.
$ac_objext \
34574 conftest
$ac_exeext conftest.
$ac_ext
34575 LIBS
=$ac_check_lib_save_LIBS
34577 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
34578 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
34579 if test $ac_cv_lib_bsd_gethostbyname = yes; then
34580 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
34586 # lieder@skyler.mavd.honeywell.com says without -lsocket,
34587 # socket/setsockopt and other routines are undefined under SCO ODT
34588 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
34589 # on later versions), says Simon Leinen: it contains gethostby*
34590 # variants that don't use the name server (or something). -lsocket
34591 # must be given before -lnsl if both are needed. We assume that
34592 # if connect needs -lnsl, so does gethostbyname.
34593 { echo "$as_me:$LINENO: checking for connect" >&5
34594 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
34595 if test "${ac_cv_func_connect+set}" = set; then
34596 echo $ECHO_N "(cached) $ECHO_C" >&6
34598 cat >conftest.
$ac_ext <<_ACEOF
34601 cat confdefs.h
>>conftest.
$ac_ext
34602 cat >>conftest.
$ac_ext <<_ACEOF
34603 /* end confdefs.h. */
34604 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
34605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34606 #define connect innocuous_connect
34608 /* System header to define __stub macros and hopefully few prototypes,
34609 which can conflict with char connect (); below.
34610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34611 <limits.h> exists even on freestanding compilers. */
34614 # include <limits.h>
34616 # include <assert.h>
34621 /* Override any GCC internal prototype to avoid an error.
34622 Use char because int might match the return type of a GCC
34623 builtin and then its argument prototype would still apply. */
34628 /* The GNU C library defines this for functions which it implements
34629 to always fail with ENOSYS. Some functions are actually named
34630 something starting with __ and the normal name is an alias. */
34631 #if defined __stub_connect || defined __stub___connect
34643 rm -f conftest.
$ac_objext conftest
$ac_exeext
34644 if { (ac_try
="$ac_link"
34645 case "(($ac_try" in
34646 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34647 *) ac_try_echo=$ac_try;;
34649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34650 (eval "$ac_link") 2>conftest.er1
34652 grep -v '^ *+' conftest.er1 >conftest.err
34654 cat conftest.err >&5
34655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34656 (exit $ac_status); } &&
34657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34658 { (case "(($ac_try" in
34659 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34660 *) ac_try_echo
=$ac_try;;
34662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34663 (eval "$ac_try") 2>&5
34665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34666 (exit $ac_status); }; } &&
34667 { ac_try
='test -s conftest$ac_exeext'
34668 { (case "(($ac_try" in
34669 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34670 *) ac_try_echo=$ac_try;;
34672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34673 (eval "$ac_try") 2>&5
34675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34676 (exit $ac_status); }; }; then
34677 ac_cv_func_connect=yes
34679 echo "$as_me: failed program was:" >&5
34680 sed 's/^/| /' conftest.$ac_ext >&5
34682 ac_cv_func_connect=no
34685 rm -f core conftest.err conftest.$ac_objext \
34686 conftest$ac_exeext conftest.$ac_ext
34688 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
34689 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
34691 if test $ac_cv_func_connect = no; then
34692 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
34693 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
34694 if test "${ac_cv_lib_socket_connect+set}" = set; then
34695 echo $ECHO_N "(cached) $ECHO_C" >&6
34697 ac_check_lib_save_LIBS=$LIBS
34698 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
34699 cat >conftest.$ac_ext <<_ACEOF
34702 cat confdefs.h >>conftest.$ac_ext
34703 cat >>conftest.$ac_ext <<_ACEOF
34704 /* end confdefs.h. */
34706 /* Override any GCC internal prototype to avoid an error.
34707 Use char because int might match the return type of a GCC
34708 builtin and then its argument prototype would still apply. */
34721 rm -f conftest.$ac_objext conftest$ac_exeext
34722 if { (ac_try="$ac_link"
34723 case "(($ac_try" in
34724 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34725 *) ac_try_echo
=$ac_try;;
34727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34728 (eval "$ac_link") 2>conftest.er1
34730 grep -v '^ *+' conftest.er1
>conftest.err
34732 cat conftest.err
>&5
34733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34734 (exit $ac_status); } &&
34735 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34736 { (case "(($ac_try" in
34737 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34738 *) ac_try_echo=$ac_try;;
34740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34741 (eval "$ac_try") 2>&5
34743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34744 (exit $ac_status); }; } &&
34745 { ac_try='test -s conftest$ac_exeext'
34746 { (case "(($ac_try" in
34747 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34748 *) ac_try_echo
=$ac_try;;
34750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34751 (eval "$ac_try") 2>&5
34753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34754 (exit $ac_status); }; }; then
34755 ac_cv_lib_socket_connect
=yes
34757 echo "$as_me: failed program was:" >&5
34758 sed 's/^/| /' conftest.
$ac_ext >&5
34760 ac_cv_lib_socket_connect
=no
34763 rm -f core conftest.err conftest.
$ac_objext \
34764 conftest
$ac_exeext conftest.
$ac_ext
34765 LIBS
=$ac_check_lib_save_LIBS
34767 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
34768 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
34769 if test $ac_cv_lib_socket_connect = yes; then
34770 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
34775 # Guillermo Gomez says -lposix is necessary on A/UX.
34776 { echo "$as_me:$LINENO: checking for remove" >&5
34777 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
34778 if test "${ac_cv_func_remove+set}" = set; then
34779 echo $ECHO_N "(cached) $ECHO_C" >&6
34781 cat >conftest.
$ac_ext <<_ACEOF
34784 cat confdefs.h
>>conftest.
$ac_ext
34785 cat >>conftest.
$ac_ext <<_ACEOF
34786 /* end confdefs.h. */
34787 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
34788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34789 #define remove innocuous_remove
34791 /* System header to define __stub macros and hopefully few prototypes,
34792 which can conflict with char remove (); below.
34793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34794 <limits.h> exists even on freestanding compilers. */
34797 # include <limits.h>
34799 # include <assert.h>
34804 /* Override any GCC internal prototype to avoid an error.
34805 Use char because int might match the return type of a GCC
34806 builtin and then its argument prototype would still apply. */
34811 /* The GNU C library defines this for functions which it implements
34812 to always fail with ENOSYS. Some functions are actually named
34813 something starting with __ and the normal name is an alias. */
34814 #if defined __stub_remove || defined __stub___remove
34826 rm -f conftest.
$ac_objext conftest
$ac_exeext
34827 if { (ac_try
="$ac_link"
34828 case "(($ac_try" in
34829 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34830 *) ac_try_echo=$ac_try;;
34832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34833 (eval "$ac_link") 2>conftest.er1
34835 grep -v '^ *+' conftest.er1 >conftest.err
34837 cat conftest.err >&5
34838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34839 (exit $ac_status); } &&
34840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34841 { (case "(($ac_try" in
34842 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34843 *) ac_try_echo
=$ac_try;;
34845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34846 (eval "$ac_try") 2>&5
34848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34849 (exit $ac_status); }; } &&
34850 { ac_try
='test -s conftest$ac_exeext'
34851 { (case "(($ac_try" in
34852 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34853 *) ac_try_echo=$ac_try;;
34855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34856 (eval "$ac_try") 2>&5
34858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34859 (exit $ac_status); }; }; then
34860 ac_cv_func_remove=yes
34862 echo "$as_me: failed program was:" >&5
34863 sed 's/^/| /' conftest.$ac_ext >&5
34865 ac_cv_func_remove=no
34868 rm -f core conftest.err conftest.$ac_objext \
34869 conftest$ac_exeext conftest.$ac_ext
34871 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
34872 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
34874 if test $ac_cv_func_remove = no; then
34875 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
34876 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
34877 if test "${ac_cv_lib_posix_remove+set}" = set; then
34878 echo $ECHO_N "(cached) $ECHO_C" >&6
34880 ac_check_lib_save_LIBS=$LIBS
34881 LIBS="-lposix $LIBS"
34882 cat >conftest.$ac_ext <<_ACEOF
34885 cat confdefs.h >>conftest.$ac_ext
34886 cat >>conftest.$ac_ext <<_ACEOF
34887 /* end confdefs.h. */
34889 /* Override any GCC internal prototype to avoid an error.
34890 Use char because int might match the return type of a GCC
34891 builtin and then its argument prototype would still apply. */
34904 rm -f conftest.$ac_objext conftest$ac_exeext
34905 if { (ac_try="$ac_link"
34906 case "(($ac_try" in
34907 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34908 *) ac_try_echo
=$ac_try;;
34910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34911 (eval "$ac_link") 2>conftest.er1
34913 grep -v '^ *+' conftest.er1
>conftest.err
34915 cat conftest.err
>&5
34916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34917 (exit $ac_status); } &&
34918 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34919 { (case "(($ac_try" in
34920 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34921 *) ac_try_echo=$ac_try;;
34923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34924 (eval "$ac_try") 2>&5
34926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34927 (exit $ac_status); }; } &&
34928 { ac_try='test -s conftest$ac_exeext'
34929 { (case "(($ac_try" in
34930 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34931 *) ac_try_echo
=$ac_try;;
34933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34934 (eval "$ac_try") 2>&5
34936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34937 (exit $ac_status); }; }; then
34938 ac_cv_lib_posix_remove
=yes
34940 echo "$as_me: failed program was:" >&5
34941 sed 's/^/| /' conftest.
$ac_ext >&5
34943 ac_cv_lib_posix_remove
=no
34946 rm -f core conftest.err conftest.
$ac_objext \
34947 conftest
$ac_exeext conftest.
$ac_ext
34948 LIBS
=$ac_check_lib_save_LIBS
34950 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
34951 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
34952 if test $ac_cv_lib_posix_remove = yes; then
34953 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
34958 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
34959 { echo "$as_me:$LINENO: checking for shmat" >&5
34960 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
34961 if test "${ac_cv_func_shmat+set}" = set; then
34962 echo $ECHO_N "(cached) $ECHO_C" >&6
34964 cat >conftest.
$ac_ext <<_ACEOF
34967 cat confdefs.h
>>conftest.
$ac_ext
34968 cat >>conftest.
$ac_ext <<_ACEOF
34969 /* end confdefs.h. */
34970 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
34971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34972 #define shmat innocuous_shmat
34974 /* System header to define __stub macros and hopefully few prototypes,
34975 which can conflict with char shmat (); below.
34976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34977 <limits.h> exists even on freestanding compilers. */
34980 # include <limits.h>
34982 # include <assert.h>
34987 /* Override any GCC internal prototype to avoid an error.
34988 Use char because int might match the return type of a GCC
34989 builtin and then its argument prototype would still apply. */
34994 /* The GNU C library defines this for functions which it implements
34995 to always fail with ENOSYS. Some functions are actually named
34996 something starting with __ and the normal name is an alias. */
34997 #if defined __stub_shmat || defined __stub___shmat
35009 rm -f conftest.
$ac_objext conftest
$ac_exeext
35010 if { (ac_try
="$ac_link"
35011 case "(($ac_try" in
35012 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35013 *) ac_try_echo=$ac_try;;
35015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35016 (eval "$ac_link") 2>conftest.er1
35018 grep -v '^ *+' conftest.er1 >conftest.err
35020 cat conftest.err >&5
35021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35022 (exit $ac_status); } &&
35023 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35024 { (case "(($ac_try" in
35025 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35026 *) ac_try_echo
=$ac_try;;
35028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35029 (eval "$ac_try") 2>&5
35031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35032 (exit $ac_status); }; } &&
35033 { ac_try
='test -s conftest$ac_exeext'
35034 { (case "(($ac_try" in
35035 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35036 *) ac_try_echo=$ac_try;;
35038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35039 (eval "$ac_try") 2>&5
35041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35042 (exit $ac_status); }; }; then
35043 ac_cv_func_shmat=yes
35045 echo "$as_me: failed program was:" >&5
35046 sed 's/^/| /' conftest.$ac_ext >&5
35048 ac_cv_func_shmat=no
35051 rm -f core conftest.err conftest.$ac_objext \
35052 conftest$ac_exeext conftest.$ac_ext
35054 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
35055 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
35057 if test $ac_cv_func_shmat = no; then
35058 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
35059 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
35060 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
35061 echo $ECHO_N "(cached) $ECHO_C" >&6
35063 ac_check_lib_save_LIBS=$LIBS
35065 cat >conftest.$ac_ext <<_ACEOF
35068 cat confdefs.h >>conftest.$ac_ext
35069 cat >>conftest.$ac_ext <<_ACEOF
35070 /* end confdefs.h. */
35072 /* Override any GCC internal prototype to avoid an error.
35073 Use char because int might match the return type of a GCC
35074 builtin and then its argument prototype would still apply. */
35087 rm -f conftest.$ac_objext conftest$ac_exeext
35088 if { (ac_try="$ac_link"
35089 case "(($ac_try" in
35090 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35091 *) ac_try_echo
=$ac_try;;
35093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35094 (eval "$ac_link") 2>conftest.er1
35096 grep -v '^ *+' conftest.er1
>conftest.err
35098 cat conftest.err
>&5
35099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35100 (exit $ac_status); } &&
35101 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35102 { (case "(($ac_try" in
35103 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35104 *) ac_try_echo=$ac_try;;
35106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35107 (eval "$ac_try") 2>&5
35109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35110 (exit $ac_status); }; } &&
35111 { ac_try='test -s conftest$ac_exeext'
35112 { (case "(($ac_try" in
35113 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35114 *) ac_try_echo
=$ac_try;;
35116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35117 (eval "$ac_try") 2>&5
35119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35120 (exit $ac_status); }; }; then
35121 ac_cv_lib_ipc_shmat
=yes
35123 echo "$as_me: failed program was:" >&5
35124 sed 's/^/| /' conftest.
$ac_ext >&5
35126 ac_cv_lib_ipc_shmat
=no
35129 rm -f core conftest.err conftest.
$ac_objext \
35130 conftest
$ac_exeext conftest.
$ac_ext
35131 LIBS
=$ac_check_lib_save_LIBS
35133 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
35134 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
35135 if test $ac_cv_lib_ipc_shmat = yes; then
35136 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
35142 # Check for libraries that X11R6 Xt/Xaw programs need.
35143 ac_save_LDFLAGS
=$LDFLAGS
35144 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
35145 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
35146 # check for ICE first), but we must link in the order -lSM -lICE or
35147 # we get undefined symbols. So assume we have SM if we have ICE.
35148 # These have to be linked with before -lX11, unlike the other
35149 # libraries we check for below, so use a different variable.
35150 # John Interrante, Karl Berry
35151 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
35152 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
35153 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
35154 echo $ECHO_N "(cached) $ECHO_C" >&6
35156 ac_check_lib_save_LIBS
=$LIBS
35157 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
35158 cat >conftest.
$ac_ext <<_ACEOF
35161 cat confdefs.h
>>conftest.
$ac_ext
35162 cat >>conftest.
$ac_ext <<_ACEOF
35163 /* end confdefs.h. */
35165 /* Override any GCC internal prototype to avoid an error.
35166 Use char because int might match the return type of a GCC
35167 builtin and then its argument prototype would still apply. */
35171 char IceConnectionNumber ();
35175 return IceConnectionNumber ();
35180 rm -f conftest.
$ac_objext conftest
$ac_exeext
35181 if { (ac_try
="$ac_link"
35182 case "(($ac_try" in
35183 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35184 *) ac_try_echo=$ac_try;;
35186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35187 (eval "$ac_link") 2>conftest.er1
35189 grep -v '^ *+' conftest.er1 >conftest.err
35191 cat conftest.err >&5
35192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35193 (exit $ac_status); } &&
35194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35195 { (case "(($ac_try" in
35196 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35197 *) ac_try_echo
=$ac_try;;
35199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35200 (eval "$ac_try") 2>&5
35202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35203 (exit $ac_status); }; } &&
35204 { ac_try
='test -s conftest$ac_exeext'
35205 { (case "(($ac_try" in
35206 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35207 *) ac_try_echo=$ac_try;;
35209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35210 (eval "$ac_try") 2>&5
35212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35213 (exit $ac_status); }; }; then
35214 ac_cv_lib_ICE_IceConnectionNumber=yes
35216 echo "$as_me: failed program was:" >&5
35217 sed 's/^/| /' conftest.$ac_ext >&5
35219 ac_cv_lib_ICE_IceConnectionNumber=no
35222 rm -f core conftest.err conftest.$ac_objext \
35223 conftest$ac_exeext conftest.$ac_ext
35224 LIBS=$ac_check_lib_save_LIBS
35226 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
35227 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
35228 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
35229 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
35232 LDFLAGS=$ac_save_LDFLAGS
35237 if test "$no_x" = "yes"; then
35238 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
35239 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
35240 { (exit 1); exit 1; }; }
35243 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
35244 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
35245 AFMINSTALL=afminstall
35246 COMPILED_X_PROGRAM=0
35250 if test "$wxUSE_X11" = 1; then
35251 if test "$wxUSE_NANOX" = "yes"; then
35252 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
35253 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
35254 if test "x$MICROWIN" = x ; then
35255 { echo "$as_me:$LINENO: result: not found" >&5
35256 echo "${ECHO_T}not found" >&6; }
35257 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
35258 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
35259 { (exit 1); exit 1; }; }
35261 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
35262 echo "${ECHO_T}$MICROWIN" >&6; }
35263 cat >>confdefs.h <<\_ACEOF
35264 #define wxUSE_NANOX 1
35270 if test "$wxUSE_UNICODE" = "yes"; then
35273 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
35274 if test -n "$ac_tool_prefix"; then
35275 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
35276 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
35277 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35279 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35280 echo $ECHO_N "(cached) $ECHO_C" >&6
35282 case $PKG_CONFIG in
35284 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
35287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35288 for as_dir in $PATH
35291 test -z "$as_dir" && as_dir=.
35292 for ac_exec_ext in '' $ac_executable_extensions; do
35293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
35294 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35305 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
35306 if test -n "$PKG_CONFIG"; then
35307 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35308 echo "${ECHO_T}$PKG_CONFIG" >&6; }
35310 { echo "$as_me:$LINENO: result: no" >&5
35311 echo "${ECHO_T}no" >&6; }
35316 if test -z "$ac_cv_path_PKG_CONFIG"; then
35317 ac_pt_PKG_CONFIG=$PKG_CONFIG
35318 # Extract the first word of "pkg-config", so it can be a program name with args.
35319 set dummy pkg-config; ac_word=$2
35320 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35322 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35323 echo $ECHO_N "(cached) $ECHO_C" >&6
35325 case $ac_pt_PKG_CONFIG in
35327 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35331 for as_dir in $PATH
35334 test -z "$as_dir" && as_dir=.
35335 for ac_exec_ext in '' $ac_executable_extensions; do
35336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
35337 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35348 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
35349 if test -n "$ac_pt_PKG_CONFIG"; then
35350 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35351 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
35353 { echo "$as_me:$LINENO: result: no" >&5
35354 echo "${ECHO_T}no" >&6; }
35357 if test "x$ac_pt_PKG_CONFIG" = x; then
35360 case $cross_compiling:$ac_tool_warned in
35362 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
35363 whose name does not start with the host triplet. If you think this
35364 configuration is useful to you, please write to autoconf@gnu.org." >&5
35365 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
35366 whose name does not start with the host triplet. If you think this
35367 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
35368 ac_tool_warned=yes ;;
35370 PKG_CONFIG=$ac_pt_PKG_CONFIG
35373 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
35377 if test -n "$PKG_CONFIG"; then
35378 _pkg_min_version=0.9.0
35379 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35380 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
35381 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35382 { echo "$as_me:$LINENO: result: yes" >&5
35383 echo "${ECHO_T}yes" >&6; }
35385 { echo "$as_me:$LINENO: result: no" >&5
35386 echo "${ECHO_T}no" >&6; }
35394 { echo "$as_me:$LINENO: checking for PANGOX" >&5
35395 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
35397 if test -n "$PKG_CONFIG"; then
35398 if test -n "$PANGOX_CFLAGS"; then
35399 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
35401 if test -n "$PKG_CONFIG" && \
35402 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
35403 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
35405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35406 (exit $ac_status); }; then
35407 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev
/null
`
35415 if test -n "$PKG_CONFIG"; then
35416 if test -n "$PANGOX_LIBS"; then
35417 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
35419 if test -n "$PKG_CONFIG" && \
35420 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
35421 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
35423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35424 (exit $ac_status); }; then
35425 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev
/null
`
35436 if test $pkg_failed = yes; then
35438 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35439 _pkg_short_errors_supported=yes
35441 _pkg_short_errors_supported=no
35443 if test $_pkg_short_errors_supported = yes; then
35444 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
35446 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
35448 # Put the nasty error message in config.log where it belongs
35449 echo "$PANGOX_PKG_ERRORS" >&5
35452 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
35453 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
35454 { (exit 1); exit 1; }; }
35457 elif test $pkg_failed = untried; then
35459 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
35460 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
35461 { (exit 1); exit 1; }; }
35465 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
35466 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
35467 { echo "$as_me:$LINENO: result: yes" >&5
35468 echo "${ECHO_T}yes" >&6; }
35470 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
35471 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
35472 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
35477 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
35478 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
35480 if test -n "$PKG_CONFIG"; then
35481 if test -n "$PANGOFT2_CFLAGS"; then
35482 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
35484 if test -n "$PKG_CONFIG" && \
35485 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
35486 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
35488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35489 (exit $ac_status); }; then
35490 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev
/null
`
35498 if test -n "$PKG_CONFIG"; then
35499 if test -n "$PANGOFT2_LIBS"; then
35500 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
35502 if test -n "$PKG_CONFIG" && \
35503 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
35504 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
35506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35507 (exit $ac_status); }; then
35508 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev
/null
`
35519 if test $pkg_failed = yes; then
35521 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35522 _pkg_short_errors_supported=yes
35524 _pkg_short_errors_supported=no
35526 if test $_pkg_short_errors_supported = yes; then
35527 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
35529 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
35531 # Put the nasty error message in config.log where it belongs
35532 echo "$PANGOFT2_PKG_ERRORS" >&5
35535 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
35536 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
35537 wxUSE_PRINTING_ARCHITECTURE="no"
35540 elif test $pkg_failed = untried; then
35542 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
35543 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
35544 wxUSE_PRINTING_ARCHITECTURE="no"
35548 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
35549 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
35550 { echo "$as_me:$LINENO: result: yes" >&5
35551 echo "${ECHO_T}yes" >&6; }
35553 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
35554 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
35555 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
35560 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
35561 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
35563 if test -n "$PKG_CONFIG"; then
35564 if test -n "$PANGOXFT_CFLAGS"; then
35565 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
35567 if test -n "$PKG_CONFIG" && \
35568 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
35569 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
35571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35572 (exit $ac_status); }; then
35573 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev
/null
`
35581 if test -n "$PKG_CONFIG"; then
35582 if test -n "$PANGOXFT_LIBS"; then
35583 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
35585 if test -n "$PKG_CONFIG" && \
35586 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
35587 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
35589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35590 (exit $ac_status); }; then
35591 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev
/null
`
35602 if test $pkg_failed = yes; then
35604 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35605 _pkg_short_errors_supported=yes
35607 _pkg_short_errors_supported=no
35609 if test $_pkg_short_errors_supported = yes; then
35610 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
35612 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
35614 # Put the nasty error message in config.log where it belongs
35615 echo "$PANGOXFT_PKG_ERRORS" >&5
35618 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
35619 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
35622 elif test $pkg_failed = untried; then
35624 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
35625 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
35629 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
35630 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
35631 { echo "$as_me:$LINENO: result: yes" >&5
35632 echo "${ECHO_T}yes" >&6; }
35634 cat >>confdefs.h <<\_ACEOF
35635 #define HAVE_PANGO_XFT 1
35638 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
35639 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
35640 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
35644 LIBS="$LIBS $PANGOX_LIBS"
35646 for ac_func in pango_font_family_is_monospace
35648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35649 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35651 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35652 echo $ECHO_N "(cached) $ECHO_C" >&6
35654 cat >conftest.$ac_ext <<_ACEOF
35657 cat confdefs.h >>conftest.$ac_ext
35658 cat >>conftest.$ac_ext <<_ACEOF
35659 /* end confdefs.h. */
35660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35662 #define $ac_func innocuous_$ac_func
35664 /* System header to define __stub macros and hopefully few prototypes,
35665 which can conflict with char $ac_func (); below.
35666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35667 <limits.h> exists even on freestanding compilers. */
35670 # include <limits.h>
35672 # include <assert.h>
35677 /* Override any GCC internal prototype to avoid an error.
35678 Use char because int might match the return type of a GCC
35679 builtin and then its argument prototype would still apply. */
35684 /* The GNU C library defines this for functions which it implements
35685 to always fail with ENOSYS. Some functions are actually named
35686 something starting with __ and the normal name is an alias. */
35687 #if defined __stub_$ac_func || defined __stub___$ac_func
35694 return $ac_func ();
35699 rm -f conftest.$ac_objext conftest$ac_exeext
35700 if { (ac_try="$ac_link"
35701 case "(($ac_try" in
35702 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35703 *) ac_try_echo
=$ac_try;;
35705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35706 (eval "$ac_link") 2>conftest.er1
35708 grep -v '^ *+' conftest.er1
>conftest.err
35710 cat conftest.err
>&5
35711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35712 (exit $ac_status); } &&
35713 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35714 { (case "(($ac_try" in
35715 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35716 *) ac_try_echo=$ac_try;;
35718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35719 (eval "$ac_try") 2>&5
35721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35722 (exit $ac_status); }; } &&
35723 { ac_try='test -s conftest$ac_exeext'
35724 { (case "(($ac_try" in
35725 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35726 *) ac_try_echo
=$ac_try;;
35728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35729 (eval "$ac_try") 2>&5
35731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35732 (exit $ac_status); }; }; then
35733 eval "$as_ac_var=yes"
35735 echo "$as_me: failed program was:" >&5
35736 sed 's/^/| /' conftest.
$ac_ext >&5
35738 eval "$as_ac_var=no"
35741 rm -f core conftest.err conftest.
$ac_objext \
35742 conftest
$ac_exeext conftest.
$ac_ext
35744 ac_res
=`eval echo '${'$as_ac_var'}'`
35745 { echo "$as_me:$LINENO: result: $ac_res" >&5
35746 echo "${ECHO_T}$ac_res" >&6; }
35747 if test `eval echo '${'$as_ac_var'}'` = yes; then
35748 cat >>confdefs.h
<<_ACEOF
35749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35758 wxUSE_UNIVERSAL
="yes"
35760 if test "$wxUSE_NANOX" = "yes"; then
35761 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
35762 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"
35763 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
35765 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
35772 if test "$wxUSE_MOTIF" = 1; then
35773 if test "$wxUSE_UNICODE" = "yes"; then
35774 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
35775 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
35776 { (exit 1); exit 1; }; }
35779 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
35780 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
35783 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
35785 if test -f "$ac_dir/Xm/Xm.h"; then
35786 ac_find_includes
=$ac_dir
35791 if test "$ac_find_includes" != "" ; then
35792 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35793 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35795 if test "x$ac_find_includes" = "x/usr/include"; then
35796 ac_path_to_include
=""
35798 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
35800 if test $result = 0; then
35801 ac_path_to_include
=""
35803 ac_path_to_include
=" -I$ac_find_includes"
35807 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
35809 save_CFLAGS
=$CFLAGS
35810 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
35812 cat >conftest.
$ac_ext <<_ACEOF
35815 cat confdefs.h
>>conftest.
$ac_ext
35816 cat >>conftest.
$ac_ext <<_ACEOF
35817 /* end confdefs.h. */
35826 version = xmUseVersion;
35832 rm -f conftest.
$ac_objext
35833 if { (ac_try
="$ac_compile"
35834 case "(($ac_try" in
35835 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35836 *) ac_try_echo=$ac_try;;
35838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35839 (eval "$ac_compile") 2>conftest.er1
35841 grep -v '^ *+' conftest.er1 >conftest.err
35843 cat conftest.err >&5
35844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35845 (exit $ac_status); } &&
35846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35847 { (case "(($ac_try" in
35848 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35849 *) ac_try_echo
=$ac_try;;
35851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35852 (eval "$ac_try") 2>&5
35854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35855 (exit $ac_status); }; } &&
35856 { ac_try
='test -s conftest.$ac_objext'
35857 { (case "(($ac_try" in
35858 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35859 *) ac_try_echo=$ac_try;;
35861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35862 (eval "$ac_try") 2>&5
35864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35865 (exit $ac_status); }; }; then
35867 { echo "$as_me:$LINENO: result: found in default search path" >&5
35868 echo "${ECHO_T}found in default search path" >&6; }
35869 COMPILED_X_PROGRAM=1
35872 echo "$as_me: failed program was:" >&5
35873 sed 's/^/| /' conftest.$ac_ext >&5
35876 { echo "$as_me:$LINENO: result: no" >&5
35877 echo "${ECHO_T}no" >&6; }
35878 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
35879 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
35880 { (exit 1); exit 1; }; }
35885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35887 CFLAGS=$save_CFLAGS
35891 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
35892 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
35895 for ac_dir in $SEARCH_LIB;
35897 for ac_extension in a so sl dylib dll.a; do
35898 if test -f "$ac_dir/libXm.$ac_extension"; then
35899 ac_find_libraries=$ac_dir
35906 if test "x$ac_find_libraries" != "x" ; then
35907 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35908 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35911 if test "$ac_find_libraries" = "default location"; then
35914 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
35916 if test $result = 0; then
35919 ac_path_to_link=" -L$ac_find_libraries"
35923 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
35925 save_CFLAGS=$CFLAGS
35926 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
35928 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
35930 cat >conftest.$ac_ext <<_ACEOF
35933 cat confdefs.h >>conftest.$ac_ext
35934 cat >>conftest.$ac_ext <<_ACEOF
35935 /* end confdefs.h. */
35944 version = xmUseVersion;
35950 rm -f conftest.$ac_objext conftest$ac_exeext
35951 if { (ac_try="$ac_link"
35952 case "(($ac_try" in
35953 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35954 *) ac_try_echo
=$ac_try;;
35956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35957 (eval "$ac_link") 2>conftest.er1
35959 grep -v '^ *+' conftest.er1
>conftest.err
35961 cat conftest.err
>&5
35962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35963 (exit $ac_status); } &&
35964 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35965 { (case "(($ac_try" in
35966 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35967 *) ac_try_echo=$ac_try;;
35969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35970 (eval "$ac_try") 2>&5
35972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35973 (exit $ac_status); }; } &&
35974 { ac_try='test -s conftest$ac_exeext'
35975 { (case "(($ac_try" in
35976 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35977 *) ac_try_echo
=$ac_try;;
35979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35980 (eval "$ac_try") 2>&5
35982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35983 (exit $ac_status); }; }; then
35985 { echo "$as_me:$LINENO: result: found in default search path" >&5
35986 echo "${ECHO_T}found in default search path" >&6; }
35987 COMPILED_X_PROGRAM
=1
35990 echo "$as_me: failed program was:" >&5
35991 sed 's/^/| /' conftest.
$ac_ext >&5
35994 { echo "$as_me:$LINENO: result: no" >&5
35995 echo "${ECHO_T}no" >&6; }
35996 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
35997 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
35998 { (exit 1); exit 1; }; }
36003 rm -f core conftest.err conftest.
$ac_objext \
36004 conftest
$ac_exeext conftest.
$ac_ext
36006 CFLAGS
=$save_CFLAGS
36010 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
36011 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
36015 for libp
in "" " -lXp"; do
36016 if test "$libs_found" = "0"; then
36017 for libsm_ice
in "" " -lSM -lICE"; do
36018 if test "$libs_found" = "0"; then
36020 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
36021 save_CFLAGS
=$CFLAGS
36022 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
36024 cat >conftest.
$ac_ext <<_ACEOF
36027 cat confdefs.h
>>conftest.
$ac_ext
36028 cat >>conftest.
$ac_ext <<_ACEOF
36029 /* end confdefs.h. */
36032 #include <Xm/List.h>
36038 XmString string = NULL;
36041 XmListAddItem(w, string, position);
36047 rm -f conftest.
$ac_objext conftest
$ac_exeext
36048 if { (ac_try
="$ac_link"
36049 case "(($ac_try" in
36050 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36051 *) ac_try_echo=$ac_try;;
36053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36054 (eval "$ac_link") 2>conftest.er1
36056 grep -v '^ *+' conftest.er1 >conftest.err
36058 cat conftest.err >&5
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); } &&
36061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36062 { (case "(($ac_try" in
36063 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36064 *) ac_try_echo
=$ac_try;;
36066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36067 (eval "$ac_try") 2>&5
36069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36070 (exit $ac_status); }; } &&
36071 { ac_try
='test -s conftest$ac_exeext'
36072 { (case "(($ac_try" in
36073 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36074 *) ac_try_echo=$ac_try;;
36076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36077 (eval "$ac_try") 2>&5
36079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36080 (exit $ac_status); }; }; then
36083 libsm_ice_link="$libsm_ice"
36084 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
36085 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
36089 echo "$as_me: failed program was:" >&5
36090 sed 's/^/| /' conftest.$ac_ext >&5
36096 rm -f core conftest.err conftest.$ac_objext \
36097 conftest$ac_exeext conftest.$ac_ext
36100 CFLAGS=$save_CFLAGS
36106 if test "$libs_found" = "0"; then
36107 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
36108 echo "${ECHO_T}can't find the right libraries" >&6; }
36109 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
36110 echo "$as_me: error: can't link a simple motif program" >&2;}
36111 { (exit 1); exit 1; }; }
36114 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
36115 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
36116 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
36117 echo $ECHO_N "(cached) $ECHO_C" >&6
36119 ac_check_lib_save_LIBS=$LIBS
36121 cat >conftest.$ac_ext <<_ACEOF
36124 cat confdefs.h >>conftest.$ac_ext
36125 cat >>conftest.$ac_ext <<_ACEOF
36126 /* end confdefs.h. */
36128 /* Override any GCC internal prototype to avoid an error.
36129 Use char because int might match the return type of a GCC
36130 builtin and then its argument prototype would still apply. */
36134 char SgCreateList ();
36138 return SgCreateList ();
36143 rm -f conftest.$ac_objext conftest$ac_exeext
36144 if { (ac_try="$ac_link"
36145 case "(($ac_try" in
36146 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36147 *) ac_try_echo
=$ac_try;;
36149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36150 (eval "$ac_link") 2>conftest.er1
36152 grep -v '^ *+' conftest.er1
>conftest.err
36154 cat conftest.err
>&5
36155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36156 (exit $ac_status); } &&
36157 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36158 { (case "(($ac_try" in
36159 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36160 *) ac_try_echo=$ac_try;;
36162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36163 (eval "$ac_try") 2>&5
36165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36166 (exit $ac_status); }; } &&
36167 { ac_try='test -s conftest$ac_exeext'
36168 { (case "(($ac_try" in
36169 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36170 *) ac_try_echo
=$ac_try;;
36172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36173 (eval "$ac_try") 2>&5
36175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36176 (exit $ac_status); }; }; then
36177 ac_cv_lib_Sgm_SgCreateList
=yes
36179 echo "$as_me: failed program was:" >&5
36180 sed 's/^/| /' conftest.
$ac_ext >&5
36182 ac_cv_lib_Sgm_SgCreateList
=no
36185 rm -f core conftest.err conftest.
$ac_objext \
36186 conftest
$ac_exeext conftest.
$ac_ext
36187 LIBS
=$ac_check_lib_save_LIBS
36189 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
36190 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
36191 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
36192 libsgm_link
=" -lSgm"
36196 save_CFLAGS
=$CFLAGS
36197 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
36199 { echo "$as_me:$LINENO: checking for Motif 2" >&5
36200 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
36201 if test "${wx_cv_lib_motif2+set}" = set; then
36202 echo $ECHO_N "(cached) $ECHO_C" >&6
36204 cat >conftest.
$ac_ext <<_ACEOF
36207 cat confdefs.h
>>conftest.
$ac_ext
36208 cat >>conftest.
$ac_ext <<_ACEOF
36209 /* end confdefs.h. */
36217 #if XmVersion < 2000
36225 rm -f conftest.
$ac_objext
36226 if { (ac_try
="$ac_compile"
36227 case "(($ac_try" in
36228 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36229 *) ac_try_echo=$ac_try;;
36231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36232 (eval "$ac_compile") 2>conftest.er1
36234 grep -v '^ *+' conftest.er1 >conftest.err
36236 cat conftest.err >&5
36237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36238 (exit $ac_status); } &&
36239 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36240 { (case "(($ac_try" in
36241 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36242 *) ac_try_echo
=$ac_try;;
36244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36245 (eval "$ac_try") 2>&5
36247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36248 (exit $ac_status); }; } &&
36249 { ac_try
='test -s conftest.$ac_objext'
36250 { (case "(($ac_try" in
36251 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36252 *) ac_try_echo=$ac_try;;
36254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36255 (eval "$ac_try") 2>&5
36257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36258 (exit $ac_status); }; }; then
36259 wx_cv_lib_motif2="yes"
36261 echo "$as_me: failed program was:" >&5
36262 sed 's/^/| /' conftest.$ac_ext >&5
36264 wx_cv_lib_motif2="no"
36267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36269 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
36270 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
36271 if test "$wx_cv_lib_motif2" = "yes"; then
36272 cat >>confdefs.h <<\_ACEOF
36273 #define __WXMOTIF20__ 1
36277 cat >>confdefs.h <<\_ACEOF
36278 #define __WXMOTIF20__ 0
36283 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
36284 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
36285 if test "${wx_cv_lib_lesstif+set}" = set; then
36286 echo $ECHO_N "(cached) $ECHO_C" >&6
36288 cat >conftest.$ac_ext <<_ACEOF
36291 cat confdefs.h >>conftest.$ac_ext
36292 cat >>conftest.$ac_ext <<_ACEOF
36293 /* end confdefs.h. */
36301 #if !defined(LesstifVersion) || LesstifVersion <= 0
36309 rm -f conftest.$ac_objext
36310 if { (ac_try="$ac_compile"
36311 case "(($ac_try" in
36312 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36313 *) ac_try_echo
=$ac_try;;
36315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36316 (eval "$ac_compile") 2>conftest.er1
36318 grep -v '^ *+' conftest.er1
>conftest.err
36320 cat conftest.err
>&5
36321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36322 (exit $ac_status); } &&
36323 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36324 { (case "(($ac_try" in
36325 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36326 *) ac_try_echo=$ac_try;;
36328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36329 (eval "$ac_try") 2>&5
36331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36332 (exit $ac_status); }; } &&
36333 { ac_try='test -s conftest.$ac_objext'
36334 { (case "(($ac_try" in
36335 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36336 *) ac_try_echo
=$ac_try;;
36338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36339 (eval "$ac_try") 2>&5
36341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36342 (exit $ac_status); }; }; then
36343 wx_cv_lib_lesstif
="yes"
36345 echo "$as_me: failed program was:" >&5
36346 sed 's/^/| /' conftest.
$ac_ext >&5
36348 wx_cv_lib_lesstif
="no"
36351 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36354 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
36355 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
36356 if test "$wx_cv_lib_lesstif" = "yes"; then
36357 cat >>confdefs.h
<<\_ACEOF
36358 #define __WXLESSTIF__ 1
36362 cat >>confdefs.h
<<\_ACEOF
36363 #define __WXLESSTIF__ 0
36368 CFLAGS
=$save_CFLAGS
36370 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
36375 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
36376 if test "$wxUSE_LIBXPM" = "sys"; then
36377 { echo "$as_me:$LINENO: checking for Xpm library" >&5
36378 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
36381 for ac_dir
in $SEARCH_LIB;
36383 for ac_extension
in a so sl dylib dll.a
; do
36384 if test -f "$ac_dir/libXpm.$ac_extension"; then
36385 ac_find_libraries
=$ac_dir
36391 if test "$ac_find_libraries" != "" ; then
36393 if test "$ac_find_libraries" = "default location"; then
36396 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
36398 if test $result = 0; then
36401 ac_path_to_link
=" -L$ac_find_libraries"
36405 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
36406 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
36407 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
36409 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
36410 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
36411 if test "${wx_cv_x11_xpm_h+set}" = set; then
36412 echo $ECHO_N "(cached) $ECHO_C" >&6
36415 save_CFLAGS
=$CFLAGS
36416 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
36418 cat >conftest.
$ac_ext <<_ACEOF
36421 cat confdefs.h
>>conftest.
$ac_ext
36422 cat >>conftest.
$ac_ext <<_ACEOF
36423 /* end confdefs.h. */
36425 #include <X11/xpm.h>
36432 version = XpmLibraryVersion();
36438 rm -f conftest.
$ac_objext
36439 if { (ac_try
="$ac_compile"
36440 case "(($ac_try" in
36441 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36442 *) ac_try_echo=$ac_try;;
36444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36445 (eval "$ac_compile") 2>conftest.er1
36447 grep -v '^ *+' conftest.er1 >conftest.err
36449 cat conftest.err >&5
36450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36451 (exit $ac_status); } &&
36452 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36453 { (case "(($ac_try" in
36454 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36455 *) ac_try_echo
=$ac_try;;
36457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36458 (eval "$ac_try") 2>&5
36460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36461 (exit $ac_status); }; } &&
36462 { ac_try
='test -s conftest.$ac_objext'
36463 { (case "(($ac_try" in
36464 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36465 *) ac_try_echo=$ac_try;;
36467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36468 (eval "$ac_try") 2>&5
36470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36471 (exit $ac_status); }; }; then
36472 wx_cv_x11_xpm_h=yes
36474 echo "$as_me: failed program was:" >&5
36475 sed 's/^/| /' conftest.$ac_ext >&5
36481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36483 CFLAGS=$save_CFLAGS
36487 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
36488 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
36490 if test $wx_cv_x11_xpm_h = "yes"; then
36491 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
36492 cat >>confdefs.h <<\_ACEOF
36493 #define wxHAVE_LIB_XPM 1
36497 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
36498 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
36504 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
36505 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
36506 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
36507 echo $ECHO_N "(cached) $ECHO_C" >&6
36509 ac_check_lib_save_LIBS=$LIBS
36510 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
36511 cat >conftest.$ac_ext <<_ACEOF
36514 cat confdefs.h >>conftest.$ac_ext
36515 cat >>conftest.$ac_ext <<_ACEOF
36516 /* end confdefs.h. */
36518 /* Override any GCC internal prototype to avoid an error.
36519 Use char because int might match the return type of a GCC
36520 builtin and then its argument prototype would still apply. */
36524 char XShapeQueryExtension ();
36528 return XShapeQueryExtension ();
36533 rm -f conftest.$ac_objext conftest$ac_exeext
36534 if { (ac_try="$ac_link"
36535 case "(($ac_try" in
36536 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36537 *) ac_try_echo
=$ac_try;;
36539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36540 (eval "$ac_link") 2>conftest.er1
36542 grep -v '^ *+' conftest.er1
>conftest.err
36544 cat conftest.err
>&5
36545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36546 (exit $ac_status); } &&
36547 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36548 { (case "(($ac_try" in
36549 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36550 *) ac_try_echo=$ac_try;;
36552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36553 (eval "$ac_try") 2>&5
36555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36556 (exit $ac_status); }; } &&
36557 { ac_try='test -s conftest$ac_exeext'
36558 { (case "(($ac_try" in
36559 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36560 *) ac_try_echo
=$ac_try;;
36562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36563 (eval "$ac_try") 2>&5
36565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36566 (exit $ac_status); }; }; then
36567 ac_cv_lib_Xext_XShapeQueryExtension
=yes
36569 echo "$as_me: failed program was:" >&5
36570 sed 's/^/| /' conftest.
$ac_ext >&5
36572 ac_cv_lib_Xext_XShapeQueryExtension
=no
36575 rm -f core conftest.err conftest.
$ac_objext \
36576 conftest
$ac_exeext conftest.
$ac_ext
36577 LIBS
=$ac_check_lib_save_LIBS
36579 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
36580 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
36581 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
36583 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
36589 if test "$wxHAVE_XEXT_LIB" = 1; then
36590 save_CFLAGS
="$CFLAGS"
36591 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
36593 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
36594 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
36595 cat >conftest.
$ac_ext <<_ACEOF
36598 cat confdefs.h
>>conftest.
$ac_ext
36599 cat >>conftest.
$ac_ext <<_ACEOF
36600 /* end confdefs.h. */
36602 #include <X11/Xlib.h>
36603 #include <X11/extensions/shape.h>
36609 int dummy1, dummy2;
36610 XShapeQueryExtension((Display*)NULL,
36611 (int*)NULL, (int*)NULL);
36617 rm -f conftest.
$ac_objext
36618 if { (ac_try
="$ac_compile"
36619 case "(($ac_try" in
36620 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36621 *) ac_try_echo=$ac_try;;
36623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36624 (eval "$ac_compile") 2>conftest.er1
36626 grep -v '^ *+' conftest.er1 >conftest.err
36628 cat conftest.err >&5
36629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36630 (exit $ac_status); } &&
36631 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36632 { (case "(($ac_try" in
36633 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36634 *) ac_try_echo
=$ac_try;;
36636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36637 (eval "$ac_try") 2>&5
36639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36640 (exit $ac_status); }; } &&
36641 { ac_try
='test -s conftest.$ac_objext'
36642 { (case "(($ac_try" in
36643 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36644 *) ac_try_echo=$ac_try;;
36646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36647 (eval "$ac_try") 2>&5
36649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36650 (exit $ac_status); }; }; then
36652 cat >>confdefs.h <<\_ACEOF
36653 #define HAVE_XSHAPE 1
36656 { echo "$as_me:$LINENO: result: found" >&5
36657 echo "${ECHO_T}found" >&6; }
36660 echo "$as_me: failed program was:" >&5
36661 sed 's/^/| /' conftest.$ac_ext >&5
36664 { echo "$as_me:$LINENO: result: not found" >&5
36665 echo "${ECHO_T}not found" >&6; }
36669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36670 CFLAGS="$save_CFLAGS"
36675 if test "$wxUSE_MAC" = 1; then
36676 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
36677 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
36678 if test "$GCC" = yes; then
36679 { echo "$as_me:$LINENO: result: gcc" >&5
36680 echo "${ECHO_T}gcc" >&6; }
36681 CPPFLAGS_PASCAL="-fpascal-strings"
36682 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
36683 { echo "$as_me:$LINENO: result: xlc" >&5
36684 echo "${ECHO_T}xlc" >&6; }
36685 CPPFLAGS_PASCAL="-qmacpstr"
36687 { echo "$as_me:$LINENO: result: none" >&5
36688 echo "${ECHO_T}none" >&6; }
36691 if test "x$wxUSE_UNIX" = "xyes"; then
36692 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
36694 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
36699 WXBASEPORT="_carbon"
36702 if test "$wxUSE_COCOA" = 1; then
36707 if test "$wxUSE_PM" = 1; then
36710 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
36711 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
36712 if test "${wx_cv_spbcdata+set}" = set; then
36713 echo $ECHO_N "(cached) $ECHO_C" >&6
36716 cat >conftest.$ac_ext <<_ACEOF
36719 cat confdefs.h >>conftest.$ac_ext
36720 cat >>conftest.$ac_ext <<_ACEOF
36721 /* end confdefs.h. */
36736 rm -f conftest.$ac_objext
36737 if { (ac_try="$ac_compile"
36738 case "(($ac_try" in
36739 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36740 *) ac_try_echo
=$ac_try;;
36742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36743 (eval "$ac_compile") 2>conftest.er1
36745 grep -v '^ *+' conftest.er1
>conftest.err
36747 cat conftest.err
>&5
36748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36749 (exit $ac_status); } &&
36750 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36751 { (case "(($ac_try" in
36752 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36753 *) ac_try_echo=$ac_try;;
36755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36756 (eval "$ac_try") 2>&5
36758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36759 (exit $ac_status); }; } &&
36760 { ac_try='test -s conftest.$ac_objext'
36761 { (case "(($ac_try" in
36762 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36763 *) ac_try_echo
=$ac_try;;
36765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36766 (eval "$ac_try") 2>&5
36768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36769 (exit $ac_status); }; }; then
36772 echo "$as_me: failed program was:" >&5
36773 sed 's/^/| /' conftest.
$ac_ext >&5
36779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36783 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
36784 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
36786 if test $wx_cv_spbcdata = "yes"; then
36787 cat >>confdefs.h
<<\_ACEOF
36788 #define HAVE_SPBCDATA 1
36794 if test "$TOOLKIT" = "PM" ; then
36797 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
36800 if test "$wxUSE_UNIVERSAL" = "yes"; then
36801 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
36805 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
36806 DISTDIR
="wx\$(TOOLKIT)"
36812 if test "$USE_WIN32" = 1 ; then
36816 GUIDIST
="BASE_DIST"
36821 if test "$wxUSE_GUI" = "yes"; then
36822 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
36824 for ac_header
in X
11/Xlib.h
36826 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36827 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36828 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36830 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36831 echo $ECHO_N "(cached) $ECHO_C" >&6
36833 ac_res
=`eval echo '${'$as_ac_Header'}'`
36834 { echo "$as_me:$LINENO: result: $ac_res" >&5
36835 echo "${ECHO_T}$ac_res" >&6; }
36837 # Is the header compilable?
36838 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
36839 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
36840 cat >conftest.
$ac_ext <<_ACEOF
36843 cat confdefs.h
>>conftest.
$ac_ext
36844 cat >>conftest.
$ac_ext <<_ACEOF
36845 /* end confdefs.h. */
36846 $ac_includes_default
36847 #include <$ac_header>
36849 rm -f conftest.
$ac_objext
36850 if { (ac_try
="$ac_compile"
36851 case "(($ac_try" in
36852 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36853 *) ac_try_echo=$ac_try;;
36855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36856 (eval "$ac_compile") 2>conftest.er1
36858 grep -v '^ *+' conftest.er1 >conftest.err
36860 cat conftest.err >&5
36861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36862 (exit $ac_status); } &&
36863 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36864 { (case "(($ac_try" in
36865 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36866 *) ac_try_echo
=$ac_try;;
36868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36869 (eval "$ac_try") 2>&5
36871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36872 (exit $ac_status); }; } &&
36873 { ac_try
='test -s conftest.$ac_objext'
36874 { (case "(($ac_try" in
36875 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36876 *) ac_try_echo=$ac_try;;
36878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36879 (eval "$ac_try") 2>&5
36881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36882 (exit $ac_status); }; }; then
36883 ac_header_compiler=yes
36885 echo "$as_me: failed program was:" >&5
36886 sed 's/^/| /' conftest.$ac_ext >&5
36888 ac_header_compiler=no
36891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36892 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36893 echo "${ECHO_T}$ac_header_compiler" >&6; }
36895 # Is the header present?
36896 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
36897 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
36898 cat >conftest.$ac_ext <<_ACEOF
36901 cat confdefs.h >>conftest.$ac_ext
36902 cat >>conftest.$ac_ext <<_ACEOF
36903 /* end confdefs.h. */
36904 #include <$ac_header>
36906 if { (ac_try="$ac_cpp conftest.$ac_ext"
36907 case "(($ac_try" in
36908 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36909 *) ac_try_echo
=$ac_try;;
36911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36912 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
36914 grep -v '^ *+' conftest.er1
>conftest.err
36916 cat conftest.err
>&5
36917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36918 (exit $ac_status); } >/dev
/null
; then
36919 if test -s conftest.err
; then
36920 ac_cpp_err
=$ac_c_preproc_warn_flag
36921 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36928 if test -z "$ac_cpp_err"; then
36929 ac_header_preproc
=yes
36931 echo "$as_me: failed program was:" >&5
36932 sed 's/^/| /' conftest.
$ac_ext >&5
36934 ac_header_preproc
=no
36937 rm -f conftest.err conftest.
$ac_ext
36938 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36939 echo "${ECHO_T}$ac_header_preproc" >&6; }
36941 # So? What about this header?
36942 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36944 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36945 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36946 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36947 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36948 ac_header_preproc
=yes
36951 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36952 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36953 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36954 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36955 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36956 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36957 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36958 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36959 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36960 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36961 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36962 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36964 ## ----------------------------------------- ##
36965 ## Report this to wx-dev@lists.wxwidgets.org ##
36966 ## ----------------------------------------- ##
36968 ) | sed "s/^/$as_me: WARNING: /" >&2
36971 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36972 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36973 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36974 echo $ECHO_N "(cached) $ECHO_C" >&6
36976 eval "$as_ac_Header=\$ac_header_preproc"
36978 ac_res
=`eval echo '${'$as_ac_Header'}'`
36979 { echo "$as_me:$LINENO: result: $ac_res" >&5
36980 echo "${ECHO_T}$ac_res" >&6; }
36983 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36984 cat >>confdefs.h
<<_ACEOF
36985 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36993 for ac_header
in X
11/XKBlib.h
36995 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36996 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36998 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36999 echo $ECHO_N "(cached) $ECHO_C" >&6
37001 cat >conftest.
$ac_ext <<_ACEOF
37004 cat confdefs.h
>>conftest.
$ac_ext
37005 cat >>conftest.
$ac_ext <<_ACEOF
37006 /* end confdefs.h. */
37008 #if HAVE_X11_XLIB_H
37009 #include <X11/Xlib.h>
37013 #include <$ac_header>
37015 rm -f conftest.
$ac_objext
37016 if { (ac_try
="$ac_compile"
37017 case "(($ac_try" in
37018 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37019 *) ac_try_echo=$ac_try;;
37021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37022 (eval "$ac_compile") 2>conftest.er1
37024 grep -v '^ *+' conftest.er1 >conftest.err
37026 cat conftest.err >&5
37027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37028 (exit $ac_status); } &&
37029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37030 { (case "(($ac_try" in
37031 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37032 *) ac_try_echo
=$ac_try;;
37034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37035 (eval "$ac_try") 2>&5
37037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37038 (exit $ac_status); }; } &&
37039 { ac_try
='test -s conftest.$ac_objext'
37040 { (case "(($ac_try" in
37041 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37042 *) ac_try_echo=$ac_try;;
37044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37045 (eval "$ac_try") 2>&5
37047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37048 (exit $ac_status); }; }; then
37049 eval "$as_ac_Header=yes"
37051 echo "$as_me: failed program was:" >&5
37052 sed 's/^/| /' conftest.$ac_ext >&5
37054 eval "$as_ac_Header=no"
37057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37059 ac_res=`eval echo '${'$as_ac_Header'}'`
37060 { echo "$as_me:$LINENO: result: $ac_res" >&5
37061 echo "${ECHO_T}$ac_res" >&6; }
37062 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37063 cat >>confdefs.h <<_ACEOF
37064 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37079 if test "$TOOLKIT" != "MSW" ; then
37081 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
37083 if test "${ac_cv_header_sql_h+set}" = set; then
37084 { echo "$as_me:$LINENO: checking for sql.h" >&5
37085 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
37086 if test "${ac_cv_header_sql_h+set}" = set; then
37087 echo $ECHO_N "(cached) $ECHO_C" >&6
37089 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
37090 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
37092 # Is the header compilable?
37093 { echo "$as_me:$LINENO: checking sql.h usability" >&5
37094 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6; }
37095 cat >conftest.$ac_ext <<_ACEOF
37098 cat confdefs.h >>conftest.$ac_ext
37099 cat >>conftest.$ac_ext <<_ACEOF
37100 /* end confdefs.h. */
37101 $ac_includes_default
37104 rm -f conftest.$ac_objext
37105 if { (ac_try="$ac_compile"
37106 case "(($ac_try" in
37107 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37108 *) ac_try_echo
=$ac_try;;
37110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37111 (eval "$ac_compile") 2>conftest.er1
37113 grep -v '^ *+' conftest.er1
>conftest.err
37115 cat conftest.err
>&5
37116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37117 (exit $ac_status); } &&
37118 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37119 { (case "(($ac_try" in
37120 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37121 *) ac_try_echo=$ac_try;;
37123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37124 (eval "$ac_try") 2>&5
37126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37127 (exit $ac_status); }; } &&
37128 { ac_try='test -s conftest.$ac_objext'
37129 { (case "(($ac_try" in
37130 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37131 *) ac_try_echo
=$ac_try;;
37133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37134 (eval "$ac_try") 2>&5
37136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37137 (exit $ac_status); }; }; then
37138 ac_header_compiler
=yes
37140 echo "$as_me: failed program was:" >&5
37141 sed 's/^/| /' conftest.
$ac_ext >&5
37143 ac_header_compiler
=no
37146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37147 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37148 echo "${ECHO_T}$ac_header_compiler" >&6; }
37150 # Is the header present?
37151 { echo "$as_me:$LINENO: checking sql.h presence" >&5
37152 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6; }
37153 cat >conftest.
$ac_ext <<_ACEOF
37156 cat confdefs.h
>>conftest.
$ac_ext
37157 cat >>conftest.
$ac_ext <<_ACEOF
37158 /* end confdefs.h. */
37161 if { (ac_try
="$ac_cpp conftest.$ac_ext"
37162 case "(($ac_try" in
37163 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37164 *) ac_try_echo=$ac_try;;
37166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37167 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
37169 grep -v '^ *+' conftest.er1 >conftest.err
37171 cat conftest.err >&5
37172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37173 (exit $ac_status); } >/dev/null; then
37174 if test -s conftest.err; then
37175 ac_cpp_err=$ac_c_preproc_warn_flag
37176 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37183 if test -z "$ac_cpp_err"; then
37184 ac_header_preproc=yes
37186 echo "$as_me: failed program was:" >&5
37187 sed 's/^/| /' conftest.$ac_ext >&5
37189 ac_header_preproc=no
37192 rm -f conftest.err conftest.$ac_ext
37193 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37194 echo "${ECHO_T}$ac_header_preproc" >&6; }
37196 # So? What about this header?
37197 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37199 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
37200 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
37201 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
37202 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
37203 ac_header_preproc=yes
37206 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
37207 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
37208 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
37209 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
37210 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
37211 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
37212 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
37213 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
37214 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
37215 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
37216 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
37217 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
37219 ## ----------------------------------------- ##
37220 ## Report this to wx-dev@lists.wxwidgets.org ##
37221 ## ----------------------------------------- ##
37223 ) | sed "s/^/$as_me: WARNING: /" >&2
37226 { echo "$as_me:$LINENO: checking for sql.h" >&5
37227 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
37228 if test "${ac_cv_header_sql_h+set}" = set; then
37229 echo $ECHO_N "(cached) $ECHO_C" >&6
37231 ac_cv_header_sql_h=$ac_header_preproc
37233 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
37234 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
37237 if test $ac_cv_header_sql_h = yes; then
37242 if test "x$found_sql_h" = "x1" ; then
37243 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
37244 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
37245 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
37246 echo $ECHO_N "(cached) $ECHO_C" >&6
37248 ac_check_lib_save_LIBS=$LIBS
37249 LIBS="-liodbc $LIBS"
37250 cat >conftest.$ac_ext <<_ACEOF
37253 cat confdefs.h >>conftest.$ac_ext
37254 cat >>conftest.$ac_ext <<_ACEOF
37255 /* end confdefs.h. */
37257 /* Override any GCC internal prototype to avoid an error.
37258 Use char because int might match the return type of a GCC
37259 builtin and then its argument prototype would still apply. */
37263 char SQLAllocEnv ();
37267 return SQLAllocEnv ();
37272 rm -f conftest.$ac_objext conftest$ac_exeext
37273 if { (ac_try="$ac_link"
37274 case "(($ac_try" in
37275 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37276 *) ac_try_echo
=$ac_try;;
37278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37279 (eval "$ac_link") 2>conftest.er1
37281 grep -v '^ *+' conftest.er1
>conftest.err
37283 cat conftest.err
>&5
37284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37285 (exit $ac_status); } &&
37286 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37287 { (case "(($ac_try" in
37288 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37289 *) ac_try_echo=$ac_try;;
37291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37292 (eval "$ac_try") 2>&5
37294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37295 (exit $ac_status); }; } &&
37296 { ac_try='test -s conftest$ac_exeext'
37297 { (case "(($ac_try" in
37298 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37299 *) ac_try_echo
=$ac_try;;
37301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37302 (eval "$ac_try") 2>&5
37304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37305 (exit $ac_status); }; }; then
37306 ac_cv_lib_iodbc_SQLAllocEnv
=yes
37308 echo "$as_me: failed program was:" >&5
37309 sed 's/^/| /' conftest.
$ac_ext >&5
37311 ac_cv_lib_iodbc_SQLAllocEnv
=no
37314 rm -f core conftest.err conftest.
$ac_objext \
37315 conftest
$ac_exeext conftest.
$ac_ext
37316 LIBS
=$ac_check_lib_save_LIBS
37318 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
37319 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
37320 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
37321 ODBC_LINK
=" -liodbc"
37324 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
37325 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
37326 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
37327 echo $ECHO_N "(cached) $ECHO_C" >&6
37329 ac_check_lib_save_LIBS
=$LIBS
37330 LIBS
="-lunixodbc $LIBS"
37331 cat >conftest.
$ac_ext <<_ACEOF
37334 cat confdefs.h
>>conftest.
$ac_ext
37335 cat >>conftest.
$ac_ext <<_ACEOF
37336 /* end confdefs.h. */
37338 /* Override any GCC internal prototype to avoid an error.
37339 Use char because int might match the return type of a GCC
37340 builtin and then its argument prototype would still apply. */
37344 char SQLAllocEnv ();
37348 return SQLAllocEnv ();
37353 rm -f conftest.
$ac_objext conftest
$ac_exeext
37354 if { (ac_try
="$ac_link"
37355 case "(($ac_try" in
37356 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37357 *) ac_try_echo=$ac_try;;
37359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37360 (eval "$ac_link") 2>conftest.er1
37362 grep -v '^ *+' conftest.er1 >conftest.err
37364 cat conftest.err >&5
37365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37366 (exit $ac_status); } &&
37367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37368 { (case "(($ac_try" in
37369 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37370 *) ac_try_echo
=$ac_try;;
37372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37373 (eval "$ac_try") 2>&5
37375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37376 (exit $ac_status); }; } &&
37377 { ac_try
='test -s conftest$ac_exeext'
37378 { (case "(($ac_try" in
37379 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37380 *) ac_try_echo=$ac_try;;
37382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37383 (eval "$ac_try") 2>&5
37385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37386 (exit $ac_status); }; }; then
37387 ac_cv_lib_unixodbc_SQLAllocEnv=yes
37389 echo "$as_me: failed program was:" >&5
37390 sed 's/^/| /' conftest.$ac_ext >&5
37392 ac_cv_lib_unixodbc_SQLAllocEnv=no
37395 rm -f core conftest.err conftest.$ac_objext \
37396 conftest$ac_exeext conftest.$ac_ext
37397 LIBS=$ac_check_lib_save_LIBS
37399 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
37400 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
37401 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
37402 ODBC_LINK=" -lunixodbc"
37405 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
37406 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
37407 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
37408 echo $ECHO_N "(cached) $ECHO_C" >&6
37410 ac_check_lib_save_LIBS=$LIBS
37411 LIBS="-lodbc $LIBS"
37412 cat >conftest.$ac_ext <<_ACEOF
37415 cat confdefs.h >>conftest.$ac_ext
37416 cat >>conftest.$ac_ext <<_ACEOF
37417 /* end confdefs.h. */
37419 /* Override any GCC internal prototype to avoid an error.
37420 Use char because int might match the return type of a GCC
37421 builtin and then its argument prototype would still apply. */
37425 char SQLAllocEnv ();
37429 return SQLAllocEnv ();
37434 rm -f conftest.$ac_objext conftest$ac_exeext
37435 if { (ac_try="$ac_link"
37436 case "(($ac_try" in
37437 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37438 *) ac_try_echo
=$ac_try;;
37440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37441 (eval "$ac_link") 2>conftest.er1
37443 grep -v '^ *+' conftest.er1
>conftest.err
37445 cat conftest.err
>&5
37446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37447 (exit $ac_status); } &&
37448 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37449 { (case "(($ac_try" in
37450 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37451 *) ac_try_echo=$ac_try;;
37453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37454 (eval "$ac_try") 2>&5
37456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37457 (exit $ac_status); }; } &&
37458 { ac_try='test -s conftest$ac_exeext'
37459 { (case "(($ac_try" in
37460 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37461 *) ac_try_echo
=$ac_try;;
37463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37464 (eval "$ac_try") 2>&5
37466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37467 (exit $ac_status); }; }; then
37468 ac_cv_lib_odbc_SQLAllocEnv
=yes
37470 echo "$as_me: failed program was:" >&5
37471 sed 's/^/| /' conftest.
$ac_ext >&5
37473 ac_cv_lib_odbc_SQLAllocEnv
=no
37476 rm -f core conftest.err conftest.
$ac_objext \
37477 conftest
$ac_exeext conftest.
$ac_ext
37478 LIBS
=$ac_check_lib_save_LIBS
37480 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
37481 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
37482 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
37483 ODBC_LINK
=" -lodbc"
37493 if test "x$ODBC_LINK" = "x" ; then
37494 if test "$wxUSE_ODBC" = "sys" ; then
37495 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
37496 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
37497 { (exit 1); exit 1; }; }
37499 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
37500 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
37508 if test "$wxUSE_ODBC" = "builtin" ; then
37509 cat >>confdefs.h
<<\_ACEOF
37510 #define wxUSE_BUILTIN_IODBC 1
37516 if test "$wxUSE_ODBC" != "no" ; then
37517 cat >>confdefs.h
<<\_ACEOF
37518 #define wxUSE_ODBC 1
37521 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
37523 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
37527 if test "$wxUSE_DISPLAY" = "yes"; then
37528 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
37529 { echo "$as_me:$LINENO: checking for Xinerama" >&5
37530 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
37533 for ac_dir
in $SEARCH_LIB;
37535 for ac_extension
in a so sl dylib dll.a
; do
37536 if test -f "$ac_dir/libXinerama.$ac_extension"; then
37537 ac_find_libraries
=$ac_dir
37543 if test "$ac_find_libraries" != "" ; then
37545 if test "$ac_find_libraries" = "default location"; then
37548 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
37550 if test $result = 0; then
37553 ac_path_to_link
=" -L$ac_find_libraries"
37557 if test "$ac_path_to_link" != " -L/usr/lib" ; then
37558 LDFLAGS
="$LDFLAGS $ac_path_to_link"
37560 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
37561 { echo "$as_me:$LINENO: result: yes" >&5
37562 echo "${ECHO_T}yes" >&6; }
37564 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
37565 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
37568 for ac_dir
in $SEARCH_LIB;
37570 for ac_extension
in a so sl dylib dll.a
; do
37571 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
37572 ac_find_libraries
=$ac_dir
37578 if test "$ac_find_libraries" != "" ; then
37579 { echo "$as_me:$LINENO: result: yes" >&5
37580 echo "${ECHO_T}yes" >&6; }
37582 for ac_header
in X
11/extensions
/xf86vmode.h
37584 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37585 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37586 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37587 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37588 echo $ECHO_N "(cached) $ECHO_C" >&6
37590 cat >conftest.
$ac_ext <<_ACEOF
37593 cat confdefs.h
>>conftest.
$ac_ext
37594 cat >>conftest.
$ac_ext <<_ACEOF
37595 /* end confdefs.h. */
37597 #if HAVE_X11_XLIB_H
37598 #include <X11/Xlib.h>
37602 #include <$ac_header>
37604 rm -f conftest.
$ac_objext
37605 if { (ac_try
="$ac_compile"
37606 case "(($ac_try" in
37607 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37608 *) ac_try_echo=$ac_try;;
37610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37611 (eval "$ac_compile") 2>conftest.er1
37613 grep -v '^ *+' conftest.er1 >conftest.err
37615 cat conftest.err >&5
37616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37617 (exit $ac_status); } &&
37618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37619 { (case "(($ac_try" in
37620 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37621 *) ac_try_echo
=$ac_try;;
37623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37624 (eval "$ac_try") 2>&5
37626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37627 (exit $ac_status); }; } &&
37628 { ac_try
='test -s conftest.$ac_objext'
37629 { (case "(($ac_try" in
37630 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37631 *) ac_try_echo=$ac_try;;
37633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37634 (eval "$ac_try") 2>&5
37636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37637 (exit $ac_status); }; }; then
37638 eval "$as_ac_Header=yes"
37640 echo "$as_me: failed program was:" >&5
37641 sed 's/^/| /' conftest.$ac_ext >&5
37643 eval "$as_ac_Header=no"
37646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37648 ac_res=`eval echo '${'$as_ac_Header'}'`
37649 { echo "$as_me:$LINENO: result: $ac_res" >&5
37650 echo "${ECHO_T}$ac_res" >&6; }
37651 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37652 cat >>confdefs.h <<_ACEOF
37653 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37656 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
37663 { echo "$as_me:$LINENO: result: no" >&5
37664 echo "${ECHO_T}no" >&6; }
37668 { echo "$as_me:$LINENO: result: no" >&5
37669 echo "${ECHO_T}no" >&6; }
37670 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
37671 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
37674 elif test "$wxUSE_MSW" = 1; then
37676 for ac_header in ddraw.h
37678 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37679 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37681 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37682 echo $ECHO_N "(cached) $ECHO_C" >&6
37684 cat >conftest.$ac_ext <<_ACEOF
37687 cat confdefs.h >>conftest.$ac_ext
37688 cat >>conftest.$ac_ext <<_ACEOF
37689 /* end confdefs.h. */
37690 #include <windows.h>
37692 #include <$ac_header>
37694 rm -f conftest.$ac_objext
37695 if { (ac_try="$ac_compile"
37696 case "(($ac_try" in
37697 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37698 *) ac_try_echo
=$ac_try;;
37700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37701 (eval "$ac_compile") 2>conftest.er1
37703 grep -v '^ *+' conftest.er1
>conftest.err
37705 cat conftest.err
>&5
37706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37707 (exit $ac_status); } &&
37708 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37709 { (case "(($ac_try" in
37710 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37711 *) ac_try_echo=$ac_try;;
37713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37714 (eval "$ac_try") 2>&5
37716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37717 (exit $ac_status); }; } &&
37718 { ac_try='test -s conftest.$ac_objext'
37719 { (case "(($ac_try" in
37720 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37721 *) ac_try_echo
=$ac_try;;
37723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37724 (eval "$ac_try") 2>&5
37726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37727 (exit $ac_status); }; }; then
37728 eval "$as_ac_Header=yes"
37730 echo "$as_me: failed program was:" >&5
37731 sed 's/^/| /' conftest.
$ac_ext >&5
37733 eval "$as_ac_Header=no"
37736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37738 ac_res
=`eval echo '${'$as_ac_Header'}'`
37739 { echo "$as_me:$LINENO: result: $ac_res" >&5
37740 echo "${ECHO_T}$ac_res" >&6; }
37741 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37742 cat >>confdefs.h
<<_ACEOF
37743 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37753 if test "$wxUSE_DETECT_SM" = "yes"; then
37754 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
37755 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
37756 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
37759 for ac_dir
in $SEARCH_LIB;
37761 for ac_extension
in a so sl dylib dll.a
; do
37762 if test -f "$ac_dir/libSM.$ac_extension"; then
37763 ac_find_libraries
=$ac_dir
37769 if test "$ac_find_libraries" != "" ; then
37771 if test "$ac_find_libraries" = "default location"; then
37774 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
37776 if test $result = 0; then
37779 ac_path_to_link
=" -L$ac_find_libraries"
37783 if test "$ac_path_to_link" != " -L/usr/lib" ; then
37784 LDFLAGS
="$LDFLAGS $ac_path_to_link"
37786 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
37787 { echo "$as_me:$LINENO: result: yes" >&5
37788 echo "${ECHO_T}yes" >&6; }
37790 { echo "$as_me:$LINENO: result: no" >&5
37791 echo "${ECHO_T}no" >&6; }
37792 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
37793 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
37794 wxUSE_DETECT_SM
="no"
37797 wxUSE_DETECT_SM
="no"
37804 if test "$wxUSE_OPENGL" = "yes"; then
37805 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
37806 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
37807 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
37809 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
37810 OPENGL_LIBS
="-framework OpenGL -framework AGL"
37811 elif test "$wxUSE_MSW" = 1; then
37812 OPENGL_LIBS
="-lopengl32 -lglu32"
37814 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
37815 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
37818 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
;
37820 if test -f "$ac_dir/GL/gl.h"; then
37821 ac_find_includes
=$ac_dir
37826 if test "$ac_find_includes" != "" ; then
37827 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
37828 echo "${ECHO_T}found in $ac_find_includes" >&6; }
37830 if test "x$ac_find_includes" = "x/usr/include"; then
37831 ac_path_to_include
=""
37833 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
37835 if test $result = 0; then
37836 ac_path_to_include
=""
37838 ac_path_to_include
=" -I$ac_find_includes"
37842 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
37844 { echo "$as_me:$LINENO: result: not found" >&5
37845 echo "${ECHO_T}not found" >&6; }
37848 if test "${ac_cv_header_GL_gl_h+set}" = set; then
37849 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
37850 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
37851 if test "${ac_cv_header_GL_gl_h+set}" = set; then
37852 echo $ECHO_N "(cached) $ECHO_C" >&6
37854 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
37855 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
37857 # Is the header compilable?
37858 { echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
37859 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6; }
37860 cat >conftest.
$ac_ext <<_ACEOF
37863 cat confdefs.h
>>conftest.
$ac_ext
37864 cat >>conftest.
$ac_ext <<_ACEOF
37865 /* end confdefs.h. */
37866 $ac_includes_default
37869 rm -f conftest.
$ac_objext
37870 if { (ac_try
="$ac_compile"
37871 case "(($ac_try" in
37872 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37873 *) ac_try_echo=$ac_try;;
37875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37876 (eval "$ac_compile") 2>conftest.er1
37878 grep -v '^ *+' conftest.er1 >conftest.err
37880 cat conftest.err >&5
37881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37882 (exit $ac_status); } &&
37883 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37884 { (case "(($ac_try" in
37885 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37886 *) ac_try_echo
=$ac_try;;
37888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37889 (eval "$ac_try") 2>&5
37891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37892 (exit $ac_status); }; } &&
37893 { ac_try
='test -s conftest.$ac_objext'
37894 { (case "(($ac_try" in
37895 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37896 *) ac_try_echo=$ac_try;;
37898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37899 (eval "$ac_try") 2>&5
37901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37902 (exit $ac_status); }; }; then
37903 ac_header_compiler=yes
37905 echo "$as_me: failed program was:" >&5
37906 sed 's/^/| /' conftest.$ac_ext >&5
37908 ac_header_compiler=no
37911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37912 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37913 echo "${ECHO_T}$ac_header_compiler" >&6; }
37915 # Is the header present?
37916 { echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
37917 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6; }
37918 cat >conftest.$ac_ext <<_ACEOF
37921 cat confdefs.h >>conftest.$ac_ext
37922 cat >>conftest.$ac_ext <<_ACEOF
37923 /* end confdefs.h. */
37926 if { (ac_try="$ac_cpp conftest.$ac_ext"
37927 case "(($ac_try" in
37928 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37929 *) ac_try_echo
=$ac_try;;
37931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37932 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
37934 grep -v '^ *+' conftest.er1
>conftest.err
37936 cat conftest.err
>&5
37937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37938 (exit $ac_status); } >/dev
/null
; then
37939 if test -s conftest.err
; then
37940 ac_cpp_err
=$ac_c_preproc_warn_flag
37941 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
37948 if test -z "$ac_cpp_err"; then
37949 ac_header_preproc
=yes
37951 echo "$as_me: failed program was:" >&5
37952 sed 's/^/| /' conftest.
$ac_ext >&5
37954 ac_header_preproc
=no
37957 rm -f conftest.err conftest.
$ac_ext
37958 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37959 echo "${ECHO_T}$ac_header_preproc" >&6; }
37961 # So? What about this header?
37962 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37964 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
37965 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
37966 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
37967 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
37968 ac_header_preproc
=yes
37971 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
37972 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
37973 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
37974 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
37975 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
37976 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
37977 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
37978 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
37979 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
37980 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
37981 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
37982 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
37984 ## ----------------------------------------- ##
37985 ## Report this to wx-dev@lists.wxwidgets.org ##
37986 ## ----------------------------------------- ##
37988 ) | sed "s/^/$as_me: WARNING: /" >&2
37991 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
37992 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
37993 if test "${ac_cv_header_GL_gl_h+set}" = set; then
37994 echo $ECHO_N "(cached) $ECHO_C" >&6
37996 ac_cv_header_GL_gl_h
=$ac_header_preproc
37998 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
37999 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
38002 if test $ac_cv_header_GL_gl_h = yes; then
38004 if test "${ac_cv_header_GL_glu_h+set}" = set; then
38005 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
38006 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
38007 if test "${ac_cv_header_GL_glu_h+set}" = set; then
38008 echo $ECHO_N "(cached) $ECHO_C" >&6
38010 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
38011 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
38013 # Is the header compilable?
38014 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
38015 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
38016 cat >conftest.
$ac_ext <<_ACEOF
38019 cat confdefs.h
>>conftest.
$ac_ext
38020 cat >>conftest.
$ac_ext <<_ACEOF
38021 /* end confdefs.h. */
38022 $ac_includes_default
38023 #include <GL/glu.h>
38025 rm -f conftest.
$ac_objext
38026 if { (ac_try
="$ac_compile"
38027 case "(($ac_try" in
38028 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38029 *) ac_try_echo=$ac_try;;
38031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38032 (eval "$ac_compile") 2>conftest.er1
38034 grep -v '^ *+' conftest.er1 >conftest.err
38036 cat conftest.err >&5
38037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38038 (exit $ac_status); } &&
38039 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38040 { (case "(($ac_try" in
38041 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38042 *) ac_try_echo
=$ac_try;;
38044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38045 (eval "$ac_try") 2>&5
38047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38048 (exit $ac_status); }; } &&
38049 { ac_try
='test -s conftest.$ac_objext'
38050 { (case "(($ac_try" in
38051 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38052 *) ac_try_echo=$ac_try;;
38054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38055 (eval "$ac_try") 2>&5
38057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38058 (exit $ac_status); }; }; then
38059 ac_header_compiler=yes
38061 echo "$as_me: failed program was:" >&5
38062 sed 's/^/| /' conftest.$ac_ext >&5
38064 ac_header_compiler=no
38067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38068 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38069 echo "${ECHO_T}$ac_header_compiler" >&6; }
38071 # Is the header present?
38072 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
38073 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
38074 cat >conftest.$ac_ext <<_ACEOF
38077 cat confdefs.h >>conftest.$ac_ext
38078 cat >>conftest.$ac_ext <<_ACEOF
38079 /* end confdefs.h. */
38080 #include <GL/glu.h>
38082 if { (ac_try="$ac_cpp conftest.$ac_ext"
38083 case "(($ac_try" in
38084 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38085 *) ac_try_echo
=$ac_try;;
38087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38088 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
38090 grep -v '^ *+' conftest.er1
>conftest.err
38092 cat conftest.err
>&5
38093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38094 (exit $ac_status); } >/dev
/null
; then
38095 if test -s conftest.err
; then
38096 ac_cpp_err
=$ac_c_preproc_warn_flag
38097 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
38104 if test -z "$ac_cpp_err"; then
38105 ac_header_preproc
=yes
38107 echo "$as_me: failed program was:" >&5
38108 sed 's/^/| /' conftest.
$ac_ext >&5
38110 ac_header_preproc
=no
38113 rm -f conftest.err conftest.
$ac_ext
38114 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38115 echo "${ECHO_T}$ac_header_preproc" >&6; }
38117 # So? What about this header?
38118 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38120 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
38121 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
38122 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
38123 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
38124 ac_header_preproc
=yes
38127 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
38128 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
38129 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
38130 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
38131 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
38132 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
38133 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
38134 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
38135 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
38136 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
38137 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
38138 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
38140 ## ----------------------------------------- ##
38141 ## Report this to wx-dev@lists.wxwidgets.org ##
38142 ## ----------------------------------------- ##
38144 ) | sed "s/^/$as_me: WARNING: /" >&2
38147 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
38148 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
38149 if test "${ac_cv_header_GL_glu_h+set}" = set; then
38150 echo $ECHO_N "(cached) $ECHO_C" >&6
38152 ac_cv_header_GL_glu_h
=$ac_header_preproc
38154 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
38155 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
38158 if test $ac_cv_header_GL_glu_h = yes; then
38162 { echo "$as_me:$LINENO: checking for -lGL" >&5
38163 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
38166 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
38168 for ac_extension
in a so sl dylib dll.a
; do
38169 if test -f "$ac_dir/libGL.$ac_extension"; then
38170 ac_find_libraries
=$ac_dir
38176 if test "$ac_find_libraries" != "" ; then
38177 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
38178 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
38181 if test "$ac_find_libraries" = "default location"; then
38184 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
38186 if test $result = 0; then
38189 ac_path_to_link
=" -L$ac_find_libraries"
38193 if test "$ac_path_to_link" != " -L/usr/lib" ; then
38194 LDFLAGS_GL
="$ac_path_to_link"
38197 { echo "$as_me:$LINENO: checking for -lGLU" >&5
38198 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
38201 for ac_dir
in $SEARCH_LIB;
38203 for ac_extension
in a so sl dylib dll.a
; do
38204 if test -f "$ac_dir/libGLU.$ac_extension"; then
38205 ac_find_libraries
=$ac_dir
38211 if test "$ac_find_libraries" != "" ; then
38213 if test "$ac_find_libraries" = "default location"; then
38216 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
38218 if test $result = 0; then
38221 ac_path_to_link
=" -L$ac_find_libraries"
38225 if test "$ac_path_to_link" != " -L/usr/lib" -a \
38226 "$ac_path_to_link" != "$LDFLAGS_GL"; then
38227 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
38231 OPENGL_LIBS
="-lGL -lGLU"
38232 { echo "$as_me:$LINENO: result: yes" >&5
38233 echo "${ECHO_T}yes" >&6; }
38235 { echo "$as_me:$LINENO: result: no" >&5
38236 echo "${ECHO_T}no" >&6; }
38239 { echo "$as_me:$LINENO: result: no" >&5
38240 echo "${ECHO_T}no" >&6; }
38243 if test "$found_gl" != 1; then
38244 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
38245 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
38248 for ac_dir
in $SEARCH_LIB;
38250 for ac_extension
in a so sl dylib dll.a
; do
38251 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
38252 ac_find_libraries
=$ac_dir
38258 if test "$ac_find_libraries" != "" ; then
38260 if test "$ac_find_libraries" = "default location"; then
38263 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
38265 if test $result = 0; then
38268 ac_path_to_link
=" -L$ac_find_libraries"
38272 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
38273 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
38274 { echo "$as_me:$LINENO: result: yes" >&5
38275 echo "${ECHO_T}yes" >&6; }
38277 { echo "$as_me:$LINENO: result: no" >&5
38278 echo "${ECHO_T}no" >&6; }
38290 if test "x$OPENGL_LIBS" = "x"; then
38291 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
38292 echo "$as_me: error: OpenGL libraries not available" >&2;}
38293 { (exit 1); exit 1; }; }
38297 if test "$wxUSE_OPENGL" = "yes"; then
38299 cat >>confdefs.h
<<\_ACEOF
38300 #define wxUSE_OPENGL 1
38303 cat >>confdefs.h
<<\_ACEOF
38304 #define wxUSE_GLCANVAS 1
38307 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
38312 if test -n "$TOOLKIT" ; then
38313 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
38318 if test "$wxUSE_SHARED" = "yes"; then
38322 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
38323 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
38328 if test "$wxUSE_SHARED" = "yes"; then
38332 *-*-cygwin* | *-*-mingw* )
38333 wx_cv_version_script
=no
38337 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
38338 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
38339 if test "${wx_cv_version_script+set}" = set; then
38340 echo $ECHO_N "(cached) $ECHO_C" >&6
38343 echo "VER_1 { *; };" >conftest.sym
38344 echo "int main() { return 0; }" >conftest.cpp
38347 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
38348 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
38349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38350 (eval $ac_try) 2>&5
38352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38353 (exit $ac_status); }; } ; then
38354 if test -s conftest.stderr
; then
38355 wx_cv_version_script
=no
38357 wx_cv_version_script
=yes
38360 wx_cv_version_script
=no
38363 if test $wx_cv_version_script = yes
38365 echo "struct B { virtual ~B() { } }; \
38366 struct D : public B { }; \
38367 void F() { D d; }" > conftest.cpp
38370 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
38371 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
38372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38373 (eval $ac_try) 2>&5
38375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38376 (exit $ac_status); }; } &&
38378 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
38379 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
38380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38381 (eval $ac_try) 2>&5
38383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38384 (exit $ac_status); }; }
38387 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
38388 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
38389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38390 (eval $ac_try) 2>&5
38392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38393 (exit $ac_status); }; }
38395 wx_cv_version_script
=yes
38397 wx_cv_version_script
=no
38402 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
38403 rm -f conftest1.output conftest2.output conftest3.output
38406 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
38407 echo "${ECHO_T}$wx_cv_version_script" >&6; }
38409 if test $wx_cv_version_script = yes ; then
38410 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
38417 *-*-linux* | *-*-gnu* )
38418 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
38419 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
38423 if test "$GCC" = yes ; then
38424 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
38426 saveLdflags
="$LDFLAGS"
38427 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
38428 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
38429 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
38430 cat >conftest.
$ac_ext <<_ACEOF
38433 cat confdefs.h
>>conftest.
$ac_ext
38434 cat >>conftest.
$ac_ext <<_ACEOF
38435 /* end confdefs.h. */
38445 rm -f conftest.
$ac_objext conftest
$ac_exeext
38446 if { (ac_try
="$ac_link"
38447 case "(($ac_try" in
38448 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38449 *) ac_try_echo=$ac_try;;
38451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38452 (eval "$ac_link") 2>conftest.er1
38454 grep -v '^ *+' conftest.er1 >conftest.err
38456 cat conftest.err >&5
38457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38458 (exit $ac_status); } &&
38459 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38460 { (case "(($ac_try" in
38461 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38462 *) ac_try_echo
=$ac_try;;
38464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38465 (eval "$ac_try") 2>&5
38467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38468 (exit $ac_status); }; } &&
38469 { ac_try
='test -s conftest$ac_exeext'
38470 { (case "(($ac_try" in
38471 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38472 *) ac_try_echo=$ac_try;;
38474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38475 (eval "$ac_try") 2>&5
38477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38478 (exit $ac_status); }; }; then
38480 { echo "$as_me:$LINENO: result: yes" >&5
38481 echo "${ECHO_T}yes" >&6; }
38482 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
38483 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
38486 echo "$as_me: failed program was:" >&5
38487 sed 's/^/| /' conftest.$ac_ext >&5
38490 { echo "$as_me:$LINENO: result: no" >&5
38491 echo "${ECHO_T}no" >&6; }
38492 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
38493 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
38494 LDFLAGS="$saveLdflags -Wl,-R,/"
38495 cat >conftest.$ac_ext <<_ACEOF
38498 cat confdefs.h >>conftest.$ac_ext
38499 cat >>conftest.$ac_ext <<_ACEOF
38500 /* end confdefs.h. */
38510 rm -f conftest.$ac_objext conftest$ac_exeext
38511 if { (ac_try="$ac_link"
38512 case "(($ac_try" in
38513 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38514 *) ac_try_echo
=$ac_try;;
38516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38517 (eval "$ac_link") 2>conftest.er1
38519 grep -v '^ *+' conftest.er1
>conftest.err
38521 cat conftest.err
>&5
38522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38523 (exit $ac_status); } &&
38524 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38525 { (case "(($ac_try" in
38526 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38527 *) ac_try_echo=$ac_try;;
38529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38530 (eval "$ac_try") 2>&5
38532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38533 (exit $ac_status); }; } &&
38534 { ac_try='test -s conftest$ac_exeext'
38535 { (case "(($ac_try" in
38536 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38537 *) ac_try_echo
=$ac_try;;
38539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38540 (eval "$ac_try") 2>&5
38542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38543 (exit $ac_status); }; }; then
38545 { echo "$as_me:$LINENO: result: yes" >&5
38546 echo "${ECHO_T}yes" >&6; }
38547 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
38548 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
38551 echo "$as_me: failed program was:" >&5
38552 sed 's/^/| /' conftest.
$ac_ext >&5
38555 { echo "$as_me:$LINENO: result: no" >&5
38556 echo "${ECHO_T}no" >&6; }
38560 rm -f core conftest.err conftest.
$ac_objext \
38561 conftest
$ac_exeext conftest.
$ac_ext
38565 rm -f core conftest.err conftest.
$ac_objext \
38566 conftest
$ac_exeext conftest.
$ac_ext
38567 LDFLAGS
="$saveLdflags"
38569 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
38570 WXCONFIG_RPATH
="-R\$libdir"
38575 install_name_tool
=`which install_name_tool`
38576 if test "$install_name_tool" -a -x "$install_name_tool"; then
38577 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
38578 cat <<EOF >change-install-names
38580 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
38581 inst_cmd="install_name_tool "
38582 for i in \${libnames} ; do
38583 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
38587 chmod +x change
-install-names
38591 *-*-cygwin* | *-*-mingw32* )
38592 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
38596 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
38597 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
38602 if test $wxUSE_RPATH = "no"; then
38603 SAMPLES_RPATH_FLAG
=''
38604 SAMPLES_RPATH_POSTLINK
=''
38612 config_linkage_component
="-static"
38619 lib_unicode_suffix
=
38621 if test "$wxUSE_UNICODE" = "yes"; then
38622 lib_unicode_suffix
=u
38623 WX_CHARTYPE
="unicode"
38628 WX_DEBUGTYPE
="release"
38630 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
38632 WX_DEBUGTYPE
="debug"
38636 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
38637 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
38640 if test "$wxUSE_DEBUG_INFO" = "yes"; then
38644 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
38646 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
38648 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
38650 if test "$cross_compiling" = "yes"; then
38651 HOST_SUFFIX
="-$host_alias"
38652 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
38653 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
38656 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
38657 if test "${TOOLKIT_DIR}" = "os2"; then
38658 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
38660 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
38665 if test "$wxUSE_COCOA" = 1; then
38668 ac_cpp
='$CPP $CPPFLAGS'
38669 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38670 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38671 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38675 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
38676 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
38677 cat >conftest.
$ac_ext <<_ACEOF
38680 cat confdefs.h
>>conftest.
$ac_ext
38681 cat >>conftest.
$ac_ext <<_ACEOF
38682 /* end confdefs.h. */
38683 #include <AppKit/NSEvent.h>
38684 #include <CoreFoundation/CoreFoundation.h>
38694 rm -f conftest.
$ac_objext
38695 if { (ac_try
="$ac_compile"
38696 case "(($ac_try" in
38697 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38698 *) ac_try_echo=$ac_try;;
38700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38701 (eval "$ac_compile") 2>conftest.er1
38703 grep -v '^ *+' conftest.er1 >conftest.err
38705 cat conftest.err >&5
38706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38707 (exit $ac_status); } &&
38708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38709 { (case "(($ac_try" in
38710 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38711 *) ac_try_echo
=$ac_try;;
38713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38714 (eval "$ac_try") 2>&5
38716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38717 (exit $ac_status); }; } &&
38718 { ac_try
='test -s conftest.$ac_objext'
38719 { (case "(($ac_try" in
38720 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38721 *) ac_try_echo=$ac_try;;
38723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38724 (eval "$ac_try") 2>&5
38726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38727 (exit $ac_status); }; }; then
38728 { echo "$as_me:$LINENO: result: no" >&5
38729 echo "${ECHO_T}no" >&6; }
38731 echo "$as_me: failed program was:" >&5
38732 sed 's/^/| /' conftest.$ac_ext >&5
38734 { echo "$as_me:$LINENO: result: yes" >&5
38735 echo "${ECHO_T}yes" >&6; }
38736 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
38737 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
38738 cat >conftest.$ac_ext <<_ACEOF
38741 cat confdefs.h >>conftest.$ac_ext
38742 cat >>conftest.$ac_ext <<_ACEOF
38743 /* end confdefs.h. */
38744 #define __Point__ 1
38745 #include <AppKit/NSEvent.h>
38746 #include <CoreFoundation/CoreFoundation.h>
38756 rm -f conftest.$ac_objext
38757 if { (ac_try="$ac_compile"
38758 case "(($ac_try" in
38759 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38760 *) ac_try_echo
=$ac_try;;
38762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38763 (eval "$ac_compile") 2>conftest.er1
38765 grep -v '^ *+' conftest.er1
>conftest.err
38767 cat conftest.err
>&5
38768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38769 (exit $ac_status); } &&
38770 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38771 { (case "(($ac_try" in
38772 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38773 *) ac_try_echo=$ac_try;;
38775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38776 (eval "$ac_try") 2>&5
38778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38779 (exit $ac_status); }; } &&
38780 { ac_try='test -s conftest.$ac_objext'
38781 { (case "(($ac_try" in
38782 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38783 *) ac_try_echo
=$ac_try;;
38785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38786 (eval "$ac_try") 2>&5
38788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38789 (exit $ac_status); }; }; then
38790 { echo "$as_me:$LINENO: result: yes" >&5
38791 echo "${ECHO_T}yes" >&6; }
38792 cat >>confdefs.h
<<\_ACEOF
38793 #define __Point__ 1
38798 echo "$as_me: failed program was:" >&5
38799 sed 's/^/| /' conftest.
$ac_ext >&5
38801 { { echo "$as_me:$LINENO: error: no
38802 See \`config.log' for more details." >&5
38803 echo "$as_me: error: no
38804 See \`config.log' for more details." >&2;}
38805 { (exit 1); exit 1; }; }
38809 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38813 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38815 ac_cpp
='$CPP $CPPFLAGS'
38816 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38817 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38818 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38822 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
38823 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
38824 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
38826 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
38828 # Extract the first word of "Rez", so it can be a program name with args.
38829 set dummy Rez
; ac_word
=$2
38830 { echo "$as_me:$LINENO: checking for $ac_word" >&5
38831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
38832 if test "${ac_cv_prog_REZ+set}" = set; then
38833 echo $ECHO_N "(cached) $ECHO_C" >&6
38835 if test -n "$REZ"; then
38836 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
38838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38839 for as_dir
in $PATH
38842 test -z "$as_dir" && as_dir
=.
38843 for ac_exec_ext
in '' $ac_executable_extensions; do
38844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
38845 ac_cv_prog_REZ
="Rez"
38846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38853 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
38856 REZ
=$ac_cv_prog_REZ
38857 if test -n "$REZ"; then
38858 { echo "$as_me:$LINENO: result: $REZ" >&5
38859 echo "${ECHO_T}$REZ" >&6; }
38861 { echo "$as_me:$LINENO: result: no" >&5
38862 echo "${ECHO_T}no" >&6; }
38866 # Extract the first word of "DeRez", so it can be a program name with args.
38867 set dummy DeRez
; ac_word
=$2
38868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
38869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
38870 if test "${ac_cv_prog_DEREZ+set}" = set; then
38871 echo $ECHO_N "(cached) $ECHO_C" >&6
38873 if test -n "$DEREZ"; then
38874 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
38876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38877 for as_dir
in $PATH
38880 test -z "$as_dir" && as_dir
=.
38881 for ac_exec_ext
in '' $ac_executable_extensions; do
38882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
38883 ac_cv_prog_DEREZ
="DeRez"
38884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38891 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
38894 DEREZ
=$ac_cv_prog_DEREZ
38895 if test -n "$DEREZ"; then
38896 { echo "$as_me:$LINENO: result: $DEREZ" >&5
38897 echo "${ECHO_T}$DEREZ" >&6; }
38899 { echo "$as_me:$LINENO: result: no" >&5
38900 echo "${ECHO_T}no" >&6; }
38904 # Extract the first word of "SetFile", so it can be a program name with args.
38905 set dummy SetFile
; ac_word
=$2
38906 { echo "$as_me:$LINENO: checking for $ac_word" >&5
38907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
38908 if test "${ac_cv_prog_SETFILE+set}" = set; then
38909 echo $ECHO_N "(cached) $ECHO_C" >&6
38911 if test -n "$SETFILE"; then
38912 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
38914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38915 for as_dir
in $PATH
38918 test -z "$as_dir" && as_dir
=.
38919 for ac_exec_ext
in '' $ac_executable_extensions; do
38920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
38921 ac_cv_prog_SETFILE
="SetFile"
38922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38929 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
38932 SETFILE
=$ac_cv_prog_SETFILE
38933 if test -n "$SETFILE"; then
38934 { echo "$as_me:$LINENO: result: $SETFILE" >&5
38935 echo "${ECHO_T}$SETFILE" >&6; }
38937 { echo "$as_me:$LINENO: result: no" >&5
38938 echo "${ECHO_T}no" >&6; }
38943 MACSETFILE
="\$(SETFILE)"
38945 if test "$wxUSE_MAC" = 1; then
38946 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
38948 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
38950 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
38951 RESCOMP
="echo -n \| $REZ"
38952 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
38958 if test "$wxUSE_PM" = 1; then
38960 WXCONFIG_RESFLAGS
="-ep"
38962 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
38964 POSTLINK_COMMAND
="@true"
38971 { echo "$as_me:$LINENO: checking for mode_t" >&5
38972 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
38973 if test "${ac_cv_type_mode_t+set}" = set; then
38974 echo $ECHO_N "(cached) $ECHO_C" >&6
38976 cat >conftest.
$ac_ext <<_ACEOF
38979 cat confdefs.h
>>conftest.
$ac_ext
38980 cat >>conftest.
$ac_ext <<_ACEOF
38981 /* end confdefs.h. */
38982 $ac_includes_default
38983 typedef mode_t ac__type_new_;
38987 if ((ac__type_new_ *) 0)
38989 if (sizeof (ac__type_new_))
38995 rm -f conftest.
$ac_objext
38996 if { (ac_try
="$ac_compile"
38997 case "(($ac_try" in
38998 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38999 *) ac_try_echo=$ac_try;;
39001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39002 (eval "$ac_compile") 2>conftest.er1
39004 grep -v '^ *+' conftest.er1 >conftest.err
39006 cat conftest.err >&5
39007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39008 (exit $ac_status); } &&
39009 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39010 { (case "(($ac_try" in
39011 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39012 *) ac_try_echo
=$ac_try;;
39014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39015 (eval "$ac_try") 2>&5
39017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39018 (exit $ac_status); }; } &&
39019 { ac_try
='test -s conftest.$ac_objext'
39020 { (case "(($ac_try" in
39021 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39022 *) ac_try_echo=$ac_try;;
39024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39025 (eval "$ac_try") 2>&5
39027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39028 (exit $ac_status); }; }; then
39029 ac_cv_type_mode_t=yes
39031 echo "$as_me: failed program was:" >&5
39032 sed 's/^/| /' conftest.$ac_ext >&5
39034 ac_cv_type_mode_t=no
39037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39039 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
39040 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
39041 if test $ac_cv_type_mode_t = yes; then
39045 cat >>confdefs.h <<_ACEOF
39051 { echo "$as_me:$LINENO: checking for off_t" >&5
39052 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
39053 if test "${ac_cv_type_off_t+set}" = set; then
39054 echo $ECHO_N "(cached) $ECHO_C" >&6
39056 cat >conftest.$ac_ext <<_ACEOF
39059 cat confdefs.h >>conftest.$ac_ext
39060 cat >>conftest.$ac_ext <<_ACEOF
39061 /* end confdefs.h. */
39062 $ac_includes_default
39063 typedef off_t ac__type_new_;
39067 if ((ac__type_new_ *) 0)
39069 if (sizeof (ac__type_new_))
39075 rm -f conftest.$ac_objext
39076 if { (ac_try="$ac_compile"
39077 case "(($ac_try" in
39078 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39079 *) ac_try_echo
=$ac_try;;
39081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39082 (eval "$ac_compile") 2>conftest.er1
39084 grep -v '^ *+' conftest.er1
>conftest.err
39086 cat conftest.err
>&5
39087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39088 (exit $ac_status); } &&
39089 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39090 { (case "(($ac_try" in
39091 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39092 *) ac_try_echo=$ac_try;;
39094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39095 (eval "$ac_try") 2>&5
39097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39098 (exit $ac_status); }; } &&
39099 { ac_try='test -s conftest.$ac_objext'
39100 { (case "(($ac_try" in
39101 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39102 *) ac_try_echo
=$ac_try;;
39104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39105 (eval "$ac_try") 2>&5
39107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39108 (exit $ac_status); }; }; then
39109 ac_cv_type_off_t
=yes
39111 echo "$as_me: failed program was:" >&5
39112 sed 's/^/| /' conftest.
$ac_ext >&5
39114 ac_cv_type_off_t
=no
39117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39119 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
39120 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
39121 if test $ac_cv_type_off_t = yes; then
39125 cat >>confdefs.h
<<_ACEOF
39126 #define off_t long int
39131 { echo "$as_me:$LINENO: checking for pid_t" >&5
39132 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
39133 if test "${ac_cv_type_pid_t+set}" = set; then
39134 echo $ECHO_N "(cached) $ECHO_C" >&6
39136 cat >conftest.
$ac_ext <<_ACEOF
39139 cat confdefs.h
>>conftest.
$ac_ext
39140 cat >>conftest.
$ac_ext <<_ACEOF
39141 /* end confdefs.h. */
39142 $ac_includes_default
39143 typedef pid_t ac__type_new_;
39147 if ((ac__type_new_ *) 0)
39149 if (sizeof (ac__type_new_))
39155 rm -f conftest.
$ac_objext
39156 if { (ac_try
="$ac_compile"
39157 case "(($ac_try" in
39158 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39159 *) ac_try_echo=$ac_try;;
39161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39162 (eval "$ac_compile") 2>conftest.er1
39164 grep -v '^ *+' conftest.er1 >conftest.err
39166 cat conftest.err >&5
39167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39168 (exit $ac_status); } &&
39169 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39170 { (case "(($ac_try" in
39171 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39172 *) ac_try_echo
=$ac_try;;
39174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39175 (eval "$ac_try") 2>&5
39177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39178 (exit $ac_status); }; } &&
39179 { ac_try
='test -s conftest.$ac_objext'
39180 { (case "(($ac_try" in
39181 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39182 *) ac_try_echo=$ac_try;;
39184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39185 (eval "$ac_try") 2>&5
39187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39188 (exit $ac_status); }; }; then
39189 ac_cv_type_pid_t=yes
39191 echo "$as_me: failed program was:" >&5
39192 sed 's/^/| /' conftest.$ac_ext >&5
39194 ac_cv_type_pid_t=no
39197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39199 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
39200 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
39201 if test $ac_cv_type_pid_t = yes; then
39205 cat >>confdefs.h <<_ACEOF
39211 { echo "$as_me:$LINENO: checking for size_t" >&5
39212 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
39213 if test "${ac_cv_type_size_t+set}" = set; then
39214 echo $ECHO_N "(cached) $ECHO_C" >&6
39216 cat >conftest.$ac_ext <<_ACEOF
39219 cat confdefs.h >>conftest.$ac_ext
39220 cat >>conftest.$ac_ext <<_ACEOF
39221 /* end confdefs.h. */
39222 $ac_includes_default
39223 typedef size_t ac__type_new_;
39227 if ((ac__type_new_ *) 0)
39229 if (sizeof (ac__type_new_))
39235 rm -f conftest.$ac_objext
39236 if { (ac_try="$ac_compile"
39237 case "(($ac_try" in
39238 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39239 *) ac_try_echo
=$ac_try;;
39241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39242 (eval "$ac_compile") 2>conftest.er1
39244 grep -v '^ *+' conftest.er1
>conftest.err
39246 cat conftest.err
>&5
39247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39248 (exit $ac_status); } &&
39249 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39250 { (case "(($ac_try" in
39251 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39252 *) ac_try_echo=$ac_try;;
39254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39255 (eval "$ac_try") 2>&5
39257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39258 (exit $ac_status); }; } &&
39259 { ac_try='test -s conftest.$ac_objext'
39260 { (case "(($ac_try" in
39261 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39262 *) ac_try_echo
=$ac_try;;
39264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39265 (eval "$ac_try") 2>&5
39267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39268 (exit $ac_status); }; }; then
39269 ac_cv_type_size_t
=yes
39271 echo "$as_me: failed program was:" >&5
39272 sed 's/^/| /' conftest.
$ac_ext >&5
39274 ac_cv_type_size_t
=no
39277 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39279 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
39280 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
39281 if test $ac_cv_type_size_t = yes; then
39285 cat >>confdefs.h
<<_ACEOF
39286 #define size_t unsigned int
39291 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
39292 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
39293 if test "${ac_cv_type_uid_t+set}" = set; then
39294 echo $ECHO_N "(cached) $ECHO_C" >&6
39296 cat >conftest.
$ac_ext <<_ACEOF
39299 cat confdefs.h
>>conftest.
$ac_ext
39300 cat >>conftest.
$ac_ext <<_ACEOF
39301 /* end confdefs.h. */
39302 #include <sys/types.h>
39305 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
39306 $EGREP "uid_t" >/dev
/null
2>&1; then
39307 ac_cv_type_uid_t
=yes
39309 ac_cv_type_uid_t
=no
39314 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
39315 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
39316 if test $ac_cv_type_uid_t = no
; then
39318 cat >>confdefs.h
<<\_ACEOF
39323 cat >>confdefs.h
<<\_ACEOF
39330 { echo "$as_me:$LINENO: checking for ssize_t" >&5
39331 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
39332 if test "${ac_cv_type_ssize_t+set}" = set; then
39333 echo $ECHO_N "(cached) $ECHO_C" >&6
39335 cat >conftest.
$ac_ext <<_ACEOF
39338 cat confdefs.h
>>conftest.
$ac_ext
39339 cat >>conftest.
$ac_ext <<_ACEOF
39340 /* end confdefs.h. */
39341 $ac_includes_default
39342 typedef ssize_t ac__type_new_;
39346 if ((ac__type_new_ *) 0)
39348 if (sizeof (ac__type_new_))
39354 rm -f conftest.
$ac_objext
39355 if { (ac_try
="$ac_compile"
39356 case "(($ac_try" in
39357 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39358 *) ac_try_echo=$ac_try;;
39360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39361 (eval "$ac_compile") 2>conftest.er1
39363 grep -v '^ *+' conftest.er1 >conftest.err
39365 cat conftest.err >&5
39366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39367 (exit $ac_status); } &&
39368 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39369 { (case "(($ac_try" in
39370 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39371 *) ac_try_echo
=$ac_try;;
39373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39374 (eval "$ac_try") 2>&5
39376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39377 (exit $ac_status); }; } &&
39378 { ac_try
='test -s conftest.$ac_objext'
39379 { (case "(($ac_try" in
39380 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39381 *) ac_try_echo=$ac_try;;
39383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39384 (eval "$ac_try") 2>&5
39386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39387 (exit $ac_status); }; }; then
39388 ac_cv_type_ssize_t=yes
39390 echo "$as_me: failed program was:" >&5
39391 sed 's/^/| /' conftest.$ac_ext >&5
39393 ac_cv_type_ssize_t=no
39396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39398 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
39399 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
39400 if test $ac_cv_type_ssize_t = yes; then
39402 cat >>confdefs.h <<_ACEOF
39403 #define HAVE_SSIZE_T 1
39411 ac_cpp='$CXXCPP $CPPFLAGS'
39412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39415 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
39416 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
39417 if test "${wx_cv_size_t_is_uint+set}" = set; then
39418 echo $ECHO_N "(cached) $ECHO_C" >&6
39421 cat >conftest.$ac_ext <<_ACEOF
39424 cat confdefs.h >>conftest.$ac_ext
39425 cat >>conftest.$ac_ext <<_ACEOF
39426 /* end confdefs.h. */
39427 #include <stddef.h>
39434 struct Foo { void foo(size_t); void foo(unsigned int); };
39442 rm -f conftest.$ac_objext
39443 if { (ac_try="$ac_compile"
39444 case "(($ac_try" in
39445 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39446 *) ac_try_echo
=$ac_try;;
39448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39449 (eval "$ac_compile") 2>conftest.er1
39451 grep -v '^ *+' conftest.er1
>conftest.err
39453 cat conftest.err
>&5
39454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39455 (exit $ac_status); } &&
39456 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39457 { (case "(($ac_try" in
39458 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39459 *) ac_try_echo=$ac_try;;
39461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39462 (eval "$ac_try") 2>&5
39464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39465 (exit $ac_status); }; } &&
39466 { ac_try='test -s conftest.$ac_objext'
39467 { (case "(($ac_try" in
39468 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39469 *) ac_try_echo
=$ac_try;;
39471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39472 (eval "$ac_try") 2>&5
39474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39475 (exit $ac_status); }; }; then
39476 wx_cv_size_t_is_uint
=no
39478 echo "$as_me: failed program was:" >&5
39479 sed 's/^/| /' conftest.
$ac_ext >&5
39481 wx_cv_size_t_is_uint
=yes
39485 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39489 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
39490 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
39492 if test "$wx_cv_size_t_is_uint" = "yes"; then
39493 cat >>confdefs.h
<<\_ACEOF
39494 #define wxSIZE_T_IS_UINT 1
39498 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
39499 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
39500 if test "${wx_cv_size_t_is_ulong+set}" = set; then
39501 echo $ECHO_N "(cached) $ECHO_C" >&6
39503 cat >conftest.
$ac_ext <<_ACEOF
39506 cat confdefs.h
>>conftest.
$ac_ext
39507 cat >>conftest.
$ac_ext <<_ACEOF
39508 /* end confdefs.h. */
39509 #include <stddef.h>
39516 struct Foo { void foo(size_t); void foo(unsigned long); };
39524 rm -f conftest.
$ac_objext
39525 if { (ac_try
="$ac_compile"
39526 case "(($ac_try" in
39527 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39528 *) ac_try_echo=$ac_try;;
39530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39531 (eval "$ac_compile") 2>conftest.er1
39533 grep -v '^ *+' conftest.er1 >conftest.err
39535 cat conftest.err >&5
39536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39537 (exit $ac_status); } &&
39538 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39539 { (case "(($ac_try" in
39540 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39541 *) ac_try_echo
=$ac_try;;
39543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39544 (eval "$ac_try") 2>&5
39546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39547 (exit $ac_status); }; } &&
39548 { ac_try
='test -s conftest.$ac_objext'
39549 { (case "(($ac_try" in
39550 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39551 *) ac_try_echo=$ac_try;;
39553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39554 (eval "$ac_try") 2>&5
39556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39557 (exit $ac_status); }; }; then
39558 wx_cv_size_t_is_ulong=no
39560 echo "$as_me: failed program was:" >&5
39561 sed 's/^/| /' conftest.$ac_ext >&5
39563 wx_cv_size_t_is_ulong=yes
39567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39570 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
39571 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
39573 if test "$wx_cv_size_t_is_ulong" = "yes"; then
39574 cat >>confdefs.h <<\_ACEOF
39575 #define wxSIZE_T_IS_ULONG 1
39582 ac_cpp='$CPP $CPPFLAGS'
39583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39588 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
39589 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
39590 if test "${wx_cv_struct_pw_gecos+set}" = set; then
39591 echo $ECHO_N "(cached) $ECHO_C" >&6
39594 cat >conftest.$ac_ext <<_ACEOF
39597 cat confdefs.h >>conftest.$ac_ext
39598 cat >>conftest.$ac_ext <<_ACEOF
39599 /* end confdefs.h. */
39613 rm -f conftest.$ac_objext
39614 if { (ac_try="$ac_compile"
39615 case "(($ac_try" in
39616 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39617 *) ac_try_echo
=$ac_try;;
39619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39620 (eval "$ac_compile") 2>conftest.er1
39622 grep -v '^ *+' conftest.er1
>conftest.err
39624 cat conftest.err
>&5
39625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39626 (exit $ac_status); } &&
39627 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39628 { (case "(($ac_try" in
39629 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39630 *) ac_try_echo=$ac_try;;
39632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39633 (eval "$ac_try") 2>&5
39635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39636 (exit $ac_status); }; } &&
39637 { ac_try='test -s conftest.$ac_objext'
39638 { (case "(($ac_try" in
39639 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39640 *) ac_try_echo
=$ac_try;;
39642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39643 (eval "$ac_try") 2>&5
39645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39646 (exit $ac_status); }; }; then
39648 wx_cv_struct_pw_gecos
=yes
39651 echo "$as_me: failed program was:" >&5
39652 sed 's/^/| /' conftest.
$ac_ext >&5
39655 wx_cv_struct_pw_gecos
=no
39660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39664 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
39665 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
39667 if test "$wx_cv_struct_pw_gecos" = "yes"; then
39668 cat >>confdefs.h
<<\_ACEOF
39669 #define HAVE_PW_GECOS 1
39675 if test "$wxUSE_WCHAR_T" = "yes"; then
39676 cat >>confdefs.h
<<\_ACEOF
39677 #define wxUSE_WCHAR_T 1
39684 for ac_func
in wcslen
39686 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39687 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39689 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39690 echo $ECHO_N "(cached) $ECHO_C" >&6
39692 cat >conftest.
$ac_ext <<_ACEOF
39695 cat confdefs.h
>>conftest.
$ac_ext
39696 cat >>conftest.
$ac_ext <<_ACEOF
39697 /* end confdefs.h. */
39698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39700 #define $ac_func innocuous_$ac_func
39702 /* System header to define __stub macros and hopefully few prototypes,
39703 which can conflict with char $ac_func (); below.
39704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39705 <limits.h> exists even on freestanding compilers. */
39708 # include <limits.h>
39710 # include <assert.h>
39715 /* Override any GCC internal prototype to avoid an error.
39716 Use char because int might match the return type of a GCC
39717 builtin and then its argument prototype would still apply. */
39722 /* The GNU C library defines this for functions which it implements
39723 to always fail with ENOSYS. Some functions are actually named
39724 something starting with __ and the normal name is an alias. */
39725 #if defined __stub_$ac_func || defined __stub___$ac_func
39732 return $ac_func ();
39737 rm -f conftest.
$ac_objext conftest
$ac_exeext
39738 if { (ac_try
="$ac_link"
39739 case "(($ac_try" in
39740 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39741 *) ac_try_echo=$ac_try;;
39743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39744 (eval "$ac_link") 2>conftest.er1
39746 grep -v '^ *+' conftest.er1 >conftest.err
39748 cat conftest.err >&5
39749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39750 (exit $ac_status); } &&
39751 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39752 { (case "(($ac_try" in
39753 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39754 *) ac_try_echo
=$ac_try;;
39756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39757 (eval "$ac_try") 2>&5
39759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39760 (exit $ac_status); }; } &&
39761 { ac_try
='test -s conftest$ac_exeext'
39762 { (case "(($ac_try" in
39763 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39764 *) ac_try_echo=$ac_try;;
39766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39767 (eval "$ac_try") 2>&5
39769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39770 (exit $ac_status); }; }; then
39771 eval "$as_ac_var=yes"
39773 echo "$as_me: failed program was:" >&5
39774 sed 's/^/| /' conftest.$ac_ext >&5
39776 eval "$as_ac_var=no"
39779 rm -f core conftest.err conftest.$ac_objext \
39780 conftest$ac_exeext conftest.$ac_ext
39782 ac_res=`eval echo '${'$as_ac_var'}'`
39783 { echo "$as_me:$LINENO: result: $ac_res" >&5
39784 echo "${ECHO_T}$ac_res" >&6; }
39785 if test `eval echo '${'$as_ac_var'}'` = yes; then
39786 cat >>confdefs.h <<_ACEOF
39787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39794 if test "$WCSLEN_FOUND" = 0; then
39795 if test "$TOOLKIT" = "MSW"; then
39796 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
39797 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
39798 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
39799 echo $ECHO_N "(cached) $ECHO_C" >&6
39801 ac_check_lib_save_LIBS=$LIBS
39802 LIBS="-lmsvcrt $LIBS"
39803 cat >conftest.$ac_ext <<_ACEOF
39806 cat confdefs.h >>conftest.$ac_ext
39807 cat >>conftest.$ac_ext <<_ACEOF
39808 /* end confdefs.h. */
39810 /* Override any GCC internal prototype to avoid an error.
39811 Use char because int might match the return type of a GCC
39812 builtin and then its argument prototype would still apply. */
39825 rm -f conftest.$ac_objext conftest$ac_exeext
39826 if { (ac_try="$ac_link"
39827 case "(($ac_try" in
39828 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39829 *) ac_try_echo
=$ac_try;;
39831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39832 (eval "$ac_link") 2>conftest.er1
39834 grep -v '^ *+' conftest.er1
>conftest.err
39836 cat conftest.err
>&5
39837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39838 (exit $ac_status); } &&
39839 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39840 { (case "(($ac_try" in
39841 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39842 *) ac_try_echo=$ac_try;;
39844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39845 (eval "$ac_try") 2>&5
39847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39848 (exit $ac_status); }; } &&
39849 { ac_try='test -s conftest$ac_exeext'
39850 { (case "(($ac_try" in
39851 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39852 *) ac_try_echo
=$ac_try;;
39854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39855 (eval "$ac_try") 2>&5
39857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39858 (exit $ac_status); }; }; then
39859 ac_cv_lib_msvcrt_wcslen
=yes
39861 echo "$as_me: failed program was:" >&5
39862 sed 's/^/| /' conftest.
$ac_ext >&5
39864 ac_cv_lib_msvcrt_wcslen
=no
39867 rm -f core conftest.err conftest.
$ac_objext \
39868 conftest
$ac_exeext conftest.
$ac_ext
39869 LIBS
=$ac_check_lib_save_LIBS
39871 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
39872 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
39873 if test $ac_cv_lib_msvcrt_wcslen = yes; then
39878 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
39879 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
39880 if test "${ac_cv_lib_w_wcslen+set}" = set; then
39881 echo $ECHO_N "(cached) $ECHO_C" >&6
39883 ac_check_lib_save_LIBS
=$LIBS
39885 cat >conftest.
$ac_ext <<_ACEOF
39888 cat confdefs.h
>>conftest.
$ac_ext
39889 cat >>conftest.
$ac_ext <<_ACEOF
39890 /* end confdefs.h. */
39892 /* Override any GCC internal prototype to avoid an error.
39893 Use char because int might match the return type of a GCC
39894 builtin and then its argument prototype would still apply. */
39907 rm -f conftest.
$ac_objext conftest
$ac_exeext
39908 if { (ac_try
="$ac_link"
39909 case "(($ac_try" in
39910 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39911 *) ac_try_echo=$ac_try;;
39913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39914 (eval "$ac_link") 2>conftest.er1
39916 grep -v '^ *+' conftest.er1 >conftest.err
39918 cat conftest.err >&5
39919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39920 (exit $ac_status); } &&
39921 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39922 { (case "(($ac_try" in
39923 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39924 *) ac_try_echo
=$ac_try;;
39926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39927 (eval "$ac_try") 2>&5
39929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39930 (exit $ac_status); }; } &&
39931 { ac_try
='test -s conftest$ac_exeext'
39932 { (case "(($ac_try" in
39933 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39934 *) ac_try_echo=$ac_try;;
39936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39937 (eval "$ac_try") 2>&5
39939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39940 (exit $ac_status); }; }; then
39941 ac_cv_lib_w_wcslen=yes
39943 echo "$as_me: failed program was:" >&5
39944 sed 's/^/| /' conftest.$ac_ext >&5
39946 ac_cv_lib_w_wcslen=no
39949 rm -f core conftest.err conftest.$ac_objext \
39950 conftest$ac_exeext conftest.$ac_ext
39951 LIBS=$ac_check_lib_save_LIBS
39953 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
39954 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
39955 if test $ac_cv_lib_w_wcslen = yes; then
39965 if test "$WCSLEN_FOUND" = 1; then
39966 cat >>confdefs.h <<\_ACEOF
39967 #define HAVE_WCSLEN 1
39972 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
39973 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
39976 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
39977 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
39978 if test "${ac_cv_type_mbstate_t+set}" = set; then
39979 echo $ECHO_N "(cached) $ECHO_C" >&6
39981 cat >conftest.$ac_ext <<_ACEOF
39984 cat confdefs.h >>conftest.$ac_ext
39985 cat >>conftest.$ac_ext <<_ACEOF
39986 /* end confdefs.h. */
39989 typedef mbstate_t ac__type_new_;
39993 if ((ac__type_new_ *) 0)
39995 if (sizeof (ac__type_new_))
40001 rm -f conftest.$ac_objext
40002 if { (ac_try="$ac_compile"
40003 case "(($ac_try" in
40004 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40005 *) ac_try_echo
=$ac_try;;
40007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40008 (eval "$ac_compile") 2>conftest.er1
40010 grep -v '^ *+' conftest.er1
>conftest.err
40012 cat conftest.err
>&5
40013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40014 (exit $ac_status); } &&
40015 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40016 { (case "(($ac_try" in
40017 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40018 *) ac_try_echo=$ac_try;;
40020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40021 (eval "$ac_try") 2>&5
40023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40024 (exit $ac_status); }; } &&
40025 { ac_try='test -s conftest.$ac_objext'
40026 { (case "(($ac_try" in
40027 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40028 *) ac_try_echo
=$ac_try;;
40030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40031 (eval "$ac_try") 2>&5
40033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40034 (exit $ac_status); }; }; then
40035 ac_cv_type_mbstate_t
=yes
40037 echo "$as_me: failed program was:" >&5
40038 sed 's/^/| /' conftest.
$ac_ext >&5
40040 ac_cv_type_mbstate_t
=no
40043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40045 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
40046 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
40047 if test $ac_cv_type_mbstate_t = yes; then
40049 cat >>confdefs.h
<<_ACEOF
40050 #define HAVE_MBSTATE_T 1
40054 for ac_func
in wcsrtombs
40056 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40057 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40059 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40060 echo $ECHO_N "(cached) $ECHO_C" >&6
40062 cat >conftest.
$ac_ext <<_ACEOF
40065 cat confdefs.h
>>conftest.
$ac_ext
40066 cat >>conftest.
$ac_ext <<_ACEOF
40067 /* end confdefs.h. */
40068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40070 #define $ac_func innocuous_$ac_func
40072 /* System header to define __stub macros and hopefully few prototypes,
40073 which can conflict with char $ac_func (); below.
40074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40075 <limits.h> exists even on freestanding compilers. */
40078 # include <limits.h>
40080 # include <assert.h>
40085 /* Override any GCC internal prototype to avoid an error.
40086 Use char because int might match the return type of a GCC
40087 builtin and then its argument prototype would still apply. */
40092 /* The GNU C library defines this for functions which it implements
40093 to always fail with ENOSYS. Some functions are actually named
40094 something starting with __ and the normal name is an alias. */
40095 #if defined __stub_$ac_func || defined __stub___$ac_func
40102 return $ac_func ();
40107 rm -f conftest.
$ac_objext conftest
$ac_exeext
40108 if { (ac_try
="$ac_link"
40109 case "(($ac_try" in
40110 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40111 *) ac_try_echo=$ac_try;;
40113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40114 (eval "$ac_link") 2>conftest.er1
40116 grep -v '^ *+' conftest.er1 >conftest.err
40118 cat conftest.err >&5
40119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40120 (exit $ac_status); } &&
40121 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40122 { (case "(($ac_try" in
40123 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40124 *) ac_try_echo
=$ac_try;;
40126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40127 (eval "$ac_try") 2>&5
40129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40130 (exit $ac_status); }; } &&
40131 { ac_try
='test -s conftest$ac_exeext'
40132 { (case "(($ac_try" in
40133 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40134 *) ac_try_echo=$ac_try;;
40136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40137 (eval "$ac_try") 2>&5
40139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40140 (exit $ac_status); }; }; then
40141 eval "$as_ac_var=yes"
40143 echo "$as_me: failed program was:" >&5
40144 sed 's/^/| /' conftest.$ac_ext >&5
40146 eval "$as_ac_var=no"
40149 rm -f core conftest.err conftest.$ac_objext \
40150 conftest$ac_exeext conftest.$ac_ext
40152 ac_res=`eval echo '${'$as_ac_var'}'`
40153 { echo "$as_me:$LINENO: result: $ac_res" >&5
40154 echo "${ECHO_T}$ac_res" >&6; }
40155 if test `eval echo '${'$as_ac_var'}'` = yes; then
40156 cat >>confdefs.h <<_ACEOF
40157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40166 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
40167 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
40172 for ac_func in snprintf vsnprintf
40174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40175 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40177 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40178 echo $ECHO_N "(cached) $ECHO_C" >&6
40180 cat >conftest.$ac_ext <<_ACEOF
40183 cat confdefs.h >>conftest.$ac_ext
40184 cat >>conftest.$ac_ext <<_ACEOF
40185 /* end confdefs.h. */
40186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40188 #define $ac_func innocuous_$ac_func
40190 /* System header to define __stub macros and hopefully few prototypes,
40191 which can conflict with char $ac_func (); below.
40192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40193 <limits.h> exists even on freestanding compilers. */
40196 # include <limits.h>
40198 # include <assert.h>
40203 /* Override any GCC internal prototype to avoid an error.
40204 Use char because int might match the return type of a GCC
40205 builtin and then its argument prototype would still apply. */
40210 /* The GNU C library defines this for functions which it implements
40211 to always fail with ENOSYS. Some functions are actually named
40212 something starting with __ and the normal name is an alias. */
40213 #if defined __stub_$ac_func || defined __stub___$ac_func
40220 return $ac_func ();
40225 rm -f conftest.$ac_objext conftest$ac_exeext
40226 if { (ac_try="$ac_link"
40227 case "(($ac_try" in
40228 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40229 *) ac_try_echo
=$ac_try;;
40231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40232 (eval "$ac_link") 2>conftest.er1
40234 grep -v '^ *+' conftest.er1
>conftest.err
40236 cat conftest.err
>&5
40237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40238 (exit $ac_status); } &&
40239 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40240 { (case "(($ac_try" in
40241 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40242 *) ac_try_echo=$ac_try;;
40244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40245 (eval "$ac_try") 2>&5
40247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40248 (exit $ac_status); }; } &&
40249 { ac_try='test -s conftest$ac_exeext'
40250 { (case "(($ac_try" in
40251 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40252 *) ac_try_echo
=$ac_try;;
40254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40255 (eval "$ac_try") 2>&5
40257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40258 (exit $ac_status); }; }; then
40259 eval "$as_ac_var=yes"
40261 echo "$as_me: failed program was:" >&5
40262 sed 's/^/| /' conftest.
$ac_ext >&5
40264 eval "$as_ac_var=no"
40267 rm -f core conftest.err conftest.
$ac_objext \
40268 conftest
$ac_exeext conftest.
$ac_ext
40270 ac_res
=`eval echo '${'$as_ac_var'}'`
40271 { echo "$as_me:$LINENO: result: $ac_res" >&5
40272 echo "${ECHO_T}$ac_res" >&6; }
40273 if test `eval echo '${'$as_ac_var'}'` = yes; then
40274 cat >>confdefs.h
<<_ACEOF
40275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40282 if test "$ac_cv_func_vsnprintf" = "yes"; then
40283 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
40284 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
40285 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
40286 echo $ECHO_N "(cached) $ECHO_C" >&6
40289 cat >conftest.
$ac_ext <<_ACEOF
40292 cat confdefs.h
>>conftest.
$ac_ext
40293 cat >>conftest.
$ac_ext <<_ACEOF
40294 /* end confdefs.h. */
40297 #include <stdarg.h>
40299 #if __MSL__ >= 0x6000
40301 using namespace std;
40311 vsnprintf(buf, 10u, "%s", ap);
40317 rm -f conftest.
$ac_objext
40318 if { (ac_try
="$ac_compile"
40319 case "(($ac_try" in
40320 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40321 *) ac_try_echo=$ac_try;;
40323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40324 (eval "$ac_compile") 2>conftest.er1
40326 grep -v '^ *+' conftest.er1 >conftest.err
40328 cat conftest.err >&5
40329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40330 (exit $ac_status); } &&
40331 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40332 { (case "(($ac_try" in
40333 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40334 *) ac_try_echo
=$ac_try;;
40336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40337 (eval "$ac_try") 2>&5
40339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40340 (exit $ac_status); }; } &&
40341 { ac_try
='test -s conftest.$ac_objext'
40342 { (case "(($ac_try" in
40343 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40344 *) ac_try_echo=$ac_try;;
40346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40347 (eval "$ac_try") 2>&5
40349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40350 (exit $ac_status); }; }; then
40351 wx_cv_func_vsnprintf_decl=yes
40353 echo "$as_me: failed program was:" >&5
40354 sed 's/^/| /' conftest.$ac_ext >&5
40356 wx_cv_func_vsnprintf_decl=no
40360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40364 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
40365 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
40367 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
40368 cat >>confdefs.h <<\_ACEOF
40369 #define HAVE_VSNPRINTF_DECL 1
40373 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
40374 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
40375 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
40376 echo $ECHO_N "(cached) $ECHO_C" >&6
40379 cat >conftest.$ac_ext <<_ACEOF
40382 cat confdefs.h >>conftest.$ac_ext
40383 cat >>conftest.$ac_ext <<_ACEOF
40384 /* end confdefs.h. */
40387 #include <stdarg.h>
40389 #if __MSL__ >= 0x6000
40391 using namespace std;
40401 const char *fmt = "%s";
40402 vsnprintf(buf, 10u, fmt, ap);
40408 rm -f conftest.$ac_objext
40409 if { (ac_try="$ac_compile"
40410 case "(($ac_try" in
40411 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40412 *) ac_try_echo
=$ac_try;;
40414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40415 (eval "$ac_compile") 2>conftest.er1
40417 grep -v '^ *+' conftest.er1
>conftest.err
40419 cat conftest.err
>&5
40420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40421 (exit $ac_status); } &&
40422 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40423 { (case "(($ac_try" in
40424 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40425 *) ac_try_echo=$ac_try;;
40427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40428 (eval "$ac_try") 2>&5
40430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40431 (exit $ac_status); }; } &&
40432 { ac_try='test -s conftest.$ac_objext'
40433 { (case "(($ac_try" in
40434 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40435 *) ac_try_echo
=$ac_try;;
40437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40438 (eval "$ac_try") 2>&5
40440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40441 (exit $ac_status); }; }; then
40442 wx_cv_func_broken_vsnprintf_decl
=no
40444 echo "$as_me: failed program was:" >&5
40445 sed 's/^/| /' conftest.
$ac_ext >&5
40447 wx_cv_func_broken_vsnprintf_decl
=yes
40451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40455 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
40456 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
40458 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
40459 cat >>confdefs.h
<<\_ACEOF
40460 #define HAVE_BROKEN_VSNPRINTF_DECL 1
40467 if test "$ac_cv_func_snprintf" = "yes"; then
40468 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
40469 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
40470 if test "${wx_cv_func_snprintf_decl+set}" = set; then
40471 echo $ECHO_N "(cached) $ECHO_C" >&6
40474 cat >conftest.
$ac_ext <<_ACEOF
40477 cat confdefs.h
>>conftest.
$ac_ext
40478 cat >>conftest.
$ac_ext <<_ACEOF
40479 /* end confdefs.h. */
40482 #include <stdarg.h>
40484 #if __MSL__ >= 0x6000
40486 using namespace std;
40495 snprintf(buf, 10u, "%s", "wx");
40501 rm -f conftest.
$ac_objext
40502 if { (ac_try
="$ac_compile"
40503 case "(($ac_try" in
40504 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40505 *) ac_try_echo=$ac_try;;
40507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40508 (eval "$ac_compile") 2>conftest.er1
40510 grep -v '^ *+' conftest.er1 >conftest.err
40512 cat conftest.err >&5
40513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40514 (exit $ac_status); } &&
40515 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40516 { (case "(($ac_try" in
40517 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40518 *) ac_try_echo
=$ac_try;;
40520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40521 (eval "$ac_try") 2>&5
40523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40524 (exit $ac_status); }; } &&
40525 { ac_try
='test -s conftest.$ac_objext'
40526 { (case "(($ac_try" in
40527 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40528 *) ac_try_echo=$ac_try;;
40530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40531 (eval "$ac_try") 2>&5
40533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40534 (exit $ac_status); }; }; then
40535 wx_cv_func_snprintf_decl=yes
40537 echo "$as_me: failed program was:" >&5
40538 sed 's/^/| /' conftest.$ac_ext >&5
40540 wx_cv_func_snprintf_decl=no
40544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40548 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
40549 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
40551 if test "$wx_cv_func_snprintf_decl" = "yes"; then
40552 cat >>confdefs.h <<\_ACEOF
40553 #define HAVE_SNPRINTF_DECL 1
40557 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
40558 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
40559 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
40560 echo $ECHO_N "(cached) $ECHO_C" >&6
40563 cat >conftest.$ac_ext <<_ACEOF
40566 cat confdefs.h >>conftest.$ac_ext
40567 cat >>conftest.$ac_ext <<_ACEOF
40568 /* end confdefs.h. */
40571 #include <stdarg.h>
40573 #if __MSL__ >= 0x6000
40575 using namespace std;
40584 const char *fmt = "%s";
40585 snprintf(buf, 10u, fmt, "wx");
40591 rm -f conftest.$ac_objext
40592 if { (ac_try="$ac_compile"
40593 case "(($ac_try" in
40594 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40595 *) ac_try_echo
=$ac_try;;
40597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40598 (eval "$ac_compile") 2>conftest.er1
40600 grep -v '^ *+' conftest.er1
>conftest.err
40602 cat conftest.err
>&5
40603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40604 (exit $ac_status); } &&
40605 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40606 { (case "(($ac_try" in
40607 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40608 *) ac_try_echo=$ac_try;;
40610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40611 (eval "$ac_try") 2>&5
40613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40614 (exit $ac_status); }; } &&
40615 { ac_try='test -s conftest.$ac_objext'
40616 { (case "(($ac_try" in
40617 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40618 *) ac_try_echo
=$ac_try;;
40620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40621 (eval "$ac_try") 2>&5
40623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40624 (exit $ac_status); }; }; then
40625 wx_cv_func_broken_snprintf_decl
=no
40627 echo "$as_me: failed program was:" >&5
40628 sed 's/^/| /' conftest.
$ac_ext >&5
40630 wx_cv_func_broken_snprintf_decl
=yes
40634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40638 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
40639 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
40641 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
40642 cat >>confdefs.h
<<\_ACEOF
40643 #define HAVE_BROKEN_SNPRINTF_DECL 1
40649 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
40651 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
40652 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
40653 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
40654 echo $ECHO_N "(cached) $ECHO_C" >&6
40657 if test "$cross_compiling" = yes; then
40659 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
40660 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
40661 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
40662 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
40663 wx_cv_func_snprintf_pos_params
=no
40667 cat >conftest.
$ac_ext <<_ACEOF
40670 cat confdefs.h
>>conftest.
$ac_ext
40671 cat >>conftest.
$ac_ext <<_ACEOF
40672 /* end confdefs.h. */
40679 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
40680 if (strcmp ("2 3 1", buffer) == 0)
40686 rm -f conftest
$ac_exeext
40687 if { (ac_try
="$ac_link"
40688 case "(($ac_try" in
40689 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40690 *) ac_try_echo=$ac_try;;
40692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40693 (eval "$ac_link") 2>&5
40695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40696 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40697 { (case "(($ac_try" in
40698 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40699 *) ac_try_echo
=$ac_try;;
40701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40702 (eval "$ac_try") 2>&5
40704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40705 (exit $ac_status); }; }; then
40706 wx_cv_func_snprintf_pos_params
=no
40708 echo "$as_me: program exited with status $ac_status" >&5
40709 echo "$as_me: failed program was:" >&5
40710 sed 's/^/| /' conftest.
$ac_ext >&5
40712 ( exit $ac_status )
40713 wx_cv_func_snprintf_pos_params
=yes
40715 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
40722 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
40723 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
40725 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
40726 cat >>confdefs.h
<<\_ACEOF
40727 #define HAVE_UNIX98_PRINTF 1
40734 if test "$wxUSE_UNICODE" = yes; then
40737 for ac_func
in swprintf
40739 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40740 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40742 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40743 echo $ECHO_N "(cached) $ECHO_C" >&6
40745 cat >conftest.
$ac_ext <<_ACEOF
40748 cat confdefs.h
>>conftest.
$ac_ext
40749 cat >>conftest.
$ac_ext <<_ACEOF
40750 /* end confdefs.h. */
40751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40753 #define $ac_func innocuous_$ac_func
40755 /* System header to define __stub macros and hopefully few prototypes,
40756 which can conflict with char $ac_func (); below.
40757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40758 <limits.h> exists even on freestanding compilers. */
40761 # include <limits.h>
40763 # include <assert.h>
40768 /* Override any GCC internal prototype to avoid an error.
40769 Use char because int might match the return type of a GCC
40770 builtin and then its argument prototype would still apply. */
40775 /* The GNU C library defines this for functions which it implements
40776 to always fail with ENOSYS. Some functions are actually named
40777 something starting with __ and the normal name is an alias. */
40778 #if defined __stub_$ac_func || defined __stub___$ac_func
40785 return $ac_func ();
40790 rm -f conftest.
$ac_objext conftest
$ac_exeext
40791 if { (ac_try
="$ac_link"
40792 case "(($ac_try" in
40793 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40794 *) ac_try_echo=$ac_try;;
40796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40797 (eval "$ac_link") 2>conftest.er1
40799 grep -v '^ *+' conftest.er1 >conftest.err
40801 cat conftest.err >&5
40802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40803 (exit $ac_status); } &&
40804 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40805 { (case "(($ac_try" in
40806 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40807 *) ac_try_echo
=$ac_try;;
40809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40810 (eval "$ac_try") 2>&5
40812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40813 (exit $ac_status); }; } &&
40814 { ac_try
='test -s conftest$ac_exeext'
40815 { (case "(($ac_try" in
40816 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40817 *) ac_try_echo=$ac_try;;
40819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40820 (eval "$ac_try") 2>&5
40822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40823 (exit $ac_status); }; }; then
40824 eval "$as_ac_var=yes"
40826 echo "$as_me: failed program was:" >&5
40827 sed 's/^/| /' conftest.$ac_ext >&5
40829 eval "$as_ac_var=no"
40832 rm -f core conftest.err conftest.$ac_objext \
40833 conftest$ac_exeext conftest.$ac_ext
40835 ac_res=`eval echo '${'$as_ac_var'}'`
40836 { echo "$as_me:$LINENO: result: $ac_res" >&5
40837 echo "${ECHO_T}$ac_res" >&6; }
40838 if test `eval echo '${'$as_ac_var'}'` = yes; then
40839 cat >>confdefs.h <<_ACEOF
40840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40847 if test "$ac_cv_func_swprintf" = "yes"; then
40848 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
40849 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
40850 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
40851 echo $ECHO_N "(cached) $ECHO_C" >&6
40854 cat >conftest.$ac_ext <<_ACEOF
40857 cat confdefs.h >>conftest.$ac_ext
40858 cat >>conftest.$ac_ext <<_ACEOF
40859 /* end confdefs.h. */
40862 #include <stdarg.h>
40870 const wchar_t *fmt = L"test";
40871 swprintf(buf, 10u, fmt);
40877 rm -f conftest.$ac_objext
40878 if { (ac_try="$ac_compile"
40879 case "(($ac_try" in
40880 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40881 *) ac_try_echo
=$ac_try;;
40883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40884 (eval "$ac_compile") 2>conftest.er1
40886 grep -v '^ *+' conftest.er1
>conftest.err
40888 cat conftest.err
>&5
40889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40890 (exit $ac_status); } &&
40891 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40892 { (case "(($ac_try" in
40893 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40894 *) ac_try_echo=$ac_try;;
40896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40897 (eval "$ac_try") 2>&5
40899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40900 (exit $ac_status); }; } &&
40901 { ac_try='test -s conftest.$ac_objext'
40902 { (case "(($ac_try" in
40903 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40904 *) ac_try_echo
=$ac_try;;
40906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40907 (eval "$ac_try") 2>&5
40909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40910 (exit $ac_status); }; }; then
40911 wx_cv_func_broken_swprintf_decl
=no
40913 echo "$as_me: failed program was:" >&5
40914 sed 's/^/| /' conftest.
$ac_ext >&5
40916 wx_cv_func_broken_swprintf_decl
=yes
40920 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40924 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
40925 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
40927 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
40928 cat >>confdefs.h
<<\_ACEOF
40929 #define HAVE_BROKEN_SWPRINTF_DECL 1
40935 wchar_headers
="#include <stdio.h>
40936 #include <wchar.h>"
40940 for ac_header
in widec.h
40942 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40943 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40944 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40946 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40947 echo $ECHO_N "(cached) $ECHO_C" >&6
40949 ac_res
=`eval echo '${'$as_ac_Header'}'`
40950 { echo "$as_me:$LINENO: result: $ac_res" >&5
40951 echo "${ECHO_T}$ac_res" >&6; }
40953 # Is the header compilable?
40954 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
40955 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
40956 cat >conftest.
$ac_ext <<_ACEOF
40959 cat confdefs.h
>>conftest.
$ac_ext
40960 cat >>conftest.
$ac_ext <<_ACEOF
40961 /* end confdefs.h. */
40962 $ac_includes_default
40963 #include <$ac_header>
40965 rm -f conftest.
$ac_objext
40966 if { (ac_try
="$ac_compile"
40967 case "(($ac_try" in
40968 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40969 *) ac_try_echo=$ac_try;;
40971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40972 (eval "$ac_compile") 2>conftest.er1
40974 grep -v '^ *+' conftest.er1 >conftest.err
40976 cat conftest.err >&5
40977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40978 (exit $ac_status); } &&
40979 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40980 { (case "(($ac_try" in
40981 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40982 *) ac_try_echo
=$ac_try;;
40984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40985 (eval "$ac_try") 2>&5
40987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40988 (exit $ac_status); }; } &&
40989 { ac_try
='test -s conftest.$ac_objext'
40990 { (case "(($ac_try" in
40991 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40992 *) ac_try_echo=$ac_try;;
40994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40995 (eval "$ac_try") 2>&5
40997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40998 (exit $ac_status); }; }; then
40999 ac_header_compiler=yes
41001 echo "$as_me: failed program was:" >&5
41002 sed 's/^/| /' conftest.$ac_ext >&5
41004 ac_header_compiler=no
41007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41008 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41009 echo "${ECHO_T}$ac_header_compiler" >&6; }
41011 # Is the header present?
41012 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
41013 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
41014 cat >conftest.$ac_ext <<_ACEOF
41017 cat confdefs.h >>conftest.$ac_ext
41018 cat >>conftest.$ac_ext <<_ACEOF
41019 /* end confdefs.h. */
41020 #include <$ac_header>
41022 if { (ac_try="$ac_cpp conftest.$ac_ext"
41023 case "(($ac_try" in
41024 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41025 *) ac_try_echo
=$ac_try;;
41027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41028 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
41030 grep -v '^ *+' conftest.er1
>conftest.err
41032 cat conftest.err
>&5
41033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41034 (exit $ac_status); } >/dev
/null
; then
41035 if test -s conftest.err
; then
41036 ac_cpp_err
=$ac_c_preproc_warn_flag
41037 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
41044 if test -z "$ac_cpp_err"; then
41045 ac_header_preproc
=yes
41047 echo "$as_me: failed program was:" >&5
41048 sed 's/^/| /' conftest.
$ac_ext >&5
41050 ac_header_preproc
=no
41053 rm -f conftest.err conftest.
$ac_ext
41054 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41055 echo "${ECHO_T}$ac_header_preproc" >&6; }
41057 # So? What about this header?
41058 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41060 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41061 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41062 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41063 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41064 ac_header_preproc
=yes
41067 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41068 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41069 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41070 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41071 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41072 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41073 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41074 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41075 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41076 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41077 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41078 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41080 ## ----------------------------------------- ##
41081 ## Report this to wx-dev@lists.wxwidgets.org ##
41082 ## ----------------------------------------- ##
41084 ) | sed "s/^/$as_me: WARNING: /" >&2
41087 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41088 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41089 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41090 echo $ECHO_N "(cached) $ECHO_C" >&6
41092 eval "$as_ac_Header=\$ac_header_preproc"
41094 ac_res
=`eval echo '${'$as_ac_Header'}'`
41095 { echo "$as_me:$LINENO: result: $ac_res" >&5
41096 echo "${ECHO_T}$ac_res" >&6; }
41099 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41100 cat >>confdefs.h
<<_ACEOF
41101 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41108 if test "$ac_cv_header_widec_h" = "yes"; then
41109 wchar_headers
="$wchar_headers
41110 #include <widec.h>"
41115 for wx_func
in wputc wputchar putws fputws wprintf vswprintf
41117 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41118 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41119 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41120 echo $ECHO_N "(cached) $ECHO_C" >&6
41123 cat >conftest.
$ac_ext <<_ACEOF
41127 cat confdefs.h
>>conftest.
$ac_ext
41128 cat >>conftest.
$ac_ext <<_ACEOF
41129 /* end confdefs.h. */
41132 $ac_includes_default
41148 rm -f conftest.
$ac_objext conftest
$ac_exeext
41149 if { (ac_try
="$ac_link"
41150 case "(($ac_try" in
41151 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41152 *) ac_try_echo=$ac_try;;
41154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41155 (eval "$ac_link") 2>conftest.er1
41157 grep -v '^ *+' conftest.er1 >conftest.err
41159 cat conftest.err >&5
41160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41161 (exit $ac_status); } &&
41162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41163 { (case "(($ac_try" in
41164 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41165 *) ac_try_echo
=$ac_try;;
41167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41168 (eval "$ac_try") 2>&5
41170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41171 (exit $ac_status); }; } &&
41172 { ac_try
='test -s conftest$ac_exeext'
41173 { (case "(($ac_try" in
41174 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41175 *) ac_try_echo=$ac_try;;
41177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41178 (eval "$ac_try") 2>&5
41180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41181 (exit $ac_status); }; }; then
41182 eval wx_cv_func_$wx_func=yes
41184 echo "$as_me: failed program was:" >&5
41185 sed 's/^/| /' conftest.$ac_ext >&5
41187 eval wx_cv_func_$wx_func=no
41190 rm -f core conftest.err conftest.$ac_objext \
41191 conftest$ac_exeext conftest.$ac_ext
41194 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41195 { echo "$as_me:$LINENO: result: $ac_res" >&5
41196 echo "${ECHO_T}$ac_res" >&6; }
41198 if eval test \$wx_cv_func_$wx_func = yes
41200 cat >>confdefs.h <<_ACEOF
41201 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41212 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
41213 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
41214 cat >conftest.$ac_ext <<_ACEOF
41217 cat confdefs.h >>conftest.$ac_ext
41218 cat >>conftest.$ac_ext <<_ACEOF
41219 /* end confdefs.h. */
41229 rm -f conftest.$ac_objext
41230 if { (ac_try="$ac_compile"
41231 case "(($ac_try" in
41232 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41233 *) ac_try_echo
=$ac_try;;
41235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41236 (eval "$ac_compile") 2>conftest.er1
41238 grep -v '^ *+' conftest.er1
>conftest.err
41240 cat conftest.err
>&5
41241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41242 (exit $ac_status); } &&
41243 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41244 { (case "(($ac_try" in
41245 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41246 *) ac_try_echo=$ac_try;;
41248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41249 (eval "$ac_try") 2>&5
41251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41252 (exit $ac_status); }; } &&
41253 { ac_try='test -s conftest.$ac_objext'
41254 { (case "(($ac_try" in
41255 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41256 *) ac_try_echo
=$ac_try;;
41258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41259 (eval "$ac_try") 2>&5
41261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41262 (exit $ac_status); }; }; then
41263 { echo "$as_me:$LINENO: result: yes" >&5
41264 echo "${ECHO_T}yes" >&6; }
41265 cat >>confdefs.h
<<\_ACEOF
41266 #define HAVE__VSNWPRINTF 1
41270 echo "$as_me: failed program was:" >&5
41271 sed 's/^/| /' conftest.
$ac_ext >&5
41273 { echo "$as_me:$LINENO: result: no" >&5
41274 echo "${ECHO_T}no" >&6; }
41277 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
41280 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
41282 for wx_func
in fnmatch
41284 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41285 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41286 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41287 echo $ECHO_N "(cached) $ECHO_C" >&6
41290 cat >conftest.
$ac_ext <<_ACEOF
41294 cat confdefs.h
>>conftest.
$ac_ext
41295 cat >>conftest.
$ac_ext <<_ACEOF
41296 /* end confdefs.h. */
41298 #include <fnmatch.h>
41299 $ac_includes_default
41315 rm -f conftest.
$ac_objext conftest
$ac_exeext
41316 if { (ac_try
="$ac_link"
41317 case "(($ac_try" in
41318 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41319 *) ac_try_echo=$ac_try;;
41321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41322 (eval "$ac_link") 2>conftest.er1
41324 grep -v '^ *+' conftest.er1 >conftest.err
41326 cat conftest.err >&5
41327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41328 (exit $ac_status); } &&
41329 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41330 { (case "(($ac_try" in
41331 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41332 *) ac_try_echo
=$ac_try;;
41334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41335 (eval "$ac_try") 2>&5
41337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41338 (exit $ac_status); }; } &&
41339 { ac_try
='test -s conftest$ac_exeext'
41340 { (case "(($ac_try" in
41341 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41342 *) ac_try_echo=$ac_try;;
41344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41345 (eval "$ac_try") 2>&5
41347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41348 (exit $ac_status); }; }; then
41349 eval wx_cv_func_$wx_func=yes
41351 echo "$as_me: failed program was:" >&5
41352 sed 's/^/| /' conftest.$ac_ext >&5
41354 eval wx_cv_func_$wx_func=no
41357 rm -f core conftest.err conftest.$ac_objext \
41358 conftest$ac_exeext conftest.$ac_ext
41361 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41362 { echo "$as_me:$LINENO: result: $ac_res" >&5
41363 echo "${ECHO_T}$ac_res" >&6; }
41365 if eval test \$wx_cv_func_$wx_func = yes
41367 cat >>confdefs.h <<_ACEOF
41368 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41380 if test "$wxUSE_FILE" = "yes"; then
41382 for wx_func in fsync
41384 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41385 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41386 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41387 echo $ECHO_N "(cached) $ECHO_C" >&6
41390 cat >conftest.$ac_ext <<_ACEOF
41394 cat confdefs.h >>conftest.$ac_ext
41395 cat >>conftest.$ac_ext <<_ACEOF
41396 /* end confdefs.h. */
41399 $ac_includes_default
41415 rm -f conftest.$ac_objext conftest$ac_exeext
41416 if { (ac_try="$ac_link"
41417 case "(($ac_try" in
41418 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41419 *) ac_try_echo
=$ac_try;;
41421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41422 (eval "$ac_link") 2>conftest.er1
41424 grep -v '^ *+' conftest.er1
>conftest.err
41426 cat conftest.err
>&5
41427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41428 (exit $ac_status); } &&
41429 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41430 { (case "(($ac_try" in
41431 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41432 *) ac_try_echo=$ac_try;;
41434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41435 (eval "$ac_try") 2>&5
41437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41438 (exit $ac_status); }; } &&
41439 { ac_try='test -s conftest$ac_exeext'
41440 { (case "(($ac_try" in
41441 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41442 *) ac_try_echo
=$ac_try;;
41444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41445 (eval "$ac_try") 2>&5
41447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41448 (exit $ac_status); }; }; then
41449 eval wx_cv_func_
$wx_func=yes
41451 echo "$as_me: failed program was:" >&5
41452 sed 's/^/| /' conftest.
$ac_ext >&5
41454 eval wx_cv_func_
$wx_func=no
41457 rm -f core conftest.err conftest.
$ac_objext \
41458 conftest
$ac_exeext conftest.
$ac_ext
41461 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
41462 { echo "$as_me:$LINENO: result: $ac_res" >&5
41463 echo "${ECHO_T}$ac_res" >&6; }
41465 if eval test \
$wx_cv_func_$wx_func = yes
41467 cat >>confdefs.h
<<_ACEOF
41468 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41481 for wx_func
in round
41483 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41484 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41485 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41486 echo $ECHO_N "(cached) $ECHO_C" >&6
41489 cat >conftest.
$ac_ext <<_ACEOF
41493 cat confdefs.h
>>conftest.
$ac_ext
41494 cat >>conftest.
$ac_ext <<_ACEOF
41495 /* end confdefs.h. */
41498 $ac_includes_default
41514 rm -f conftest.
$ac_objext conftest
$ac_exeext
41515 if { (ac_try
="$ac_link"
41516 case "(($ac_try" in
41517 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41518 *) ac_try_echo=$ac_try;;
41520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41521 (eval "$ac_link") 2>conftest.er1
41523 grep -v '^ *+' conftest.er1 >conftest.err
41525 cat conftest.err >&5
41526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41527 (exit $ac_status); } &&
41528 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41529 { (case "(($ac_try" in
41530 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41531 *) ac_try_echo
=$ac_try;;
41533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41534 (eval "$ac_try") 2>&5
41536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41537 (exit $ac_status); }; } &&
41538 { ac_try
='test -s conftest$ac_exeext'
41539 { (case "(($ac_try" in
41540 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41541 *) ac_try_echo=$ac_try;;
41543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41544 (eval "$ac_try") 2>&5
41546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41547 (exit $ac_status); }; }; then
41548 eval wx_cv_func_$wx_func=yes
41550 echo "$as_me: failed program was:" >&5
41551 sed 's/^/| /' conftest.$ac_ext >&5
41553 eval wx_cv_func_$wx_func=no
41556 rm -f core conftest.err conftest.$ac_objext \
41557 conftest$ac_exeext conftest.$ac_ext
41560 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41561 { echo "$as_me:$LINENO: result: $ac_res" >&5
41562 echo "${ECHO_T}$ac_res" >&6; }
41564 if eval test \$wx_cv_func_$wx_func = yes
41566 cat >>confdefs.h <<_ACEOF
41567 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41578 if test "$TOOLKIT" != "MSW"; then
41584 # Check whether --with-libiconv-prefix was given.
41585 if test "${with_libiconv_prefix+set}" = set; then
41586 withval=$with_libiconv_prefix;
41587 for dir in `echo "$withval" | tr : ' '`; do
41588 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
41589 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
41595 { echo "$as_me:$LINENO: checking for iconv" >&5
41596 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
41597 if test "${am_cv_func_iconv+set}" = set; then
41598 echo $ECHO_N "(cached) $ECHO_C" >&6
41601 am_cv_func_iconv="no, consider installing GNU libiconv"
41603 cat >conftest.$ac_ext <<_ACEOF
41606 cat confdefs.h >>conftest.$ac_ext
41607 cat >>conftest.$ac_ext <<_ACEOF
41608 /* end confdefs.h. */
41609 #include <stdlib.h>
41614 iconv_t cd = iconv_open("","");
41615 iconv(cd,NULL,NULL,NULL,NULL);
41621 rm -f conftest.$ac_objext conftest$ac_exeext
41622 if { (ac_try="$ac_link"
41623 case "(($ac_try" in
41624 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41625 *) ac_try_echo
=$ac_try;;
41627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41628 (eval "$ac_link") 2>conftest.er1
41630 grep -v '^ *+' conftest.er1
>conftest.err
41632 cat conftest.err
>&5
41633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41634 (exit $ac_status); } &&
41635 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41636 { (case "(($ac_try" in
41637 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41638 *) ac_try_echo=$ac_try;;
41640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41641 (eval "$ac_try") 2>&5
41643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41644 (exit $ac_status); }; } &&
41645 { ac_try='test -s conftest$ac_exeext'
41646 { (case "(($ac_try" in
41647 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41648 *) ac_try_echo
=$ac_try;;
41650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41651 (eval "$ac_try") 2>&5
41653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41654 (exit $ac_status); }; }; then
41655 am_cv_func_iconv
=yes
41657 echo "$as_me: failed program was:" >&5
41658 sed 's/^/| /' conftest.
$ac_ext >&5
41663 rm -f core conftest.err conftest.
$ac_objext \
41664 conftest
$ac_exeext conftest.
$ac_ext
41665 if test "$am_cv_func_iconv" != yes; then
41666 am_save_LIBS
="$LIBS"
41667 LIBS
="$LIBS -liconv"
41668 cat >conftest.
$ac_ext <<_ACEOF
41671 cat confdefs.h
>>conftest.
$ac_ext
41672 cat >>conftest.
$ac_ext <<_ACEOF
41673 /* end confdefs.h. */
41674 #include <stdlib.h>
41679 iconv_t cd = iconv_open("","");
41680 iconv(cd,NULL,NULL,NULL,NULL);
41686 rm -f conftest.
$ac_objext conftest
$ac_exeext
41687 if { (ac_try
="$ac_link"
41688 case "(($ac_try" in
41689 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41690 *) ac_try_echo=$ac_try;;
41692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41693 (eval "$ac_link") 2>conftest.er1
41695 grep -v '^ *+' conftest.er1 >conftest.err
41697 cat conftest.err >&5
41698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41699 (exit $ac_status); } &&
41700 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41701 { (case "(($ac_try" in
41702 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41703 *) ac_try_echo
=$ac_try;;
41705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41706 (eval "$ac_try") 2>&5
41708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41709 (exit $ac_status); }; } &&
41710 { ac_try
='test -s conftest$ac_exeext'
41711 { (case "(($ac_try" in
41712 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41713 *) ac_try_echo=$ac_try;;
41715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41716 (eval "$ac_try") 2>&5
41718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41719 (exit $ac_status); }; }; then
41720 am_cv_lib_iconv=yes
41721 am_cv_func_iconv=yes
41723 echo "$as_me: failed program was:" >&5
41724 sed 's/^/| /' conftest.$ac_ext >&5
41729 rm -f core conftest.err conftest.$ac_objext \
41730 conftest$ac_exeext conftest.$ac_ext
41731 LIBS="$am_save_LIBS"
41735 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
41736 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
41737 if test "$am_cv_func_iconv" = yes; then
41739 cat >>confdefs.h <<\_ACEOF
41740 #define HAVE_ICONV 1
41743 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
41744 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
41745 if test "${wx_cv_func_iconv_const+set}" = set; then
41746 echo $ECHO_N "(cached) $ECHO_C" >&6
41748 cat >conftest.$ac_ext <<_ACEOF
41751 cat confdefs.h >>conftest.$ac_ext
41752 cat >>conftest.$ac_ext <<_ACEOF
41753 /* end confdefs.h. */
41755 #include <stdlib.h>
41761 #if defined(__STDC__) || defined(__cplusplus)
41762 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41775 rm -f conftest.$ac_objext
41776 if { (ac_try="$ac_compile"
41777 case "(($ac_try" in
41778 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41779 *) ac_try_echo
=$ac_try;;
41781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41782 (eval "$ac_compile") 2>conftest.er1
41784 grep -v '^ *+' conftest.er1
>conftest.err
41786 cat conftest.err
>&5
41787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41788 (exit $ac_status); } &&
41789 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41790 { (case "(($ac_try" in
41791 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41792 *) ac_try_echo=$ac_try;;
41794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41795 (eval "$ac_try") 2>&5
41797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41798 (exit $ac_status); }; } &&
41799 { ac_try='test -s conftest.$ac_objext'
41800 { (case "(($ac_try" in
41801 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41802 *) ac_try_echo
=$ac_try;;
41804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41805 (eval "$ac_try") 2>&5
41807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41808 (exit $ac_status); }; }; then
41809 wx_cv_func_iconv_const
="no"
41811 echo "$as_me: failed program was:" >&5
41812 sed 's/^/| /' conftest.
$ac_ext >&5
41814 wx_cv_func_iconv_const
="yes"
41818 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41821 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
41822 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
41825 if test "x$wx_cv_func_iconv_const" = "xyes"; then
41826 iconv_const
="const"
41830 cat >>confdefs.h
<<_ACEOF
41831 #define ICONV_CONST $iconv_const
41836 if test "$am_cv_lib_iconv" = yes; then
41841 LIBS
="$LIBICONV $LIBS"
41843 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
41845 for ac_func
in sigaction
41847 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41848 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41850 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41851 echo $ECHO_N "(cached) $ECHO_C" >&6
41853 cat >conftest.
$ac_ext <<_ACEOF
41856 cat confdefs.h
>>conftest.
$ac_ext
41857 cat >>conftest.
$ac_ext <<_ACEOF
41858 /* end confdefs.h. */
41859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41861 #define $ac_func innocuous_$ac_func
41863 /* System header to define __stub macros and hopefully few prototypes,
41864 which can conflict with char $ac_func (); below.
41865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41866 <limits.h> exists even on freestanding compilers. */
41869 # include <limits.h>
41871 # include <assert.h>
41876 /* Override any GCC internal prototype to avoid an error.
41877 Use char because int might match the return type of a GCC
41878 builtin and then its argument prototype would still apply. */
41883 /* The GNU C library defines this for functions which it implements
41884 to always fail with ENOSYS. Some functions are actually named
41885 something starting with __ and the normal name is an alias. */
41886 #if defined __stub_$ac_func || defined __stub___$ac_func
41893 return $ac_func ();
41898 rm -f conftest.
$ac_objext conftest
$ac_exeext
41899 if { (ac_try
="$ac_link"
41900 case "(($ac_try" in
41901 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41902 *) ac_try_echo=$ac_try;;
41904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41905 (eval "$ac_link") 2>conftest.er1
41907 grep -v '^ *+' conftest.er1 >conftest.err
41909 cat conftest.err >&5
41910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41911 (exit $ac_status); } &&
41912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41913 { (case "(($ac_try" in
41914 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41915 *) ac_try_echo
=$ac_try;;
41917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41918 (eval "$ac_try") 2>&5
41920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41921 (exit $ac_status); }; } &&
41922 { ac_try
='test -s conftest$ac_exeext'
41923 { (case "(($ac_try" in
41924 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41925 *) ac_try_echo=$ac_try;;
41927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41928 (eval "$ac_try") 2>&5
41930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41931 (exit $ac_status); }; }; then
41932 eval "$as_ac_var=yes"
41934 echo "$as_me: failed program was:" >&5
41935 sed 's/^/| /' conftest.$ac_ext >&5
41937 eval "$as_ac_var=no"
41940 rm -f core conftest.err conftest.$ac_objext \
41941 conftest$ac_exeext conftest.$ac_ext
41943 ac_res=`eval echo '${'$as_ac_var'}'`
41944 { echo "$as_me:$LINENO: result: $ac_res" >&5
41945 echo "${ECHO_T}$ac_res" >&6; }
41946 if test `eval echo '${'$as_ac_var'}'` = yes; then
41947 cat >>confdefs.h <<_ACEOF
41948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41955 if test "$ac_cv_func_sigaction" = "no"; then
41956 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
41957 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
41958 wxUSE_ON_FATAL_EXCEPTION=no
41961 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41962 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
41963 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
41964 if test "${wx_cv_type_sa_handler+set}" = set; then
41965 echo $ECHO_N "(cached) $ECHO_C" >&6
41969 ac_cpp='$CXXCPP $CPPFLAGS'
41970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41974 cat >conftest.$ac_ext <<_ACEOF
41977 cat confdefs.h >>conftest.$ac_ext
41978 cat >>conftest.$ac_ext <<_ACEOF
41979 /* end confdefs.h. */
41980 #include <signal.h>
41985 extern void testSigHandler(int);
41987 struct sigaction sa;
41988 sa.sa_handler = testSigHandler;
41994 rm -f conftest.$ac_objext
41995 if { (ac_try="$ac_compile"
41996 case "(($ac_try" in
41997 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41998 *) ac_try_echo
=$ac_try;;
42000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42001 (eval "$ac_compile") 2>conftest.er1
42003 grep -v '^ *+' conftest.er1
>conftest.err
42005 cat conftest.err
>&5
42006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42007 (exit $ac_status); } &&
42008 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42009 { (case "(($ac_try" in
42010 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42011 *) ac_try_echo=$ac_try;;
42013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42014 (eval "$ac_try") 2>&5
42016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42017 (exit $ac_status); }; } &&
42018 { ac_try='test -s conftest.$ac_objext'
42019 { (case "(($ac_try" in
42020 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42021 *) ac_try_echo
=$ac_try;;
42023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42024 (eval "$ac_try") 2>&5
42026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42027 (exit $ac_status); }; }; then
42029 wx_cv_type_sa_handler
=int
42032 echo "$as_me: failed program was:" >&5
42033 sed 's/^/| /' conftest.
$ac_ext >&5
42036 wx_cv_type_sa_handler
=void
42040 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42042 ac_cpp
='$CPP $CPPFLAGS'
42043 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42044 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42045 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42049 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
42050 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
42052 cat >>confdefs.h
<<_ACEOF
42053 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
42059 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
42060 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
42061 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
42062 if test "${wx_cv_func_backtrace+set}" = set; then
42063 echo $ECHO_N "(cached) $ECHO_C" >&6
42067 ac_cpp
='$CXXCPP $CPPFLAGS'
42068 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42069 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42070 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42072 cat >conftest.
$ac_ext <<_ACEOF
42075 cat confdefs.h
>>conftest.
$ac_ext
42076 cat >>conftest.
$ac_ext <<_ACEOF
42077 /* end confdefs.h. */
42078 #include <execinfo.h>
42086 backtrace(trace, 1);
42087 messages = backtrace_symbols(trace, 1);
42093 rm -f conftest.
$ac_objext
42094 if { (ac_try
="$ac_compile"
42095 case "(($ac_try" in
42096 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42097 *) ac_try_echo=$ac_try;;
42099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42100 (eval "$ac_compile") 2>conftest.er1
42102 grep -v '^ *+' conftest.er1 >conftest.err
42104 cat conftest.err >&5
42105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42106 (exit $ac_status); } &&
42107 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42108 { (case "(($ac_try" in
42109 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42110 *) ac_try_echo
=$ac_try;;
42112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42113 (eval "$ac_try") 2>&5
42115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42116 (exit $ac_status); }; } &&
42117 { ac_try
='test -s conftest.$ac_objext'
42118 { (case "(($ac_try" in
42119 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42120 *) ac_try_echo=$ac_try;;
42122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42123 (eval "$ac_try") 2>&5
42125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42126 (exit $ac_status); }; }; then
42127 wx_cv_func_backtrace=yes
42129 echo "$as_me: failed program was:" >&5
42130 sed 's/^/| /' conftest.$ac_ext >&5
42132 wx_cv_func_backtrace=no
42136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42138 ac_cpp='$CPP $CPPFLAGS'
42139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42146 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
42147 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
42150 if test "$wx_cv_func_backtrace" = "no"; then
42151 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
42152 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
42153 wxUSE_STACKWALKER=no
42155 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
42156 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
42157 if test "${wx_cv_func_cxa_demangle+set}" = set; then
42158 echo $ECHO_N "(cached) $ECHO_C" >&6
42162 ac_cpp='$CXXCPP $CPPFLAGS'
42163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42167 cat >conftest.$ac_ext <<_ACEOF
42170 cat confdefs.h >>conftest.$ac_ext
42171 cat >>conftest.$ac_ext <<_ACEOF
42172 /* end confdefs.h. */
42173 #include <cxxabi.h>
42179 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
42185 rm -f conftest.$ac_objext conftest$ac_exeext
42186 if { (ac_try="$ac_link"
42187 case "(($ac_try" in
42188 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42189 *) ac_try_echo
=$ac_try;;
42191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42192 (eval "$ac_link") 2>conftest.er1
42194 grep -v '^ *+' conftest.er1
>conftest.err
42196 cat conftest.err
>&5
42197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42198 (exit $ac_status); } &&
42199 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42200 { (case "(($ac_try" in
42201 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42202 *) ac_try_echo=$ac_try;;
42204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42205 (eval "$ac_try") 2>&5
42207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42208 (exit $ac_status); }; } &&
42209 { ac_try='test -s conftest$ac_exeext'
42210 { (case "(($ac_try" in
42211 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42212 *) ac_try_echo
=$ac_try;;
42214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42215 (eval "$ac_try") 2>&5
42217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42218 (exit $ac_status); }; }; then
42219 wx_cv_func_cxa_demangle
=yes
42221 echo "$as_me: failed program was:" >&5
42222 sed 's/^/| /' conftest.
$ac_ext >&5
42224 wx_cv_func_cxa_demangle
=no
42228 rm -f core conftest.err conftest.
$ac_objext \
42229 conftest
$ac_exeext conftest.
$ac_ext
42231 ac_cpp
='$CPP $CPPFLAGS'
42232 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42233 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42234 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42239 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
42240 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
42242 if test "$wx_cv_func_cxa_demangle" = "yes"; then
42243 cat >>confdefs.h
<<\_ACEOF
42244 #define HAVE_CXA_DEMANGLE 1
42251 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
42252 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
42253 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
42254 wxUSE_STACKWALKER
=no
42260 for ac_func
in mkstemp mktemp
42262 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42263 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42265 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42266 echo $ECHO_N "(cached) $ECHO_C" >&6
42268 cat >conftest.
$ac_ext <<_ACEOF
42271 cat confdefs.h
>>conftest.
$ac_ext
42272 cat >>conftest.
$ac_ext <<_ACEOF
42273 /* end confdefs.h. */
42274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42276 #define $ac_func innocuous_$ac_func
42278 /* System header to define __stub macros and hopefully few prototypes,
42279 which can conflict with char $ac_func (); below.
42280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42281 <limits.h> exists even on freestanding compilers. */
42284 # include <limits.h>
42286 # include <assert.h>
42291 /* Override any GCC internal prototype to avoid an error.
42292 Use char because int might match the return type of a GCC
42293 builtin and then its argument prototype would still apply. */
42298 /* The GNU C library defines this for functions which it implements
42299 to always fail with ENOSYS. Some functions are actually named
42300 something starting with __ and the normal name is an alias. */
42301 #if defined __stub_$ac_func || defined __stub___$ac_func
42308 return $ac_func ();
42313 rm -f conftest.
$ac_objext conftest
$ac_exeext
42314 if { (ac_try
="$ac_link"
42315 case "(($ac_try" in
42316 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42317 *) ac_try_echo=$ac_try;;
42319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42320 (eval "$ac_link") 2>conftest.er1
42322 grep -v '^ *+' conftest.er1 >conftest.err
42324 cat conftest.err >&5
42325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42326 (exit $ac_status); } &&
42327 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42328 { (case "(($ac_try" in
42329 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42330 *) ac_try_echo
=$ac_try;;
42332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42333 (eval "$ac_try") 2>&5
42335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42336 (exit $ac_status); }; } &&
42337 { ac_try
='test -s conftest$ac_exeext'
42338 { (case "(($ac_try" in
42339 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42340 *) ac_try_echo=$ac_try;;
42342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42343 (eval "$ac_try") 2>&5
42345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42346 (exit $ac_status); }; }; then
42347 eval "$as_ac_var=yes"
42349 echo "$as_me: failed program was:" >&5
42350 sed 's/^/| /' conftest.$ac_ext >&5
42352 eval "$as_ac_var=no"
42355 rm -f core conftest.err conftest.$ac_objext \
42356 conftest$ac_exeext conftest.$ac_ext
42358 ac_res=`eval echo '${'$as_ac_var'}'`
42359 { echo "$as_me:$LINENO: result: $ac_res" >&5
42360 echo "${ECHO_T}$ac_res" >&6; }
42361 if test `eval echo '${'$as_ac_var'}'` = yes; then
42362 cat >>confdefs.h <<_ACEOF
42363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42370 { echo "$as_me:$LINENO: checking for statfs" >&5
42371 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
42372 if test "${wx_cv_func_statfs+set}" = set; then
42373 echo $ECHO_N "(cached) $ECHO_C" >&6
42375 cat >conftest.$ac_ext <<_ACEOF
42378 cat confdefs.h >>conftest.$ac_ext
42379 cat >>conftest.$ac_ext <<_ACEOF
42380 /* end confdefs.h. */
42382 #if defined(__BSD__)
42383 #include <sys/param.h>
42384 #include <sys/mount.h>
42386 #include <sys/vfs.h>
42404 rm -f conftest.$ac_objext
42405 if { (ac_try="$ac_compile"
42406 case "(($ac_try" in
42407 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42408 *) ac_try_echo
=$ac_try;;
42410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42411 (eval "$ac_compile") 2>conftest.er1
42413 grep -v '^ *+' conftest.er1
>conftest.err
42415 cat conftest.err
>&5
42416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42417 (exit $ac_status); } &&
42418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42419 { (case "(($ac_try" in
42420 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42421 *) ac_try_echo=$ac_try;;
42423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42424 (eval "$ac_try") 2>&5
42426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42427 (exit $ac_status); }; } &&
42428 { ac_try='test -s conftest.$ac_objext'
42429 { (case "(($ac_try" in
42430 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42431 *) ac_try_echo
=$ac_try;;
42433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42434 (eval "$ac_try") 2>&5
42436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42437 (exit $ac_status); }; }; then
42438 wx_cv_func_statfs
=yes
42440 echo "$as_me: failed program was:" >&5
42441 sed 's/^/| /' conftest.
$ac_ext >&5
42443 wx_cv_func_statfs
=no
42447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42450 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
42451 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
42453 if test "$wx_cv_func_statfs" = "yes"; then
42454 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
42455 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
42456 if test "${wx_cv_func_statfs_decl+set}" = set; then
42457 echo $ECHO_N "(cached) $ECHO_C" >&6
42460 ac_cpp
='$CXXCPP $CPPFLAGS'
42461 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42462 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42463 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42465 cat >conftest.
$ac_ext <<_ACEOF
42468 cat confdefs.h
>>conftest.
$ac_ext
42469 cat >>conftest.
$ac_ext <<_ACEOF
42470 /* end confdefs.h. */
42472 #if defined(__BSD__)
42473 #include <sys/param.h>
42474 #include <sys/mount.h>
42476 #include <sys/vfs.h>
42490 rm -f conftest.
$ac_objext
42491 if { (ac_try
="$ac_compile"
42492 case "(($ac_try" in
42493 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42494 *) ac_try_echo=$ac_try;;
42496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42497 (eval "$ac_compile") 2>conftest.er1
42499 grep -v '^ *+' conftest.er1 >conftest.err
42501 cat conftest.err >&5
42502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42503 (exit $ac_status); } &&
42504 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42505 { (case "(($ac_try" in
42506 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42507 *) ac_try_echo
=$ac_try;;
42509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42510 (eval "$ac_try") 2>&5
42512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42513 (exit $ac_status); }; } &&
42514 { ac_try
='test -s conftest.$ac_objext'
42515 { (case "(($ac_try" in
42516 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42517 *) ac_try_echo=$ac_try;;
42519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42520 (eval "$ac_try") 2>&5
42522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42523 (exit $ac_status); }; }; then
42524 wx_cv_func_statfs_decl=yes
42526 echo "$as_me: failed program was:" >&5
42527 sed 's/^/| /' conftest.$ac_ext >&5
42529 wx_cv_func_statfs_decl=no
42533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42535 ac_cpp='$CPP $CPPFLAGS'
42536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42542 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
42543 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
42545 if test "$wx_cv_func_statfs_decl" = "yes"; then
42546 cat >>confdefs.h <<\_ACEOF
42547 #define HAVE_STATFS_DECL 1
42552 wx_cv_type_statvfs_t="struct statfs"
42553 cat >>confdefs.h <<\_ACEOF
42554 #define HAVE_STATFS 1
42558 { echo "$as_me:$LINENO: checking for statvfs" >&5
42559 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
42560 if test "${wx_cv_func_statvfs+set}" = set; then
42561 echo $ECHO_N "(cached) $ECHO_C" >&6
42563 cat >conftest.$ac_ext <<_ACEOF
42566 cat confdefs.h >>conftest.$ac_ext
42567 cat >>conftest.$ac_ext <<_ACEOF
42568 /* end confdefs.h. */
42570 #include <stddef.h>
42571 #include <sys/statvfs.h>
42577 statvfs("/", NULL);
42583 rm -f conftest.$ac_objext
42584 if { (ac_try="$ac_compile"
42585 case "(($ac_try" in
42586 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42587 *) ac_try_echo
=$ac_try;;
42589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42590 (eval "$ac_compile") 2>conftest.er1
42592 grep -v '^ *+' conftest.er1
>conftest.err
42594 cat conftest.err
>&5
42595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42596 (exit $ac_status); } &&
42597 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42598 { (case "(($ac_try" in
42599 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42600 *) ac_try_echo=$ac_try;;
42602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42603 (eval "$ac_try") 2>&5
42605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42606 (exit $ac_status); }; } &&
42607 { ac_try='test -s conftest.$ac_objext'
42608 { (case "(($ac_try" in
42609 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42610 *) ac_try_echo
=$ac_try;;
42612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42613 (eval "$ac_try") 2>&5
42615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42616 (exit $ac_status); }; }; then
42617 wx_cv_func_statvfs
=yes
42619 echo "$as_me: failed program was:" >&5
42620 sed 's/^/| /' conftest.
$ac_ext >&5
42622 wx_cv_func_statvfs
=no
42626 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42629 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
42630 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
42632 if test "$wx_cv_func_statvfs" = "yes"; then
42633 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
42634 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
42635 if test "${wx_cv_type_statvfs_t+set}" = set; then
42636 echo $ECHO_N "(cached) $ECHO_C" >&6
42639 ac_cpp
='$CXXCPP $CPPFLAGS'
42640 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42641 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42642 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42644 cat >conftest.
$ac_ext <<_ACEOF
42647 cat confdefs.h
>>conftest.
$ac_ext
42648 cat >>conftest.
$ac_ext <<_ACEOF
42649 /* end confdefs.h. */
42651 #include <sys/statvfs.h>
42668 rm -f conftest.
$ac_objext
42669 if { (ac_try
="$ac_compile"
42670 case "(($ac_try" in
42671 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42672 *) ac_try_echo=$ac_try;;
42674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42675 (eval "$ac_compile") 2>conftest.er1
42677 grep -v '^ *+' conftest.er1 >conftest.err
42679 cat conftest.err >&5
42680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42681 (exit $ac_status); } &&
42682 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42683 { (case "(($ac_try" in
42684 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42685 *) ac_try_echo
=$ac_try;;
42687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42688 (eval "$ac_try") 2>&5
42690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42691 (exit $ac_status); }; } &&
42692 { ac_try
='test -s conftest.$ac_objext'
42693 { (case "(($ac_try" in
42694 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42695 *) ac_try_echo=$ac_try;;
42697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42698 (eval "$ac_try") 2>&5
42700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42701 (exit $ac_status); }; }; then
42702 wx_cv_type_statvfs_t=statvfs_t
42704 echo "$as_me: failed program was:" >&5
42705 sed 's/^/| /' conftest.$ac_ext >&5
42708 cat >conftest.$ac_ext <<_ACEOF
42711 cat confdefs.h >>conftest.$ac_ext
42712 cat >>conftest.$ac_ext <<_ACEOF
42713 /* end confdefs.h. */
42715 #include <sys/statvfs.h>
42732 rm -f conftest.$ac_objext
42733 if { (ac_try="$ac_compile"
42734 case "(($ac_try" in
42735 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42736 *) ac_try_echo
=$ac_try;;
42738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42739 (eval "$ac_compile") 2>conftest.er1
42741 grep -v '^ *+' conftest.er1
>conftest.err
42743 cat conftest.err
>&5
42744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42745 (exit $ac_status); } &&
42746 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
42756 { ac_try='test -s conftest.$ac_objext'
42757 { (case "(($ac_try" in
42758 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42759 *) ac_try_echo
=$ac_try;;
42761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42762 (eval "$ac_try") 2>&5
42764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42765 (exit $ac_status); }; }; then
42766 wx_cv_type_statvfs_t
="struct statvfs"
42768 echo "$as_me: failed program was:" >&5
42769 sed 's/^/| /' conftest.
$ac_ext >&5
42771 wx_cv_type_statvfs_t
="unknown"
42775 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42780 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42782 ac_cpp
='$CPP $CPPFLAGS'
42783 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42784 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42785 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42789 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
42790 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
42792 if test "$wx_cv_type_statvfs_t" != "unknown"; then
42793 cat >>confdefs.h
<<\_ACEOF
42794 #define HAVE_STATVFS 1
42799 wx_cv_type_statvfs_t
="unknown"
42803 if test "$wx_cv_type_statvfs_t" != "unknown"; then
42804 cat >>confdefs.h
<<_ACEOF
42805 #define WX_STATFS_T $wx_cv_type_statvfs_t
42809 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
42810 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
42813 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42816 for ac_func
in fcntl flock
42818 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42819 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42821 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42822 echo $ECHO_N "(cached) $ECHO_C" >&6
42824 cat >conftest.
$ac_ext <<_ACEOF
42827 cat confdefs.h
>>conftest.
$ac_ext
42828 cat >>conftest.
$ac_ext <<_ACEOF
42829 /* end confdefs.h. */
42830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42832 #define $ac_func innocuous_$ac_func
42834 /* System header to define __stub macros and hopefully few prototypes,
42835 which can conflict with char $ac_func (); below.
42836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42837 <limits.h> exists even on freestanding compilers. */
42840 # include <limits.h>
42842 # include <assert.h>
42847 /* Override any GCC internal prototype to avoid an error.
42848 Use char because int might match the return type of a GCC
42849 builtin and then its argument prototype would still apply. */
42854 /* The GNU C library defines this for functions which it implements
42855 to always fail with ENOSYS. Some functions are actually named
42856 something starting with __ and the normal name is an alias. */
42857 #if defined __stub_$ac_func || defined __stub___$ac_func
42864 return $ac_func ();
42869 rm -f conftest.
$ac_objext conftest
$ac_exeext
42870 if { (ac_try
="$ac_link"
42871 case "(($ac_try" in
42872 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42873 *) ac_try_echo=$ac_try;;
42875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42876 (eval "$ac_link") 2>conftest.er1
42878 grep -v '^ *+' conftest.er1 >conftest.err
42880 cat conftest.err >&5
42881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42882 (exit $ac_status); } &&
42883 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42884 { (case "(($ac_try" in
42885 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42886 *) ac_try_echo
=$ac_try;;
42888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42889 (eval "$ac_try") 2>&5
42891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42892 (exit $ac_status); }; } &&
42893 { ac_try
='test -s conftest$ac_exeext'
42894 { (case "(($ac_try" in
42895 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42896 *) ac_try_echo=$ac_try;;
42898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42899 (eval "$ac_try") 2>&5
42901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42902 (exit $ac_status); }; }; then
42903 eval "$as_ac_var=yes"
42905 echo "$as_me: failed program was:" >&5
42906 sed 's/^/| /' conftest.$ac_ext >&5
42908 eval "$as_ac_var=no"
42911 rm -f core conftest.err conftest.$ac_objext \
42912 conftest$ac_exeext conftest.$ac_ext
42914 ac_res=`eval echo '${'$as_ac_var'}'`
42915 { echo "$as_me:$LINENO: result: $ac_res" >&5
42916 echo "${ECHO_T}$ac_res" >&6; }
42917 if test `eval echo '${'$as_ac_var'}'` = yes; then
42918 cat >>confdefs.h <<_ACEOF
42919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42926 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
42927 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
42928 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
42929 wxUSE_SNGLINST_CHECKER=no
42934 for ac_func in timegm
42936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42937 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42939 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42940 echo $ECHO_N "(cached) $ECHO_C" >&6
42942 cat >conftest.$ac_ext <<_ACEOF
42945 cat confdefs.h >>conftest.$ac_ext
42946 cat >>conftest.$ac_ext <<_ACEOF
42947 /* end confdefs.h. */
42948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42950 #define $ac_func innocuous_$ac_func
42952 /* System header to define __stub macros and hopefully few prototypes,
42953 which can conflict with char $ac_func (); below.
42954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42955 <limits.h> exists even on freestanding compilers. */
42958 # include <limits.h>
42960 # include <assert.h>
42965 /* Override any GCC internal prototype to avoid an error.
42966 Use char because int might match the return type of a GCC
42967 builtin and then its argument prototype would still apply. */
42972 /* The GNU C library defines this for functions which it implements
42973 to always fail with ENOSYS. Some functions are actually named
42974 something starting with __ and the normal name is an alias. */
42975 #if defined __stub_$ac_func || defined __stub___$ac_func
42982 return $ac_func ();
42987 rm -f conftest.$ac_objext conftest$ac_exeext
42988 if { (ac_try="$ac_link"
42989 case "(($ac_try" in
42990 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42991 *) ac_try_echo
=$ac_try;;
42993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42994 (eval "$ac_link") 2>conftest.er1
42996 grep -v '^ *+' conftest.er1
>conftest.err
42998 cat conftest.err
>&5
42999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43000 (exit $ac_status); } &&
43001 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43002 { (case "(($ac_try" in
43003 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43004 *) ac_try_echo=$ac_try;;
43006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43007 (eval "$ac_try") 2>&5
43009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43010 (exit $ac_status); }; } &&
43011 { ac_try='test -s conftest$ac_exeext'
43012 { (case "(($ac_try" in
43013 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43014 *) ac_try_echo
=$ac_try;;
43016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43017 (eval "$ac_try") 2>&5
43019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43020 (exit $ac_status); }; }; then
43021 eval "$as_ac_var=yes"
43023 echo "$as_me: failed program was:" >&5
43024 sed 's/^/| /' conftest.
$ac_ext >&5
43026 eval "$as_ac_var=no"
43029 rm -f core conftest.err conftest.
$ac_objext \
43030 conftest
$ac_exeext conftest.
$ac_ext
43032 ac_res
=`eval echo '${'$as_ac_var'}'`
43033 { echo "$as_me:$LINENO: result: $ac_res" >&5
43034 echo "${ECHO_T}$ac_res" >&6; }
43035 if test `eval echo '${'$as_ac_var'}'` = yes; then
43036 cat >>confdefs.h
<<_ACEOF
43037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43046 for ac_func
in putenv setenv
43048 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43049 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43051 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43052 echo $ECHO_N "(cached) $ECHO_C" >&6
43054 cat >conftest.
$ac_ext <<_ACEOF
43057 cat confdefs.h
>>conftest.
$ac_ext
43058 cat >>conftest.
$ac_ext <<_ACEOF
43059 /* end confdefs.h. */
43060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43062 #define $ac_func innocuous_$ac_func
43064 /* System header to define __stub macros and hopefully few prototypes,
43065 which can conflict with char $ac_func (); below.
43066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43067 <limits.h> exists even on freestanding compilers. */
43070 # include <limits.h>
43072 # include <assert.h>
43077 /* Override any GCC internal prototype to avoid an error.
43078 Use char because int might match the return type of a GCC
43079 builtin and then its argument prototype would still apply. */
43084 /* The GNU C library defines this for functions which it implements
43085 to always fail with ENOSYS. Some functions are actually named
43086 something starting with __ and the normal name is an alias. */
43087 #if defined __stub_$ac_func || defined __stub___$ac_func
43094 return $ac_func ();
43099 rm -f conftest.
$ac_objext conftest
$ac_exeext
43100 if { (ac_try
="$ac_link"
43101 case "(($ac_try" in
43102 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43103 *) ac_try_echo=$ac_try;;
43105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43106 (eval "$ac_link") 2>conftest.er1
43108 grep -v '^ *+' conftest.er1 >conftest.err
43110 cat conftest.err >&5
43111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43112 (exit $ac_status); } &&
43113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43114 { (case "(($ac_try" in
43115 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43116 *) ac_try_echo
=$ac_try;;
43118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43119 (eval "$ac_try") 2>&5
43121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43122 (exit $ac_status); }; } &&
43123 { ac_try
='test -s conftest$ac_exeext'
43124 { (case "(($ac_try" in
43125 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43126 *) ac_try_echo=$ac_try;;
43128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43129 (eval "$ac_try") 2>&5
43131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43132 (exit $ac_status); }; }; then
43133 eval "$as_ac_var=yes"
43135 echo "$as_me: failed program was:" >&5
43136 sed 's/^/| /' conftest.$ac_ext >&5
43138 eval "$as_ac_var=no"
43141 rm -f core conftest.err conftest.$ac_objext \
43142 conftest$ac_exeext conftest.$ac_ext
43144 ac_res=`eval echo '${'$as_ac_var'}'`
43145 { echo "$as_me:$LINENO: result: $ac_res" >&5
43146 echo "${ECHO_T}$ac_res" >&6; }
43147 if test `eval echo '${'$as_ac_var'}'` = yes; then
43148 cat >>confdefs.h <<_ACEOF
43149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43156 HAVE_SOME_SLEEP_FUNC=0
43157 if test "$USE_BEOS" = 1; then
43158 cat >>confdefs.h <<\_ACEOF
43159 #define HAVE_SLEEP 1
43162 HAVE_SOME_SLEEP_FUNC=1
43165 if test "$USE_DARWIN" = 1; then
43166 cat >>confdefs.h <<\_ACEOF
43167 #define HAVE_USLEEP 1
43170 HAVE_SOME_SLEEP_FUNC=1
43173 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
43176 for ac_func in nanosleep
43178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43179 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43181 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43182 echo $ECHO_N "(cached) $ECHO_C" >&6
43184 cat >conftest.$ac_ext <<_ACEOF
43187 cat confdefs.h >>conftest.$ac_ext
43188 cat >>conftest.$ac_ext <<_ACEOF
43189 /* end confdefs.h. */
43190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43192 #define $ac_func innocuous_$ac_func
43194 /* System header to define __stub macros and hopefully few prototypes,
43195 which can conflict with char $ac_func (); below.
43196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43197 <limits.h> exists even on freestanding compilers. */
43200 # include <limits.h>
43202 # include <assert.h>
43207 /* Override any GCC internal prototype to avoid an error.
43208 Use char because int might match the return type of a GCC
43209 builtin and then its argument prototype would still apply. */
43214 /* The GNU C library defines this for functions which it implements
43215 to always fail with ENOSYS. Some functions are actually named
43216 something starting with __ and the normal name is an alias. */
43217 #if defined __stub_$ac_func || defined __stub___$ac_func
43224 return $ac_func ();
43229 rm -f conftest.$ac_objext conftest$ac_exeext
43230 if { (ac_try="$ac_link"
43231 case "(($ac_try" in
43232 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43233 *) ac_try_echo
=$ac_try;;
43235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43236 (eval "$ac_link") 2>conftest.er1
43238 grep -v '^ *+' conftest.er1
>conftest.err
43240 cat conftest.err
>&5
43241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43242 (exit $ac_status); } &&
43243 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43244 { (case "(($ac_try" in
43245 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43246 *) ac_try_echo=$ac_try;;
43248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43249 (eval "$ac_try") 2>&5
43251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43252 (exit $ac_status); }; } &&
43253 { ac_try='test -s conftest$ac_exeext'
43254 { (case "(($ac_try" in
43255 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43256 *) ac_try_echo
=$ac_try;;
43258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43259 (eval "$ac_try") 2>&5
43261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43262 (exit $ac_status); }; }; then
43263 eval "$as_ac_var=yes"
43265 echo "$as_me: failed program was:" >&5
43266 sed 's/^/| /' conftest.
$ac_ext >&5
43268 eval "$as_ac_var=no"
43271 rm -f core conftest.err conftest.
$ac_objext \
43272 conftest
$ac_exeext conftest.
$ac_ext
43274 ac_res
=`eval echo '${'$as_ac_var'}'`
43275 { echo "$as_me:$LINENO: result: $ac_res" >&5
43276 echo "${ECHO_T}$ac_res" >&6; }
43277 if test `eval echo '${'$as_ac_var'}'` = yes; then
43278 cat >>confdefs.h
<<_ACEOF
43279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43281 cat >>confdefs.h
<<\_ACEOF
43282 #define HAVE_NANOSLEEP 1
43287 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
43288 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
43289 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
43290 echo $ECHO_N "(cached) $ECHO_C" >&6
43292 ac_check_lib_save_LIBS
=$LIBS
43293 LIBS
="-lposix4 $LIBS"
43294 cat >conftest.
$ac_ext <<_ACEOF
43297 cat confdefs.h
>>conftest.
$ac_ext
43298 cat >>conftest.
$ac_ext <<_ACEOF
43299 /* end confdefs.h. */
43301 /* Override any GCC internal prototype to avoid an error.
43302 Use char because int might match the return type of a GCC
43303 builtin and then its argument prototype would still apply. */
43311 return nanosleep ();
43316 rm -f conftest.
$ac_objext conftest
$ac_exeext
43317 if { (ac_try
="$ac_link"
43318 case "(($ac_try" in
43319 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43320 *) ac_try_echo=$ac_try;;
43322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43323 (eval "$ac_link") 2>conftest.er1
43325 grep -v '^ *+' conftest.er1 >conftest.err
43327 cat conftest.err >&5
43328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43329 (exit $ac_status); } &&
43330 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43331 { (case "(($ac_try" in
43332 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43333 *) ac_try_echo
=$ac_try;;
43335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43336 (eval "$ac_try") 2>&5
43338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43339 (exit $ac_status); }; } &&
43340 { ac_try
='test -s conftest$ac_exeext'
43341 { (case "(($ac_try" in
43342 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43343 *) ac_try_echo=$ac_try;;
43345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43346 (eval "$ac_try") 2>&5
43348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43349 (exit $ac_status); }; }; then
43350 ac_cv_lib_posix4_nanosleep=yes
43352 echo "$as_me: failed program was:" >&5
43353 sed 's/^/| /' conftest.$ac_ext >&5
43355 ac_cv_lib_posix4_nanosleep=no
43358 rm -f core conftest.err conftest.$ac_objext \
43359 conftest$ac_exeext conftest.$ac_ext
43360 LIBS=$ac_check_lib_save_LIBS
43362 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
43363 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
43364 if test $ac_cv_lib_posix4_nanosleep = yes; then
43366 cat >>confdefs.h <<\_ACEOF
43367 #define HAVE_NANOSLEEP 1
43370 POSIX4_LINK=" -lposix4"
43375 for wx_func in usleep
43377 { echo "$as_me:$LINENO: checking for $wx_func" >&5
43378 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
43379 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
43380 echo $ECHO_N "(cached) $ECHO_C" >&6
43383 cat >conftest.$ac_ext <<_ACEOF
43387 cat confdefs.h >>conftest.$ac_ext
43388 cat >>conftest.$ac_ext <<_ACEOF
43389 /* end confdefs.h. */
43392 $ac_includes_default
43408 rm -f conftest.$ac_objext conftest$ac_exeext
43409 if { (ac_try="$ac_link"
43410 case "(($ac_try" in
43411 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43412 *) ac_try_echo
=$ac_try;;
43414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43415 (eval "$ac_link") 2>conftest.er1
43417 grep -v '^ *+' conftest.er1
>conftest.err
43419 cat conftest.err
>&5
43420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43421 (exit $ac_status); } &&
43422 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43423 { (case "(($ac_try" in
43424 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43425 *) ac_try_echo=$ac_try;;
43427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43428 (eval "$ac_try") 2>&5
43430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43431 (exit $ac_status); }; } &&
43432 { ac_try='test -s conftest$ac_exeext'
43433 { (case "(($ac_try" in
43434 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43435 *) ac_try_echo
=$ac_try;;
43437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43438 (eval "$ac_try") 2>&5
43440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43441 (exit $ac_status); }; }; then
43442 eval wx_cv_func_
$wx_func=yes
43444 echo "$as_me: failed program was:" >&5
43445 sed 's/^/| /' conftest.
$ac_ext >&5
43447 eval wx_cv_func_
$wx_func=no
43450 rm -f core conftest.err conftest.
$ac_objext \
43451 conftest
$ac_exeext conftest.
$ac_ext
43454 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
43455 { echo "$as_me:$LINENO: result: $ac_res" >&5
43456 echo "${ECHO_T}$ac_res" >&6; }
43458 if eval test \
$wx_cv_func_$wx_func = yes
43460 cat >>confdefs.h
<<_ACEOF
43461 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
43467 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
43468 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
43485 for wx_func
in uname
43487 { echo "$as_me:$LINENO: checking for $wx_func" >&5
43488 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
43489 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
43490 echo $ECHO_N "(cached) $ECHO_C" >&6
43493 cat >conftest.
$ac_ext <<_ACEOF
43497 cat confdefs.h
>>conftest.
$ac_ext
43498 cat >>conftest.
$ac_ext <<_ACEOF
43499 /* end confdefs.h. */
43501 #include <sys/utsname.h>
43502 $ac_includes_default
43518 rm -f conftest.
$ac_objext conftest
$ac_exeext
43519 if { (ac_try
="$ac_link"
43520 case "(($ac_try" in
43521 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43522 *) ac_try_echo=$ac_try;;
43524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43525 (eval "$ac_link") 2>conftest.er1
43527 grep -v '^ *+' conftest.er1 >conftest.err
43529 cat conftest.err >&5
43530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43531 (exit $ac_status); } &&
43532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43533 { (case "(($ac_try" in
43534 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43535 *) ac_try_echo
=$ac_try;;
43537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43538 (eval "$ac_try") 2>&5
43540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43541 (exit $ac_status); }; } &&
43542 { ac_try
='test -s conftest$ac_exeext'
43543 { (case "(($ac_try" in
43544 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43545 *) ac_try_echo=$ac_try;;
43547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43548 (eval "$ac_try") 2>&5
43550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43551 (exit $ac_status); }; }; then
43552 eval wx_cv_func_$wx_func=yes
43554 echo "$as_me: failed program was:" >&5
43555 sed 's/^/| /' conftest.$ac_ext >&5
43557 eval wx_cv_func_$wx_func=no
43560 rm -f core conftest.err conftest.$ac_objext \
43561 conftest$ac_exeext conftest.$ac_ext
43564 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
43565 { echo "$as_me:$LINENO: result: $ac_res" >&5
43566 echo "${ECHO_T}$ac_res" >&6; }
43568 if eval test \$wx_cv_func_$wx_func = yes
43570 cat >>confdefs.h <<_ACEOF
43571 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
43581 if test "$wx_cv_func_uname" != yes; then
43583 for wx_func in gethostname
43585 { echo "$as_me:$LINENO: checking for $wx_func" >&5
43586 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
43587 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
43588 echo $ECHO_N "(cached) $ECHO_C" >&6
43591 cat >conftest.$ac_ext <<_ACEOF
43595 cat confdefs.h >>conftest.$ac_ext
43596 cat >>conftest.$ac_ext <<_ACEOF
43597 /* end confdefs.h. */
43600 $ac_includes_default
43616 rm -f conftest.$ac_objext conftest$ac_exeext
43617 if { (ac_try="$ac_link"
43618 case "(($ac_try" in
43619 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43620 *) ac_try_echo
=$ac_try;;
43622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43623 (eval "$ac_link") 2>conftest.er1
43625 grep -v '^ *+' conftest.er1
>conftest.err
43627 cat conftest.err
>&5
43628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43629 (exit $ac_status); } &&
43630 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43631 { (case "(($ac_try" in
43632 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43633 *) ac_try_echo=$ac_try;;
43635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43636 (eval "$ac_try") 2>&5
43638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43639 (exit $ac_status); }; } &&
43640 { ac_try='test -s conftest$ac_exeext'
43641 { (case "(($ac_try" in
43642 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43643 *) ac_try_echo
=$ac_try;;
43645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43646 (eval "$ac_try") 2>&5
43648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43649 (exit $ac_status); }; }; then
43650 eval wx_cv_func_
$wx_func=yes
43652 echo "$as_me: failed program was:" >&5
43653 sed 's/^/| /' conftest.
$ac_ext >&5
43655 eval wx_cv_func_
$wx_func=no
43658 rm -f core conftest.err conftest.
$ac_objext \
43659 conftest
$ac_exeext conftest.
$ac_ext
43662 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
43663 { echo "$as_me:$LINENO: result: $ac_res" >&5
43664 echo "${ECHO_T}$ac_res" >&6; }
43666 if eval test \
$wx_cv_func_$wx_func = yes
43668 cat >>confdefs.h
<<_ACEOF
43669 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
43682 for wx_func
in strtok_r
43684 { echo "$as_me:$LINENO: checking for $wx_func" >&5
43685 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
43686 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
43687 echo $ECHO_N "(cached) $ECHO_C" >&6
43690 cat >conftest.
$ac_ext <<_ACEOF
43694 cat confdefs.h
>>conftest.
$ac_ext
43695 cat >>conftest.
$ac_ext <<_ACEOF
43696 /* end confdefs.h. */
43699 $ac_includes_default
43715 rm -f conftest.
$ac_objext conftest
$ac_exeext
43716 if { (ac_try
="$ac_link"
43717 case "(($ac_try" in
43718 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43719 *) ac_try_echo=$ac_try;;
43721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43722 (eval "$ac_link") 2>conftest.er1
43724 grep -v '^ *+' conftest.er1 >conftest.err
43726 cat conftest.err >&5
43727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43728 (exit $ac_status); } &&
43729 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43730 { (case "(($ac_try" in
43731 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43732 *) ac_try_echo
=$ac_try;;
43734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43735 (eval "$ac_try") 2>&5
43737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43738 (exit $ac_status); }; } &&
43739 { ac_try
='test -s conftest$ac_exeext'
43740 { (case "(($ac_try" in
43741 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43742 *) ac_try_echo=$ac_try;;
43744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43745 (eval "$ac_try") 2>&5
43747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43748 (exit $ac_status); }; }; then
43749 eval wx_cv_func_$wx_func=yes
43751 echo "$as_me: failed program was:" >&5
43752 sed 's/^/| /' conftest.$ac_ext >&5
43754 eval wx_cv_func_$wx_func=no
43757 rm -f core conftest.err conftest.$ac_objext \
43758 conftest$ac_exeext conftest.$ac_ext
43761 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
43762 { echo "$as_me:$LINENO: result: $ac_res" >&5
43763 echo "${ECHO_T}$ac_res" >&6; }
43765 if eval test \$wx_cv_func_$wx_func = yes
43767 cat >>confdefs.h <<_ACEOF
43768 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
43781 for ac_func in inet_addr
43783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43784 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43786 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43787 echo $ECHO_N "(cached) $ECHO_C" >&6
43789 cat >conftest.$ac_ext <<_ACEOF
43792 cat confdefs.h >>conftest.$ac_ext
43793 cat >>conftest.$ac_ext <<_ACEOF
43794 /* end confdefs.h. */
43795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43797 #define $ac_func innocuous_$ac_func
43799 /* System header to define __stub macros and hopefully few prototypes,
43800 which can conflict with char $ac_func (); below.
43801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43802 <limits.h> exists even on freestanding compilers. */
43805 # include <limits.h>
43807 # include <assert.h>
43812 /* Override any GCC internal prototype to avoid an error.
43813 Use char because int might match the return type of a GCC
43814 builtin and then its argument prototype would still apply. */
43819 /* The GNU C library defines this for functions which it implements
43820 to always fail with ENOSYS. Some functions are actually named
43821 something starting with __ and the normal name is an alias. */
43822 #if defined __stub_$ac_func || defined __stub___$ac_func
43829 return $ac_func ();
43834 rm -f conftest.$ac_objext conftest$ac_exeext
43835 if { (ac_try="$ac_link"
43836 case "(($ac_try" in
43837 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43838 *) ac_try_echo
=$ac_try;;
43840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43841 (eval "$ac_link") 2>conftest.er1
43843 grep -v '^ *+' conftest.er1
>conftest.err
43845 cat conftest.err
>&5
43846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43847 (exit $ac_status); } &&
43848 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43849 { (case "(($ac_try" in
43850 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43851 *) ac_try_echo=$ac_try;;
43853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43854 (eval "$ac_try") 2>&5
43856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43857 (exit $ac_status); }; } &&
43858 { ac_try='test -s conftest$ac_exeext'
43859 { (case "(($ac_try" in
43860 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43861 *) ac_try_echo
=$ac_try;;
43863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43864 (eval "$ac_try") 2>&5
43866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43867 (exit $ac_status); }; }; then
43868 eval "$as_ac_var=yes"
43870 echo "$as_me: failed program was:" >&5
43871 sed 's/^/| /' conftest.
$ac_ext >&5
43873 eval "$as_ac_var=no"
43876 rm -f core conftest.err conftest.
$ac_objext \
43877 conftest
$ac_exeext conftest.
$ac_ext
43879 ac_res
=`eval echo '${'$as_ac_var'}'`
43880 { echo "$as_me:$LINENO: result: $ac_res" >&5
43881 echo "${ECHO_T}$ac_res" >&6; }
43882 if test `eval echo '${'$as_ac_var'}'` = yes; then
43883 cat >>confdefs.h
<<_ACEOF
43884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43886 cat >>confdefs.h
<<\_ACEOF
43887 #define HAVE_INET_ADDR 1
43892 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
43893 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
43894 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
43895 echo $ECHO_N "(cached) $ECHO_C" >&6
43897 ac_check_lib_save_LIBS
=$LIBS
43899 cat >conftest.
$ac_ext <<_ACEOF
43902 cat confdefs.h
>>conftest.
$ac_ext
43903 cat >>conftest.
$ac_ext <<_ACEOF
43904 /* end confdefs.h. */
43906 /* Override any GCC internal prototype to avoid an error.
43907 Use char because int might match the return type of a GCC
43908 builtin and then its argument prototype would still apply. */
43916 return inet_addr ();
43921 rm -f conftest.
$ac_objext conftest
$ac_exeext
43922 if { (ac_try
="$ac_link"
43923 case "(($ac_try" in
43924 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43925 *) ac_try_echo=$ac_try;;
43927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43928 (eval "$ac_link") 2>conftest.er1
43930 grep -v '^ *+' conftest.er1 >conftest.err
43932 cat conftest.err >&5
43933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43934 (exit $ac_status); } &&
43935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43936 { (case "(($ac_try" in
43937 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43938 *) ac_try_echo
=$ac_try;;
43940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43941 (eval "$ac_try") 2>&5
43943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43944 (exit $ac_status); }; } &&
43945 { ac_try
='test -s conftest$ac_exeext'
43946 { (case "(($ac_try" in
43947 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43948 *) ac_try_echo=$ac_try;;
43950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43951 (eval "$ac_try") 2>&5
43953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43954 (exit $ac_status); }; }; then
43955 ac_cv_lib_nsl_inet_addr=yes
43957 echo "$as_me: failed program was:" >&5
43958 sed 's/^/| /' conftest.$ac_ext >&5
43960 ac_cv_lib_nsl_inet_addr=no
43963 rm -f core conftest.err conftest.$ac_objext \
43964 conftest$ac_exeext conftest.$ac_ext
43965 LIBS=$ac_check_lib_save_LIBS
43967 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
43968 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
43969 if test $ac_cv_lib_nsl_inet_addr = yes; then
43973 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
43974 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
43975 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
43976 echo $ECHO_N "(cached) $ECHO_C" >&6
43978 ac_check_lib_save_LIBS=$LIBS
43979 LIBS="-lresolv $LIBS"
43980 cat >conftest.$ac_ext <<_ACEOF
43983 cat confdefs.h >>conftest.$ac_ext
43984 cat >>conftest.$ac_ext <<_ACEOF
43985 /* end confdefs.h. */
43987 /* Override any GCC internal prototype to avoid an error.
43988 Use char because int might match the return type of a GCC
43989 builtin and then its argument prototype would still apply. */
43997 return inet_addr ();
44002 rm -f conftest.$ac_objext conftest$ac_exeext
44003 if { (ac_try="$ac_link"
44004 case "(($ac_try" in
44005 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44006 *) ac_try_echo
=$ac_try;;
44008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44009 (eval "$ac_link") 2>conftest.er1
44011 grep -v '^ *+' conftest.er1
>conftest.err
44013 cat conftest.err
>&5
44014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44015 (exit $ac_status); } &&
44016 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44017 { (case "(($ac_try" in
44018 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44019 *) ac_try_echo=$ac_try;;
44021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44022 (eval "$ac_try") 2>&5
44024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44025 (exit $ac_status); }; } &&
44026 { ac_try='test -s conftest$ac_exeext'
44027 { (case "(($ac_try" in
44028 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44029 *) ac_try_echo
=$ac_try;;
44031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44032 (eval "$ac_try") 2>&5
44034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44035 (exit $ac_status); }; }; then
44036 ac_cv_lib_resolv_inet_addr
=yes
44038 echo "$as_me: failed program was:" >&5
44039 sed 's/^/| /' conftest.
$ac_ext >&5
44041 ac_cv_lib_resolv_inet_addr
=no
44044 rm -f core conftest.err conftest.
$ac_objext \
44045 conftest
$ac_exeext conftest.
$ac_ext
44046 LIBS
=$ac_check_lib_save_LIBS
44048 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
44049 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
44050 if test $ac_cv_lib_resolv_inet_addr = yes; then
44054 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
44055 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
44056 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
44057 echo $ECHO_N "(cached) $ECHO_C" >&6
44059 ac_check_lib_save_LIBS
=$LIBS
44060 LIBS
="-lsocket $LIBS"
44061 cat >conftest.
$ac_ext <<_ACEOF
44064 cat confdefs.h
>>conftest.
$ac_ext
44065 cat >>conftest.
$ac_ext <<_ACEOF
44066 /* end confdefs.h. */
44068 /* Override any GCC internal prototype to avoid an error.
44069 Use char because int might match the return type of a GCC
44070 builtin and then its argument prototype would still apply. */
44078 return inet_addr ();
44083 rm -f conftest.
$ac_objext conftest
$ac_exeext
44084 if { (ac_try
="$ac_link"
44085 case "(($ac_try" in
44086 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44087 *) ac_try_echo=$ac_try;;
44089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44090 (eval "$ac_link") 2>conftest.er1
44092 grep -v '^ *+' conftest.er1 >conftest.err
44094 cat conftest.err >&5
44095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44096 (exit $ac_status); } &&
44097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44098 { (case "(($ac_try" in
44099 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44100 *) ac_try_echo
=$ac_try;;
44102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44103 (eval "$ac_try") 2>&5
44105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44106 (exit $ac_status); }; } &&
44107 { ac_try
='test -s conftest$ac_exeext'
44108 { (case "(($ac_try" in
44109 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44110 *) ac_try_echo=$ac_try;;
44112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44113 (eval "$ac_try") 2>&5
44115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44116 (exit $ac_status); }; }; then
44117 ac_cv_lib_socket_inet_addr=yes
44119 echo "$as_me: failed program was:" >&5
44120 sed 's/^/| /' conftest.$ac_ext >&5
44122 ac_cv_lib_socket_inet_addr=no
44125 rm -f core conftest.err conftest.$ac_objext \
44126 conftest$ac_exeext conftest.$ac_ext
44127 LIBS=$ac_check_lib_save_LIBS
44129 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
44130 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
44131 if test $ac_cv_lib_socket_inet_addr = yes; then
44151 for ac_func in inet_aton
44153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44154 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44156 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44157 echo $ECHO_N "(cached) $ECHO_C" >&6
44159 cat >conftest.$ac_ext <<_ACEOF
44162 cat confdefs.h >>conftest.$ac_ext
44163 cat >>conftest.$ac_ext <<_ACEOF
44164 /* end confdefs.h. */
44165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44167 #define $ac_func innocuous_$ac_func
44169 /* System header to define __stub macros and hopefully few prototypes,
44170 which can conflict with char $ac_func (); below.
44171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44172 <limits.h> exists even on freestanding compilers. */
44175 # include <limits.h>
44177 # include <assert.h>
44182 /* Override any GCC internal prototype to avoid an error.
44183 Use char because int might match the return type of a GCC
44184 builtin and then its argument prototype would still apply. */
44189 /* The GNU C library defines this for functions which it implements
44190 to always fail with ENOSYS. Some functions are actually named
44191 something starting with __ and the normal name is an alias. */
44192 #if defined __stub_$ac_func || defined __stub___$ac_func
44199 return $ac_func ();
44204 rm -f conftest.$ac_objext conftest$ac_exeext
44205 if { (ac_try="$ac_link"
44206 case "(($ac_try" in
44207 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44208 *) ac_try_echo
=$ac_try;;
44210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44211 (eval "$ac_link") 2>conftest.er1
44213 grep -v '^ *+' conftest.er1
>conftest.err
44215 cat conftest.err
>&5
44216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44217 (exit $ac_status); } &&
44218 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44219 { (case "(($ac_try" in
44220 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44221 *) ac_try_echo=$ac_try;;
44223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44224 (eval "$ac_try") 2>&5
44226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44227 (exit $ac_status); }; } &&
44228 { ac_try='test -s conftest$ac_exeext'
44229 { (case "(($ac_try" in
44230 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44231 *) ac_try_echo
=$ac_try;;
44233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44234 (eval "$ac_try") 2>&5
44236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44237 (exit $ac_status); }; }; then
44238 eval "$as_ac_var=yes"
44240 echo "$as_me: failed program was:" >&5
44241 sed 's/^/| /' conftest.
$ac_ext >&5
44243 eval "$as_ac_var=no"
44246 rm -f core conftest.err conftest.
$ac_objext \
44247 conftest
$ac_exeext conftest.
$ac_ext
44249 ac_res
=`eval echo '${'$as_ac_var'}'`
44250 { echo "$as_me:$LINENO: result: $ac_res" >&5
44251 echo "${ECHO_T}$ac_res" >&6; }
44252 if test `eval echo '${'$as_ac_var'}'` = yes; then
44253 cat >>confdefs.h
<<_ACEOF
44254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44256 cat >>confdefs.h
<<\_ACEOF
44257 #define HAVE_INET_ATON 1
44262 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
44263 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
44264 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
44265 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
44266 echo $ECHO_N "(cached) $ECHO_C" >&6
44268 ac_check_lib_save_LIBS
=$LIBS
44269 LIBS
="-l$INET_LINK $LIBS"
44270 cat >conftest.
$ac_ext <<_ACEOF
44273 cat confdefs.h
>>conftest.
$ac_ext
44274 cat >>conftest.
$ac_ext <<_ACEOF
44275 /* end confdefs.h. */
44277 /* Override any GCC internal prototype to avoid an error.
44278 Use char because int might match the return type of a GCC
44279 builtin and then its argument prototype would still apply. */
44287 return inet_aton ();
44292 rm -f conftest.
$ac_objext conftest
$ac_exeext
44293 if { (ac_try
="$ac_link"
44294 case "(($ac_try" in
44295 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44296 *) ac_try_echo=$ac_try;;
44298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44299 (eval "$ac_link") 2>conftest.er1
44301 grep -v '^ *+' conftest.er1 >conftest.err
44303 cat conftest.err >&5
44304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44305 (exit $ac_status); } &&
44306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44307 { (case "(($ac_try" in
44308 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44309 *) ac_try_echo
=$ac_try;;
44311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44312 (eval "$ac_try") 2>&5
44314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44315 (exit $ac_status); }; } &&
44316 { ac_try
='test -s conftest$ac_exeext'
44317 { (case "(($ac_try" in
44318 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44319 *) ac_try_echo=$ac_try;;
44321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44322 (eval "$ac_try") 2>&5
44324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44325 (exit $ac_status); }; }; then
44326 eval "$as_ac_Lib=yes"
44328 echo "$as_me: failed program was:" >&5
44329 sed 's/^/| /' conftest.$ac_ext >&5
44331 eval "$as_ac_Lib=no"
44334 rm -f core conftest.err conftest.$ac_objext \
44335 conftest$ac_exeext conftest.$ac_ext
44336 LIBS=$ac_check_lib_save_LIBS
44338 ac_res=`eval echo '${'$as_ac_Lib'}'`
44339 { echo "$as_me:$LINENO: result: $ac_res" >&5
44340 echo "${ECHO_T}$ac_res" >&6; }
44341 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
44342 cat >>confdefs.h <<\_ACEOF
44343 #define HAVE_INET_ATON 1
44353 if test "x$INET_LINK" != "x"; then
44354 cat >>confdefs.h <<\_ACEOF
44355 #define HAVE_INET_ADDR 1
44358 INET_LINK=" -l$INET_LINK"
44362 for wx_func in fdopen
44364 { echo "$as_me:$LINENO: checking for $wx_func" >&5
44365 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
44366 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
44367 echo $ECHO_N "(cached) $ECHO_C" >&6
44370 cat >conftest.$ac_ext <<_ACEOF
44374 cat confdefs.h >>conftest.$ac_ext
44375 cat >>conftest.$ac_ext <<_ACEOF
44376 /* end confdefs.h. */
44379 $ac_includes_default
44395 rm -f conftest.$ac_objext conftest$ac_exeext
44396 if { (ac_try="$ac_link"
44397 case "(($ac_try" in
44398 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44399 *) ac_try_echo
=$ac_try;;
44401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44402 (eval "$ac_link") 2>conftest.er1
44404 grep -v '^ *+' conftest.er1
>conftest.err
44406 cat conftest.err
>&5
44407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44408 (exit $ac_status); } &&
44409 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44410 { (case "(($ac_try" in
44411 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44412 *) ac_try_echo=$ac_try;;
44414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44415 (eval "$ac_try") 2>&5
44417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44418 (exit $ac_status); }; } &&
44419 { ac_try='test -s conftest$ac_exeext'
44420 { (case "(($ac_try" in
44421 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44422 *) ac_try_echo
=$ac_try;;
44424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44425 (eval "$ac_try") 2>&5
44427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44428 (exit $ac_status); }; }; then
44429 eval wx_cv_func_
$wx_func=yes
44431 echo "$as_me: failed program was:" >&5
44432 sed 's/^/| /' conftest.
$ac_ext >&5
44434 eval wx_cv_func_
$wx_func=no
44437 rm -f core conftest.err conftest.
$ac_objext \
44438 conftest
$ac_exeext conftest.
$ac_ext
44441 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
44442 { echo "$as_me:$LINENO: result: $ac_res" >&5
44443 echo "${ECHO_T}$ac_res" >&6; }
44445 if eval test \
$wx_cv_func_$wx_func = yes
44447 cat >>confdefs.h
<<_ACEOF
44448 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
44465 { echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
44466 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6; }
44467 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
44468 echo $ECHO_N "(cached) $ECHO_C" >&6
44470 ac_check_lib_save_LIBS
=$LIBS
44472 cat >conftest.
$ac_ext <<_ACEOF
44475 cat confdefs.h
>>conftest.
$ac_ext
44476 cat >>conftest.
$ac_ext <<_ACEOF
44477 /* end confdefs.h. */
44479 /* Override any GCC internal prototype to avoid an error.
44480 Use char because int might match the return type of a GCC
44481 builtin and then its argument prototype would still apply. */
44489 return esd_close ();
44494 rm -f conftest.
$ac_objext conftest
$ac_exeext
44495 if { (ac_try
="$ac_link"
44496 case "(($ac_try" in
44497 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44498 *) ac_try_echo=$ac_try;;
44500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44501 (eval "$ac_link") 2>conftest.er1
44503 grep -v '^ *+' conftest.er1 >conftest.err
44505 cat conftest.err >&5
44506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44507 (exit $ac_status); } &&
44508 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44509 { (case "(($ac_try" in
44510 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44511 *) ac_try_echo
=$ac_try;;
44513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44514 (eval "$ac_try") 2>&5
44516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44517 (exit $ac_status); }; } &&
44518 { ac_try
='test -s conftest$ac_exeext'
44519 { (case "(($ac_try" in
44520 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44521 *) ac_try_echo=$ac_try;;
44523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44524 (eval "$ac_try") 2>&5
44526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44527 (exit $ac_status); }; }; then
44528 ac_cv_lib_esd_esd_close=yes
44530 echo "$as_me: failed program was:" >&5
44531 sed 's/^/| /' conftest.$ac_ext >&5
44533 ac_cv_lib_esd_esd_close=no
44536 rm -f core conftest.err conftest.$ac_objext \
44537 conftest$ac_exeext conftest.$ac_ext
44538 LIBS=$ac_check_lib_save_LIBS
44540 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
44541 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6; }
44542 if test $ac_cv_lib_esd_esd_close = yes; then
44545 for ac_header in esd.h
44547 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44548 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44549 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44550 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44551 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44552 echo $ECHO_N "(cached) $ECHO_C" >&6
44554 ac_res=`eval echo '${'$as_ac_Header'}'`
44555 { echo "$as_me:$LINENO: result: $ac_res" >&5
44556 echo "${ECHO_T}$ac_res" >&6; }
44558 # Is the header compilable?
44559 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
44560 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
44561 cat >conftest.$ac_ext <<_ACEOF
44564 cat confdefs.h >>conftest.$ac_ext
44565 cat >>conftest.$ac_ext <<_ACEOF
44566 /* end confdefs.h. */
44567 $ac_includes_default
44568 #include <$ac_header>
44570 rm -f conftest.$ac_objext
44571 if { (ac_try="$ac_compile"
44572 case "(($ac_try" in
44573 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44574 *) ac_try_echo
=$ac_try;;
44576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44577 (eval "$ac_compile") 2>conftest.er1
44579 grep -v '^ *+' conftest.er1
>conftest.err
44581 cat conftest.err
>&5
44582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44583 (exit $ac_status); } &&
44584 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44585 { (case "(($ac_try" in
44586 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44587 *) ac_try_echo=$ac_try;;
44589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44590 (eval "$ac_try") 2>&5
44592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44593 (exit $ac_status); }; } &&
44594 { ac_try='test -s conftest.$ac_objext'
44595 { (case "(($ac_try" in
44596 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44597 *) ac_try_echo
=$ac_try;;
44599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44600 (eval "$ac_try") 2>&5
44602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44603 (exit $ac_status); }; }; then
44604 ac_header_compiler
=yes
44606 echo "$as_me: failed program was:" >&5
44607 sed 's/^/| /' conftest.
$ac_ext >&5
44609 ac_header_compiler
=no
44612 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44613 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44614 echo "${ECHO_T}$ac_header_compiler" >&6; }
44616 # Is the header present?
44617 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
44618 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
44619 cat >conftest.
$ac_ext <<_ACEOF
44622 cat confdefs.h
>>conftest.
$ac_ext
44623 cat >>conftest.
$ac_ext <<_ACEOF
44624 /* end confdefs.h. */
44625 #include <$ac_header>
44627 if { (ac_try
="$ac_cpp conftest.$ac_ext"
44628 case "(($ac_try" in
44629 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44630 *) ac_try_echo=$ac_try;;
44632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44633 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
44635 grep -v '^ *+' conftest.er1 >conftest.err
44637 cat conftest.err >&5
44638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44639 (exit $ac_status); } >/dev/null; then
44640 if test -s conftest.err; then
44641 ac_cpp_err=$ac_c_preproc_warn_flag
44642 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
44649 if test -z "$ac_cpp_err"; then
44650 ac_header_preproc=yes
44652 echo "$as_me: failed program was:" >&5
44653 sed 's/^/| /' conftest.$ac_ext >&5
44655 ac_header_preproc=no
44658 rm -f conftest.err conftest.$ac_ext
44659 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44660 echo "${ECHO_T}$ac_header_preproc" >&6; }
44662 # So? What about this header?
44663 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
44665 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44666 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44667 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44668 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44669 ac_header_preproc=yes
44672 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44673 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44674 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44675 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44676 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44677 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44678 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44679 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44680 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44681 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44682 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44683 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44685 ## ----------------------------------------- ##
44686 ## Report this to wx-dev@lists.wxwidgets.org ##
44687 ## ----------------------------------------- ##
44689 ) | sed "s/^/$as_me: WARNING: /" >&2
44692 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44694 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44695 echo $ECHO_N "(cached) $ECHO_C" >&6
44697 eval "$as_ac_Header=\$ac_header_preproc"
44699 ac_res=`eval echo '${'$as_ac_Header'}'`
44700 { echo "$as_me:$LINENO: result: $ac_res" >&5
44701 echo "${ECHO_T}$ac_res" >&6; }
44704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44705 cat >>confdefs.h <<_ACEOF
44706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44709 EXTRALIBS_ESD="-lesd"
44720 { echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
44721 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6; }
44722 cat >conftest.$ac_ext <<_ACEOF
44725 cat confdefs.h >>conftest.$ac_ext
44726 cat >>conftest.$ac_ext <<_ACEOF
44727 /* end confdefs.h. */
44729 #include <linux/cdrom.h>
44732 #include <sys/cdio.h>
44738 struct cdrom_tocentry entry, old_entry;
44743 rm -f conftest.$ac_objext
44744 if { (ac_try="$ac_compile"
44745 case "(($ac_try" in
44746 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44747 *) ac_try_echo
=$ac_try;;
44749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44750 (eval "$ac_compile") 2>conftest.er1
44752 grep -v '^ *+' conftest.er1
>conftest.err
44754 cat conftest.err
>&5
44755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44756 (exit $ac_status); } &&
44757 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44758 { (case "(($ac_try" in
44759 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44760 *) ac_try_echo=$ac_try;;
44762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44763 (eval "$ac_try") 2>&5
44765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44766 (exit $ac_status); }; } &&
44767 { ac_try='test -s conftest.$ac_objext'
44768 { (case "(($ac_try" in
44769 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44770 *) ac_try_echo
=$ac_try;;
44772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44773 (eval "$ac_try") 2>&5
44775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44776 (exit $ac_status); }; }; then
44777 { echo "$as_me:$LINENO: result: yes" >&5
44778 echo "${ECHO_T}yes" >&6; }
44779 cat >>confdefs.h
<<\_ACEOF
44780 #define HAVE_KNOWN_CDROM_INTERFACE 1
44784 echo "$as_me: failed program was:" >&5
44785 sed 's/^/| /' conftest.
$ac_ext >&5
44787 { echo "$as_me:$LINENO: result: no" >&5
44788 echo "${ECHO_T}no" >&6; }
44791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44794 cat >confcache
<<\_ACEOF
44795 # This file is a shell script that caches the results of configure
44796 # tests run on this system so they can be shared between configure
44797 # scripts and configure runs, see configure's option --config-cache.
44798 # It is not useful on other systems. If it contains results you don't
44799 # want to keep, you may remove or edit it.
44801 # config.status only pays attention to the cache file if you give it
44802 # the --recheck option to rerun configure.
44804 # `ac_cv_env_foo' variables (set or unset) will be overridden when
44805 # loading this file, other *unset* `ac_cv_foo' will be assigned the
44806 # following values.
44810 # The following way of writing the cache mishandles newlines in values,
44811 # but we know of no workaround that is simple, portable, and efficient.
44812 # So, we kill variables containing newlines.
44813 # Ultrix sh set writes to stderr and can't be redirected directly,
44814 # and sets the high bit in the cache file unless we assign to the vars.
44816 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
44817 eval ac_val
=\$
$ac_var
44821 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
44822 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
44825 _
| IFS
| as_nl
) ;; #(
44826 *) $as_unset $ac_var ;;
44832 case $as_nl`(ac_space=' '; set) 2>&1` in #(
44833 *${as_nl}ac_space
=\
*)
44834 # `set' does not quote correctly, so add quotes (double-quote
44835 # substitution turns \\\\ into \\, and sed turns \\ into \).
44838 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
44841 # `set' quotes correctly as required by POSIX, so do not add quotes.
44842 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
44851 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
44853 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
44855 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
44856 if test -w "$cache_file"; then
44857 test "x$cache_file" != "x/dev/null" &&
44858 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
44859 echo "$as_me: updating cache $cache_file" >&6;}
44860 cat confcache
>$cache_file
44862 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
44863 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
44869 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
44875 if test "$wxUSE_THREADS" = "yes" ; then
44876 if test "$USE_BEOS" = 1; then
44877 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
44878 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
44883 if test "$wxUSE_THREADS" = "yes" ; then
44886 THREAD_OPTS
="-pthread"
44888 *-*-solaris2* | *-*-sunos4* )
44889 if test "x$GCC" = "xyes"; then
44890 THREAD_OPTS
="-pthreads $THREAD_OPTS"
44892 THREAD_OPTS
="-mt $THREAD_OPTS"
44896 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
44898 *-*-darwin* | *-*-cygwin* )
44902 THREAD_OPTS
="pthreads"
44905 if test "x$GCC" = "xyes"; then
44906 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
44914 if test "x$GCC" = "xyes"; then
44920 if test "x$GCC" != "xyes"; then
44921 THREAD_OPTS
="-Ethread"
44926 THREAD_OPTS
="$THREAD_OPTS pthread none"
44929 for flag
in $THREAD_OPTS; do
44932 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
44933 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
44937 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
44938 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
44939 THREADS_CFLAGS
="$flag"
44943 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
44944 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
44945 THREADS_LINK
="-l$flag"
44950 save_CFLAGS
="$CFLAGS"
44951 LIBS
="$THREADS_LINK $LIBS"
44952 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
44954 cat >conftest.
$ac_ext <<_ACEOF
44957 cat confdefs.h
>>conftest.
$ac_ext
44958 cat >>conftest.
$ac_ext <<_ACEOF
44959 /* end confdefs.h. */
44960 #include <pthread.h>
44964 pthread_create(0,0,0,0);
44969 rm -f conftest.
$ac_objext conftest
$ac_exeext
44970 if { (ac_try
="$ac_link"
44971 case "(($ac_try" in
44972 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44973 *) ac_try_echo=$ac_try;;
44975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44976 (eval "$ac_link") 2>conftest.er1
44978 grep -v '^ *+' conftest.er1 >conftest.err
44980 cat conftest.err >&5
44981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44982 (exit $ac_status); } &&
44983 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44984 { (case "(($ac_try" in
44985 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44986 *) ac_try_echo
=$ac_try;;
44988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44989 (eval "$ac_try") 2>&5
44991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44992 (exit $ac_status); }; } &&
44993 { ac_try
='test -s conftest$ac_exeext'
44994 { (case "(($ac_try" in
44995 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44996 *) ac_try_echo=$ac_try;;
44998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44999 (eval "$ac_try") 2>&5
45001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45002 (exit $ac_status); }; }; then
45005 echo "$as_me: failed program was:" >&5
45006 sed 's/^/| /' conftest.$ac_ext >&5
45011 rm -f core conftest.err conftest.$ac_objext \
45012 conftest$ac_exeext conftest.$ac_ext
45015 CFLAGS="$save_CFLAGS"
45017 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
45018 echo "${ECHO_T}$THREADS_OK" >&6; }
45019 if test "x$THREADS_OK" = "xyes"; then
45027 if test "x$THREADS_OK" != "xyes"; then
45029 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
45030 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
45032 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
45033 LIBS="$THREADS_LINK $LIBS"
45035 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
45036 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
45040 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
45041 flag="-D_THREAD_SAFE"
45044 flag="-D_THREAD_SAFE"
45047 flag="-D_REENTRANT"
45048 if test "x$GCC" != "xyes"; then
45049 flag="$flag -D_RWSTD_MULTI_THREAD"
45052 *solaris* | alpha*-osf*)
45053 flag="-D_REENTRANT"
45056 { echo "$as_me:$LINENO: result: ${flag}" >&5
45057 echo "${ECHO_T}${flag}" >&6; }
45058 if test "x$flag" != xno; then
45059 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
45062 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
45066 if test "$wxUSE_THREADS" = "yes" ; then
45068 for ac_func in thr_setconcurrency
45070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45071 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45073 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45074 echo $ECHO_N "(cached) $ECHO_C" >&6
45076 cat >conftest.$ac_ext <<_ACEOF
45079 cat confdefs.h >>conftest.$ac_ext
45080 cat >>conftest.$ac_ext <<_ACEOF
45081 /* end confdefs.h. */
45082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45084 #define $ac_func innocuous_$ac_func
45086 /* System header to define __stub macros and hopefully few prototypes,
45087 which can conflict with char $ac_func (); below.
45088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45089 <limits.h> exists even on freestanding compilers. */
45092 # include <limits.h>
45094 # include <assert.h>
45099 /* Override any GCC internal prototype to avoid an error.
45100 Use char because int might match the return type of a GCC
45101 builtin and then its argument prototype would still apply. */
45106 /* The GNU C library defines this for functions which it implements
45107 to always fail with ENOSYS. Some functions are actually named
45108 something starting with __ and the normal name is an alias. */
45109 #if defined __stub_$ac_func || defined __stub___$ac_func
45116 return $ac_func ();
45121 rm -f conftest.$ac_objext conftest$ac_exeext
45122 if { (ac_try="$ac_link"
45123 case "(($ac_try" in
45124 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45125 *) ac_try_echo
=$ac_try;;
45127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45128 (eval "$ac_link") 2>conftest.er1
45130 grep -v '^ *+' conftest.er1
>conftest.err
45132 cat conftest.err
>&5
45133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45134 (exit $ac_status); } &&
45135 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45136 { (case "(($ac_try" in
45137 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45138 *) ac_try_echo=$ac_try;;
45140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45141 (eval "$ac_try") 2>&5
45143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45144 (exit $ac_status); }; } &&
45145 { ac_try='test -s conftest$ac_exeext'
45146 { (case "(($ac_try" in
45147 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45148 *) ac_try_echo
=$ac_try;;
45150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45151 (eval "$ac_try") 2>&5
45153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45154 (exit $ac_status); }; }; then
45155 eval "$as_ac_var=yes"
45157 echo "$as_me: failed program was:" >&5
45158 sed 's/^/| /' conftest.
$ac_ext >&5
45160 eval "$as_ac_var=no"
45163 rm -f core conftest.err conftest.
$ac_objext \
45164 conftest
$ac_exeext conftest.
$ac_ext
45166 ac_res
=`eval echo '${'$as_ac_var'}'`
45167 { echo "$as_me:$LINENO: result: $ac_res" >&5
45168 echo "${ECHO_T}$ac_res" >&6; }
45169 if test `eval echo '${'$as_ac_var'}'` = yes; then
45170 cat >>confdefs.h
<<_ACEOF
45171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45178 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
45179 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
45180 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
45181 echo $ECHO_N "(cached) $ECHO_C" >&6
45184 cat >conftest.
$ac_ext <<_ACEOF
45187 cat confdefs.h
>>conftest.
$ac_ext
45188 cat >>conftest.
$ac_ext <<_ACEOF
45189 /* end confdefs.h. */
45190 #include <pthread.h>
45191 void ThreadCleanupFunc(void *p);
45198 pthread_cleanup_push(ThreadCleanupFunc, p);
45199 pthread_cleanup_pop(0);
45205 rm -f conftest.
$ac_objext
45206 if { (ac_try
="$ac_compile"
45207 case "(($ac_try" in
45208 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45209 *) ac_try_echo=$ac_try;;
45211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45212 (eval "$ac_compile") 2>conftest.er1
45214 grep -v '^ *+' conftest.er1 >conftest.err
45216 cat conftest.err >&5
45217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45218 (exit $ac_status); } &&
45219 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45220 { (case "(($ac_try" in
45221 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45222 *) ac_try_echo
=$ac_try;;
45224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45225 (eval "$ac_try") 2>&5
45227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45228 (exit $ac_status); }; } &&
45229 { ac_try
='test -s conftest.$ac_objext'
45230 { (case "(($ac_try" in
45231 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45232 *) ac_try_echo=$ac_try;;
45234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45235 (eval "$ac_try") 2>&5
45237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45238 (exit $ac_status); }; }; then
45240 wx_cv_func_pthread_cleanup=yes
45243 echo "$as_me: failed program was:" >&5
45244 sed 's/^/| /' conftest.$ac_ext >&5
45247 wx_cv_func_pthread_cleanup=no
45252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45255 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
45256 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
45257 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
45258 cat >>confdefs.h <<\_ACEOF
45259 #define wxHAVE_PTHREAD_CLEANUP 1
45265 for ac_header in sched.h
45267 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45268 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45269 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45270 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45271 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45272 echo $ECHO_N "(cached) $ECHO_C" >&6
45274 ac_res=`eval echo '${'$as_ac_Header'}'`
45275 { echo "$as_me:$LINENO: result: $ac_res" >&5
45276 echo "${ECHO_T}$ac_res" >&6; }
45278 # Is the header compilable?
45279 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
45280 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
45281 cat >conftest.$ac_ext <<_ACEOF
45284 cat confdefs.h >>conftest.$ac_ext
45285 cat >>conftest.$ac_ext <<_ACEOF
45286 /* end confdefs.h. */
45287 $ac_includes_default
45288 #include <$ac_header>
45290 rm -f conftest.$ac_objext
45291 if { (ac_try="$ac_compile"
45292 case "(($ac_try" in
45293 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45294 *) ac_try_echo
=$ac_try;;
45296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45297 (eval "$ac_compile") 2>conftest.er1
45299 grep -v '^ *+' conftest.er1
>conftest.err
45301 cat conftest.err
>&5
45302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45303 (exit $ac_status); } &&
45304 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45305 { (case "(($ac_try" in
45306 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45307 *) ac_try_echo=$ac_try;;
45309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45310 (eval "$ac_try") 2>&5
45312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45313 (exit $ac_status); }; } &&
45314 { ac_try='test -s conftest.$ac_objext'
45315 { (case "(($ac_try" in
45316 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45317 *) ac_try_echo
=$ac_try;;
45319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45320 (eval "$ac_try") 2>&5
45322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45323 (exit $ac_status); }; }; then
45324 ac_header_compiler
=yes
45326 echo "$as_me: failed program was:" >&5
45327 sed 's/^/| /' conftest.
$ac_ext >&5
45329 ac_header_compiler
=no
45332 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45333 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45334 echo "${ECHO_T}$ac_header_compiler" >&6; }
45336 # Is the header present?
45337 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
45338 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
45339 cat >conftest.
$ac_ext <<_ACEOF
45342 cat confdefs.h
>>conftest.
$ac_ext
45343 cat >>conftest.
$ac_ext <<_ACEOF
45344 /* end confdefs.h. */
45345 #include <$ac_header>
45347 if { (ac_try
="$ac_cpp conftest.$ac_ext"
45348 case "(($ac_try" in
45349 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45350 *) ac_try_echo=$ac_try;;
45352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45353 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
45355 grep -v '^ *+' conftest.er1 >conftest.err
45357 cat conftest.err >&5
45358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45359 (exit $ac_status); } >/dev/null; then
45360 if test -s conftest.err; then
45361 ac_cpp_err=$ac_c_preproc_warn_flag
45362 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
45369 if test -z "$ac_cpp_err"; then
45370 ac_header_preproc=yes
45372 echo "$as_me: failed program was:" >&5
45373 sed 's/^/| /' conftest.$ac_ext >&5
45375 ac_header_preproc=no
45378 rm -f conftest.err conftest.$ac_ext
45379 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45380 echo "${ECHO_T}$ac_header_preproc" >&6; }
45382 # So? What about this header?
45383 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45385 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45386 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45387 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45388 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45389 ac_header_preproc=yes
45392 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45393 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45394 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45395 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45396 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45397 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45398 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45399 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45400 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45401 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45402 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45403 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45405 ## ----------------------------------------- ##
45406 ## Report this to wx-dev@lists.wxwidgets.org ##
45407 ## ----------------------------------------- ##
45409 ) | sed "s/^/$as_me: WARNING: /" >&2
45412 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45414 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45415 echo $ECHO_N "(cached) $ECHO_C" >&6
45417 eval "$as_ac_Header=\$ac_header_preproc"
45419 ac_res=`eval echo '${'$as_ac_Header'}'`
45420 { echo "$as_me:$LINENO: result: $ac_res" >&5
45421 echo "${ECHO_T}$ac_res" >&6; }
45424 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45425 cat >>confdefs.h <<_ACEOF
45426 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45433 if test "$ac_cv_header_sched_h" = "yes"; then
45434 { echo "$as_me:$LINENO: checking for sched_yield" >&5
45435 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
45436 if test "${ac_cv_func_sched_yield+set}" = set; then
45437 echo $ECHO_N "(cached) $ECHO_C" >&6
45439 cat >conftest.$ac_ext <<_ACEOF
45442 cat confdefs.h >>conftest.$ac_ext
45443 cat >>conftest.$ac_ext <<_ACEOF
45444 /* end confdefs.h. */
45445 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
45446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45447 #define sched_yield innocuous_sched_yield
45449 /* System header to define __stub macros and hopefully few prototypes,
45450 which can conflict with char sched_yield (); below.
45451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45452 <limits.h> exists even on freestanding compilers. */
45455 # include <limits.h>
45457 # include <assert.h>
45462 /* Override any GCC internal prototype to avoid an error.
45463 Use char because int might match the return type of a GCC
45464 builtin and then its argument prototype would still apply. */
45468 char sched_yield ();
45469 /* The GNU C library defines this for functions which it implements
45470 to always fail with ENOSYS. Some functions are actually named
45471 something starting with __ and the normal name is an alias. */
45472 #if defined __stub_sched_yield || defined __stub___sched_yield
45479 return sched_yield ();
45484 rm -f conftest.$ac_objext conftest$ac_exeext
45485 if { (ac_try="$ac_link"
45486 case "(($ac_try" in
45487 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45488 *) ac_try_echo
=$ac_try;;
45490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45491 (eval "$ac_link") 2>conftest.er1
45493 grep -v '^ *+' conftest.er1
>conftest.err
45495 cat conftest.err
>&5
45496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45497 (exit $ac_status); } &&
45498 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45499 { (case "(($ac_try" in
45500 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45501 *) ac_try_echo=$ac_try;;
45503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45504 (eval "$ac_try") 2>&5
45506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45507 (exit $ac_status); }; } &&
45508 { ac_try='test -s conftest$ac_exeext'
45509 { (case "(($ac_try" in
45510 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45511 *) ac_try_echo
=$ac_try;;
45513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45514 (eval "$ac_try") 2>&5
45516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45517 (exit $ac_status); }; }; then
45518 ac_cv_func_sched_yield
=yes
45520 echo "$as_me: failed program was:" >&5
45521 sed 's/^/| /' conftest.
$ac_ext >&5
45523 ac_cv_func_sched_yield
=no
45526 rm -f core conftest.err conftest.
$ac_objext \
45527 conftest
$ac_exeext conftest.
$ac_ext
45529 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
45530 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
45531 if test $ac_cv_func_sched_yield = yes; then
45532 cat >>confdefs.h
<<\_ACEOF
45533 #define HAVE_SCHED_YIELD 1
45538 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
45539 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
45540 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
45541 echo $ECHO_N "(cached) $ECHO_C" >&6
45543 ac_check_lib_save_LIBS
=$LIBS
45544 LIBS
="-lposix4 $LIBS"
45545 cat >conftest.
$ac_ext <<_ACEOF
45548 cat confdefs.h
>>conftest.
$ac_ext
45549 cat >>conftest.
$ac_ext <<_ACEOF
45550 /* end confdefs.h. */
45552 /* Override any GCC internal prototype to avoid an error.
45553 Use char because int might match the return type of a GCC
45554 builtin and then its argument prototype would still apply. */
45558 char sched_yield ();
45562 return sched_yield ();
45567 rm -f conftest.
$ac_objext conftest
$ac_exeext
45568 if { (ac_try
="$ac_link"
45569 case "(($ac_try" in
45570 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45571 *) ac_try_echo=$ac_try;;
45573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45574 (eval "$ac_link") 2>conftest.er1
45576 grep -v '^ *+' conftest.er1 >conftest.err
45578 cat conftest.err >&5
45579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45580 (exit $ac_status); } &&
45581 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45582 { (case "(($ac_try" in
45583 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45584 *) ac_try_echo
=$ac_try;;
45586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45587 (eval "$ac_try") 2>&5
45589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45590 (exit $ac_status); }; } &&
45591 { ac_try
='test -s conftest$ac_exeext'
45592 { (case "(($ac_try" in
45593 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45594 *) ac_try_echo=$ac_try;;
45596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45597 (eval "$ac_try") 2>&5
45599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45600 (exit $ac_status); }; }; then
45601 ac_cv_lib_posix4_sched_yield=yes
45603 echo "$as_me: failed program was:" >&5
45604 sed 's/^/| /' conftest.$ac_ext >&5
45606 ac_cv_lib_posix4_sched_yield=no
45609 rm -f core conftest.err conftest.$ac_objext \
45610 conftest$ac_exeext conftest.$ac_ext
45611 LIBS=$ac_check_lib_save_LIBS
45613 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
45614 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
45615 if test $ac_cv_lib_posix4_sched_yield = yes; then
45616 cat >>confdefs.h <<\_ACEOF
45617 #define HAVE_SCHED_YIELD 1
45619 POSIX4_LINK=" -lposix4"
45621 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
45622 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
45633 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
45634 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
45635 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
45636 echo $ECHO_N "(cached) $ECHO_C" >&6
45638 cat >conftest.$ac_ext <<_ACEOF
45641 cat confdefs.h >>conftest.$ac_ext
45642 cat >>conftest.$ac_ext <<_ACEOF
45643 /* end confdefs.h. */
45644 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
45645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45646 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
45648 /* System header to define __stub macros and hopefully few prototypes,
45649 which can conflict with char pthread_attr_getschedpolicy (); below.
45650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45651 <limits.h> exists even on freestanding compilers. */
45654 # include <limits.h>
45656 # include <assert.h>
45659 #undef pthread_attr_getschedpolicy
45661 /* Override any GCC internal prototype to avoid an error.
45662 Use char because int might match the return type of a GCC
45663 builtin and then its argument prototype would still apply. */
45667 char pthread_attr_getschedpolicy ();
45668 /* The GNU C library defines this for functions which it implements
45669 to always fail with ENOSYS. Some functions are actually named
45670 something starting with __ and the normal name is an alias. */
45671 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
45678 return pthread_attr_getschedpolicy ();
45683 rm -f conftest.$ac_objext conftest$ac_exeext
45684 if { (ac_try="$ac_link"
45685 case "(($ac_try" in
45686 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45687 *) ac_try_echo
=$ac_try;;
45689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45690 (eval "$ac_link") 2>conftest.er1
45692 grep -v '^ *+' conftest.er1
>conftest.err
45694 cat conftest.err
>&5
45695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45696 (exit $ac_status); } &&
45697 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45698 { (case "(($ac_try" in
45699 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45700 *) ac_try_echo=$ac_try;;
45702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45703 (eval "$ac_try") 2>&5
45705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45706 (exit $ac_status); }; } &&
45707 { ac_try='test -s conftest$ac_exeext'
45708 { (case "(($ac_try" in
45709 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45710 *) ac_try_echo
=$ac_try;;
45712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45713 (eval "$ac_try") 2>&5
45715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45716 (exit $ac_status); }; }; then
45717 ac_cv_func_pthread_attr_getschedpolicy
=yes
45719 echo "$as_me: failed program was:" >&5
45720 sed 's/^/| /' conftest.
$ac_ext >&5
45722 ac_cv_func_pthread_attr_getschedpolicy
=no
45725 rm -f core conftest.err conftest.
$ac_objext \
45726 conftest
$ac_exeext conftest.
$ac_ext
45728 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
45729 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
45730 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
45731 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
45732 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
45733 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
45734 echo $ECHO_N "(cached) $ECHO_C" >&6
45736 cat >conftest.
$ac_ext <<_ACEOF
45739 cat confdefs.h
>>conftest.
$ac_ext
45740 cat >>conftest.
$ac_ext <<_ACEOF
45741 /* end confdefs.h. */
45742 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
45743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45744 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
45746 /* System header to define __stub macros and hopefully few prototypes,
45747 which can conflict with char pthread_attr_setschedparam (); below.
45748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45749 <limits.h> exists even on freestanding compilers. */
45752 # include <limits.h>
45754 # include <assert.h>
45757 #undef pthread_attr_setschedparam
45759 /* Override any GCC internal prototype to avoid an error.
45760 Use char because int might match the return type of a GCC
45761 builtin and then its argument prototype would still apply. */
45765 char pthread_attr_setschedparam ();
45766 /* The GNU C library defines this for functions which it implements
45767 to always fail with ENOSYS. Some functions are actually named
45768 something starting with __ and the normal name is an alias. */
45769 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
45776 return pthread_attr_setschedparam ();
45781 rm -f conftest.
$ac_objext conftest
$ac_exeext
45782 if { (ac_try
="$ac_link"
45783 case "(($ac_try" in
45784 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45785 *) ac_try_echo=$ac_try;;
45787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45788 (eval "$ac_link") 2>conftest.er1
45790 grep -v '^ *+' conftest.er1 >conftest.err
45792 cat conftest.err >&5
45793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45794 (exit $ac_status); } &&
45795 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45796 { (case "(($ac_try" in
45797 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45798 *) ac_try_echo
=$ac_try;;
45800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45801 (eval "$ac_try") 2>&5
45803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45804 (exit $ac_status); }; } &&
45805 { ac_try
='test -s conftest$ac_exeext'
45806 { (case "(($ac_try" in
45807 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45808 *) ac_try_echo=$ac_try;;
45810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45811 (eval "$ac_try") 2>&5
45813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45814 (exit $ac_status); }; }; then
45815 ac_cv_func_pthread_attr_setschedparam=yes
45817 echo "$as_me: failed program was:" >&5
45818 sed 's/^/| /' conftest.$ac_ext >&5
45820 ac_cv_func_pthread_attr_setschedparam=no
45823 rm -f core conftest.err conftest.$ac_objext \
45824 conftest$ac_exeext conftest.$ac_ext
45826 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
45827 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
45828 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
45829 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
45830 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
45831 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
45832 echo $ECHO_N "(cached) $ECHO_C" >&6
45834 cat >conftest.$ac_ext <<_ACEOF
45837 cat confdefs.h >>conftest.$ac_ext
45838 cat >>conftest.$ac_ext <<_ACEOF
45839 /* end confdefs.h. */
45840 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
45841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45842 #define sched_get_priority_max innocuous_sched_get_priority_max
45844 /* System header to define __stub macros and hopefully few prototypes,
45845 which can conflict with char sched_get_priority_max (); below.
45846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45847 <limits.h> exists even on freestanding compilers. */
45850 # include <limits.h>
45852 # include <assert.h>
45855 #undef sched_get_priority_max
45857 /* Override any GCC internal prototype to avoid an error.
45858 Use char because int might match the return type of a GCC
45859 builtin and then its argument prototype would still apply. */
45863 char sched_get_priority_max ();
45864 /* The GNU C library defines this for functions which it implements
45865 to always fail with ENOSYS. Some functions are actually named
45866 something starting with __ and the normal name is an alias. */
45867 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
45874 return sched_get_priority_max ();
45879 rm -f conftest.$ac_objext conftest$ac_exeext
45880 if { (ac_try="$ac_link"
45881 case "(($ac_try" in
45882 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45883 *) ac_try_echo
=$ac_try;;
45885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45886 (eval "$ac_link") 2>conftest.er1
45888 grep -v '^ *+' conftest.er1
>conftest.err
45890 cat conftest.err
>&5
45891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45892 (exit $ac_status); } &&
45893 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45894 { (case "(($ac_try" in
45895 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45896 *) ac_try_echo=$ac_try;;
45898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45899 (eval "$ac_try") 2>&5
45901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45902 (exit $ac_status); }; } &&
45903 { ac_try='test -s conftest$ac_exeext'
45904 { (case "(($ac_try" in
45905 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45906 *) ac_try_echo
=$ac_try;;
45908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45909 (eval "$ac_try") 2>&5
45911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45912 (exit $ac_status); }; }; then
45913 ac_cv_func_sched_get_priority_max
=yes
45915 echo "$as_me: failed program was:" >&5
45916 sed 's/^/| /' conftest.
$ac_ext >&5
45918 ac_cv_func_sched_get_priority_max
=no
45921 rm -f core conftest.err conftest.
$ac_objext \
45922 conftest
$ac_exeext conftest.
$ac_ext
45924 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
45925 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
45926 if test $ac_cv_func_sched_get_priority_max = yes; then
45929 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
45930 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
45931 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
45932 echo $ECHO_N "(cached) $ECHO_C" >&6
45934 ac_check_lib_save_LIBS
=$LIBS
45935 LIBS
="-lposix4 $LIBS"
45936 cat >conftest.
$ac_ext <<_ACEOF
45939 cat confdefs.h
>>conftest.
$ac_ext
45940 cat >>conftest.
$ac_ext <<_ACEOF
45941 /* end confdefs.h. */
45943 /* Override any GCC internal prototype to avoid an error.
45944 Use char because int might match the return type of a GCC
45945 builtin and then its argument prototype would still apply. */
45949 char sched_get_priority_max ();
45953 return sched_get_priority_max ();
45958 rm -f conftest.
$ac_objext conftest
$ac_exeext
45959 if { (ac_try
="$ac_link"
45960 case "(($ac_try" in
45961 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45962 *) ac_try_echo=$ac_try;;
45964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45965 (eval "$ac_link") 2>conftest.er1
45967 grep -v '^ *+' conftest.er1 >conftest.err
45969 cat conftest.err >&5
45970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45971 (exit $ac_status); } &&
45972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45973 { (case "(($ac_try" in
45974 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45975 *) ac_try_echo
=$ac_try;;
45977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45978 (eval "$ac_try") 2>&5
45980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45981 (exit $ac_status); }; } &&
45982 { ac_try
='test -s conftest$ac_exeext'
45983 { (case "(($ac_try" in
45984 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45985 *) ac_try_echo=$ac_try;;
45987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45988 (eval "$ac_try") 2>&5
45990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45991 (exit $ac_status); }; }; then
45992 ac_cv_lib_posix4_sched_get_priority_max=yes
45994 echo "$as_me: failed program was:" >&5
45995 sed 's/^/| /' conftest.$ac_ext >&5
45997 ac_cv_lib_posix4_sched_get_priority_max=no
46000 rm -f core conftest.err conftest.$ac_objext \
46001 conftest$ac_exeext conftest.$ac_ext
46002 LIBS=$ac_check_lib_save_LIBS
46004 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
46005 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
46006 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
46009 POSIX4_LINK=" -lposix4"
46023 if test "$HAVE_PRIOR_FUNCS" = 1; then
46024 cat >>confdefs.h <<\_ACEOF
46025 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
46029 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
46030 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
46033 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
46034 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
46035 if test "${ac_cv_func_pthread_cancel+set}" = set; then
46036 echo $ECHO_N "(cached) $ECHO_C" >&6
46038 cat >conftest.$ac_ext <<_ACEOF
46041 cat confdefs.h >>conftest.$ac_ext
46042 cat >>conftest.$ac_ext <<_ACEOF
46043 /* end confdefs.h. */
46044 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
46045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46046 #define pthread_cancel innocuous_pthread_cancel
46048 /* System header to define __stub macros and hopefully few prototypes,
46049 which can conflict with char pthread_cancel (); below.
46050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46051 <limits.h> exists even on freestanding compilers. */
46054 # include <limits.h>
46056 # include <assert.h>
46059 #undef pthread_cancel
46061 /* Override any GCC internal prototype to avoid an error.
46062 Use char because int might match the return type of a GCC
46063 builtin and then its argument prototype would still apply. */
46067 char pthread_cancel ();
46068 /* The GNU C library defines this for functions which it implements
46069 to always fail with ENOSYS. Some functions are actually named
46070 something starting with __ and the normal name is an alias. */
46071 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
46078 return pthread_cancel ();
46083 rm -f conftest.$ac_objext conftest$ac_exeext
46084 if { (ac_try="$ac_link"
46085 case "(($ac_try" in
46086 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46087 *) ac_try_echo
=$ac_try;;
46089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46090 (eval "$ac_link") 2>conftest.er1
46092 grep -v '^ *+' conftest.er1
>conftest.err
46094 cat conftest.err
>&5
46095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46096 (exit $ac_status); } &&
46097 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46098 { (case "(($ac_try" in
46099 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46100 *) ac_try_echo=$ac_try;;
46102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46103 (eval "$ac_try") 2>&5
46105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46106 (exit $ac_status); }; } &&
46107 { ac_try='test -s conftest$ac_exeext'
46108 { (case "(($ac_try" in
46109 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46110 *) ac_try_echo
=$ac_try;;
46112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46113 (eval "$ac_try") 2>&5
46115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46116 (exit $ac_status); }; }; then
46117 ac_cv_func_pthread_cancel
=yes
46119 echo "$as_me: failed program was:" >&5
46120 sed 's/^/| /' conftest.
$ac_ext >&5
46122 ac_cv_func_pthread_cancel
=no
46125 rm -f core conftest.err conftest.
$ac_objext \
46126 conftest
$ac_exeext conftest.
$ac_ext
46128 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
46129 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
46130 if test $ac_cv_func_pthread_cancel = yes; then
46131 cat >>confdefs.h
<<\_ACEOF
46132 #define HAVE_PTHREAD_CANCEL 1
46136 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
46137 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
46141 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
46142 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
46143 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
46144 echo $ECHO_N "(cached) $ECHO_C" >&6
46146 cat >conftest.
$ac_ext <<_ACEOF
46149 cat confdefs.h
>>conftest.
$ac_ext
46150 cat >>conftest.
$ac_ext <<_ACEOF
46151 /* end confdefs.h. */
46152 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
46153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46154 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
46156 /* System header to define __stub macros and hopefully few prototypes,
46157 which can conflict with char pthread_attr_setstacksize (); below.
46158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46159 <limits.h> exists even on freestanding compilers. */
46162 # include <limits.h>
46164 # include <assert.h>
46167 #undef pthread_attr_setstacksize
46169 /* Override any GCC internal prototype to avoid an error.
46170 Use char because int might match the return type of a GCC
46171 builtin and then its argument prototype would still apply. */
46175 char pthread_attr_setstacksize ();
46176 /* The GNU C library defines this for functions which it implements
46177 to always fail with ENOSYS. Some functions are actually named
46178 something starting with __ and the normal name is an alias. */
46179 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
46186 return pthread_attr_setstacksize ();
46191 rm -f conftest.
$ac_objext conftest
$ac_exeext
46192 if { (ac_try
="$ac_link"
46193 case "(($ac_try" in
46194 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46195 *) ac_try_echo=$ac_try;;
46197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46198 (eval "$ac_link") 2>conftest.er1
46200 grep -v '^ *+' conftest.er1 >conftest.err
46202 cat conftest.err >&5
46203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46204 (exit $ac_status); } &&
46205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46206 { (case "(($ac_try" in
46207 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46208 *) ac_try_echo
=$ac_try;;
46210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46211 (eval "$ac_try") 2>&5
46213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46214 (exit $ac_status); }; } &&
46215 { ac_try
='test -s conftest$ac_exeext'
46216 { (case "(($ac_try" in
46217 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46218 *) ac_try_echo=$ac_try;;
46220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46221 (eval "$ac_try") 2>&5
46223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46224 (exit $ac_status); }; }; then
46225 ac_cv_func_pthread_attr_setstacksize=yes
46227 echo "$as_me: failed program was:" >&5
46228 sed 's/^/| /' conftest.$ac_ext >&5
46230 ac_cv_func_pthread_attr_setstacksize=no
46233 rm -f core conftest.err conftest.$ac_objext \
46234 conftest$ac_exeext conftest.$ac_ext
46236 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
46237 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
46238 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
46239 cat >>confdefs.h <<\_ACEOF
46240 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
46247 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
46248 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
46249 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
46250 echo $ECHO_N "(cached) $ECHO_C" >&6
46253 cat >conftest.$ac_ext <<_ACEOF
46256 cat confdefs.h >>conftest.$ac_ext
46257 cat >>conftest.$ac_ext <<_ACEOF
46258 /* end confdefs.h. */
46259 #include <pthread.h>
46264 pthread_mutexattr_t attr;
46265 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
46271 rm -f conftest.$ac_objext
46272 if { (ac_try="$ac_compile"
46273 case "(($ac_try" in
46274 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46275 *) ac_try_echo
=$ac_try;;
46277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46278 (eval "$ac_compile") 2>conftest.er1
46280 grep -v '^ *+' conftest.er1
>conftest.err
46282 cat conftest.err
>&5
46283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46284 (exit $ac_status); } &&
46285 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46286 { (case "(($ac_try" in
46287 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46288 *) ac_try_echo=$ac_try;;
46290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46291 (eval "$ac_try") 2>&5
46293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46294 (exit $ac_status); }; } &&
46295 { ac_try='test -s conftest.$ac_objext'
46296 { (case "(($ac_try" in
46297 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46298 *) ac_try_echo
=$ac_try;;
46300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46301 (eval "$ac_try") 2>&5
46303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46304 (exit $ac_status); }; }; then
46305 wx_cv_type_pthread_mutexattr_t
=yes
46307 echo "$as_me: failed program was:" >&5
46308 sed 's/^/| /' conftest.
$ac_ext >&5
46310 wx_cv_type_pthread_mutexattr_t
=no
46314 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46317 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
46318 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
46320 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
46321 cat >>confdefs.h
<<\_ACEOF
46322 #define HAVE_PTHREAD_MUTEXATTR_T 1
46326 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
46327 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
46328 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
46329 echo $ECHO_N "(cached) $ECHO_C" >&6
46332 cat >conftest.
$ac_ext <<_ACEOF
46335 cat confdefs.h
>>conftest.
$ac_ext
46336 cat >>conftest.
$ac_ext <<_ACEOF
46337 /* end confdefs.h. */
46338 #include <pthread.h>
46343 pthread_mutexattr_t attr;
46344 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
46350 rm -f conftest.
$ac_objext
46351 if { (ac_try
="$ac_compile"
46352 case "(($ac_try" in
46353 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46354 *) ac_try_echo=$ac_try;;
46356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46357 (eval "$ac_compile") 2>conftest.er1
46359 grep -v '^ *+' conftest.er1 >conftest.err
46361 cat conftest.err >&5
46362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46363 (exit $ac_status); } &&
46364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46365 { (case "(($ac_try" in
46366 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46367 *) ac_try_echo
=$ac_try;;
46369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46370 (eval "$ac_try") 2>&5
46372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46373 (exit $ac_status); }; } &&
46374 { ac_try
='test -s conftest.$ac_objext'
46375 { (case "(($ac_try" in
46376 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46377 *) ac_try_echo=$ac_try;;
46379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46380 (eval "$ac_try") 2>&5
46382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46383 (exit $ac_status); }; }; then
46384 wx_cv_func_pthread_mutexattr_settype_decl=yes
46386 echo "$as_me: failed program was:" >&5
46387 sed 's/^/| /' conftest.$ac_ext >&5
46389 wx_cv_func_pthread_mutexattr_settype_decl=no
46393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46396 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
46397 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
46398 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
46399 cat >>confdefs.h <<\_ACEOF
46400 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
46405 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
46406 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
46407 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
46408 echo $ECHO_N "(cached) $ECHO_C" >&6
46411 cat >conftest.$ac_ext <<_ACEOF
46414 cat confdefs.h >>conftest.$ac_ext
46415 cat >>conftest.$ac_ext <<_ACEOF
46416 /* end confdefs.h. */
46417 #include <pthread.h>
46422 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
46428 rm -f conftest.$ac_objext
46429 if { (ac_try="$ac_compile"
46430 case "(($ac_try" in
46431 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46432 *) ac_try_echo
=$ac_try;;
46434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46435 (eval "$ac_compile") 2>conftest.er1
46437 grep -v '^ *+' conftest.er1
>conftest.err
46439 cat conftest.err
>&5
46440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46441 (exit $ac_status); } &&
46442 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46443 { (case "(($ac_try" in
46444 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46445 *) ac_try_echo=$ac_try;;
46447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46448 (eval "$ac_try") 2>&5
46450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46451 (exit $ac_status); }; } &&
46452 { ac_try='test -s conftest.$ac_objext'
46453 { (case "(($ac_try" in
46454 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46455 *) ac_try_echo
=$ac_try;;
46457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46458 (eval "$ac_try") 2>&5
46460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46461 (exit $ac_status); }; }; then
46463 wx_cv_type_pthread_rec_mutex_init
=yes
46466 echo "$as_me: failed program was:" >&5
46467 sed 's/^/| /' conftest.
$ac_ext >&5
46470 wx_cv_type_pthread_rec_mutex_init
=no
46475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46478 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
46479 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
46480 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
46481 cat >>confdefs.h
<<\_ACEOF
46482 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
46486 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
46487 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
46493 if test "$wxUSE_THREADS" = "yes" ; then
46496 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
46497 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
46498 if test "${wx_cv_cflags_mthread+set}" = set; then
46499 echo $ECHO_N "(cached) $ECHO_C" >&6
46502 CFLAGS_OLD
="$CFLAGS"
46503 CFLAGS
="-mthreads $CFLAGS"
46504 cat >conftest.
$ac_ext <<_ACEOF
46507 cat confdefs.h
>>conftest.
$ac_ext
46508 cat >>conftest.
$ac_ext <<_ACEOF
46509 /* end confdefs.h. */
46519 rm -f conftest.
$ac_objext
46520 if { (ac_try
="$ac_compile"
46521 case "(($ac_try" in
46522 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46523 *) ac_try_echo=$ac_try;;
46525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46526 (eval "$ac_compile") 2>conftest.er1
46528 grep -v '^ *+' conftest.er1 >conftest.err
46530 cat conftest.err >&5
46531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46532 (exit $ac_status); } &&
46533 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46534 { (case "(($ac_try" in
46535 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46536 *) ac_try_echo
=$ac_try;;
46538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46539 (eval "$ac_try") 2>&5
46541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46542 (exit $ac_status); }; } &&
46543 { ac_try
='test -s conftest.$ac_objext'
46544 { (case "(($ac_try" in
46545 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46546 *) ac_try_echo=$ac_try;;
46548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46549 (eval "$ac_try") 2>&5
46551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46552 (exit $ac_status); }; }; then
46553 wx_cv_cflags_mthread=yes
46555 echo "$as_me: failed program was:" >&5
46556 sed 's/^/| /' conftest.$ac_ext >&5
46558 wx_cv_cflags_mthread=no
46562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46566 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
46567 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
46569 if test "$wx_cv_cflags_mthread" = "yes"; then
46570 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
46571 LDFLAGS="$LDFLAGS -mthreads"
46573 CFLAGS="$CFLAGS_OLD"
46577 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
46578 LDFLAGS="$LDFLAGS -Zmt"
46584 { echo "$as_me:$LINENO: checking for localtime_r" >&5
46585 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
46586 if test "${ac_cv_func_localtime_r+set}" = set; then
46587 echo $ECHO_N "(cached) $ECHO_C" >&6
46589 cat >conftest.$ac_ext <<_ACEOF
46592 cat confdefs.h >>conftest.$ac_ext
46593 cat >>conftest.$ac_ext <<_ACEOF
46594 /* end confdefs.h. */
46595 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
46596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46597 #define localtime_r innocuous_localtime_r
46599 /* System header to define __stub macros and hopefully few prototypes,
46600 which can conflict with char localtime_r (); below.
46601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46602 <limits.h> exists even on freestanding compilers. */
46605 # include <limits.h>
46607 # include <assert.h>
46612 /* Override any GCC internal prototype to avoid an error.
46613 Use char because int might match the return type of a GCC
46614 builtin and then its argument prototype would still apply. */
46618 char localtime_r ();
46619 /* The GNU C library defines this for functions which it implements
46620 to always fail with ENOSYS. Some functions are actually named
46621 something starting with __ and the normal name is an alias. */
46622 #if defined __stub_localtime_r || defined __stub___localtime_r
46629 return localtime_r ();
46634 rm -f conftest.$ac_objext conftest$ac_exeext
46635 if { (ac_try="$ac_link"
46636 case "(($ac_try" in
46637 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46638 *) ac_try_echo
=$ac_try;;
46640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46641 (eval "$ac_link") 2>conftest.er1
46643 grep -v '^ *+' conftest.er1
>conftest.err
46645 cat conftest.err
>&5
46646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46647 (exit $ac_status); } &&
46648 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46649 { (case "(($ac_try" in
46650 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46651 *) ac_try_echo=$ac_try;;
46653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46654 (eval "$ac_try") 2>&5
46656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46657 (exit $ac_status); }; } &&
46658 { ac_try='test -s conftest$ac_exeext'
46659 { (case "(($ac_try" in
46660 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46661 *) ac_try_echo
=$ac_try;;
46663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46664 (eval "$ac_try") 2>&5
46666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46667 (exit $ac_status); }; }; then
46668 ac_cv_func_localtime_r
=yes
46670 echo "$as_me: failed program was:" >&5
46671 sed 's/^/| /' conftest.
$ac_ext >&5
46673 ac_cv_func_localtime_r
=no
46676 rm -f core conftest.err conftest.
$ac_objext \
46677 conftest
$ac_exeext conftest.
$ac_ext
46679 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
46680 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
46681 if test $ac_cv_func_localtime_r = yes; then
46682 cat >>confdefs.h
<<\_ACEOF
46683 #define HAVE_LOCALTIME_R 1
46688 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
46689 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
46690 if test "${ac_cv_func_gmtime_r+set}" = set; then
46691 echo $ECHO_N "(cached) $ECHO_C" >&6
46693 cat >conftest.
$ac_ext <<_ACEOF
46696 cat confdefs.h
>>conftest.
$ac_ext
46697 cat >>conftest.
$ac_ext <<_ACEOF
46698 /* end confdefs.h. */
46699 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
46700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46701 #define gmtime_r innocuous_gmtime_r
46703 /* System header to define __stub macros and hopefully few prototypes,
46704 which can conflict with char gmtime_r (); below.
46705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46706 <limits.h> exists even on freestanding compilers. */
46709 # include <limits.h>
46711 # include <assert.h>
46716 /* Override any GCC internal prototype to avoid an error.
46717 Use char because int might match the return type of a GCC
46718 builtin and then its argument prototype would still apply. */
46723 /* The GNU C library defines this for functions which it implements
46724 to always fail with ENOSYS. Some functions are actually named
46725 something starting with __ and the normal name is an alias. */
46726 #if defined __stub_gmtime_r || defined __stub___gmtime_r
46733 return gmtime_r ();
46738 rm -f conftest.
$ac_objext conftest
$ac_exeext
46739 if { (ac_try
="$ac_link"
46740 case "(($ac_try" in
46741 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46742 *) ac_try_echo=$ac_try;;
46744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46745 (eval "$ac_link") 2>conftest.er1
46747 grep -v '^ *+' conftest.er1 >conftest.err
46749 cat conftest.err >&5
46750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46751 (exit $ac_status); } &&
46752 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46753 { (case "(($ac_try" in
46754 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46755 *) ac_try_echo
=$ac_try;;
46757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46758 (eval "$ac_try") 2>&5
46760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46761 (exit $ac_status); }; } &&
46762 { ac_try
='test -s conftest$ac_exeext'
46763 { (case "(($ac_try" in
46764 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46765 *) ac_try_echo=$ac_try;;
46767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46768 (eval "$ac_try") 2>&5
46770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46771 (exit $ac_status); }; }; then
46772 ac_cv_func_gmtime_r=yes
46774 echo "$as_me: failed program was:" >&5
46775 sed 's/^/| /' conftest.$ac_ext >&5
46777 ac_cv_func_gmtime_r=no
46780 rm -f core conftest.err conftest.$ac_objext \
46781 conftest$ac_exeext conftest.$ac_ext
46783 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
46784 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
46785 if test $ac_cv_func_gmtime_r = yes; then
46786 cat >>confdefs.h <<\_ACEOF
46787 #define HAVE_GMTIME_R 1
46792 { echo "$as_me:$LINENO: checking for readdir_r" >&5
46793 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
46794 if test "${ac_cv_func_readdir_r+set}" = set; then
46795 echo $ECHO_N "(cached) $ECHO_C" >&6
46797 cat >conftest.$ac_ext <<_ACEOF
46800 cat confdefs.h >>conftest.$ac_ext
46801 cat >>conftest.$ac_ext <<_ACEOF
46802 /* end confdefs.h. */
46803 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
46804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46805 #define readdir_r innocuous_readdir_r
46807 /* System header to define __stub macros and hopefully few prototypes,
46808 which can conflict with char readdir_r (); below.
46809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46810 <limits.h> exists even on freestanding compilers. */
46813 # include <limits.h>
46815 # include <assert.h>
46820 /* Override any GCC internal prototype to avoid an error.
46821 Use char because int might match the return type of a GCC
46822 builtin and then its argument prototype would still apply. */
46827 /* The GNU C library defines this for functions which it implements
46828 to always fail with ENOSYS. Some functions are actually named
46829 something starting with __ and the normal name is an alias. */
46830 #if defined __stub_readdir_r || defined __stub___readdir_r
46837 return readdir_r ();
46842 rm -f conftest.$ac_objext conftest$ac_exeext
46843 if { (ac_try="$ac_link"
46844 case "(($ac_try" in
46845 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46846 *) ac_try_echo
=$ac_try;;
46848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46849 (eval "$ac_link") 2>conftest.er1
46851 grep -v '^ *+' conftest.er1
>conftest.err
46853 cat conftest.err
>&5
46854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46855 (exit $ac_status); } &&
46856 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46857 { (case "(($ac_try" in
46858 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46859 *) ac_try_echo=$ac_try;;
46861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46862 (eval "$ac_try") 2>&5
46864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46865 (exit $ac_status); }; } &&
46866 { ac_try='test -s conftest$ac_exeext'
46867 { (case "(($ac_try" in
46868 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46869 *) ac_try_echo
=$ac_try;;
46871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46872 (eval "$ac_try") 2>&5
46874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46875 (exit $ac_status); }; }; then
46876 ac_cv_func_readdir_r
=yes
46878 echo "$as_me: failed program was:" >&5
46879 sed 's/^/| /' conftest.
$ac_ext >&5
46881 ac_cv_func_readdir_r
=no
46884 rm -f core conftest.err conftest.
$ac_objext \
46885 conftest
$ac_exeext conftest.
$ac_ext
46887 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
46888 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
46889 if test $ac_cv_func_readdir_r = yes; then
46890 cat >>confdefs.h
<<\_ACEOF
46891 #define HAVE_READDIR_R 1
46900 ac_cpp
='$CPP $CPPFLAGS'
46901 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46902 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46903 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46905 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
46906 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
46908 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
46909 echo $ECHO_N "(cached) $ECHO_C" >&6
46913 ################################################################
46915 ac_cv_func_which_gethostbyname_r
=unknown
46918 # ONE ARGUMENT (sanity check)
46921 # This should fail, as there is no variant of gethostbyname_r() that takes
46922 # a single argument. If it actually compiles, then we can assume that
46923 # netdb.h is not declaring the function, and the compiler is thereby
46924 # assuming an implicit prototype. In which case, we're out of luck.
46926 cat >conftest.
$ac_ext <<_ACEOF
46929 cat confdefs.h
>>conftest.
$ac_ext
46930 cat >>conftest.
$ac_ext <<_ACEOF
46931 /* end confdefs.h. */
46937 char *name = "www.gnu.org";
46938 (void)gethostbyname_r(name) /* ; */
46944 rm -f conftest.
$ac_objext
46945 if { (ac_try
="$ac_compile"
46946 case "(($ac_try" in
46947 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46948 *) ac_try_echo=$ac_try;;
46950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46951 (eval "$ac_compile") 2>conftest.er1
46953 grep -v '^ *+' conftest.er1 >conftest.err
46955 cat conftest.err >&5
46956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46957 (exit $ac_status); } &&
46958 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46959 { (case "(($ac_try" in
46960 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46961 *) ac_try_echo
=$ac_try;;
46963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46964 (eval "$ac_try") 2>&5
46966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46967 (exit $ac_status); }; } &&
46968 { ac_try
='test -s conftest.$ac_objext'
46969 { (case "(($ac_try" in
46970 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46971 *) ac_try_echo=$ac_try;;
46973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46974 (eval "$ac_try") 2>&5
46976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46977 (exit $ac_status); }; }; then
46978 ac_cv_func_which_gethostbyname_r=no
46980 echo "$as_me: failed program was:" >&5
46981 sed 's/^/| /' conftest.$ac_ext >&5
46986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46993 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
46995 cat >conftest.$ac_ext <<_ACEOF
46998 cat confdefs.h >>conftest.$ac_ext
46999 cat >>conftest.$ac_ext <<_ACEOF
47000 /* end confdefs.h. */
47006 char *name = "www.gnu.org";
47007 struct hostent ret, *retp;
47011 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
47017 rm -f conftest.$ac_objext
47018 if { (ac_try="$ac_compile"
47019 case "(($ac_try" in
47020 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47021 *) ac_try_echo
=$ac_try;;
47023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47024 (eval "$ac_compile") 2>conftest.er1
47026 grep -v '^ *+' conftest.er1
>conftest.err
47028 cat conftest.err
>&5
47029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47030 (exit $ac_status); } &&
47031 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47032 { (case "(($ac_try" in
47033 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47034 *) ac_try_echo=$ac_try;;
47036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47037 (eval "$ac_try") 2>&5
47039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47040 (exit $ac_status); }; } &&
47041 { ac_try='test -s conftest.$ac_objext'
47042 { (case "(($ac_try" in
47043 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47044 *) ac_try_echo
=$ac_try;;
47046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47047 (eval "$ac_try") 2>&5
47049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47050 (exit $ac_status); }; }; then
47051 ac_cv_func_which_gethostbyname_r
=six
47053 echo "$as_me: failed program was:" >&5
47054 sed 's/^/| /' conftest.
$ac_ext >&5
47059 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47068 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
47070 cat >conftest.
$ac_ext <<_ACEOF
47073 cat confdefs.h
>>conftest.
$ac_ext
47074 cat >>conftest.
$ac_ext <<_ACEOF
47075 /* end confdefs.h. */
47081 char *name = "www.gnu.org";
47082 struct hostent ret;
47086 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
47092 rm -f conftest.
$ac_objext
47093 if { (ac_try
="$ac_compile"
47094 case "(($ac_try" in
47095 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47096 *) ac_try_echo=$ac_try;;
47098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47099 (eval "$ac_compile") 2>conftest.er1
47101 grep -v '^ *+' conftest.er1 >conftest.err
47103 cat conftest.err >&5
47104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47105 (exit $ac_status); } &&
47106 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47107 { (case "(($ac_try" in
47108 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47109 *) ac_try_echo
=$ac_try;;
47111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47112 (eval "$ac_try") 2>&5
47114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47115 (exit $ac_status); }; } &&
47116 { ac_try
='test -s conftest.$ac_objext'
47117 { (case "(($ac_try" in
47118 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47119 *) ac_try_echo=$ac_try;;
47121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47122 (eval "$ac_try") 2>&5
47124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47125 (exit $ac_status); }; }; then
47126 ac_cv_func_which_gethostbyname_r=five
47128 echo "$as_me: failed program was:" >&5
47129 sed 's/^/| /' conftest.$ac_ext >&5
47134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47140 # (e.g. AIX, HP-UX, Tru64)
47143 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
47145 cat >conftest.$ac_ext <<_ACEOF
47148 cat confdefs.h >>conftest.$ac_ext
47149 cat >>conftest.$ac_ext <<_ACEOF
47150 /* end confdefs.h. */
47156 char *name = "www.gnu.org";
47157 struct hostent ret;
47158 struct hostent_data data;
47159 (void)gethostbyname_r(name, &ret, &data) /* ; */
47165 rm -f conftest.$ac_objext
47166 if { (ac_try="$ac_compile"
47167 case "(($ac_try" in
47168 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47169 *) ac_try_echo
=$ac_try;;
47171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47172 (eval "$ac_compile") 2>conftest.er1
47174 grep -v '^ *+' conftest.er1
>conftest.err
47176 cat conftest.err
>&5
47177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47178 (exit $ac_status); } &&
47179 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47180 { (case "(($ac_try" in
47181 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47182 *) ac_try_echo=$ac_try;;
47184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47185 (eval "$ac_try") 2>&5
47187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47188 (exit $ac_status); }; } &&
47189 { ac_try='test -s conftest.$ac_objext'
47190 { (case "(($ac_try" in
47191 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47192 *) ac_try_echo
=$ac_try;;
47194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47195 (eval "$ac_try") 2>&5
47197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47198 (exit $ac_status); }; }; then
47199 ac_cv_func_which_gethostbyname_r
=three
47201 echo "$as_me: failed program was:" >&5
47202 sed 's/^/| /' conftest.
$ac_ext >&5
47207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47211 ################################################################
47216 case "$ac_cv_func_which_gethostbyname_r" in
47218 { echo "$as_me:$LINENO: result: three" >&5
47219 echo "${ECHO_T}three" >&6; }
47220 cat >>confdefs.h
<<\_ACEOF
47221 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
47227 { echo "$as_me:$LINENO: result: five" >&5
47228 echo "${ECHO_T}five" >&6; }
47229 cat >>confdefs.h
<<\_ACEOF
47230 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
47236 { echo "$as_me:$LINENO: result: six" >&5
47237 echo "${ECHO_T}six" >&6; }
47238 cat >>confdefs.h
<<\_ACEOF
47239 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
47245 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
47246 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
47250 { echo "$as_me:$LINENO: result: can't tell" >&5
47251 echo "${ECHO_T}can't tell" >&6; }
47255 { { echo "$as_me:$LINENO: error: internal error" >&5
47256 echo "$as_me: error: internal error" >&2;}
47257 { (exit 1); exit 1; }; }
47262 ac_cpp
='$CPP $CPPFLAGS'
47263 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47264 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47265 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47269 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
47270 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
47271 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
47272 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
47273 if test "${ac_cv_func_gethostbyname+set}" = set; then
47274 echo $ECHO_N "(cached) $ECHO_C" >&6
47276 cat >conftest.
$ac_ext <<_ACEOF
47279 cat confdefs.h
>>conftest.
$ac_ext
47280 cat >>conftest.
$ac_ext <<_ACEOF
47281 /* end confdefs.h. */
47282 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
47283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47284 #define gethostbyname innocuous_gethostbyname
47286 /* System header to define __stub macros and hopefully few prototypes,
47287 which can conflict with char gethostbyname (); below.
47288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47289 <limits.h> exists even on freestanding compilers. */
47292 # include <limits.h>
47294 # include <assert.h>
47297 #undef gethostbyname
47299 /* Override any GCC internal prototype to avoid an error.
47300 Use char because int might match the return type of a GCC
47301 builtin and then its argument prototype would still apply. */
47305 char gethostbyname ();
47306 /* The GNU C library defines this for functions which it implements
47307 to always fail with ENOSYS. Some functions are actually named
47308 something starting with __ and the normal name is an alias. */
47309 #if defined __stub_gethostbyname || defined __stub___gethostbyname
47316 return gethostbyname ();
47321 rm -f conftest.
$ac_objext conftest
$ac_exeext
47322 if { (ac_try
="$ac_link"
47323 case "(($ac_try" in
47324 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47325 *) ac_try_echo=$ac_try;;
47327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47328 (eval "$ac_link") 2>conftest.er1
47330 grep -v '^ *+' conftest.er1 >conftest.err
47332 cat conftest.err >&5
47333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47334 (exit $ac_status); } &&
47335 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47336 { (case "(($ac_try" in
47337 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47338 *) ac_try_echo
=$ac_try;;
47340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47341 (eval "$ac_try") 2>&5
47343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47344 (exit $ac_status); }; } &&
47345 { ac_try
='test -s conftest$ac_exeext'
47346 { (case "(($ac_try" in
47347 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47348 *) ac_try_echo=$ac_try;;
47350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47351 (eval "$ac_try") 2>&5
47353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47354 (exit $ac_status); }; }; then
47355 ac_cv_func_gethostbyname=yes
47357 echo "$as_me: failed program was:" >&5
47358 sed 's/^/| /' conftest.$ac_ext >&5
47360 ac_cv_func_gethostbyname=no
47363 rm -f core conftest.err conftest.$ac_objext \
47364 conftest$ac_exeext conftest.$ac_ext
47366 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
47367 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
47368 if test $ac_cv_func_gethostbyname = yes; then
47369 cat >>confdefs.h <<\_ACEOF
47370 #define HAVE_GETHOSTBYNAME 1
47377 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
47378 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
47379 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
47380 echo $ECHO_N "(cached) $ECHO_C" >&6
47384 ac_cpp='$CXXCPP $CPPFLAGS'
47385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47390 cat >conftest.$ac_ext <<_ACEOF
47393 cat confdefs.h >>conftest.$ac_ext
47394 cat >>conftest.$ac_ext <<_ACEOF
47395 /* end confdefs.h. */
47403 struct servent *se, *res;
47406 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
47412 rm -f conftest.$ac_objext
47413 if { (ac_try="$ac_compile"
47414 case "(($ac_try" in
47415 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47416 *) ac_try_echo
=$ac_try;;
47418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47419 (eval "$ac_compile") 2>conftest.er1
47421 grep -v '^ *+' conftest.er1
>conftest.err
47423 cat conftest.err
>&5
47424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47425 (exit $ac_status); } &&
47426 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47427 { (case "(($ac_try" in
47428 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47429 *) ac_try_echo=$ac_try;;
47431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47432 (eval "$ac_try") 2>&5
47434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47435 (exit $ac_status); }; } &&
47436 { ac_try='test -s conftest.$ac_objext'
47437 { (case "(($ac_try" in
47438 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47439 *) ac_try_echo
=$ac_try;;
47441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47442 (eval "$ac_try") 2>&5
47444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47445 (exit $ac_status); }; }; then
47446 ac_cv_func_which_getservbyname_r
=six
47448 echo "$as_me: failed program was:" >&5
47449 sed 's/^/| /' conftest.
$ac_ext >&5
47452 cat >conftest.
$ac_ext <<_ACEOF
47455 cat confdefs.h
>>conftest.
$ac_ext
47456 cat >>conftest.
$ac_ext <<_ACEOF
47457 /* end confdefs.h. */
47465 struct servent *se;
47468 (void) getservbyname_r(name, proto, se, buffer, buflen)
47474 rm -f conftest.
$ac_objext
47475 if { (ac_try
="$ac_compile"
47476 case "(($ac_try" in
47477 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47478 *) ac_try_echo=$ac_try;;
47480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47481 (eval "$ac_compile") 2>conftest.er1
47483 grep -v '^ *+' conftest.er1 >conftest.err
47485 cat conftest.err >&5
47486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47487 (exit $ac_status); } &&
47488 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47489 { (case "(($ac_try" in
47490 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47491 *) ac_try_echo
=$ac_try;;
47493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47494 (eval "$ac_try") 2>&5
47496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47497 (exit $ac_status); }; } &&
47498 { ac_try
='test -s conftest.$ac_objext'
47499 { (case "(($ac_try" in
47500 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47501 *) ac_try_echo=$ac_try;;
47503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47504 (eval "$ac_try") 2>&5
47506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47507 (exit $ac_status); }; }; then
47508 ac_cv_func_which_getservbyname_r=five
47510 echo "$as_me: failed program was:" >&5
47511 sed 's/^/| /' conftest.$ac_ext >&5
47514 cat >conftest.$ac_ext <<_ACEOF
47517 cat confdefs.h >>conftest.$ac_ext
47518 cat >>conftest.$ac_ext <<_ACEOF
47519 /* end confdefs.h. */
47527 struct servent *se;
47528 struct servent_data data;
47529 (void) getservbyname_r(name, proto, se, &data);
47535 rm -f conftest.$ac_objext
47536 if { (ac_try="$ac_compile"
47537 case "(($ac_try" in
47538 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47539 *) ac_try_echo
=$ac_try;;
47541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47542 (eval "$ac_compile") 2>conftest.er1
47544 grep -v '^ *+' conftest.er1
>conftest.err
47546 cat conftest.err
>&5
47547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47548 (exit $ac_status); } &&
47549 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47550 { (case "(($ac_try" in
47551 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47552 *) ac_try_echo=$ac_try;;
47554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47555 (eval "$ac_try") 2>&5
47557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47558 (exit $ac_status); }; } &&
47559 { ac_try='test -s conftest.$ac_objext'
47560 { (case "(($ac_try" in
47561 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47562 *) ac_try_echo
=$ac_try;;
47564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47565 (eval "$ac_try") 2>&5
47567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47568 (exit $ac_status); }; }; then
47569 ac_cv_func_which_getservbyname_r
=four
47571 echo "$as_me: failed program was:" >&5
47572 sed 's/^/| /' conftest.
$ac_ext >&5
47574 ac_cv_func_which_getservbyname_r
=no
47578 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47583 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47590 ac_cpp
='$CPP $CPPFLAGS'
47591 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47592 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47593 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47598 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
47599 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
47601 if test $ac_cv_func_which_getservbyname_r = six
; then
47602 cat >>confdefs.h
<<\_ACEOF
47603 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
47606 elif test $ac_cv_func_which_getservbyname_r = five
; then
47607 cat >>confdefs.h
<<\_ACEOF
47608 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
47611 elif test $ac_cv_func_which_getservbyname_r = four
; then
47612 cat >>confdefs.h
<<\_ACEOF
47613 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
47619 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
47620 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
47622 for ac_func
in getservbyname
47624 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47625 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47627 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47628 echo $ECHO_N "(cached) $ECHO_C" >&6
47630 cat >conftest.
$ac_ext <<_ACEOF
47633 cat confdefs.h
>>conftest.
$ac_ext
47634 cat >>conftest.
$ac_ext <<_ACEOF
47635 /* end confdefs.h. */
47636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47638 #define $ac_func innocuous_$ac_func
47640 /* System header to define __stub macros and hopefully few prototypes,
47641 which can conflict with char $ac_func (); below.
47642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47643 <limits.h> exists even on freestanding compilers. */
47646 # include <limits.h>
47648 # include <assert.h>
47653 /* Override any GCC internal prototype to avoid an error.
47654 Use char because int might match the return type of a GCC
47655 builtin and then its argument prototype would still apply. */
47660 /* The GNU C library defines this for functions which it implements
47661 to always fail with ENOSYS. Some functions are actually named
47662 something starting with __ and the normal name is an alias. */
47663 #if defined __stub_$ac_func || defined __stub___$ac_func
47670 return $ac_func ();
47675 rm -f conftest.
$ac_objext conftest
$ac_exeext
47676 if { (ac_try
="$ac_link"
47677 case "(($ac_try" in
47678 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47679 *) ac_try_echo=$ac_try;;
47681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47682 (eval "$ac_link") 2>conftest.er1
47684 grep -v '^ *+' conftest.er1 >conftest.err
47686 cat conftest.err >&5
47687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47688 (exit $ac_status); } &&
47689 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47690 { (case "(($ac_try" in
47691 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47692 *) ac_try_echo
=$ac_try;;
47694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47695 (eval "$ac_try") 2>&5
47697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47698 (exit $ac_status); }; } &&
47699 { ac_try
='test -s conftest$ac_exeext'
47700 { (case "(($ac_try" in
47701 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47702 *) ac_try_echo=$ac_try;;
47704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47705 (eval "$ac_try") 2>&5
47707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47708 (exit $ac_status); }; }; then
47709 eval "$as_ac_var=yes"
47711 echo "$as_me: failed program was:" >&5
47712 sed 's/^/| /' conftest.$ac_ext >&5
47714 eval "$as_ac_var=no"
47717 rm -f core conftest.err conftest.$ac_objext \
47718 conftest$ac_exeext conftest.$ac_ext
47720 ac_res=`eval echo '${'$as_ac_var'}'`
47721 { echo "$as_me:$LINENO: result: $ac_res" >&5
47722 echo "${ECHO_T}$ac_res" >&6; }
47723 if test `eval echo '${'$as_ac_var'}'` = yes; then
47724 cat >>confdefs.h <<_ACEOF
47725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47727 cat >>confdefs.h <<\_ACEOF
47728 #define HAVE_GETSERVBYNAME 1
47736 if test "$wxUSE_THREADS" = "yes"; then
47737 cat >>confdefs.h <<\_ACEOF
47738 #define wxUSE_THREADS 1
47742 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
47744 if test "$wx_cv_func_strtok_r" = "yes"; then
47745 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
47746 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
47747 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
47748 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
47749 { echo "$as_me:$LINENO: result: yes" >&5
47750 echo "${ECHO_T}yes" >&6; }
47752 { echo "$as_me:$LINENO: result: no" >&5
47753 echo "${ECHO_T}no" >&6; }
47758 if test "$WXGTK20" = 1 ; then
47759 cat >>confdefs.h <<_ACEOF
47760 #define __WXGTK20__ $WXGTK20
47766 if test "$WXGTK12" = 1 ; then
47767 cat >>confdefs.h <<_ACEOF
47768 #define __WXGTK12__ $WXGTK12
47773 if test "$WXGTK127" = 1 ; then
47774 cat >>confdefs.h <<_ACEOF
47775 #define __WXGTK127__ $WXGTK127
47780 if test "$WXGPE" = 1 ; then
47781 cat >>confdefs.h <<_ACEOF
47782 #define __WXGPE__ $WXGPE
47788 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
47793 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
47794 wxUSE_DEBUG_INFO=yes
47795 if test "$GCC" = yes; then
47796 DEBUG_CFLAGS="-ggdb"
47800 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
47801 cat >>confdefs.h <<\_ACEOF
47805 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
47807 if test "$wxUSE_GTK" = 1 ; then
47808 if test "x$wxGTK_VERSION" = "x1" ; then
47809 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
47814 if test "$wxUSE_MEM_TRACING" = "yes" ; then
47815 cat >>confdefs.h <<\_ACEOF
47816 #define wxUSE_MEMORY_TRACING 1
47819 cat >>confdefs.h <<\_ACEOF
47820 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
47823 cat >>confdefs.h <<\_ACEOF
47824 #define wxUSE_DEBUG_NEW_ALWAYS 1
47827 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
47830 if test "$wxUSE_DMALLOC" = "yes" ; then
47831 DMALLOC_LIBS="-ldmallocthcxx"
47835 if test "$wxUSE_PROFILE" = "yes" ; then
47836 PROFILE_FLAGS=" -pg"
47839 if test "$GCC" = "yes" ; then
47840 if test "$wxUSE_NO_RTTI" = "yes" ; then
47841 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
47843 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47844 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
47846 if test "$wxUSE_PERMISSIVE" = "yes" ; then
47847 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
47852 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
47855 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
47861 if test "$wxUSE_OPTIMISE" = "no" ; then
47862 if test "$GCC" = yes ; then
47863 OPTIMISE_CFLAGS="-O0"
47866 if test "$GCC" = yes ; then
47868 *-pc-os2_emx | *-pc-os2-emx )
47869 OPTIMISE_CFLAGS="-O2"
47872 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
47876 OPTIMISE_CFLAGS="-O"
47881 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
47882 cat >>confdefs.h <<\_ACEOF
47883 #define WXWIN_COMPATIBILITY_2_4 1
47887 WXWIN_COMPATIBILITY_2_6="yes"
47890 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
47891 cat >>confdefs.h <<\_ACEOF
47892 #define WXWIN_COMPATIBILITY_2_6 1
47898 if test "$wxUSE_GUI" = "yes"; then
47899 cat >>confdefs.h <<\_ACEOF
47900 #define wxUSE_GUI 1
47907 if test "$wxUSE_UNIX" = "yes"; then
47908 cat >>confdefs.h <<\_ACEOF
47909 #define wxUSE_UNIX 1
47915 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
47919 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
47920 if test "$USE_DARWIN" = 1; then
47922 elif test "$USE_DOS" = 1; then
47926 for ac_func in dlopen
47928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47929 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47931 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47932 echo $ECHO_N "(cached) $ECHO_C" >&6
47934 cat >conftest.$ac_ext <<_ACEOF
47937 cat confdefs.h >>conftest.$ac_ext
47938 cat >>conftest.$ac_ext <<_ACEOF
47939 /* end confdefs.h. */
47940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47942 #define $ac_func innocuous_$ac_func
47944 /* System header to define __stub macros and hopefully few prototypes,
47945 which can conflict with char $ac_func (); below.
47946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47947 <limits.h> exists even on freestanding compilers. */
47950 # include <limits.h>
47952 # include <assert.h>
47957 /* Override any GCC internal prototype to avoid an error.
47958 Use char because int might match the return type of a GCC
47959 builtin and then its argument prototype would still apply. */
47964 /* The GNU C library defines this for functions which it implements
47965 to always fail with ENOSYS. Some functions are actually named
47966 something starting with __ and the normal name is an alias. */
47967 #if defined __stub_$ac_func || defined __stub___$ac_func
47974 return $ac_func ();
47979 rm -f conftest.$ac_objext conftest$ac_exeext
47980 if { (ac_try="$ac_link"
47981 case "(($ac_try" in
47982 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47983 *) ac_try_echo
=$ac_try;;
47985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47986 (eval "$ac_link") 2>conftest.er1
47988 grep -v '^ *+' conftest.er1
>conftest.err
47990 cat conftest.err
>&5
47991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47992 (exit $ac_status); } &&
47993 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47994 { (case "(($ac_try" in
47995 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47996 *) ac_try_echo=$ac_try;;
47998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47999 (eval "$ac_try") 2>&5
48001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48002 (exit $ac_status); }; } &&
48003 { ac_try='test -s conftest$ac_exeext'
48004 { (case "(($ac_try" in
48005 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48006 *) ac_try_echo
=$ac_try;;
48008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48009 (eval "$ac_try") 2>&5
48011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48012 (exit $ac_status); }; }; then
48013 eval "$as_ac_var=yes"
48015 echo "$as_me: failed program was:" >&5
48016 sed 's/^/| /' conftest.
$ac_ext >&5
48018 eval "$as_ac_var=no"
48021 rm -f core conftest.err conftest.
$ac_objext \
48022 conftest
$ac_exeext conftest.
$ac_ext
48024 ac_res
=`eval echo '${'$as_ac_var'}'`
48025 { echo "$as_me:$LINENO: result: $ac_res" >&5
48026 echo "${ECHO_T}$ac_res" >&6; }
48027 if test `eval echo '${'$as_ac_var'}'` = yes; then
48028 cat >>confdefs.h
<<_ACEOF
48029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48032 cat >>confdefs.h
<<\_ACEOF
48033 #define HAVE_DLOPEN 1
48040 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
48041 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
48042 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
48043 echo $ECHO_N "(cached) $ECHO_C" >&6
48045 ac_check_lib_save_LIBS
=$LIBS
48047 cat >conftest.
$ac_ext <<_ACEOF
48050 cat confdefs.h
>>conftest.
$ac_ext
48051 cat >>conftest.
$ac_ext <<_ACEOF
48052 /* end confdefs.h. */
48054 /* Override any GCC internal prototype to avoid an error.
48055 Use char because int might match the return type of a GCC
48056 builtin and then its argument prototype would still apply. */
48069 rm -f conftest.
$ac_objext conftest
$ac_exeext
48070 if { (ac_try
="$ac_link"
48071 case "(($ac_try" in
48072 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48073 *) ac_try_echo=$ac_try;;
48075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48076 (eval "$ac_link") 2>conftest.er1
48078 grep -v '^ *+' conftest.er1 >conftest.err
48080 cat conftest.err >&5
48081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48082 (exit $ac_status); } &&
48083 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48084 { (case "(($ac_try" in
48085 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48086 *) ac_try_echo
=$ac_try;;
48088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48089 (eval "$ac_try") 2>&5
48091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48092 (exit $ac_status); }; } &&
48093 { ac_try
='test -s conftest$ac_exeext'
48094 { (case "(($ac_try" in
48095 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48096 *) ac_try_echo=$ac_try;;
48098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48099 (eval "$ac_try") 2>&5
48101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48102 (exit $ac_status); }; }; then
48103 ac_cv_lib_dl_dlopen=yes
48105 echo "$as_me: failed program was:" >&5
48106 sed 's/^/| /' conftest.$ac_ext >&5
48108 ac_cv_lib_dl_dlopen=no
48111 rm -f core conftest.err conftest.$ac_objext \
48112 conftest$ac_exeext conftest.$ac_ext
48113 LIBS=$ac_check_lib_save_LIBS
48115 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
48116 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
48117 if test $ac_cv_lib_dl_dlopen = yes; then
48119 cat >>confdefs.h <<\_ACEOF
48120 #define HAVE_DLOPEN 1
48124 DL_LINK=" -ldl$DL_LINK"
48129 for ac_func in shl_load
48131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48132 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48134 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48135 echo $ECHO_N "(cached) $ECHO_C" >&6
48137 cat >conftest.$ac_ext <<_ACEOF
48140 cat confdefs.h >>conftest.$ac_ext
48141 cat >>conftest.$ac_ext <<_ACEOF
48142 /* end confdefs.h. */
48143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48145 #define $ac_func innocuous_$ac_func
48147 /* System header to define __stub macros and hopefully few prototypes,
48148 which can conflict with char $ac_func (); below.
48149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48150 <limits.h> exists even on freestanding compilers. */
48153 # include <limits.h>
48155 # include <assert.h>
48160 /* Override any GCC internal prototype to avoid an error.
48161 Use char because int might match the return type of a GCC
48162 builtin and then its argument prototype would still apply. */
48167 /* The GNU C library defines this for functions which it implements
48168 to always fail with ENOSYS. Some functions are actually named
48169 something starting with __ and the normal name is an alias. */
48170 #if defined __stub_$ac_func || defined __stub___$ac_func
48177 return $ac_func ();
48182 rm -f conftest.$ac_objext conftest$ac_exeext
48183 if { (ac_try="$ac_link"
48184 case "(($ac_try" in
48185 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48186 *) ac_try_echo
=$ac_try;;
48188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48189 (eval "$ac_link") 2>conftest.er1
48191 grep -v '^ *+' conftest.er1
>conftest.err
48193 cat conftest.err
>&5
48194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48195 (exit $ac_status); } &&
48196 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48197 { (case "(($ac_try" in
48198 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48199 *) ac_try_echo=$ac_try;;
48201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48202 (eval "$ac_try") 2>&5
48204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48205 (exit $ac_status); }; } &&
48206 { ac_try='test -s conftest$ac_exeext'
48207 { (case "(($ac_try" in
48208 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48209 *) ac_try_echo
=$ac_try;;
48211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48212 (eval "$ac_try") 2>&5
48214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48215 (exit $ac_status); }; }; then
48216 eval "$as_ac_var=yes"
48218 echo "$as_me: failed program was:" >&5
48219 sed 's/^/| /' conftest.
$ac_ext >&5
48221 eval "$as_ac_var=no"
48224 rm -f core conftest.err conftest.
$ac_objext \
48225 conftest
$ac_exeext conftest.
$ac_ext
48227 ac_res
=`eval echo '${'$as_ac_var'}'`
48228 { echo "$as_me:$LINENO: result: $ac_res" >&5
48229 echo "${ECHO_T}$ac_res" >&6; }
48230 if test `eval echo '${'$as_ac_var'}'` = yes; then
48231 cat >>confdefs.h
<<_ACEOF
48232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48235 cat >>confdefs.h
<<\_ACEOF
48236 #define HAVE_SHL_LOAD 1
48243 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
48244 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
48245 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
48246 echo $ECHO_N "(cached) $ECHO_C" >&6
48248 ac_check_lib_save_LIBS
=$LIBS
48249 LIBS
="-lshl_load $LIBS"
48250 cat >conftest.
$ac_ext <<_ACEOF
48253 cat confdefs.h
>>conftest.
$ac_ext
48254 cat >>conftest.
$ac_ext <<_ACEOF
48255 /* end confdefs.h. */
48257 /* Override any GCC internal prototype to avoid an error.
48258 Use char because int might match the return type of a GCC
48259 builtin and then its argument prototype would still apply. */
48272 rm -f conftest.
$ac_objext conftest
$ac_exeext
48273 if { (ac_try
="$ac_link"
48274 case "(($ac_try" in
48275 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48276 *) ac_try_echo=$ac_try;;
48278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48279 (eval "$ac_link") 2>conftest.er1
48281 grep -v '^ *+' conftest.er1 >conftest.err
48283 cat conftest.err >&5
48284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48285 (exit $ac_status); } &&
48286 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48287 { (case "(($ac_try" in
48288 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48289 *) ac_try_echo
=$ac_try;;
48291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48292 (eval "$ac_try") 2>&5
48294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48295 (exit $ac_status); }; } &&
48296 { ac_try
='test -s conftest$ac_exeext'
48297 { (case "(($ac_try" in
48298 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48299 *) ac_try_echo=$ac_try;;
48301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48302 (eval "$ac_try") 2>&5
48304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48305 (exit $ac_status); }; }; then
48306 ac_cv_lib_shl_load_dld=yes
48308 echo "$as_me: failed program was:" >&5
48309 sed 's/^/| /' conftest.$ac_ext >&5
48311 ac_cv_lib_shl_load_dld=no
48314 rm -f core conftest.err conftest.$ac_objext \
48315 conftest$ac_exeext conftest.$ac_ext
48316 LIBS=$ac_check_lib_save_LIBS
48318 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
48319 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
48320 if test $ac_cv_lib_shl_load_dld = yes; then
48323 DL_LINK=" -ldld$DL_LINK"
48339 if test "$HAVE_DL_FUNCS" = 1; then
48341 for ac_func in dlerror
48343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48344 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48346 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48347 echo $ECHO_N "(cached) $ECHO_C" >&6
48349 cat >conftest.$ac_ext <<_ACEOF
48352 cat confdefs.h >>conftest.$ac_ext
48353 cat >>conftest.$ac_ext <<_ACEOF
48354 /* end confdefs.h. */
48355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48357 #define $ac_func innocuous_$ac_func
48359 /* System header to define __stub macros and hopefully few prototypes,
48360 which can conflict with char $ac_func (); below.
48361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48362 <limits.h> exists even on freestanding compilers. */
48365 # include <limits.h>
48367 # include <assert.h>
48372 /* Override any GCC internal prototype to avoid an error.
48373 Use char because int might match the return type of a GCC
48374 builtin and then its argument prototype would still apply. */
48379 /* The GNU C library defines this for functions which it implements
48380 to always fail with ENOSYS. Some functions are actually named
48381 something starting with __ and the normal name is an alias. */
48382 #if defined __stub_$ac_func || defined __stub___$ac_func
48389 return $ac_func ();
48394 rm -f conftest.$ac_objext conftest$ac_exeext
48395 if { (ac_try="$ac_link"
48396 case "(($ac_try" in
48397 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48398 *) ac_try_echo
=$ac_try;;
48400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48401 (eval "$ac_link") 2>conftest.er1
48403 grep -v '^ *+' conftest.er1
>conftest.err
48405 cat conftest.err
>&5
48406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48407 (exit $ac_status); } &&
48408 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48409 { (case "(($ac_try" in
48410 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48411 *) ac_try_echo=$ac_try;;
48413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48414 (eval "$ac_try") 2>&5
48416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48417 (exit $ac_status); }; } &&
48418 { ac_try='test -s conftest$ac_exeext'
48419 { (case "(($ac_try" in
48420 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48421 *) ac_try_echo
=$ac_try;;
48423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48424 (eval "$ac_try") 2>&5
48426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48427 (exit $ac_status); }; }; then
48428 eval "$as_ac_var=yes"
48430 echo "$as_me: failed program was:" >&5
48431 sed 's/^/| /' conftest.
$ac_ext >&5
48433 eval "$as_ac_var=no"
48436 rm -f core conftest.err conftest.
$ac_objext \
48437 conftest
$ac_exeext conftest.
$ac_ext
48439 ac_res
=`eval echo '${'$as_ac_var'}'`
48440 { echo "$as_me:$LINENO: result: $ac_res" >&5
48441 echo "${ECHO_T}$ac_res" >&6; }
48442 if test `eval echo '${'$as_ac_var'}'` = yes; then
48443 cat >>confdefs.h
<<_ACEOF
48444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48446 cat >>confdefs.h
<<\_ACEOF
48447 #define HAVE_DLERROR 1
48452 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
48453 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
48454 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
48455 echo $ECHO_N "(cached) $ECHO_C" >&6
48457 ac_check_lib_save_LIBS
=$LIBS
48459 cat >conftest.
$ac_ext <<_ACEOF
48462 cat confdefs.h
>>conftest.
$ac_ext
48463 cat >>conftest.
$ac_ext <<_ACEOF
48464 /* end confdefs.h. */
48466 /* Override any GCC internal prototype to avoid an error.
48467 Use char because int might match the return type of a GCC
48468 builtin and then its argument prototype would still apply. */
48481 rm -f conftest.
$ac_objext conftest
$ac_exeext
48482 if { (ac_try
="$ac_link"
48483 case "(($ac_try" in
48484 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48485 *) ac_try_echo=$ac_try;;
48487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48488 (eval "$ac_link") 2>conftest.er1
48490 grep -v '^ *+' conftest.er1 >conftest.err
48492 cat conftest.err >&5
48493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48494 (exit $ac_status); } &&
48495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48496 { (case "(($ac_try" in
48497 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48498 *) ac_try_echo
=$ac_try;;
48500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48501 (eval "$ac_try") 2>&5
48503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48504 (exit $ac_status); }; } &&
48505 { ac_try
='test -s conftest$ac_exeext'
48506 { (case "(($ac_try" in
48507 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48508 *) ac_try_echo=$ac_try;;
48510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48511 (eval "$ac_try") 2>&5
48513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48514 (exit $ac_status); }; }; then
48515 ac_cv_lib_dl_dlerror=yes
48517 echo "$as_me: failed program was:" >&5
48518 sed 's/^/| /' conftest.$ac_ext >&5
48520 ac_cv_lib_dl_dlerror=no
48523 rm -f core conftest.err conftest.$ac_objext \
48524 conftest$ac_exeext conftest.$ac_ext
48525 LIBS=$ac_check_lib_save_LIBS
48527 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
48528 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
48529 if test $ac_cv_lib_dl_dlerror = yes; then
48530 cat >>confdefs.h <<\_ACEOF
48531 #define HAVE_DLERROR 1
48544 if test "$HAVE_DL_FUNCS" = 0; then
48545 if test "$HAVE_SHL_FUNCS" = 0; then
48546 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
48547 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
48548 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
48549 wxUSE_DYNAMIC_LOADER=no
48550 wxUSE_DYNLIB_CLASS=no
48552 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
48553 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
48560 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
48561 cat >>confdefs.h <<\_ACEOF
48562 #define wxUSE_DYNAMIC_LOADER 1
48566 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
48567 cat >>confdefs.h <<\_ACEOF
48568 #define wxUSE_DYNLIB_CLASS 1
48575 if test "$wxUSE_PLUGINS" = "yes" ; then
48576 if test "$wxUSE_SHARED" = "no" ; then
48577 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
48578 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
48581 if test "$wxUSE_MONOLITHIC" = "yes" ; then
48582 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
48583 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
48586 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
48587 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
48588 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
48591 if test "$wxUSE_PLUGINS" = "yes" ; then
48592 cat >>confdefs.h <<\_ACEOF
48593 #define wxUSE_PLUGINS 1
48600 if test "$wxUSE_STL" = "yes"; then
48601 cat >>confdefs.h <<\_ACEOF
48602 #define wxUSE_STL 1
48607 if test "$wxUSE_APPLE_IEEE" = "yes"; then
48608 cat >>confdefs.h <<\_ACEOF
48609 #define wxUSE_APPLE_IEEE 1
48614 if test "$wxUSE_TIMER" = "yes"; then
48615 cat >>confdefs.h <<\_ACEOF
48616 #define wxUSE_TIMER 1
48621 if test "$USE_UNIX" = "1" ; then
48622 if test "$wxUSE_MGL" != 1; then
48623 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
48624 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
48625 if test "${ac_cv_header_sys_soundcard+set}" = set; then
48626 echo $ECHO_N "(cached) $ECHO_C" >&6
48629 cat >conftest.$ac_ext <<_ACEOF
48632 cat confdefs.h >>conftest.$ac_ext
48633 cat >>conftest.$ac_ext <<_ACEOF
48634 /* end confdefs.h. */
48636 #include <sys/ioctl.h>
48637 #include <sys/soundcard.h>
48643 ioctl(0, SNDCTL_DSP_SPEED, 0);
48649 rm -f conftest.$ac_objext conftest$ac_exeext
48650 if { (ac_try="$ac_link"
48651 case "(($ac_try" in
48652 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48653 *) ac_try_echo
=$ac_try;;
48655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48656 (eval "$ac_link") 2>conftest.er1
48658 grep -v '^ *+' conftest.er1
>conftest.err
48660 cat conftest.err
>&5
48661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48662 (exit $ac_status); } &&
48663 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48664 { (case "(($ac_try" in
48665 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48666 *) ac_try_echo=$ac_try;;
48668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48669 (eval "$ac_try") 2>&5
48671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48672 (exit $ac_status); }; } &&
48673 { ac_try='test -s conftest$ac_exeext'
48674 { (case "(($ac_try" in
48675 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48676 *) ac_try_echo
=$ac_try;;
48678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48679 (eval "$ac_try") 2>&5
48681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48682 (exit $ac_status); }; }; then
48683 ac_cv_header_sys_soundcard
=yes
48685 echo "$as_me: failed program was:" >&5
48686 sed 's/^/| /' conftest.
$ac_ext >&5
48690 LIBS
="$saveLibs -lossaudio"
48691 cat >conftest.
$ac_ext <<_ACEOF
48694 cat confdefs.h
>>conftest.
$ac_ext
48695 cat >>conftest.
$ac_ext <<_ACEOF
48696 /* end confdefs.h. */
48698 #include <sys/ioctl.h>
48699 #include <sys/soundcard.h>
48705 ioctl(0, SNDCTL_DSP_SPEED, 0);
48711 rm -f conftest.
$ac_objext conftest
$ac_exeext
48712 if { (ac_try
="$ac_link"
48713 case "(($ac_try" in
48714 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48715 *) ac_try_echo=$ac_try;;
48717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48718 (eval "$ac_link") 2>conftest.er1
48720 grep -v '^ *+' conftest.er1 >conftest.err
48722 cat conftest.err >&5
48723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48724 (exit $ac_status); } &&
48725 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48726 { (case "(($ac_try" in
48727 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48728 *) ac_try_echo
=$ac_try;;
48730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48731 (eval "$ac_try") 2>&5
48733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48734 (exit $ac_status); }; } &&
48735 { ac_try
='test -s conftest$ac_exeext'
48736 { (case "(($ac_try" in
48737 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48738 *) ac_try_echo=$ac_try;;
48740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48741 (eval "$ac_try") 2>&5
48743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48744 (exit $ac_status); }; }; then
48745 ac_cv_header_sys_soundcard=yes
48747 echo "$as_me: failed program was:" >&5
48748 sed 's/^/| /' conftest.$ac_ext >&5
48752 ac_cv_header_sys_soundcard=no
48757 rm -f core conftest.err conftest.$ac_objext \
48758 conftest$ac_exeext conftest.$ac_ext
48763 rm -f core conftest.err conftest.$ac_objext \
48764 conftest$ac_exeext conftest.$ac_ext
48767 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
48768 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
48771 if test "$ac_cv_header_sys_soundcard" = "yes"; then
48772 cat >>confdefs.h <<\_ACEOF
48773 #define HAVE_SYS_SOUNDCARD_H 1
48777 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
48782 if test "$wxUSE_SOUND" = "yes"; then
48783 if test "$USE_UNIX" = "1" ; then
48784 if test "$wxUSE_LIBSDL" != "no"; then
48786 # Check whether --with-sdl-prefix was given.
48787 if test "${with_sdl_prefix+set}" = set; then
48788 withval=$with_sdl_prefix; sdl_prefix="$withval"
48794 # Check whether --with-sdl-exec-prefix was given.
48795 if test "${with_sdl_exec_prefix+set}" = set; then
48796 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
48801 # Check whether --enable-sdltest was given.
48802 if test "${enable_sdltest+set}" = set; then
48803 enableval=$enable_sdltest;
48809 if test x$sdl_exec_prefix != x ; then
48810 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
48811 if test x${SDL_CONFIG+set} != xset ; then
48812 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
48815 if test x$sdl_prefix != x ; then
48816 sdl_args="$sdl_args --prefix=$sdl_prefix"
48817 if test x${SDL_CONFIG+set} != xset ; then
48818 SDL_CONFIG=$sdl_prefix/bin/sdl-config
48822 if test "x$prefix" != xNONE; then
48823 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
48825 # Extract the first word of "sdl-config", so it can be a program name with args.
48826 set dummy sdl-config; ac_word=$2
48827 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48829 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
48830 echo $ECHO_N "(cached) $ECHO_C" >&6
48832 case $SDL_CONFIG in
48834 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
48837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48838 for as_dir in $PATH
48841 test -z "$as_dir" && as_dir=.
48842 for ac_exec_ext in '' $ac_executable_extensions; do
48843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
48844 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
48845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48852 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
48856 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
48857 if test -n "$SDL_CONFIG"; then
48858 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
48859 echo "${ECHO_T}$SDL_CONFIG" >&6; }
48861 { echo "$as_me:$LINENO: result: no" >&5
48862 echo "${ECHO_T}no" >&6; }
48866 min_sdl_version=1.2.0
48867 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
48868 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
48870 if test "$SDL_CONFIG" = "no" ; then
48873 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
48874 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
48876 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
48877 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48878 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
48879 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48880 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
48881 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48882 if test "x$enable_sdltest" = "xyes" ; then
48883 ac_save_CFLAGS="$CFLAGS"
48884 ac_save_CXXFLAGS="$CXXFLAGS"
48885 ac_save_LIBS="$LIBS"
48886 CFLAGS="$CFLAGS $SDL_CFLAGS"
48887 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
48888 LIBS="$LIBS $SDL_LIBS"
48890 if test "$cross_compiling" = yes; then
48891 echo $ac_n "cross compiling; assumed OK... $ac_c"
48893 cat >conftest.$ac_ext <<_ACEOF
48896 cat confdefs.h >>conftest.$ac_ext
48897 cat >>conftest.$ac_ext <<_ACEOF
48898 /* end confdefs.h. */
48901 #include <stdlib.h>
48902 #include <string.h>
48906 my_strdup (char *str)
48912 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
48913 strcpy (new_str, str);
48921 int main (int argc, char *argv[])
48923 int major, minor, micro;
48926 /* This hangs on some systems (?)
48927 system ("touch conf.sdltest");
48929 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
48931 /* HP/UX 9 (%@#!) writes to sscanf strings */
48932 tmp_version = my_strdup("$min_sdl_version");
48933 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
48934 printf("%s, bad version string\n", "$min_sdl_version");
48938 if (($sdl_major_version > major) ||
48939 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
48940 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
48946 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
48947 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
48948 printf("*** best to upgrade to the required version.\n");
48949 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
48950 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
48951 printf("*** config.cache before re-running configure\n");
48958 rm -f conftest$ac_exeext
48959 if { (ac_try="$ac_link"
48960 case "(($ac_try" in
48961 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48962 *) ac_try_echo
=$ac_try;;
48964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48965 (eval "$ac_link") 2>&5
48967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48968 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
48969 { (case "(($ac_try" in
48970 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48971 *) ac_try_echo=$ac_try;;
48973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48974 (eval "$ac_try") 2>&5
48976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48977 (exit $ac_status); }; }; then
48980 echo "$as_me: program exited with status $ac_status" >&5
48981 echo "$as_me: failed program was:" >&5
48982 sed 's/^/| /' conftest.$ac_ext >&5
48984 ( exit $ac_status )
48987 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
48991 CFLAGS="$ac_save_CFLAGS"
48992 CXXFLAGS="$ac_save_CXXFLAGS"
48993 LIBS="$ac_save_LIBS"
48996 if test "x$no_sdl" = x ; then
48997 { echo "$as_me:$LINENO: result: yes" >&5
48998 echo "${ECHO_T}yes" >&6; }
49000 EXTRALIBS_SDL="$SDL_LIBS"
49001 CFLAGS="$SDL_CFLAGS $CFLAGS"
49002 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
49003 cat >>confdefs.h <<\_ACEOF
49004 #define wxUSE_LIBSDL 1
49009 { echo "$as_me:$LINENO: result: no" >&5
49010 echo "${ECHO_T}no" >&6; }
49011 if test "$SDL_CONFIG" = "no" ; then
49012 echo "*** The sdl-config script installed by SDL could not be found"
49013 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
49014 echo "*** your path, or set the SDL_CONFIG environment variable to the"
49015 echo "*** full path to sdl-config."
49017 if test -f conf.sdltest ; then
49020 echo "*** Could not run SDL test program, checking why..."
49021 CFLAGS="$CFLAGS $SDL_CFLAGS"
49022 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
49023 LIBS="$LIBS $SDL_LIBS"
49024 cat >conftest.$ac_ext <<_ACEOF
49027 cat confdefs.h >>conftest.$ac_ext
49028 cat >>conftest.$ac_ext <<_ACEOF
49029 /* end confdefs.h. */
49034 int main(int argc, char *argv[])
49037 #define main K_and_R_C_main
49047 rm -f conftest.$ac_objext conftest$ac_exeext
49048 if { (ac_try="$ac_link"
49049 case "(($ac_try" in
49050 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49051 *) ac_try_echo
=$ac_try;;
49053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49054 (eval "$ac_link") 2>conftest.er1
49056 grep -v '^ *+' conftest.er1
>conftest.err
49058 cat conftest.err
>&5
49059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49060 (exit $ac_status); } &&
49061 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49062 { (case "(($ac_try" in
49063 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49064 *) ac_try_echo=$ac_try;;
49066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49067 (eval "$ac_try") 2>&5
49069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49070 (exit $ac_status); }; } &&
49071 { ac_try='test -s conftest$ac_exeext'
49072 { (case "(($ac_try" in
49073 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49074 *) ac_try_echo
=$ac_try;;
49076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49077 (eval "$ac_try") 2>&5
49079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49080 (exit $ac_status); }; }; then
49081 echo "*** The test program compiled, but did not run. This usually means"
49082 echo "*** that the run-time linker is not finding SDL or finding the wrong"
49083 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
49084 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
49085 echo "*** to the installed location Also, make sure you have run ldconfig if that"
49086 echo "*** is required on your system"
49088 echo "*** If you have an old version installed, it is best to remove it, although"
49089 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
49091 echo "$as_me: failed program was:" >&5
49092 sed 's/^/| /' conftest.
$ac_ext >&5
49094 echo "*** The test program failed to compile or link. See the file config.log for the"
49095 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
49096 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
49097 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
49100 rm -f core conftest.err conftest.
$ac_objext \
49101 conftest
$ac_exeext conftest.
$ac_ext
49102 CFLAGS
="$ac_save_CFLAGS"
49103 CXXFLAGS
="$ac_save_CXXFLAGS"
49104 LIBS
="$ac_save_LIBS"
49115 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
49120 if test "$wxUSE_MGL" = 1; then
49121 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
49122 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
49128 if test "$wxUSE_SOUND" = "yes"; then
49129 cat >>confdefs.h
<<\_ACEOF
49130 #define wxUSE_SOUND 1
49133 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
49136 if test "$WXGTK20" = 1; then
49139 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
49140 if test -n "$ac_tool_prefix"; then
49141 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
49142 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
49143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49145 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
49146 echo $ECHO_N "(cached) $ECHO_C" >&6
49148 case $PKG_CONFIG in
49150 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
49153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49154 for as_dir
in $PATH
49157 test -z "$as_dir" && as_dir
=.
49158 for ac_exec_ext
in '' $ac_executable_extensions; do
49159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
49160 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
49161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49171 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
49172 if test -n "$PKG_CONFIG"; then
49173 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
49174 echo "${ECHO_T}$PKG_CONFIG" >&6; }
49176 { echo "$as_me:$LINENO: result: no" >&5
49177 echo "${ECHO_T}no" >&6; }
49182 if test -z "$ac_cv_path_PKG_CONFIG"; then
49183 ac_pt_PKG_CONFIG
=$PKG_CONFIG
49184 # Extract the first word of "pkg-config", so it can be a program name with args.
49185 set dummy pkg
-config; ac_word
=$2
49186 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49188 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
49189 echo $ECHO_N "(cached) $ECHO_C" >&6
49191 case $ac_pt_PKG_CONFIG in
49193 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
49196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49197 for as_dir
in $PATH
49200 test -z "$as_dir" && as_dir
=.
49201 for ac_exec_ext
in '' $ac_executable_extensions; do
49202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
49203 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
49204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49214 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
49215 if test -n "$ac_pt_PKG_CONFIG"; then
49216 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
49217 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
49219 { echo "$as_me:$LINENO: result: no" >&5
49220 echo "${ECHO_T}no" >&6; }
49223 if test "x$ac_pt_PKG_CONFIG" = x
; then
49226 case $cross_compiling:$ac_tool_warned in
49228 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49229 whose name does not start with the host triplet. If you think this
49230 configuration is useful to you, please write to autoconf@gnu.org." >&5
49231 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49232 whose name does not start with the host triplet. If you think this
49233 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49234 ac_tool_warned
=yes ;;
49236 PKG_CONFIG
=$ac_pt_PKG_CONFIG
49239 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
49243 if test -n "$PKG_CONFIG"; then
49244 _pkg_min_version
=0.9.0
49245 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
49246 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
49247 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
49248 { echo "$as_me:$LINENO: result: yes" >&5
49249 echo "${ECHO_T}yes" >&6; }
49251 { echo "$as_me:$LINENO: result: no" >&5
49252 echo "${ECHO_T}no" >&6; }
49258 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
49259 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49263 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
49264 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
49266 if test -n "$PKG_CONFIG"; then
49267 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
49268 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
49270 if test -n "$PKG_CONFIG" && \
49271 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
49272 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
49274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49275 (exit $ac_status); }; then
49276 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
49284 if test -n "$PKG_CONFIG"; then
49285 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
49286 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
49288 if test -n "$PKG_CONFIG" && \
49289 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
49290 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
49292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49293 (exit $ac_status); }; then
49294 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
49305 if test $pkg_failed = yes; then
49307 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49308 _pkg_short_errors_supported
=yes
49310 _pkg_short_errors_supported
=no
49312 if test $_pkg_short_errors_supported = yes; then
49313 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
49315 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
49317 # Put the nasty error message in config.log where it belongs
49318 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
49321 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
49322 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
49323 wxUSE_LIBGNOMEPRINT
="no"
49326 elif test $pkg_failed = untried
; then
49328 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
49329 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
49330 wxUSE_LIBGNOMEPRINT
="no"
49334 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
49335 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
49336 { echo "$as_me:$LINENO: result: yes" >&5
49337 echo "${ECHO_T}yes" >&6; }
49339 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
49340 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
49341 cat >>confdefs.h
<<\_ACEOF
49342 #define wxUSE_LIBGNOMEPRINT 1
49350 if test "$wxUSE_MIMETYPE" = "yes" ; then
49351 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49355 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
49356 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
49358 if test -n "$PKG_CONFIG"; then
49359 if test -n "$GNOMEVFS_CFLAGS"; then
49360 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
49362 if test -n "$PKG_CONFIG" && \
49363 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
49364 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
49366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49367 (exit $ac_status); }; then
49368 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
49376 if test -n "$PKG_CONFIG"; then
49377 if test -n "$GNOMEVFS_LIBS"; then
49378 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
49380 if test -n "$PKG_CONFIG" && \
49381 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
49382 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
49384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49385 (exit $ac_status); }; then
49386 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
49397 if test $pkg_failed = yes; then
49399 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49400 _pkg_short_errors_supported
=yes
49402 _pkg_short_errors_supported
=no
49404 if test $_pkg_short_errors_supported = yes; then
49405 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
49407 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
49409 # Put the nasty error message in config.log where it belongs
49410 echo "$GNOMEVFS_PKG_ERRORS" >&5
49413 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
49414 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
49415 wxUSE_LIBGNOMEVFS
="no"
49418 elif test $pkg_failed = untried
; then
49420 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
49421 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
49422 wxUSE_LIBGNOMEVFS
="no"
49426 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
49427 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
49428 { echo "$as_me:$LINENO: result: yes" >&5
49429 echo "${ECHO_T}yes" >&6; }
49431 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
49432 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
49433 cat >>confdefs.h
<<\_ACEOF
49434 #define wxUSE_LIBGNOMEVFS 1
49442 if test "$wxUSE_LIBHILDON" = "yes" ; then
49445 { echo "$as_me:$LINENO: checking for HILDON" >&5
49446 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
49448 if test -n "$PKG_CONFIG"; then
49449 if test -n "$HILDON_CFLAGS"; then
49450 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
49452 if test -n "$PKG_CONFIG" && \
49453 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
49454 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
49456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49457 (exit $ac_status); }; then
49458 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
49466 if test -n "$PKG_CONFIG"; then
49467 if test -n "$HILDON_LIBS"; then
49468 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
49470 if test -n "$PKG_CONFIG" && \
49471 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
49472 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
49474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49475 (exit $ac_status); }; then
49476 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
49487 if test $pkg_failed = yes; then
49489 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49490 _pkg_short_errors_supported
=yes
49492 _pkg_short_errors_supported
=no
49494 if test $_pkg_short_errors_supported = yes; then
49495 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
49497 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
49499 # Put the nasty error message in config.log where it belongs
49500 echo "$HILDON_PKG_ERRORS" >&5
49503 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
49504 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
49505 wxUSE_LIBHILDON
="no"
49508 elif test $pkg_failed = untried
; then
49510 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
49511 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
49512 wxUSE_LIBHILDON
="no"
49516 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
49517 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
49518 { echo "$as_me:$LINENO: result: yes" >&5
49519 echo "${ECHO_T}yes" >&6; }
49521 EXTRALIBS_HILDON
="$HILDON_LIBS"
49522 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
49523 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
49524 cat >>confdefs.h
<<\_ACEOF
49525 #define wxUSE_LIBHILDON 1
49533 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
49534 cat >>confdefs.h
<<\_ACEOF
49535 #define wxUSE_CMDLINE_PARSER 1
49540 if test "$wxUSE_STOPWATCH" = "yes"; then
49541 cat >>confdefs.h
<<\_ACEOF
49542 #define wxUSE_STOPWATCH 1
49547 if test "$wxUSE_DATETIME" = "yes"; then
49548 cat >>confdefs.h
<<\_ACEOF
49549 #define wxUSE_DATETIME 1
49554 if test "$wxUSE_FILE" = "yes"; then
49555 cat >>confdefs.h
<<\_ACEOF
49556 #define wxUSE_FILE 1
49561 if test "$wxUSE_FFILE" = "yes"; then
49562 cat >>confdefs.h
<<\_ACEOF
49563 #define wxUSE_FFILE 1
49568 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
49569 if test "$wxUSE_STREAMS" != yes; then
49570 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
49571 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
49572 wxUSE_ARCHIVE_STREAMS
=no
49574 cat >>confdefs.h
<<\_ACEOF
49575 #define wxUSE_ARCHIVE_STREAMS 1
49581 if test "$wxUSE_ZIPSTREAM" = "yes"; then
49582 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
49583 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
49584 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
49585 elif test "$wxUSE_ZLIB" = "no"; then
49586 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
49587 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
49589 cat >>confdefs.h
<<\_ACEOF
49590 #define wxUSE_ZIPSTREAM 1
49596 if test "$wxUSE_TARSTREAM" = "yes"; then
49597 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
49598 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
49599 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
49601 cat >>confdefs.h
<<\_ACEOF
49602 #define wxUSE_TARSTREAM 1
49608 if test "$wxUSE_FILESYSTEM" = "yes"; then
49609 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
49610 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
49611 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
49612 wxUSE_FILESYSTEM
=no
49614 cat >>confdefs.h
<<\_ACEOF
49615 #define wxUSE_FILESYSTEM 1
49621 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
49622 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
49623 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
49624 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
49626 cat >>confdefs.h
<<\_ACEOF
49627 #define wxUSE_FS_ARCHIVE 1
49633 if test "$wxUSE_FS_ZIP" = "yes"; then
49634 if test "$wxUSE_FS_ARCHIVE" != yes; then
49635 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
49636 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
49638 cat >>confdefs.h
<<\_ACEOF
49639 #define wxUSE_FS_ZIP 1
49645 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
49646 if test "$USE_UNIX" != 1; then
49647 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
49648 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
49649 wxUSE_ON_FATAL_EXCEPTION
=no
49651 cat >>confdefs.h
<<\_ACEOF
49652 #define wxUSE_ON_FATAL_EXCEPTION 1
49658 if test "$wxUSE_STACKWALKER" = "yes"; then
49659 cat >>confdefs.h
<<\_ACEOF
49660 #define wxUSE_STACKWALKER 1
49665 if test "$wxUSE_DEBUGREPORT" = "yes"; then
49666 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
49667 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
49668 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
49669 wxUSE_DEBUGREPORT
=no
49671 cat >>confdefs.h
<<\_ACEOF
49672 #define wxUSE_DEBUGREPORT 1
49675 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
49676 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
49681 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
49682 cat >>confdefs.h
<<\_ACEOF
49683 #define wxUSE_SNGLINST_CHECKER 1
49688 if test "$wxUSE_BUSYINFO" = "yes"; then
49689 cat >>confdefs.h
<<\_ACEOF
49690 #define wxUSE_BUSYINFO 1
49695 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
49696 cat >>confdefs.h
<<\_ACEOF
49697 #define wxUSE_STD_IOSTREAM 1
49702 if test "$wxUSE_STD_STRING" = "yes"; then
49703 cat >>confdefs.h
<<\_ACEOF
49704 #define wxUSE_STD_STRING 1
49709 if test "$wxUSE_STDPATHS" = "yes"; then
49710 cat >>confdefs.h
<<\_ACEOF
49711 #define wxUSE_STDPATHS 1
49716 if test "$wxUSE_TEXTBUFFER" = "yes"; then
49717 cat >>confdefs.h
<<\_ACEOF
49718 #define wxUSE_TEXTBUFFER 1
49723 if test "$wxUSE_TEXTFILE" = "yes"; then
49724 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
49725 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
49726 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
49728 cat >>confdefs.h
<<\_ACEOF
49729 #define wxUSE_TEXTFILE 1
49735 if test "$wxUSE_CONFIG" = "yes" ; then
49736 if test "$wxUSE_TEXTFILE" != "yes"; then
49737 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
49738 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
49740 cat >>confdefs.h
<<\_ACEOF
49741 #define wxUSE_CONFIG 1
49744 cat >>confdefs.h
<<\_ACEOF
49745 #define wxUSE_CONFIG_NATIVE 1
49748 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
49752 if test "$wxUSE_INTL" = "yes" ; then
49753 if test "$wxUSE_FILE" != "yes"; then
49754 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
49755 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
49757 cat >>confdefs.h
<<\_ACEOF
49758 #define wxUSE_INTL 1
49761 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
49762 GUIDIST
="$GUIDIST INTL_DIST"
49766 if test "$wxUSE_LOG" = "yes"; then
49767 cat >>confdefs.h
<<\_ACEOF
49768 #define wxUSE_LOG 1
49772 if test "$wxUSE_LOGGUI" = "yes"; then
49773 cat >>confdefs.h
<<\_ACEOF
49774 #define wxUSE_LOGGUI 1
49779 if test "$wxUSE_LOGWINDOW" = "yes"; then
49780 cat >>confdefs.h
<<\_ACEOF
49781 #define wxUSE_LOGWINDOW 1
49786 if test "$wxUSE_LOGDIALOG" = "yes"; then
49787 cat >>confdefs.h
<<\_ACEOF
49788 #define wxUSE_LOG_DIALOG 1
49793 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
49796 if test "$wxUSE_LONGLONG" = "yes"; then
49797 cat >>confdefs.h
<<\_ACEOF
49798 #define wxUSE_LONGLONG 1
49803 if test "$wxUSE_GEOMETRY" = "yes"; then
49804 cat >>confdefs.h
<<\_ACEOF
49805 #define wxUSE_GEOMETRY 1
49810 if test "$wxUSE_STREAMS" = "yes" ; then
49811 cat >>confdefs.h
<<\_ACEOF
49812 #define wxUSE_STREAMS 1
49817 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
49818 cat >>confdefs.h
<<\_ACEOF
49819 #define wxUSE_PRINTF_POS_PARAMS 1
49826 if test "$wxUSE_DATETIME" = "yes"; then
49828 for ac_func
in strptime
49830 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49831 { echo "$as_me:$LINENO: checking for $ac_func" >&5
49832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
49833 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
49834 echo $ECHO_N "(cached) $ECHO_C" >&6
49836 cat >conftest.
$ac_ext <<_ACEOF
49839 cat confdefs.h
>>conftest.
$ac_ext
49840 cat >>conftest.
$ac_ext <<_ACEOF
49841 /* end confdefs.h. */
49842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49844 #define $ac_func innocuous_$ac_func
49846 /* System header to define __stub macros and hopefully few prototypes,
49847 which can conflict with char $ac_func (); below.
49848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49849 <limits.h> exists even on freestanding compilers. */
49852 # include <limits.h>
49854 # include <assert.h>
49859 /* Override any GCC internal prototype to avoid an error.
49860 Use char because int might match the return type of a GCC
49861 builtin and then its argument prototype would still apply. */
49866 /* The GNU C library defines this for functions which it implements
49867 to always fail with ENOSYS. Some functions are actually named
49868 something starting with __ and the normal name is an alias. */
49869 #if defined __stub_$ac_func || defined __stub___$ac_func
49876 return $ac_func ();
49881 rm -f conftest.
$ac_objext conftest
$ac_exeext
49882 if { (ac_try
="$ac_link"
49883 case "(($ac_try" in
49884 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49885 *) ac_try_echo=$ac_try;;
49887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49888 (eval "$ac_link") 2>conftest.er1
49890 grep -v '^ *+' conftest.er1 >conftest.err
49892 cat conftest.err >&5
49893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49894 (exit $ac_status); } &&
49895 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49896 { (case "(($ac_try" in
49897 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49898 *) ac_try_echo
=$ac_try;;
49900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49901 (eval "$ac_try") 2>&5
49903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49904 (exit $ac_status); }; } &&
49905 { ac_try
='test -s conftest$ac_exeext'
49906 { (case "(($ac_try" in
49907 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49908 *) ac_try_echo=$ac_try;;
49910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49911 (eval "$ac_try") 2>&5
49913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49914 (exit $ac_status); }; }; then
49915 eval "$as_ac_var=yes"
49917 echo "$as_me: failed program was:" >&5
49918 sed 's/^/| /' conftest.$ac_ext >&5
49920 eval "$as_ac_var=no"
49923 rm -f core conftest.err conftest.$ac_objext \
49924 conftest$ac_exeext conftest.$ac_ext
49926 ac_res=`eval echo '${'$as_ac_var'}'`
49927 { echo "$as_me:$LINENO: result: $ac_res" >&5
49928 echo "${ECHO_T}$ac_res" >&6; }
49929 if test `eval echo '${'$as_ac_var'}'` = yes; then
49930 cat >>confdefs.h <<_ACEOF
49931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49937 if test "$ac_cv_func_strptime" = "yes"; then
49938 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
49939 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
49940 if test "${wx_cv_func_strptime_decl+set}" = set; then
49941 echo $ECHO_N "(cached) $ECHO_C" >&6
49945 ac_cpp='$CXXCPP $CPPFLAGS'
49946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49950 cat >conftest.$ac_ext <<_ACEOF
49953 cat confdefs.h >>conftest.$ac_ext
49954 cat >>conftest.$ac_ext <<_ACEOF
49955 /* end confdefs.h. */
49964 strptime("foo", "bar", &t);
49970 rm -f conftest.$ac_objext
49971 if { (ac_try="$ac_compile"
49972 case "(($ac_try" in
49973 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49974 *) ac_try_echo
=$ac_try;;
49976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49977 (eval "$ac_compile") 2>conftest.er1
49979 grep -v '^ *+' conftest.er1
>conftest.err
49981 cat conftest.err
>&5
49982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49983 (exit $ac_status); } &&
49984 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
49985 { (case "(($ac_try" in
49986 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49987 *) ac_try_echo=$ac_try;;
49989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49990 (eval "$ac_try") 2>&5
49992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49993 (exit $ac_status); }; } &&
49994 { ac_try='test -s conftest.$ac_objext'
49995 { (case "(($ac_try" in
49996 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49997 *) ac_try_echo
=$ac_try;;
49999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50000 (eval "$ac_try") 2>&5
50002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50003 (exit $ac_status); }; }; then
50004 wx_cv_func_strptime_decl
=yes
50006 echo "$as_me: failed program was:" >&5
50007 sed 's/^/| /' conftest.
$ac_ext >&5
50009 wx_cv_func_strptime_decl
=no
50013 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50015 ac_cpp
='$CPP $CPPFLAGS'
50016 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50017 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50018 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
50023 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
50024 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
50026 if test "$wx_cv_func_strptime_decl" = "yes"; then
50027 cat >>confdefs.h
<<\_ACEOF
50028 #define HAVE_STRPTIME_DECL 1
50033 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
50034 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
50035 if test "${wx_cv_var_timezone+set}" = set; then
50036 echo $ECHO_N "(cached) $ECHO_C" >&6
50040 ac_cpp
='$CXXCPP $CPPFLAGS'
50041 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50042 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50043 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
50045 cat >conftest.
$ac_ext <<_ACEOF
50048 cat confdefs.h
>>conftest.
$ac_ext
50049 cat >>conftest.
$ac_ext <<_ACEOF
50050 /* end confdefs.h. */
50065 rm -f conftest.
$ac_objext
50066 if { (ac_try
="$ac_compile"
50067 case "(($ac_try" in
50068 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50069 *) ac_try_echo=$ac_try;;
50071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50072 (eval "$ac_compile") 2>conftest.er1
50074 grep -v '^ *+' conftest.er1 >conftest.err
50076 cat conftest.err >&5
50077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50078 (exit $ac_status); } &&
50079 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
50080 { (case "(($ac_try" in
50081 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50082 *) ac_try_echo
=$ac_try;;
50084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50085 (eval "$ac_try") 2>&5
50087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50088 (exit $ac_status); }; } &&
50089 { ac_try
='test -s conftest.$ac_objext'
50090 { (case "(($ac_try" in
50091 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50092 *) ac_try_echo=$ac_try;;
50094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50095 (eval "$ac_try") 2>&5
50097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50098 (exit $ac_status); }; }; then
50100 wx_cv_var_timezone=timezone
50103 echo "$as_me: failed program was:" >&5
50104 sed 's/^/| /' conftest.$ac_ext >&5
50107 cat >conftest.$ac_ext <<_ACEOF
50110 cat confdefs.h >>conftest.$ac_ext
50111 cat >>conftest.$ac_ext <<_ACEOF
50112 /* end confdefs.h. */
50127 rm -f conftest.$ac_objext
50128 if { (ac_try="$ac_compile"
50129 case "(($ac_try" in
50130 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50131 *) ac_try_echo
=$ac_try;;
50133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50134 (eval "$ac_compile") 2>conftest.er1
50136 grep -v '^ *+' conftest.er1
>conftest.err
50138 cat conftest.err
>&5
50139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50140 (exit $ac_status); } &&
50141 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
50142 { (case "(($ac_try" in
50143 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50144 *) ac_try_echo=$ac_try;;
50146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50147 (eval "$ac_try") 2>&5
50149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50150 (exit $ac_status); }; } &&
50151 { ac_try='test -s conftest.$ac_objext'
50152 { (case "(($ac_try" in
50153 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50154 *) ac_try_echo
=$ac_try;;
50156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50157 (eval "$ac_try") 2>&5
50159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50160 (exit $ac_status); }; }; then
50162 wx_cv_var_timezone
=_timezone
50165 echo "$as_me: failed program was:" >&5
50166 sed 's/^/| /' conftest.
$ac_ext >&5
50169 cat >conftest.
$ac_ext <<_ACEOF
50172 cat confdefs.h
>>conftest.
$ac_ext
50173 cat >>conftest.
$ac_ext <<_ACEOF
50174 /* end confdefs.h. */
50189 rm -f conftest.
$ac_objext
50190 if { (ac_try
="$ac_compile"
50191 case "(($ac_try" in
50192 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50193 *) ac_try_echo=$ac_try;;
50195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50196 (eval "$ac_compile") 2>conftest.er1
50198 grep -v '^ *+' conftest.er1 >conftest.err
50200 cat conftest.err >&5
50201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50202 (exit $ac_status); } &&
50203 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
50204 { (case "(($ac_try" in
50205 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50206 *) ac_try_echo
=$ac_try;;
50208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50209 (eval "$ac_try") 2>&5
50211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50212 (exit $ac_status); }; } &&
50213 { ac_try
='test -s conftest.$ac_objext'
50214 { (case "(($ac_try" in
50215 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50216 *) ac_try_echo=$ac_try;;
50218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50219 (eval "$ac_try") 2>&5
50221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50222 (exit $ac_status); }; }; then
50224 wx_cv_var_timezone=__timezone
50227 echo "$as_me: failed program was:" >&5
50228 sed 's/^/| /' conftest.$ac_ext >&5
50231 if test "$USE_DOS" = 0 ; then
50232 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
50233 echo "$as_me: WARNING: no timezone variable" >&2;}
50239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50251 ac_cpp='$CPP $CPPFLAGS'
50252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50259 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
50260 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
50262 if test "x$wx_cv_var_timezone" != x ; then
50263 cat >>confdefs.h <<_ACEOF
50264 #define WX_TIMEZONE $wx_cv_var_timezone
50270 for ac_func in localtime
50272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50273 { echo "$as_me:$LINENO: checking for $ac_func" >&5
50274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
50275 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
50276 echo $ECHO_N "(cached) $ECHO_C" >&6
50278 cat >conftest.$ac_ext <<_ACEOF
50281 cat confdefs.h >>conftest.$ac_ext
50282 cat >>conftest.$ac_ext <<_ACEOF
50283 /* end confdefs.h. */
50284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50286 #define $ac_func innocuous_$ac_func
50288 /* System header to define __stub macros and hopefully few prototypes,
50289 which can conflict with char $ac_func (); below.
50290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50291 <limits.h> exists even on freestanding compilers. */
50294 # include <limits.h>
50296 # include <assert.h>
50301 /* Override any GCC internal prototype to avoid an error.
50302 Use char because int might match the return type of a GCC
50303 builtin and then its argument prototype would still apply. */
50308 /* The GNU C library defines this for functions which it implements
50309 to always fail with ENOSYS. Some functions are actually named
50310 something starting with __ and the normal name is an alias. */
50311 #if defined __stub_$ac_func || defined __stub___$ac_func
50318 return $ac_func ();
50323 rm -f conftest.$ac_objext conftest$ac_exeext
50324 if { (ac_try="$ac_link"
50325 case "(($ac_try" in
50326 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50327 *) ac_try_echo
=$ac_try;;
50329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50330 (eval "$ac_link") 2>conftest.er1
50332 grep -v '^ *+' conftest.er1
>conftest.err
50334 cat conftest.err
>&5
50335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50336 (exit $ac_status); } &&
50337 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50338 { (case "(($ac_try" in
50339 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50340 *) ac_try_echo=$ac_try;;
50342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50343 (eval "$ac_try") 2>&5
50345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50346 (exit $ac_status); }; } &&
50347 { ac_try='test -s conftest$ac_exeext'
50348 { (case "(($ac_try" in
50349 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50350 *) ac_try_echo
=$ac_try;;
50352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50353 (eval "$ac_try") 2>&5
50355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50356 (exit $ac_status); }; }; then
50357 eval "$as_ac_var=yes"
50359 echo "$as_me: failed program was:" >&5
50360 sed 's/^/| /' conftest.
$ac_ext >&5
50362 eval "$as_ac_var=no"
50365 rm -f core conftest.err conftest.
$ac_objext \
50366 conftest
$ac_exeext conftest.
$ac_ext
50368 ac_res
=`eval echo '${'$as_ac_var'}'`
50369 { echo "$as_me:$LINENO: result: $ac_res" >&5
50370 echo "${ECHO_T}$ac_res" >&6; }
50371 if test `eval echo '${'$as_ac_var'}'` = yes; then
50372 cat >>confdefs.h
<<_ACEOF
50373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50380 if test "$ac_cv_func_localtime" = "yes"; then
50381 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
50382 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
50383 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
50384 echo $ECHO_N "(cached) $ECHO_C" >&6
50387 cat >conftest.
$ac_ext <<_ACEOF
50390 cat confdefs.h
>>conftest.
$ac_ext
50391 cat >>conftest.
$ac_ext <<_ACEOF
50392 /* end confdefs.h. */
50407 rm -f conftest.
$ac_objext
50408 if { (ac_try
="$ac_compile"
50409 case "(($ac_try" in
50410 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50411 *) ac_try_echo=$ac_try;;
50413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50414 (eval "$ac_compile") 2>conftest.er1
50416 grep -v '^ *+' conftest.er1 >conftest.err
50418 cat conftest.err >&5
50419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50420 (exit $ac_status); } &&
50421 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50422 { (case "(($ac_try" in
50423 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50424 *) ac_try_echo
=$ac_try;;
50426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50427 (eval "$ac_try") 2>&5
50429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50430 (exit $ac_status); }; } &&
50431 { ac_try
='test -s conftest.$ac_objext'
50432 { (case "(($ac_try" in
50433 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50434 *) ac_try_echo=$ac_try;;
50436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50437 (eval "$ac_try") 2>&5
50439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50440 (exit $ac_status); }; }; then
50442 wx_cv_struct_tm_has_gmtoff=yes
50445 echo "$as_me: failed program was:" >&5
50446 sed 's/^/| /' conftest.$ac_ext >&5
50448 wx_cv_struct_tm_has_gmtoff=no
50452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50455 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
50456 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
50459 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
50460 cat >>confdefs.h <<\_ACEOF
50461 #define WX_GMTOFF_IN_TM 1
50468 for ac_func in gettimeofday ftime
50470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50471 { echo "$as_me:$LINENO: checking for $ac_func" >&5
50472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
50473 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
50474 echo $ECHO_N "(cached) $ECHO_C" >&6
50476 cat >conftest.$ac_ext <<_ACEOF
50479 cat confdefs.h >>conftest.$ac_ext
50480 cat >>conftest.$ac_ext <<_ACEOF
50481 /* end confdefs.h. */
50482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50484 #define $ac_func innocuous_$ac_func
50486 /* System header to define __stub macros and hopefully few prototypes,
50487 which can conflict with char $ac_func (); below.
50488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50489 <limits.h> exists even on freestanding compilers. */
50492 # include <limits.h>
50494 # include <assert.h>
50499 /* Override any GCC internal prototype to avoid an error.
50500 Use char because int might match the return type of a GCC
50501 builtin and then its argument prototype would still apply. */
50506 /* The GNU C library defines this for functions which it implements
50507 to always fail with ENOSYS. Some functions are actually named
50508 something starting with __ and the normal name is an alias. */
50509 #if defined __stub_$ac_func || defined __stub___$ac_func
50516 return $ac_func ();
50521 rm -f conftest.$ac_objext conftest$ac_exeext
50522 if { (ac_try="$ac_link"
50523 case "(($ac_try" in
50524 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50525 *) ac_try_echo
=$ac_try;;
50527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50528 (eval "$ac_link") 2>conftest.er1
50530 grep -v '^ *+' conftest.er1
>conftest.err
50532 cat conftest.err
>&5
50533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50534 (exit $ac_status); } &&
50535 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50536 { (case "(($ac_try" in
50537 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50538 *) ac_try_echo=$ac_try;;
50540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50541 (eval "$ac_try") 2>&5
50543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50544 (exit $ac_status); }; } &&
50545 { ac_try='test -s conftest$ac_exeext'
50546 { (case "(($ac_try" in
50547 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50548 *) ac_try_echo
=$ac_try;;
50550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50551 (eval "$ac_try") 2>&5
50553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50554 (exit $ac_status); }; }; then
50555 eval "$as_ac_var=yes"
50557 echo "$as_me: failed program was:" >&5
50558 sed 's/^/| /' conftest.
$ac_ext >&5
50560 eval "$as_ac_var=no"
50563 rm -f core conftest.err conftest.
$ac_objext \
50564 conftest
$ac_exeext conftest.
$ac_ext
50566 ac_res
=`eval echo '${'$as_ac_var'}'`
50567 { echo "$as_me:$LINENO: result: $ac_res" >&5
50568 echo "${ECHO_T}$ac_res" >&6; }
50569 if test `eval echo '${'$as_ac_var'}'` = yes; then
50570 cat >>confdefs.h
<<_ACEOF
50571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50578 if test "$ac_cv_func_gettimeofday" = "yes"; then
50579 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
50580 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
50581 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
50582 echo $ECHO_N "(cached) $ECHO_C" >&6
50585 cat >conftest.
$ac_ext <<_ACEOF
50588 cat confdefs.h
>>conftest.
$ac_ext
50589 cat >>conftest.
$ac_ext <<_ACEOF
50590 /* end confdefs.h. */
50592 #include <sys/time.h>
50593 #include <unistd.h>
50600 gettimeofday(&tv, NULL);
50606 rm -f conftest.
$ac_objext
50607 if { (ac_try
="$ac_compile"
50608 case "(($ac_try" in
50609 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50610 *) ac_try_echo=$ac_try;;
50612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50613 (eval "$ac_compile") 2>conftest.er1
50615 grep -v '^ *+' conftest.er1 >conftest.err
50617 cat conftest.err >&5
50618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50619 (exit $ac_status); } &&
50620 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50621 { (case "(($ac_try" in
50622 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50623 *) ac_try_echo
=$ac_try;;
50625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50626 (eval "$ac_try") 2>&5
50628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50629 (exit $ac_status); }; } &&
50630 { ac_try
='test -s conftest.$ac_objext'
50631 { (case "(($ac_try" in
50632 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50633 *) ac_try_echo=$ac_try;;
50635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50636 (eval "$ac_try") 2>&5
50638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50639 (exit $ac_status); }; }; then
50640 wx_cv_func_gettimeofday_has_2_args=yes
50642 echo "$as_me: failed program was:" >&5
50643 sed 's/^/| /' conftest.$ac_ext >&5
50645 cat >conftest.$ac_ext <<_ACEOF
50648 cat confdefs.h >>conftest.$ac_ext
50649 cat >>conftest.$ac_ext <<_ACEOF
50650 /* end confdefs.h. */
50652 #include <sys/time.h>
50653 #include <unistd.h>
50666 rm -f conftest.$ac_objext
50667 if { (ac_try="$ac_compile"
50668 case "(($ac_try" in
50669 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50670 *) ac_try_echo
=$ac_try;;
50672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50673 (eval "$ac_compile") 2>conftest.er1
50675 grep -v '^ *+' conftest.er1
>conftest.err
50677 cat conftest.err
>&5
50678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50679 (exit $ac_status); } &&
50680 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50681 { (case "(($ac_try" in
50682 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50683 *) ac_try_echo=$ac_try;;
50685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50686 (eval "$ac_try") 2>&5
50688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50689 (exit $ac_status); }; } &&
50690 { ac_try='test -s conftest.$ac_objext'
50691 { (case "(($ac_try" in
50692 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50693 *) ac_try_echo
=$ac_try;;
50695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50696 (eval "$ac_try") 2>&5
50698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50699 (exit $ac_status); }; }; then
50700 wx_cv_func_gettimeofday_has_2_args
=no
50702 echo "$as_me: failed program was:" >&5
50703 sed 's/^/| /' conftest.
$ac_ext >&5
50706 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
50707 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
50708 wx_cv_func_gettimeofday_has_2_args
=unknown
50713 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50717 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50720 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
50721 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
50723 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
50724 cat >>confdefs.h
<<\_ACEOF
50725 #define WX_GETTIMEOFDAY_NO_TZ 1
50731 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
50735 if test "$wxUSE_SOCKETS" = "yes"; then
50736 if test "$wxUSE_MGL" = "1"; then
50737 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
50738 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
50743 if test "$wxUSE_SOCKETS" = "yes"; then
50744 if test "$TOOLKIT" != "MSW"; then
50745 { echo "$as_me:$LINENO: checking for socket" >&5
50746 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
50747 if test "${ac_cv_func_socket+set}" = set; then
50748 echo $ECHO_N "(cached) $ECHO_C" >&6
50750 cat >conftest.
$ac_ext <<_ACEOF
50753 cat confdefs.h
>>conftest.
$ac_ext
50754 cat >>conftest.
$ac_ext <<_ACEOF
50755 /* end confdefs.h. */
50756 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
50757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50758 #define socket innocuous_socket
50760 /* System header to define __stub macros and hopefully few prototypes,
50761 which can conflict with char socket (); below.
50762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50763 <limits.h> exists even on freestanding compilers. */
50766 # include <limits.h>
50768 # include <assert.h>
50773 /* Override any GCC internal prototype to avoid an error.
50774 Use char because int might match the return type of a GCC
50775 builtin and then its argument prototype would still apply. */
50780 /* The GNU C library defines this for functions which it implements
50781 to always fail with ENOSYS. Some functions are actually named
50782 something starting with __ and the normal name is an alias. */
50783 #if defined __stub_socket || defined __stub___socket
50795 rm -f conftest.
$ac_objext conftest
$ac_exeext
50796 if { (ac_try
="$ac_link"
50797 case "(($ac_try" in
50798 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50799 *) ac_try_echo=$ac_try;;
50801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50802 (eval "$ac_link") 2>conftest.er1
50804 grep -v '^ *+' conftest.er1 >conftest.err
50806 cat conftest.err >&5
50807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50808 (exit $ac_status); } &&
50809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50810 { (case "(($ac_try" in
50811 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50812 *) ac_try_echo
=$ac_try;;
50814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50815 (eval "$ac_try") 2>&5
50817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50818 (exit $ac_status); }; } &&
50819 { ac_try
='test -s conftest$ac_exeext'
50820 { (case "(($ac_try" in
50821 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50822 *) ac_try_echo=$ac_try;;
50824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50825 (eval "$ac_try") 2>&5
50827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50828 (exit $ac_status); }; }; then
50829 ac_cv_func_socket=yes
50831 echo "$as_me: failed program was:" >&5
50832 sed 's/^/| /' conftest.$ac_ext >&5
50834 ac_cv_func_socket=no
50837 rm -f core conftest.err conftest.$ac_objext \
50838 conftest$ac_exeext conftest.$ac_ext
50840 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
50841 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
50842 if test $ac_cv_func_socket = yes; then
50846 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
50847 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
50848 if test "${ac_cv_lib_socket_socket+set}" = set; then
50849 echo $ECHO_N "(cached) $ECHO_C" >&6
50851 ac_check_lib_save_LIBS=$LIBS
50852 LIBS="-lsocket $LIBS"
50853 cat >conftest.$ac_ext <<_ACEOF
50856 cat confdefs.h >>conftest.$ac_ext
50857 cat >>conftest.$ac_ext <<_ACEOF
50858 /* end confdefs.h. */
50860 /* Override any GCC internal prototype to avoid an error.
50861 Use char because int might match the return type of a GCC
50862 builtin and then its argument prototype would still apply. */
50875 rm -f conftest.$ac_objext conftest$ac_exeext
50876 if { (ac_try="$ac_link"
50877 case "(($ac_try" in
50878 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50879 *) ac_try_echo
=$ac_try;;
50881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50882 (eval "$ac_link") 2>conftest.er1
50884 grep -v '^ *+' conftest.er1
>conftest.err
50886 cat conftest.err
>&5
50887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50888 (exit $ac_status); } &&
50889 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50890 { (case "(($ac_try" in
50891 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50892 *) ac_try_echo=$ac_try;;
50894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50895 (eval "$ac_try") 2>&5
50897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50898 (exit $ac_status); }; } &&
50899 { ac_try='test -s conftest$ac_exeext'
50900 { (case "(($ac_try" in
50901 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50902 *) ac_try_echo
=$ac_try;;
50904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50905 (eval "$ac_try") 2>&5
50907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50908 (exit $ac_status); }; }; then
50909 ac_cv_lib_socket_socket
=yes
50911 echo "$as_me: failed program was:" >&5
50912 sed 's/^/| /' conftest.
$ac_ext >&5
50914 ac_cv_lib_socket_socket
=no
50917 rm -f core conftest.err conftest.
$ac_objext \
50918 conftest
$ac_exeext conftest.
$ac_ext
50919 LIBS
=$ac_check_lib_save_LIBS
50921 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
50922 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
50923 if test $ac_cv_lib_socket_socket = yes; then
50924 if test "$INET_LINK" != " -lsocket"; then
50925 INET_LINK
="$INET_LINK -lsocket"
50929 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
50930 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
50943 if test "$wxUSE_SOCKETS" = "yes" ; then
50944 if test "$TOOLKIT" != "MSW"; then
50945 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
50946 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
50947 if test "${wx_cv_type_getsockname3+set}" = set; then
50948 echo $ECHO_N "(cached) $ECHO_C" >&6
50952 ac_cpp
='$CXXCPP $CPPFLAGS'
50953 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50954 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50955 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
50957 cat >conftest.
$ac_ext <<_ACEOF
50960 cat confdefs.h
>>conftest.
$ac_ext
50961 cat >>conftest.
$ac_ext <<_ACEOF
50962 /* end confdefs.h. */
50964 #include <sys/types.h>
50965 #include <sys/socket.h>
50972 getsockname(0, 0, &len);
50978 rm -f conftest.
$ac_objext
50979 if { (ac_try
="$ac_compile"
50980 case "(($ac_try" in
50981 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50982 *) ac_try_echo=$ac_try;;
50984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50985 (eval "$ac_compile") 2>conftest.er1
50987 grep -v '^ *+' conftest.er1 >conftest.err
50989 cat conftest.err >&5
50990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50991 (exit $ac_status); } &&
50992 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
50993 { (case "(($ac_try" in
50994 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50995 *) ac_try_echo
=$ac_try;;
50997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50998 (eval "$ac_try") 2>&5
51000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51001 (exit $ac_status); }; } &&
51002 { ac_try
='test -s conftest.$ac_objext'
51003 { (case "(($ac_try" in
51004 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51005 *) ac_try_echo=$ac_try;;
51007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51008 (eval "$ac_try") 2>&5
51010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51011 (exit $ac_status); }; }; then
51012 wx_cv_type_getsockname3=socklen_t
51014 echo "$as_me: failed program was:" >&5
51015 sed 's/^/| /' conftest.$ac_ext >&5
51018 CFLAGS_OLD="$CFLAGS"
51019 if test "$GCC" = yes ; then
51020 CFLAGS="-Werror $CFLAGS"
51023 cat >conftest.$ac_ext <<_ACEOF
51026 cat confdefs.h >>conftest.$ac_ext
51027 cat >>conftest.$ac_ext <<_ACEOF
51028 /* end confdefs.h. */
51030 #include <sys/types.h>
51031 #include <sys/socket.h>
51038 getsockname(0, 0, &len);
51044 rm -f conftest.$ac_objext
51045 if { (ac_try="$ac_compile"
51046 case "(($ac_try" in
51047 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51048 *) ac_try_echo
=$ac_try;;
51050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51051 (eval "$ac_compile") 2>conftest.er1
51053 grep -v '^ *+' conftest.er1
>conftest.err
51055 cat conftest.err
>&5
51056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51057 (exit $ac_status); } &&
51058 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
51059 { (case "(($ac_try" in
51060 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51061 *) ac_try_echo=$ac_try;;
51063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51064 (eval "$ac_try") 2>&5
51066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51067 (exit $ac_status); }; } &&
51068 { ac_try='test -s conftest.$ac_objext'
51069 { (case "(($ac_try" in
51070 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51071 *) ac_try_echo
=$ac_try;;
51073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51074 (eval "$ac_try") 2>&5
51076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51077 (exit $ac_status); }; }; then
51078 wx_cv_type_getsockname3
=size_t
51080 echo "$as_me: failed program was:" >&5
51081 sed 's/^/| /' conftest.
$ac_ext >&5
51083 cat >conftest.
$ac_ext <<_ACEOF
51086 cat confdefs.h
>>conftest.
$ac_ext
51087 cat >>conftest.
$ac_ext <<_ACEOF
51088 /* end confdefs.h. */
51090 #include <sys/types.h>
51091 #include <sys/socket.h>
51098 getsockname(0, 0, &len);
51104 rm -f conftest.
$ac_objext
51105 if { (ac_try
="$ac_compile"
51106 case "(($ac_try" in
51107 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51108 *) ac_try_echo=$ac_try;;
51110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51111 (eval "$ac_compile") 2>conftest.er1
51113 grep -v '^ *+' conftest.er1 >conftest.err
51115 cat conftest.err >&5
51116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51117 (exit $ac_status); } &&
51118 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
51119 { (case "(($ac_try" in
51120 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51121 *) ac_try_echo
=$ac_try;;
51123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51124 (eval "$ac_try") 2>&5
51126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51127 (exit $ac_status); }; } &&
51128 { ac_try
='test -s conftest.$ac_objext'
51129 { (case "(($ac_try" in
51130 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51131 *) ac_try_echo=$ac_try;;
51133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51134 (eval "$ac_try") 2>&5
51136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51137 (exit $ac_status); }; }; then
51138 wx_cv_type_getsockname3=int
51140 echo "$as_me: failed program was:" >&5
51141 sed 's/^/| /' conftest.$ac_ext >&5
51143 wx_cv_type_getsockname3=unknown
51147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51153 CFLAGS="$CFLAGS_OLD"
51158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51160 ac_cpp='$CPP $CPPFLAGS'
51161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51167 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
51168 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
51170 if test "$wx_cv_type_getsockname3" = "unknown"; then
51172 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
51173 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
51175 cat >>confdefs.h <<_ACEOF
51176 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
51180 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
51181 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
51182 if test "${wx_cv_type_getsockopt5+set}" = set; then
51183 echo $ECHO_N "(cached) $ECHO_C" >&6
51186 cat >conftest.$ac_ext <<_ACEOF
51189 cat confdefs.h >>conftest.$ac_ext
51190 cat >>conftest.$ac_ext <<_ACEOF
51191 /* end confdefs.h. */
51193 #include <sys/types.h>
51194 #include <sys/socket.h>
51201 getsockopt(0, 0, 0, 0, &len);
51207 rm -f conftest.$ac_objext
51208 if { (ac_try="$ac_compile"
51209 case "(($ac_try" in
51210 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51211 *) ac_try_echo
=$ac_try;;
51213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51214 (eval "$ac_compile") 2>conftest.er1
51216 grep -v '^ *+' conftest.er1
>conftest.err
51218 cat conftest.err
>&5
51219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51220 (exit $ac_status); } &&
51221 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51222 { (case "(($ac_try" in
51223 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51224 *) ac_try_echo=$ac_try;;
51226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51227 (eval "$ac_try") 2>&5
51229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51230 (exit $ac_status); }; } &&
51231 { ac_try='test -s conftest.$ac_objext'
51232 { (case "(($ac_try" in
51233 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51234 *) ac_try_echo
=$ac_try;;
51236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51237 (eval "$ac_try") 2>&5
51239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51240 (exit $ac_status); }; }; then
51241 wx_cv_type_getsockopt5
=socklen_t
51243 echo "$as_me: failed program was:" >&5
51244 sed 's/^/| /' conftest.
$ac_ext >&5
51248 ac_cpp
='$CXXCPP $CPPFLAGS'
51249 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51250 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51251 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
51253 cat >conftest.
$ac_ext <<_ACEOF
51256 cat confdefs.h
>>conftest.
$ac_ext
51257 cat >>conftest.
$ac_ext <<_ACEOF
51258 /* end confdefs.h. */
51260 #include <sys/types.h>
51261 #include <sys/socket.h>
51268 getsockopt(0, 0, 0, 0, &len);
51274 rm -f conftest.
$ac_objext
51275 if { (ac_try
="$ac_compile"
51276 case "(($ac_try" in
51277 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51278 *) ac_try_echo=$ac_try;;
51280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51281 (eval "$ac_compile") 2>conftest.er1
51283 grep -v '^ *+' conftest.er1 >conftest.err
51285 cat conftest.err >&5
51286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51287 (exit $ac_status); } &&
51288 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
51289 { (case "(($ac_try" in
51290 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51291 *) ac_try_echo
=$ac_try;;
51293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51294 (eval "$ac_try") 2>&5
51296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51297 (exit $ac_status); }; } &&
51298 { ac_try
='test -s conftest.$ac_objext'
51299 { (case "(($ac_try" in
51300 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51301 *) ac_try_echo=$ac_try;;
51303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51304 (eval "$ac_try") 2>&5
51306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51307 (exit $ac_status); }; }; then
51308 wx_cv_type_getsockopt5=size_t
51310 echo "$as_me: failed program was:" >&5
51311 sed 's/^/| /' conftest.$ac_ext >&5
51313 cat >conftest.$ac_ext <<_ACEOF
51316 cat confdefs.h >>conftest.$ac_ext
51317 cat >>conftest.$ac_ext <<_ACEOF
51318 /* end confdefs.h. */
51320 #include <sys/types.h>
51321 #include <sys/socket.h>
51328 getsockopt(0, 0, 0, 0, &len);
51334 rm -f conftest.$ac_objext
51335 if { (ac_try="$ac_compile"
51336 case "(($ac_try" in
51337 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51338 *) ac_try_echo
=$ac_try;;
51340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51341 (eval "$ac_compile") 2>conftest.er1
51343 grep -v '^ *+' conftest.er1
>conftest.err
51345 cat conftest.err
>&5
51346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51347 (exit $ac_status); } &&
51348 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
51349 { (case "(($ac_try" in
51350 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51351 *) ac_try_echo=$ac_try;;
51353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51354 (eval "$ac_try") 2>&5
51356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51357 (exit $ac_status); }; } &&
51358 { ac_try='test -s conftest.$ac_objext'
51359 { (case "(($ac_try" in
51360 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51361 *) ac_try_echo
=$ac_try;;
51363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51364 (eval "$ac_try") 2>&5
51366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51367 (exit $ac_status); }; }; then
51368 wx_cv_type_getsockopt5
=int
51370 echo "$as_me: failed program was:" >&5
51371 sed 's/^/| /' conftest.
$ac_ext >&5
51373 wx_cv_type_getsockopt5
=unknown
51377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51381 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51383 ac_cpp
='$CPP $CPPFLAGS'
51384 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51385 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51386 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
51392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51395 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
51396 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
51398 if test "$wx_cv_type_getsockopt5" = "unknown"; then
51400 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
51401 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
51403 cat >>confdefs.h
<<_ACEOF
51404 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
51411 if test "$wxUSE_SOCKETS" = "yes" ; then
51412 cat >>confdefs.h
<<\_ACEOF
51413 #define wxUSE_SOCKETS 1
51416 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
51419 if test "$wxUSE_PROTOCOL" = "yes"; then
51420 if test "$wxUSE_SOCKETS" != "yes"; then
51421 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
51422 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
51427 if test "$wxUSE_PROTOCOL" = "yes"; then
51428 cat >>confdefs.h
<<\_ACEOF
51429 #define wxUSE_PROTOCOL 1
51433 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
51434 cat >>confdefs.h
<<\_ACEOF
51435 #define wxUSE_PROTOCOL_HTTP 1
51439 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
51440 cat >>confdefs.h
<<\_ACEOF
51441 #define wxUSE_PROTOCOL_FTP 1
51445 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
51446 cat >>confdefs.h
<<\_ACEOF
51447 #define wxUSE_PROTOCOL_FILE 1
51452 if test "$wxUSE_FS_INET" = "yes"; then
51453 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
51454 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
51459 if test "$wxUSE_URL" = "yes"; then
51460 if test "$wxUSE_PROTOCOL" != "yes"; then
51461 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
51462 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
51465 if test "$wxUSE_URL" = "yes"; then
51466 cat >>confdefs.h
<<\_ACEOF
51467 #define wxUSE_URL 1
51473 if test "$wxUSE_VARIANT" = "yes"; then
51474 cat >>confdefs.h
<<\_ACEOF
51475 #define wxUSE_VARIANT 1
51480 if test "$wxUSE_FS_INET" = "yes"; then
51481 cat >>confdefs.h
<<\_ACEOF
51482 #define wxUSE_FS_INET 1
51488 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
51491 if test "$TOOLKIT" = "MSW"; then
51494 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
51495 if test "$USE_DARWIN" = 1; then
51496 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
51497 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
51499 ac_cpp
='$CXXCPP $CPPFLAGS'
51500 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51501 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51502 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
51504 cat >conftest.
$ac_ext <<_ACEOF
51507 cat confdefs.h
>>conftest.
$ac_ext
51508 cat >>conftest.
$ac_ext <<_ACEOF
51509 /* end confdefs.h. */
51510 #include <IOKit/hid/IOHIDLib.h>
51514 IOHIDQueueInterface *qi = NULL;
51515 IOHIDCallbackFunction cb = NULL;
51516 qi->setEventCallout(NULL, cb, NULL, NULL);
51521 rm -f conftest.
$ac_objext
51522 if { (ac_try
="$ac_compile"
51523 case "(($ac_try" in
51524 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51525 *) ac_try_echo=$ac_try;;
51527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51528 (eval "$ac_compile") 2>conftest.er1
51530 grep -v '^ *+' conftest.er1 >conftest.err
51532 cat conftest.err >&5
51533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51534 (exit $ac_status); } &&
51535 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
51536 { (case "(($ac_try" in
51537 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51538 *) ac_try_echo
=$ac_try;;
51540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51541 (eval "$ac_try") 2>&5
51543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51544 (exit $ac_status); }; } &&
51545 { ac_try
='test -s conftest.$ac_objext'
51546 { (case "(($ac_try" in
51547 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51548 *) ac_try_echo=$ac_try;;
51550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51551 (eval "$ac_try") 2>&5
51553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51554 (exit $ac_status); }; }; then
51558 echo "$as_me: failed program was:" >&5
51559 sed 's/^/| /' conftest.$ac_ext >&5
51564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51566 ac_cpp='$CPP $CPPFLAGS'
51567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51571 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
51572 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
51576 if test "$wxUSE_MGL" != "1"; then
51577 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
51578 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
51579 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
51580 echo $ECHO_N "(cached) $ECHO_C" >&6
51582 cat >conftest.$ac_ext <<_ACEOF
51585 cat confdefs.h >>conftest.$ac_ext
51586 cat >>conftest.$ac_ext <<_ACEOF
51587 /* end confdefs.h. */
51590 #include <linux/joystick.h>
51592 rm -f conftest.$ac_objext
51593 if { (ac_try="$ac_compile"
51594 case "(($ac_try" in
51595 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51596 *) ac_try_echo
=$ac_try;;
51598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51599 (eval "$ac_compile") 2>conftest.er1
51601 grep -v '^ *+' conftest.er1
>conftest.err
51603 cat conftest.err
>&5
51604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51605 (exit $ac_status); } &&
51606 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51607 { (case "(($ac_try" in
51608 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51609 *) ac_try_echo=$ac_try;;
51611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51612 (eval "$ac_try") 2>&5
51614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51615 (exit $ac_status); }; } &&
51616 { ac_try='test -s conftest.$ac_objext'
51617 { (case "(($ac_try" in
51618 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51619 *) ac_try_echo
=$ac_try;;
51621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51622 (eval "$ac_try") 2>&5
51624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51625 (exit $ac_status); }; }; then
51626 ac_cv_header_linux_joystick_h
=yes
51628 echo "$as_me: failed program was:" >&5
51629 sed 's/^/| /' conftest.
$ac_ext >&5
51631 ac_cv_header_linux_joystick_h
=no
51634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51636 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
51637 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
51638 if test $ac_cv_header_linux_joystick_h = yes; then
51646 if test "$wxUSE_JOYSTICK" = "yes"; then
51647 cat >>confdefs.h
<<\_ACEOF
51648 #define wxUSE_JOYSTICK 1
51651 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
51653 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
51654 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
51660 if test "$wxUSE_FONTMAP" = "yes" ; then
51661 cat >>confdefs.h
<<\_ACEOF
51662 #define wxUSE_FONTMAP 1
51667 if test "$wxUSE_UNICODE" = "yes" ; then
51668 cat >>confdefs.h
<<\_ACEOF
51669 #define wxUSE_UNICODE 1
51673 if test "$USE_WIN32" != 1; then
51674 wxUSE_UNICODE_MSLU
=no
51677 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
51678 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
51679 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
51680 if test "${ac_cv_lib_unicows_main+set}" = set; then
51681 echo $ECHO_N "(cached) $ECHO_C" >&6
51683 ac_check_lib_save_LIBS
=$LIBS
51684 LIBS
="-lunicows $LIBS"
51685 cat >conftest.
$ac_ext <<_ACEOF
51688 cat confdefs.h
>>conftest.
$ac_ext
51689 cat >>conftest.
$ac_ext <<_ACEOF
51690 /* end confdefs.h. */
51701 rm -f conftest.
$ac_objext conftest
$ac_exeext
51702 if { (ac_try
="$ac_link"
51703 case "(($ac_try" in
51704 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51705 *) ac_try_echo=$ac_try;;
51707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51708 (eval "$ac_link") 2>conftest.er1
51710 grep -v '^ *+' conftest.er1 >conftest.err
51712 cat conftest.err >&5
51713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51714 (exit $ac_status); } &&
51715 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51716 { (case "(($ac_try" in
51717 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51718 *) ac_try_echo
=$ac_try;;
51720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51721 (eval "$ac_try") 2>&5
51723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51724 (exit $ac_status); }; } &&
51725 { ac_try
='test -s conftest$ac_exeext'
51726 { (case "(($ac_try" in
51727 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51728 *) ac_try_echo=$ac_try;;
51730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51731 (eval "$ac_try") 2>&5
51733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51734 (exit $ac_status); }; }; then
51735 ac_cv_lib_unicows_main=yes
51737 echo "$as_me: failed program was:" >&5
51738 sed 's/^/| /' conftest.$ac_ext >&5
51740 ac_cv_lib_unicows_main=no
51743 rm -f core conftest.err conftest.$ac_objext \
51744 conftest$ac_exeext conftest.$ac_ext
51745 LIBS=$ac_check_lib_save_LIBS
51747 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
51748 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
51749 if test $ac_cv_lib_unicows_main = yes; then
51751 cat >>confdefs.h <<\_ACEOF
51752 #define wxUSE_UNICODE_MSLU 1
51758 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
51759 Applications will only run on Windows NT/2000/XP!" >&5
51760 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
51761 Applications will only run on Windows NT/2000/XP!" >&2;}
51762 wxUSE_UNICODE_MSLU=no
51769 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
51770 cat >>confdefs.h <<\_ACEOF
51771 #define wxUSE_EXPERIMENTAL_PRINTF 1
51777 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
51778 cat >>confdefs.h <<\_ACEOF
51779 #define wxUSE_POSTSCRIPT 1
51784 cat >>confdefs.h <<\_ACEOF
51785 #define wxUSE_AFM_FOR_POSTSCRIPT 1
51789 cat >>confdefs.h <<\_ACEOF
51790 #define wxUSE_NORMALIZED_PS_FONTS 1
51795 if test "$wxUSE_CONSTRAINTS" = "yes"; then
51796 cat >>confdefs.h <<\_ACEOF
51797 #define wxUSE_CONSTRAINTS 1
51800 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
51803 if test "$wxUSE_MDI" = "yes"; then
51804 cat >>confdefs.h <<\_ACEOF
51805 #define wxUSE_MDI 1
51809 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
51810 cat >>confdefs.h <<\_ACEOF
51811 #define wxUSE_MDI_ARCHITECTURE 1
51814 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
51818 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
51819 cat >>confdefs.h <<\_ACEOF
51820 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
51823 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
51824 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
51825 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
51829 if test "$wxUSE_HELP" = "yes"; then
51830 cat >>confdefs.h <<\_ACEOF
51831 #define wxUSE_HELP 1
51834 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
51836 if test "$wxUSE_MSW" = 1; then
51837 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
51838 cat >>confdefs.h <<\_ACEOF
51839 #define wxUSE_MS_HTML_HELP 1
51845 if test "$wxUSE_WXHTML_HELP" = "yes"; then
51846 if test "$wxUSE_HTML" = "yes"; then
51847 cat >>confdefs.h <<\_ACEOF
51848 #define wxUSE_WXHTML_HELP 1
51852 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
51853 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
51854 wxUSE_WXHTML_HELP=no
51859 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
51860 if test "$wxUSE_CONSTRAINTS" != "yes"; then
51861 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
51862 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
51864 cat >>confdefs.h <<\_ACEOF
51865 #define wxUSE_PRINTING_ARCHITECTURE 1
51869 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
51872 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
51873 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
51874 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
51875 { (exit 1); exit 1; }; }
51879 if test "$wxUSE_METAFILE" = "yes"; then
51880 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
51881 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
51882 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
51888 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
51889 -o "$wxUSE_CLIPBOARD" = "yes" \
51890 -o "$wxUSE_OLE" = "yes" \
51891 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
51893 for ac_header in ole2.h
51895 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51896 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
51897 { echo "$as_me:$LINENO: checking for $ac_header" >&5
51898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
51899 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
51900 echo $ECHO_N "(cached) $ECHO_C" >&6
51902 ac_res=`eval echo '${'$as_ac_Header'}'`
51903 { echo "$as_me:$LINENO: result: $ac_res" >&5
51904 echo "${ECHO_T}$ac_res" >&6; }
51906 # Is the header compilable?
51907 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
51908 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
51909 cat >conftest.$ac_ext <<_ACEOF
51912 cat confdefs.h >>conftest.$ac_ext
51913 cat >>conftest.$ac_ext <<_ACEOF
51914 /* end confdefs.h. */
51915 $ac_includes_default
51916 #include <$ac_header>
51918 rm -f conftest.$ac_objext
51919 if { (ac_try="$ac_compile"
51920 case "(($ac_try" in
51921 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51922 *) ac_try_echo
=$ac_try;;
51924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51925 (eval "$ac_compile") 2>conftest.er1
51927 grep -v '^ *+' conftest.er1
>conftest.err
51929 cat conftest.err
>&5
51930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51931 (exit $ac_status); } &&
51932 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51933 { (case "(($ac_try" in
51934 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51935 *) ac_try_echo=$ac_try;;
51937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51938 (eval "$ac_try") 2>&5
51940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51941 (exit $ac_status); }; } &&
51942 { ac_try='test -s conftest.$ac_objext'
51943 { (case "(($ac_try" in
51944 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51945 *) ac_try_echo
=$ac_try;;
51947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51948 (eval "$ac_try") 2>&5
51950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51951 (exit $ac_status); }; }; then
51952 ac_header_compiler
=yes
51954 echo "$as_me: failed program was:" >&5
51955 sed 's/^/| /' conftest.
$ac_ext >&5
51957 ac_header_compiler
=no
51960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51961 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51962 echo "${ECHO_T}$ac_header_compiler" >&6; }
51964 # Is the header present?
51965 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
51966 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
51967 cat >conftest.
$ac_ext <<_ACEOF
51970 cat confdefs.h
>>conftest.
$ac_ext
51971 cat >>conftest.
$ac_ext <<_ACEOF
51972 /* end confdefs.h. */
51973 #include <$ac_header>
51975 if { (ac_try
="$ac_cpp conftest.$ac_ext"
51976 case "(($ac_try" in
51977 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51978 *) ac_try_echo=$ac_try;;
51980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51981 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
51983 grep -v '^ *+' conftest.er1 >conftest.err
51985 cat conftest.err >&5
51986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51987 (exit $ac_status); } >/dev/null; then
51988 if test -s conftest.err; then
51989 ac_cpp_err=$ac_c_preproc_warn_flag
51990 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51997 if test -z "$ac_cpp_err"; then
51998 ac_header_preproc=yes
52000 echo "$as_me: failed program was:" >&5
52001 sed 's/^/| /' conftest.$ac_ext >&5
52003 ac_header_preproc=no
52006 rm -f conftest.err conftest.$ac_ext
52007 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52008 echo "${ECHO_T}$ac_header_preproc" >&6; }
52010 # So? What about this header?
52011 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52013 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52014 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52015 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52016 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52017 ac_header_preproc=yes
52020 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52021 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52022 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52023 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52024 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52025 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52026 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52027 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52028 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52029 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52030 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52031 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52033 ## ----------------------------------------- ##
52034 ## Report this to wx-dev@lists.wxwidgets.org ##
52035 ## ----------------------------------------- ##
52037 ) | sed "s/^/$as_me: WARNING: /" >&2
52040 { echo "$as_me:$LINENO: checking for $ac_header" >&5
52041 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
52042 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
52043 echo $ECHO_N "(cached) $ECHO_C" >&6
52045 eval "$as_ac_Header=\$ac_header_preproc"
52047 ac_res=`eval echo '${'$as_ac_Header'}'`
52048 { echo "$as_me:$LINENO: result: $ac_res" >&5
52049 echo "${ECHO_T}$ac_res" >&6; }
52052 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52053 cat >>confdefs.h <<_ACEOF
52054 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52062 if test "$ac_cv_header_ole2_h" = "yes" ; then
52063 if test "$GCC" = yes ; then
52064 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
52065 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
52066 cat >conftest.$ac_ext <<_ACEOF
52069 cat confdefs.h >>conftest.$ac_ext
52070 cat >>conftest.$ac_ext <<_ACEOF
52071 /* end confdefs.h. */
52072 #include <windows.h>
52082 rm -f conftest.$ac_objext
52083 if { (ac_try="$ac_compile"
52084 case "(($ac_try" in
52085 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
52086 *) ac_try_echo
=$ac_try;;
52088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52089 (eval "$ac_compile") 2>conftest.er1
52091 grep -v '^ *+' conftest.er1
>conftest.err
52093 cat conftest.err
>&5
52094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52095 (exit $ac_status); } &&
52096 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
52097 { (case "(($ac_try" in
52098 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
52099 *) ac_try_echo=$ac_try;;
52101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52102 (eval "$ac_try") 2>&5
52104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52105 (exit $ac_status); }; } &&
52106 { ac_try='test -s conftest.$ac_objext'
52107 { (case "(($ac_try" in
52108 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
52109 *) ac_try_echo
=$ac_try;;
52111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52112 (eval "$ac_try") 2>&5
52114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52115 (exit $ac_status); }; }; then
52116 { echo "$as_me:$LINENO: result: no" >&5
52117 echo "${ECHO_T}no" >&6; }
52119 echo "$as_me: failed program was:" >&5
52120 sed 's/^/| /' conftest.
$ac_ext >&5
52122 { echo "$as_me:$LINENO: result: yes" >&5
52123 echo "${ECHO_T}yes" >&6; }
52124 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
52127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
52128 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
52129 if test "$wxUSE_OLE" = "yes" ; then
52130 cat >>confdefs.h
<<\_ACEOF
52131 #define wxUSE_OLE 1
52134 cat >>confdefs.h
<<\_ACEOF
52135 #define wxUSE_OLE_AUTOMATION 1
52138 cat >>confdefs.h
<<\_ACEOF
52139 #define wxUSE_OLE_ACTIVEX 1
52142 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
52146 if test "$wxUSE_DATAOBJ" = "yes" ; then
52147 cat >>confdefs.h
<<\_ACEOF
52148 #define wxUSE_DATAOBJ 1
52153 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
52154 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
52157 wxUSE_DRAG_AND_DROP
=no
52162 if test "$wxUSE_METAFILE" = "yes"; then
52163 cat >>confdefs.h
<<\_ACEOF
52164 #define wxUSE_METAFILE 1
52168 cat >>confdefs.h
<<\_ACEOF
52169 #define wxUSE_ENH_METAFILE 1
52175 if test "$wxUSE_IPC" = "yes"; then
52176 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
52177 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
52178 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
52182 if test "$wxUSE_IPC" = "yes"; then
52183 cat >>confdefs.h
<<\_ACEOF
52184 #define wxUSE_IPC 1
52187 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
52191 if test "$wxUSE_DATAOBJ" = "yes"; then
52192 if test "$wxUSE_MGL" = 1; then
52193 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
52194 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
52197 cat >>confdefs.h
<<\_ACEOF
52198 #define wxUSE_DATAOBJ 1
52203 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
52204 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
52206 wxUSE_DRAG_AND_DROP
=no
52209 if test "$wxUSE_CLIPBOARD" = "yes"; then
52210 if test "$wxUSE_MGL" = 1; then
52211 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
52212 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
52216 if test "$wxUSE_CLIPBOARD" = "yes"; then
52217 cat >>confdefs.h
<<\_ACEOF
52218 #define wxUSE_CLIPBOARD 1
52224 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
52225 if test "$wxUSE_GTK" = 1; then
52226 if test "$WXGTK12" != 1; then
52227 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
52228 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
52229 wxUSE_DRAG_AND_DROP
=no
52233 if test "$wxUSE_MOTIF" = 1; then
52234 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
52235 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
52236 wxUSE_DRAG_AND_DROP
=no
52239 if test "$wxUSE_X11" = 1; then
52240 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
52241 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
52242 wxUSE_DRAG_AND_DROP
=no
52245 if test "$wxUSE_MGL" = 1; then
52246 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
52247 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
52248 wxUSE_DRAG_AND_DROP
=no
52251 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
52252 cat >>confdefs.h
<<\_ACEOF
52253 #define wxUSE_DRAG_AND_DROP 1
52260 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
52261 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
52264 if test "$wxUSE_SPLINES" = "yes" ; then
52265 cat >>confdefs.h
<<\_ACEOF
52266 #define wxUSE_SPLINES 1
52271 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
52272 cat >>confdefs.h
<<\_ACEOF
52273 #define wxUSE_MOUSEWHEEL 1
52280 if test "$wxUSE_CONTROLS" = "yes"; then
52284 if test "$wxUSE_ACCEL" = "yes"; then
52285 cat >>confdefs.h
<<\_ACEOF
52286 #define wxUSE_ACCEL 1
52292 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
52293 cat >>confdefs.h
<<\_ACEOF
52294 #define wxUSE_ANIMATIONCTRL 1
52298 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
52301 if test "$wxUSE_BUTTON" = "yes"; then
52302 cat >>confdefs.h
<<\_ACEOF
52303 #define wxUSE_BUTTON 1
52309 if test "$wxUSE_BMPBUTTON" = "yes"; then
52310 cat >>confdefs.h
<<\_ACEOF
52311 #define wxUSE_BMPBUTTON 1
52317 if test "$wxUSE_CALCTRL" = "yes"; then
52318 cat >>confdefs.h
<<\_ACEOF
52319 #define wxUSE_CALENDARCTRL 1
52323 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
52326 if test "$wxUSE_CARET" = "yes"; then
52327 cat >>confdefs.h
<<\_ACEOF
52328 #define wxUSE_CARET 1
52332 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
52335 if test "$wxUSE_COLLPANE" = "yes"; then
52336 cat >>confdefs.h
<<\_ACEOF
52337 #define wxUSE_COLLPANE 1
52341 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
52344 if test "$wxUSE_COMBOBOX" = "yes"; then
52345 cat >>confdefs.h
<<\_ACEOF
52346 #define wxUSE_COMBOBOX 1
52352 if test "$wxUSE_COMBOCTRL" = "yes"; then
52353 cat >>confdefs.h
<<\_ACEOF
52354 #define wxUSE_COMBOCTRL 1
52360 if test "$wxUSE_CHOICE" = "yes"; then
52361 cat >>confdefs.h
<<\_ACEOF
52362 #define wxUSE_CHOICE 1
52368 if test "$wxUSE_CHOICEBOOK" = "yes"; then
52369 cat >>confdefs.h
<<\_ACEOF
52370 #define wxUSE_CHOICEBOOK 1
52376 if test "$wxUSE_CHECKBOX" = "yes"; then
52377 cat >>confdefs.h
<<\_ACEOF
52378 #define wxUSE_CHECKBOX 1
52384 if test "$wxUSE_CHECKLST" = "yes"; then
52385 cat >>confdefs.h
<<\_ACEOF
52386 #define wxUSE_CHECKLISTBOX 1
52390 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
52393 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
52394 cat >>confdefs.h
<<\_ACEOF
52395 #define wxUSE_COLOURPICKERCTRL 1
52401 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
52402 cat >>confdefs.h
<<\_ACEOF
52403 #define wxUSE_DATEPICKCTRL 1
52409 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
52410 cat >>confdefs.h
<<\_ACEOF
52411 #define wxUSE_DIRPICKERCTRL 1
52417 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
52418 cat >>confdefs.h
<<\_ACEOF
52419 #define wxUSE_FILEPICKERCTRL 1
52425 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
52426 cat >>confdefs.h
<<\_ACEOF
52427 #define wxUSE_FONTPICKERCTRL 1
52433 if test "$wxUSE_DISPLAY" = "yes"; then
52434 cat >>confdefs.h
<<\_ACEOF
52435 #define wxUSE_DISPLAY 1
52438 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
52441 if test "$wxUSE_DETECT_SM" = "yes"; then
52442 cat >>confdefs.h
<<\_ACEOF
52443 #define wxUSE_DETECT_SM 1
52448 if test "$wxUSE_GAUGE" = "yes"; then
52449 cat >>confdefs.h
<<\_ACEOF
52450 #define wxUSE_GAUGE 1
52456 if test "$wxUSE_GRID" = "yes"; then
52457 cat >>confdefs.h
<<\_ACEOF
52458 #define wxUSE_GRID 1
52462 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
52465 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
52466 cat >>confdefs.h
<<\_ACEOF
52467 #define wxUSE_HYPERLINKCTRL 1
52473 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
52474 cat >>confdefs.h
<<\_ACEOF
52475 #define wxUSE_BITMAPCOMBOBOX 1
52481 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
52482 cat >>confdefs.h
<<\_ACEOF
52483 #define wxUSE_DATAVIEWCTRL 1
52487 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
52490 if test "$wxUSE_IMAGLIST" = "yes"; then
52491 cat >>confdefs.h
<<\_ACEOF
52492 #define wxUSE_IMAGLIST 1
52497 if test "$wxUSE_LISTBOOK" = "yes"; then
52498 cat >>confdefs.h
<<\_ACEOF
52499 #define wxUSE_LISTBOOK 1
52505 if test "$wxUSE_LISTBOX" = "yes"; then
52506 cat >>confdefs.h
<<\_ACEOF
52507 #define wxUSE_LISTBOX 1
52511 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
52514 if test "$wxUSE_LISTCTRL" = "yes"; then
52515 if test "$wxUSE_IMAGLIST" = "yes"; then
52516 cat >>confdefs.h
<<\_ACEOF
52517 #define wxUSE_LISTCTRL 1
52521 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
52523 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
52524 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
52528 if test "$wxUSE_NOTEBOOK" = "yes"; then
52529 cat >>confdefs.h
<<\_ACEOF
52530 #define wxUSE_NOTEBOOK 1
52534 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
52537 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
52538 cat >>confdefs.h
<<\_ACEOF
52539 #define wxUSE_ODCOMBOBOX 1
52543 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
52547 if test "$wxUSE_RADIOBOX" = "yes"; then
52548 cat >>confdefs.h
<<\_ACEOF
52549 #define wxUSE_RADIOBOX 1
52555 if test "$wxUSE_RADIOBTN" = "yes"; then
52556 cat >>confdefs.h
<<\_ACEOF
52557 #define wxUSE_RADIOBTN 1
52563 if test "$wxUSE_SASH" = "yes"; then
52564 cat >>confdefs.h
<<\_ACEOF
52565 #define wxUSE_SASH 1
52568 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
52571 if test "$wxUSE_SCROLLBAR" = "yes"; then
52572 cat >>confdefs.h
<<\_ACEOF
52573 #define wxUSE_SCROLLBAR 1
52577 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
52580 if test "$wxUSE_SEARCHCTRL" = "yes"; then
52581 cat >>confdefs.h
<<\_ACEOF
52582 #define wxUSE_SEARCHCTRL 1
52588 if test "$wxUSE_SLIDER" = "yes"; then
52589 cat >>confdefs.h
<<\_ACEOF
52590 #define wxUSE_SLIDER 1
52596 if test "$wxUSE_SPINBTN" = "yes"; then
52597 cat >>confdefs.h
<<\_ACEOF
52598 #define wxUSE_SPINBTN 1
52604 if test "$wxUSE_SPINCTRL" = "yes"; then
52605 cat >>confdefs.h
<<\_ACEOF
52606 #define wxUSE_SPINCTRL 1
52612 if test "$wxUSE_SPLITTER" = "yes"; then
52613 cat >>confdefs.h
<<\_ACEOF
52614 #define wxUSE_SPLITTER 1
52617 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
52620 if test "$wxUSE_STATBMP" = "yes"; then
52621 cat >>confdefs.h
<<\_ACEOF
52622 #define wxUSE_STATBMP 1
52628 if test "$wxUSE_STATBOX" = "yes"; then
52629 cat >>confdefs.h
<<\_ACEOF
52630 #define wxUSE_STATBOX 1
52636 if test "$wxUSE_STATTEXT" = "yes"; then
52637 cat >>confdefs.h
<<\_ACEOF
52638 #define wxUSE_STATTEXT 1
52644 if test "$wxUSE_STATLINE" = "yes"; then
52645 cat >>confdefs.h
<<\_ACEOF
52646 #define wxUSE_STATLINE 1
52652 if test "$wxUSE_STATUSBAR" = "yes"; then
52653 cat >>confdefs.h
<<\_ACEOF
52654 #define wxUSE_NATIVE_STATUSBAR 1
52657 cat >>confdefs.h
<<\_ACEOF
52658 #define wxUSE_STATUSBAR 1
52663 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
52666 if test "$wxUSE_TAB_DIALOG" = "yes"; then
52667 cat >>confdefs.h
<<\_ACEOF
52668 #define wxUSE_TAB_DIALOG 1
52673 if test "$wxUSE_TEXTCTRL" = "yes"; then
52674 cat >>confdefs.h
<<\_ACEOF
52675 #define wxUSE_TEXTCTRL 1
52679 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
52682 if test "$wxUSE_TOGGLEBTN" = "yes"; then
52683 if test "$wxUSE_COCOA" = 1 ; then
52684 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
52685 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
52689 if test "$wxUSE_TOGGLEBTN" = "yes"; then
52690 cat >>confdefs.h
<<\_ACEOF
52691 #define wxUSE_TOGGLEBTN 1
52698 if test "$wxUSE_TOOLBAR" = "yes"; then
52699 cat >>confdefs.h
<<\_ACEOF
52700 #define wxUSE_TOOLBAR 1
52705 if test "$wxUSE_UNIVERSAL" = "yes"; then
52706 wxUSE_TOOLBAR_NATIVE
="no"
52708 wxUSE_TOOLBAR_NATIVE
="yes"
52709 cat >>confdefs.h
<<\_ACEOF
52710 #define wxUSE_TOOLBAR_NATIVE 1
52715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
52718 if test "$wxUSE_TOOLTIPS" = "yes"; then
52719 if test "$wxUSE_MOTIF" = 1; then
52720 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
52721 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
52723 if test "$wxUSE_UNIVERSAL" = "yes"; then
52724 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
52725 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
52727 cat >>confdefs.h
<<\_ACEOF
52728 #define wxUSE_TOOLTIPS 1
52735 if test "$wxUSE_TREEBOOK" = "yes"; then
52736 cat >>confdefs.h
<<\_ACEOF
52737 #define wxUSE_TREEBOOK 1
52743 if test "$wxUSE_TOOLBOOK" = "yes"; then
52744 cat >>confdefs.h
<<\_ACEOF
52745 #define wxUSE_TOOLBOOK 1
52751 if test "$wxUSE_TREECTRL" = "yes"; then
52752 if test "$wxUSE_IMAGLIST" = "yes"; then
52753 cat >>confdefs.h
<<\_ACEOF
52754 #define wxUSE_TREECTRL 1
52758 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
52760 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
52761 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
52765 if test "$wxUSE_POPUPWIN" = "yes"; then
52766 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
52767 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
52768 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
52770 if test "$wxUSE_PM" = 1; then
52771 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
52772 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
52774 cat >>confdefs.h
<<\_ACEOF
52775 #define wxUSE_POPUPWIN 1
52778 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
52785 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
52786 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
52787 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
52788 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
52790 cat >>confdefs.h
<<\_ACEOF
52791 #define wxUSE_DIALUP_MANAGER 1
52794 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
52798 if test "$wxUSE_TIPWINDOW" = "yes"; then
52799 if test "$wxUSE_PM" = 1; then
52800 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
52801 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
52803 cat >>confdefs.h
<<\_ACEOF
52804 #define wxUSE_TIPWINDOW 1
52810 if test "$USES_CONTROLS" = 1; then
52811 cat >>confdefs.h
<<\_ACEOF
52812 #define wxUSE_CONTROLS 1
52818 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
52819 cat >>confdefs.h
<<\_ACEOF
52820 #define wxUSE_ACCESSIBILITY 1
52823 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
52826 if test "$wxUSE_DC_CACHEING" = "yes"; then
52827 cat >>confdefs.h
<<\_ACEOF
52828 #define wxUSE_DC_CACHEING 1
52833 if test "$wxUSE_DRAGIMAGE" = "yes"; then
52834 cat >>confdefs.h
<<\_ACEOF
52835 #define wxUSE_DRAGIMAGE 1
52838 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
52841 if test "$wxUSE_EXCEPTIONS" = "yes"; then
52842 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
52843 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
52844 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
52846 cat >>confdefs.h
<<\_ACEOF
52847 #define wxUSE_EXCEPTIONS 1
52850 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
52855 if test "$wxUSE_HTML" = "yes"; then
52856 cat >>confdefs.h
<<\_ACEOF
52857 #define wxUSE_HTML 1
52861 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
52862 if test "$wxUSE_MAC" = 1; then
52863 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
52866 if test "$wxUSE_WEBKIT" = "yes"; then
52867 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
52868 old_CPPFLAGS
="$CPPFLAGS"
52869 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
52870 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
52871 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
52872 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
52873 echo $ECHO_N "(cached) $ECHO_C" >&6
52875 cat >conftest.
$ac_ext <<_ACEOF
52878 cat confdefs.h
>>conftest.
$ac_ext
52879 cat >>conftest.
$ac_ext <<_ACEOF
52880 /* end confdefs.h. */
52881 #include <Carbon/Carbon.h>
52883 #include <WebKit/HIWebView.h>
52885 rm -f conftest.
$ac_objext
52886 if { (ac_try
="$ac_compile"
52887 case "(($ac_try" in
52888 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
52889 *) ac_try_echo=$ac_try;;
52891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52892 (eval "$ac_compile") 2>conftest.er1
52894 grep -v '^ *+' conftest.er1 >conftest.err
52896 cat conftest.err >&5
52897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52898 (exit $ac_status); } &&
52899 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
52900 { (case "(($ac_try" in
52901 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
52902 *) ac_try_echo
=$ac_try;;
52904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52905 (eval "$ac_try") 2>&5
52907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52908 (exit $ac_status); }; } &&
52909 { ac_try
='test -s conftest.$ac_objext'
52910 { (case "(($ac_try" in
52911 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
52912 *) ac_try_echo=$ac_try;;
52914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52915 (eval "$ac_try") 2>&5
52917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52918 (exit $ac_status); }; }; then
52919 ac_cv_header_WebKit_HIWebView_h=yes
52921 echo "$as_me: failed program was:" >&5
52922 sed 's/^/| /' conftest.$ac_ext >&5
52924 ac_cv_header_WebKit_HIWebView_h=no
52927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52929 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
52930 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
52931 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
52933 cat >>confdefs.h <<\_ACEOF
52934 #define wxUSE_WEBKIT 1
52937 WEBKIT_LINK="-framework WebKit"
52941 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
52942 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
52948 CPPFLAGS="$old_CPPFLAGS"
52949 elif test "$wxUSE_COCOA" = 1; then
52950 cat >>confdefs.h <<\_ACEOF
52951 #define wxUSE_WEBKIT 1
52960 if test "$wxUSE_XRC" = "yes"; then
52961 if test "$wxUSE_XML" != "yes"; then
52962 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
52963 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
52966 cat >>confdefs.h <<\_ACEOF
52967 #define wxUSE_XRC 1
52971 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
52976 if test "$wxUSE_AUI" = "yes"; then
52977 cat >>confdefs.h <<\_ACEOF
52978 #define wxUSE_AUI 1
52982 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
52985 if test "$wxUSE_MENUS" = "yes"; then
52986 cat >>confdefs.h <<\_ACEOF
52987 #define wxUSE_MENUS 1
52990 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
52993 if test "$wxUSE_METAFILE" = "yes"; then
52994 cat >>confdefs.h <<\_ACEOF
52995 #define wxUSE_METAFILE 1
53000 if test "$wxUSE_MIMETYPE" = "yes"; then
53001 cat >>confdefs.h <<\_ACEOF
53002 #define wxUSE_MIMETYPE 1
53007 if test "$wxUSE_MINIFRAME" = "yes"; then
53008 cat >>confdefs.h <<\_ACEOF
53009 #define wxUSE_MINIFRAME 1
53012 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
53015 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
53016 cat >>confdefs.h <<\_ACEOF
53017 #define wxUSE_SYSTEM_OPTIONS 1
53020 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
53021 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
53022 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
53027 if test "$wxUSE_VALIDATORS" = "yes"; then
53028 cat >>confdefs.h <<\_ACEOF
53029 #define wxUSE_VALIDATORS 1
53032 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
53035 if test "$wxUSE_PALETTE" = "yes" ; then
53036 cat >>confdefs.h <<\_ACEOF
53037 #define wxUSE_PALETTE 1
53042 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
53043 LIBS=" -lunicows $LIBS"
53047 if test "$wxUSE_RICHTEXT" = "yes"; then
53048 cat >>confdefs.h <<\_ACEOF
53049 #define wxUSE_RICHTEXT 1
53053 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
53057 if test "$wxUSE_IMAGE" = "yes" ; then
53058 cat >>confdefs.h <<\_ACEOF
53059 #define wxUSE_IMAGE 1
53063 if test "$wxUSE_GIF" = "yes" ; then
53064 cat >>confdefs.h <<\_ACEOF
53065 #define wxUSE_GIF 1
53070 if test "$wxUSE_PCX" = "yes" ; then
53071 cat >>confdefs.h <<\_ACEOF
53072 #define wxUSE_PCX 1
53077 if test "$wxUSE_TGA" = "yes" ; then
53078 cat >>confdefs.h <<\_ACEOF
53079 #define wxUSE_TGA 1
53084 if test "$wxUSE_IFF" = "yes" ; then
53085 cat >>confdefs.h <<\_ACEOF
53086 #define wxUSE_IFF 1
53091 if test "$wxUSE_PNM" = "yes" ; then
53092 cat >>confdefs.h <<\_ACEOF
53093 #define wxUSE_PNM 1
53098 if test "$wxUSE_XPM" = "yes" ; then
53099 cat >>confdefs.h <<\_ACEOF
53100 #define wxUSE_XPM 1
53105 if test "$wxUSE_ICO_CUR" = "yes" ; then
53106 cat >>confdefs.h <<\_ACEOF
53107 #define wxUSE_ICO_CUR 1
53114 if test "$wxUSE_ABOUTDLG" = "yes"; then
53115 cat >>confdefs.h <<\_ACEOF
53116 #define wxUSE_ABOUTDLG 1
53121 if test "$wxUSE_CHOICEDLG" = "yes"; then
53122 cat >>confdefs.h <<\_ACEOF
53123 #define wxUSE_CHOICEDLG 1
53128 if test "$wxUSE_COLOURDLG" = "yes"; then
53129 cat >>confdefs.h <<\_ACEOF
53130 #define wxUSE_COLOURDLG 1
53135 if test "$wxUSE_FILEDLG" = "yes"; then
53136 cat >>confdefs.h <<\_ACEOF
53137 #define wxUSE_FILEDLG 1
53142 if test "$wxUSE_FINDREPLDLG" = "yes"; then
53143 cat >>confdefs.h <<\_ACEOF
53144 #define wxUSE_FINDREPLDLG 1
53149 if test "$wxUSE_FONTDLG" = "yes"; then
53150 cat >>confdefs.h <<\_ACEOF
53151 #define wxUSE_FONTDLG 1
53156 if test "$wxUSE_DIRDLG" = "yes"; then
53157 if test "$wxUSE_TREECTRL" != "yes"; then
53158 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
53159 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
53161 cat >>confdefs.h <<\_ACEOF
53162 #define wxUSE_DIRDLG 1
53168 if test "$wxUSE_MSGDLG" = "yes"; then
53169 cat >>confdefs.h <<\_ACEOF
53170 #define wxUSE_MSGDLG 1
53175 if test "$wxUSE_NUMBERDLG" = "yes"; then
53176 cat >>confdefs.h <<\_ACEOF
53177 #define wxUSE_NUMBERDLG 1
53182 if test "$wxUSE_PROGRESSDLG" = "yes"; then
53183 if test "$wxUSE_CONSTRAINTS" != "yes"; then
53184 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
53185 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
53187 cat >>confdefs.h <<\_ACEOF
53188 #define wxUSE_PROGRESSDLG 1
53194 if test "$wxUSE_SPLASH" = "yes"; then
53195 cat >>confdefs.h <<\_ACEOF
53196 #define wxUSE_SPLASH 1
53199 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
53202 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
53203 if test "$wxUSE_CONSTRAINTS" != "yes"; then
53204 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
53205 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
53207 cat >>confdefs.h <<\_ACEOF
53208 #define wxUSE_STARTUP_TIPS 1
53214 if test "$wxUSE_TEXTDLG" = "yes"; then
53215 cat >>confdefs.h <<\_ACEOF
53216 #define wxUSE_TEXTDLG 1
53221 if test "$wxUSE_WIZARDDLG" = "yes"; then
53222 cat >>confdefs.h <<\_ACEOF
53223 #define wxUSE_WIZARDDLG 1
53226 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
53230 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
53231 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
53232 cat >>confdefs.h <<\_ACEOF
53233 #define wxUSE_GRAPHICS_CONTEXT 1
53236 elif test "$wxUSE_GTK" != 1; then
53237 cat >>confdefs.h <<\_ACEOF
53238 #define wxUSE_GRAPHICS_CONTEXT 1
53244 { echo "$as_me:$LINENO: checking for CAIRO" >&5
53245 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
53247 if test -n "$PKG_CONFIG"; then
53248 if test -n "$CAIRO_CFLAGS"; then
53249 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
53251 if test -n "$PKG_CONFIG" && \
53252 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
53253 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
53255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53256 (exit $ac_status); }; then
53257 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
53265 if test -n "$PKG_CONFIG"; then
53266 if test -n "$CAIRO_LIBS"; then
53267 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
53269 if test -n "$PKG_CONFIG" && \
53270 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
53271 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
53273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53274 (exit $ac_status); }; then
53275 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
53286 if test $pkg_failed = yes; then
53288 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
53289 _pkg_short_errors_supported=yes
53291 _pkg_short_errors_supported=no
53293 if test $_pkg_short_errors_supported = yes; then
53294 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
53296 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
53298 # Put the nasty error message in config.log where it belongs
53299 echo "$CAIRO_PKG_ERRORS" >&5
53301 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
53302 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
53304 elif test $pkg_failed = untried; then
53305 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
53306 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
53309 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
53310 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
53311 { echo "$as_me:$LINENO: result: yes" >&5
53312 echo "${ECHO_T}yes" >&6; }
53313 cat >>confdefs.h <<\_ACEOF
53314 #define wxUSE_GRAPHICS_CONTEXT 1
53324 if test "$wxUSE_MEDIACTRL" = "yes"; then
53327 if test "$wxUSE_GTK" = 1; then
53328 wxUSE_GSTREAMER="no"
53330 GST_VERSION_MAJOR=0
53331 GST_VERSION_MINOR=10
53332 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
53334 if test "$wxUSE_GSTREAMER8" = "no"; then
53337 { echo "$as_me:$LINENO: checking for GST" >&5
53338 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
53340 if test -n "$PKG_CONFIG"; then
53341 if test -n "$GST_CFLAGS"; then
53342 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
53344 if test -n "$PKG_CONFIG" && \
53345 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
53346 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
53348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53349 (exit $ac_status); }; then
53350 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
53358 if test -n "$PKG_CONFIG"; then
53359 if test -n "$GST_LIBS"; then
53360 pkg_cv_GST_LIBS="$GST_LIBS"
53362 if test -n "$PKG_CONFIG" && \
53363 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
53364 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
53366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53367 (exit $ac_status); }; then
53368 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
53379 if test $pkg_failed = yes; then
53381 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
53382 _pkg_short_errors_supported=yes
53384 _pkg_short_errors_supported=no
53386 if test $_pkg_short_errors_supported = yes; then
53387 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
53389 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
53391 # Put the nasty error message in config.log where it belongs
53392 echo "$GST_PKG_ERRORS" >&5
53395 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
53396 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
53397 GST_VERSION_MINOR=8
53400 elif test $pkg_failed = untried; then
53402 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
53403 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
53404 GST_VERSION_MINOR=8
53408 GST_CFLAGS=$pkg_cv_GST_CFLAGS
53409 GST_LIBS=$pkg_cv_GST_LIBS
53410 { echo "$as_me:$LINENO: result: yes" >&5
53411 echo "${ECHO_T}yes" >&6; }
53413 wxUSE_GSTREAMER="yes"
53414 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
53418 GST_VERSION_MINOR=8
53421 if test $GST_VERSION_MINOR = "8"; then
53422 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
53425 { echo "$as_me:$LINENO: checking for GST" >&5
53426 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
53428 if test -n "$PKG_CONFIG"; then
53429 if test -n "$GST_CFLAGS"; then
53430 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
53432 if test -n "$PKG_CONFIG" && \
53433 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
53434 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
53436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53437 (exit $ac_status); }; then
53438 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
53446 if test -n "$PKG_CONFIG"; then
53447 if test -n "$GST_LIBS"; then
53448 pkg_cv_GST_LIBS="$GST_LIBS"
53450 if test -n "$PKG_CONFIG" && \
53451 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
53452 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
53454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53455 (exit $ac_status); }; then
53456 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
53467 if test $pkg_failed = yes; then
53469 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
53470 _pkg_short_errors_supported=yes
53472 _pkg_short_errors_supported=no
53474 if test $_pkg_short_errors_supported = yes; then
53475 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
53477 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
53479 # Put the nasty error message in config.log where it belongs
53480 echo "$GST_PKG_ERRORS" >&5
53483 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
53484 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
53486 elif test $pkg_failed = untried; then
53488 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
53489 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
53492 GST_CFLAGS=$pkg_cv_GST_CFLAGS
53493 GST_LIBS=$pkg_cv_GST_LIBS
53494 { echo "$as_me:$LINENO: result: yes" >&5
53495 echo "${ECHO_T}yes" >&6; }
53496 wxUSE_GSTREAMER="yes"
53501 if test "$wxUSE_GSTREAMER" = "yes"; then
53504 if "$GCC" = yes; then
53505 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
53506 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
53510 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
53511 LIBS="$GST_LIBS $LIBS"
53513 cat >>confdefs.h <<\_ACEOF
53514 #define wxUSE_GSTREAMER 1
53522 if test $USE_MEDIA = 1; then
53523 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
53524 cat >>confdefs.h <<\_ACEOF
53525 #define wxUSE_MEDIACTRL 1
53532 if test "$cross_compiling" = "yes"; then
53535 OSINFO=`uname
-s -r -m`
53536 OSINFO="\"$OSINFO\""
53539 cat >>confdefs.h <<_ACEOF
53540 #define WXWIN_OS_DESCRIPTION $OSINFO
53545 if test "x$prefix" != "xNONE"; then
53548 wxPREFIX=$ac_default_prefix
53551 cat >>confdefs.h <<_ACEOF
53552 #define wxINSTALL_PREFIX "$wxPREFIX"
53558 CORE_BASE_LIBS="net base"
53559 CORE_GUI_LIBS="adv core"
53561 if test "$wxUSE_XML" = "yes" ; then
53562 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
53564 if test "$wxUSE_ODBC" != "no" ; then
53565 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
53566 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
53568 if test "$wxUSE_HTML" = "yes" ; then
53569 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
53571 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
53572 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
53574 if test "$wxUSE_XRC" = "yes" ; then
53575 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
53577 if test "$wxUSE_AUI" = "yes" ; then
53578 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
53581 if test "$wxUSE_GUI" != "yes"; then
53590 if test "$wxUSE_MAC" = 1 ; then
53591 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
53592 if test "$USE_DARWIN" = 1; then
53593 LDFLAGS="$LDFLAGS -framework QuickTime"
53595 LDFLAGS="$LDFLAGS -lQuickTimeLib"
53598 if test "$USE_DARWIN" = 1; then
53599 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
53601 LDFLAGS="$LDFLAGS -lCarbonLib"
53604 if test "$wxUSE_COCOA" = 1 ; then
53605 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
53606 if test "$wxUSE_MEDIACTRL" = "yes"; then
53607 LDFLAGS="$LDFLAGS -framework QuickTime"
53610 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
53611 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
53614 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
53616 if test "$wxUSE_GUI" = "yes"; then
53619 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
53620 dynamic erase event exec font image minimal mobile \
53621 mobile/wxedit mobile/styles propsize render \
53622 rotate shaped vscroll widgets"
53624 if test "$wxUSE_MONOLITHIC" != "yes"; then
53625 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
53627 if test "$TOOLKIT" = "MSW"; then
53628 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
53629 if test "$wxUSE_UNIVERSAL" != "yes"; then
53630 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
53633 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
53634 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
53637 SAMPLES_SUBDIRS="console"
53641 if test "x$INTELCC" = "xyes" ; then
53642 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
53643 elif test "$GCC" = yes ; then
53644 CWARNINGS="-Wall -Wundef"
53647 if test "x$INTELCXX" = "xyes" ; then
53648 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
53649 elif test "$GXX" = yes ; then
53650 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
53654 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
53655 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
53658 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
53659 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
53660 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
53663 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
53664 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
53665 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
53667 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
53670 if test "x$MWCC" = "xyes"; then
53672 CC="$CC -cwd source -I-"
53673 CXX="$CXX -cwd source -I-"
53678 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
53679 EXTRALIBS_XML="$EXPAT_LINK"
53680 EXTRALIBS_HTML="$MSPACK_LINK"
53681 EXTRALIBS_ODBC="$ODBC_LINK"
53682 if test "$wxUSE_GUI" = "yes"; then
53683 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
53685 if test "$wxUSE_OPENGL" = "yes"; then
53686 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
53689 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
53691 WXCONFIG_LIBS="$LIBS"
53693 if test "$wxUSE_REGEX" = "builtin" ; then
53694 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
53696 if test "$wxUSE_EXPAT" = "builtin" ; then
53697 wxconfig_3rdparty="expat $wxconfig_3rdparty"
53699 if test "$wxUSE_ODBC" = "builtin" ; then
53700 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
53702 if test "$wxUSE_LIBTIFF" = "builtin" ; then
53703 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
53705 if test "$wxUSE_LIBJPEG" = "builtin" ; then
53706 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
53708 if test "$wxUSE_LIBPNG" = "builtin" ; then
53709 wxconfig_3rdparty="png $wxconfig_3rdparty"
53711 if test "$wxUSE_ZLIB" = "builtin" ; then
53712 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
53715 for i in $wxconfig_3rdparty ; do
53716 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
53720 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
53723 case "$wxUNIV_THEMES" in
53725 cat >>confdefs.h <<\_ACEOF
53726 #define wxUSE_ALL_THEMES 1
53732 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a
-z A
-Z`; do
53733 cat >>confdefs.h <<_ACEOF
53734 #define wxUSE_THEME_$t 1
53751 if test $wxUSE_MONOLITHIC = "yes" ; then
53757 if test $wxUSE_PLUGINS = "yes" ; then
53763 if test $wxUSE_ODBC != "no" ; then
53769 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
53775 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
53805 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
53816 TOOLKIT_DESC="GTK+"
53817 if test "$WXGTK20" = 1; then
53818 TOOLKIT_DESC="$TOOLKIT_DESC 2"
53819 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
53820 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
53822 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
53823 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
53825 if test "$wxUSE_LIBHILDON" = "yes"; then
53826 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
53829 if test "$TOOLKIT_EXTRA" != ""; then
53830 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
53836 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
53840 TOOLKIT_DESC="base only"
53844 if test "$wxUSE_WINE" = "yes"; then
53845 BAKEFILE_FORCE_PLATFORM=win32
53848 if test "$wxUSE_MAC" = 1 ; then
53849 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
53850 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
53851 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
53853 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
53855 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
53856 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
53857 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
53858 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
53861 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
53862 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
53865 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
53867 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
53868 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
53869 if test "${wx_cv_gcc_pch_bug+set}" = set; then
53870 echo $ECHO_N "(cached) $ECHO_C" >&6
53873 echo '#include <stdio.h>
53874 const wchar_t test_var[] = L"awidetest";' > conftest.h
53876 echo '#include "conftest.h"
53879 printf("%ls", test_var);
53883 wx_cv_gcc_pch_bug="pch not supported"
53885 if $CXX conftest.h >/dev/null 2>&1
53889 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
53891 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
53892 grep awidetest >/dev/null
53894 wx_cv_gcc_pch_bug=no
53896 wx_cv_gcc_pch_bug=yes
53901 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
53904 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
53905 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
53907 if test "$wx_cv_gcc_pch_bug" = yes; then
53915 if test "x$BAKEFILE_HOST" = "x"; then
53916 if test "x${host}" = "x" ; then
53917 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
53918 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
53919 { (exit 1); exit 1; }; }
53922 BAKEFILE_HOST="${host}"
53925 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
53927 if test -n "$ac_tool_prefix"; then
53928 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
53929 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
53930 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53932 if test "${ac_cv_prog_RANLIB+set}" = set; then
53933 echo $ECHO_N "(cached) $ECHO_C" >&6
53935 if test -n "$RANLIB"; then
53936 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
53938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53939 for as_dir in $PATH
53942 test -z "$as_dir" && as_dir=.
53943 for ac_exec_ext in '' $ac_executable_extensions; do
53944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
53945 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
53946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53955 RANLIB=$ac_cv_prog_RANLIB
53956 if test -n "$RANLIB"; then
53957 { echo "$as_me:$LINENO: result: $RANLIB" >&5
53958 echo "${ECHO_T}$RANLIB" >&6; }
53960 { echo "$as_me:$LINENO: result: no" >&5
53961 echo "${ECHO_T}no" >&6; }
53966 if test -z "$ac_cv_prog_RANLIB"; then
53967 ac_ct_RANLIB=$RANLIB
53968 # Extract the first word of "ranlib", so it can be a program name with args.
53969 set dummy ranlib; ac_word=$2
53970 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53972 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
53973 echo $ECHO_N "(cached) $ECHO_C" >&6
53975 if test -n "$ac_ct_RANLIB"; then
53976 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
53978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53979 for as_dir in $PATH
53982 test -z "$as_dir" && as_dir=.
53983 for ac_exec_ext in '' $ac_executable_extensions; do
53984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
53985 ac_cv_prog_ac_ct_RANLIB="ranlib"
53986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53995 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
53996 if test -n "$ac_ct_RANLIB"; then
53997 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
53998 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
54000 { echo "$as_me:$LINENO: result: no" >&5
54001 echo "${ECHO_T}no" >&6; }
54004 if test "x$ac_ct_RANLIB" = x; then
54007 case $cross_compiling:$ac_tool_warned in
54009 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
54010 whose name does not start with the host triplet. If you think this
54011 configuration is useful to you, please write to autoconf@gnu.org." >&5
54012 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
54013 whose name does not start with the host triplet. If you think this
54014 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
54015 ac_tool_warned=yes ;;
54017 RANLIB=$ac_ct_RANLIB
54020 RANLIB="$ac_cv_prog_RANLIB"
54023 # Find a good install program. We prefer a C program (faster),
54024 # so one script is as good as another. But avoid the broken or
54025 # incompatible versions:
54026 # SysV /etc/install, /usr/sbin/install
54027 # SunOS /usr/etc/install
54028 # IRIX /sbin/install
54030 # AmigaOS /C/install, which installs bootblocks on floppy discs
54031 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
54032 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
54033 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
54034 # OS/2's system install, which has a completely different semantic
54035 # ./install, which can be erroneously created by make from ./install.sh.
54036 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
54037 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
54038 if test -z "$INSTALL"; then
54039 if test "${ac_cv_path_install+set}" = set; then
54040 echo $ECHO_N "(cached) $ECHO_C" >&6
54042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54043 for as_dir in $PATH
54046 test -z "$as_dir" && as_dir=.
54047 # Account for people who put trailing slashes in PATH elements.
54049 ./ | .// | /cC/* | \
54050 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
54051 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
54054 # OSF1 and SCO ODT 3.0 have their own names for install.
54055 # Don't use installbsd from OSF since it installs stuff as root
54057 for ac_prog in ginstall scoinst install; do
54058 for ac_exec_ext in '' $ac_executable_extensions; do
54059 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
54060 if test $ac_prog = install &&
54061 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
54062 # AIX install. It has an incompatible calling convention.
54064 elif test $ac_prog = install &&
54065 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
54066 # program-specific install script used by HP pwplus--don't use.
54069 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
54082 if test "${ac_cv_path_install+set}" = set; then
54083 INSTALL=$ac_cv_path_install
54085 # As a last resort, use the slow shell script. Don't cache a
54086 # value for INSTALL within a source directory, because that will
54087 # break other packages using the cache if that directory is
54088 # removed, or if the value is a relative name.
54089 INSTALL=$ac_install_sh
54092 { echo "$as_me:$LINENO: result: $INSTALL" >&5
54093 echo "${ECHO_T}$INSTALL" >&6; }
54095 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
54096 # It thinks the first close brace ends the variable substitution.
54097 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
54099 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
54101 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
54103 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
54104 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
54106 if test "$LN_S" = "ln -s"; then
54107 { echo "$as_me:$LINENO: result: yes" >&5
54108 echo "${ECHO_T}yes" >&6; }
54110 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
54111 echo "${ECHO_T}no, using $LN_S" >&6; }
54115 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
54116 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
54117 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
54118 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
54119 echo $ECHO_N "(cached) $ECHO_C" >&6
54121 cat >conftest.make <<\_ACEOF
54124 @echo '@@@%%%=$(MAKE)=@@@%%%'
54126 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
54127 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
54128 *@@@%%%=?*=@@@%%%*)
54129 eval ac_cv_prog_make_${ac_make}_set=yes;;
54131 eval ac_cv_prog_make_${ac_make}_set=no;;
54133 rm -f conftest.make
54135 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
54136 { echo "$as_me:$LINENO: result: yes" >&5
54137 echo "${ECHO_T}yes" >&6; }
54140 { echo "$as_me:$LINENO: result: no" >&5
54141 echo "${ECHO_T}no" >&6; }
54142 SET_MAKE="MAKE=${MAKE-make}"
54147 if test "x$SUNCXX" = "xyes"; then
54150 AROPTIONS=${AROPTIONS:-"-xar -o"}
54152 if test -n "$ac_tool_prefix"; then
54153 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
54154 set dummy ${ac_tool_prefix}ar; ac_word=$2
54155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54157 if test "${ac_cv_prog_AR+set}" = set; then
54158 echo $ECHO_N "(cached) $ECHO_C" >&6
54160 if test -n "$AR"; then
54161 ac_cv_prog_AR="$AR" # Let the user override the test.
54163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54164 for as_dir in $PATH
54167 test -z "$as_dir" && as_dir=.
54168 for ac_exec_ext in '' $ac_executable_extensions; do
54169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54170 ac_cv_prog_AR="${ac_tool_prefix}ar"
54171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54181 if test -n "$AR"; then
54182 { echo "$as_me:$LINENO: result: $AR" >&5
54183 echo "${ECHO_T}$AR" >&6; }
54185 { echo "$as_me:$LINENO: result: no" >&5
54186 echo "${ECHO_T}no" >&6; }
54191 if test -z "$ac_cv_prog_AR"; then
54193 # Extract the first word of "ar", so it can be a program name with args.
54194 set dummy ar; ac_word=$2
54195 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54197 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
54198 echo $ECHO_N "(cached) $ECHO_C" >&6
54200 if test -n "$ac_ct_AR"; then
54201 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
54203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54204 for as_dir in $PATH
54207 test -z "$as_dir" && as_dir=.
54208 for ac_exec_ext in '' $ac_executable_extensions; do
54209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54210 ac_cv_prog_ac_ct_AR="ar"
54211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54220 ac_ct_AR=$ac_cv_prog_ac_ct_AR
54221 if test -n "$ac_ct_AR"; then
54222 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
54223 echo "${ECHO_T}$ac_ct_AR" >&6; }
54225 { echo "$as_me:$LINENO: result: no" >&5
54226 echo "${ECHO_T}no" >&6; }
54229 if test "x$ac_ct_AR" = x; then
54232 case $cross_compiling:$ac_tool_warned in
54234 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
54235 whose name does not start with the host triplet. If you think this
54236 configuration is useful to you, please write to autoconf@gnu.org." >&5
54237 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
54238 whose name does not start with the host triplet. If you think this
54239 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
54240 ac_tool_warned=yes ;;
54245 AR="$ac_cv_prog_AR"
54252 if test -n "$ac_tool_prefix"; then
54253 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
54254 set dummy ${ac_tool_prefix}strip; ac_word=$2
54255 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54257 if test "${ac_cv_prog_STRIP+set}" = set; then
54258 echo $ECHO_N "(cached) $ECHO_C" >&6
54260 if test -n "$STRIP"; then
54261 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
54263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54264 for as_dir in $PATH
54267 test -z "$as_dir" && as_dir=.
54268 for ac_exec_ext in '' $ac_executable_extensions; do
54269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54270 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
54271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54280 STRIP=$ac_cv_prog_STRIP
54281 if test -n "$STRIP"; then
54282 { echo "$as_me:$LINENO: result: $STRIP" >&5
54283 echo "${ECHO_T}$STRIP" >&6; }
54285 { echo "$as_me:$LINENO: result: no" >&5
54286 echo "${ECHO_T}no" >&6; }
54291 if test -z "$ac_cv_prog_STRIP"; then
54293 # Extract the first word of "strip", so it can be a program name with args.
54294 set dummy strip; ac_word=$2
54295 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54297 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
54298 echo $ECHO_N "(cached) $ECHO_C" >&6
54300 if test -n "$ac_ct_STRIP"; then
54301 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
54303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54304 for as_dir in $PATH
54307 test -z "$as_dir" && as_dir=.
54308 for ac_exec_ext in '' $ac_executable_extensions; do
54309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54310 ac_cv_prog_ac_ct_STRIP="strip"
54311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54320 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
54321 if test -n "$ac_ct_STRIP"; then
54322 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
54323 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
54325 { echo "$as_me:$LINENO: result: no" >&5
54326 echo "${ECHO_T}no" >&6; }
54329 if test "x$ac_ct_STRIP" = x; then
54332 case $cross_compiling:$ac_tool_warned in
54334 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
54335 whose name does not start with the host triplet. If you think this
54336 configuration is useful to you, please write to autoconf@gnu.org." >&5
54337 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
54338 whose name does not start with the host triplet. If you think this
54339 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
54340 ac_tool_warned=yes ;;
54345 STRIP="$ac_cv_prog_STRIP"
54348 if test -n "$ac_tool_prefix"; then
54349 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
54350 set dummy ${ac_tool_prefix}nm; ac_word=$2
54351 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54353 if test "${ac_cv_prog_NM+set}" = set; then
54354 echo $ECHO_N "(cached) $ECHO_C" >&6
54356 if test -n "$NM"; then
54357 ac_cv_prog_NM="$NM" # Let the user override the test.
54359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54360 for as_dir in $PATH
54363 test -z "$as_dir" && as_dir=.
54364 for ac_exec_ext in '' $ac_executable_extensions; do
54365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54366 ac_cv_prog_NM="${ac_tool_prefix}nm"
54367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54377 if test -n "$NM"; then
54378 { echo "$as_me:$LINENO: result: $NM" >&5
54379 echo "${ECHO_T}$NM" >&6; }
54381 { echo "$as_me:$LINENO: result: no" >&5
54382 echo "${ECHO_T}no" >&6; }
54387 if test -z "$ac_cv_prog_NM"; then
54389 # Extract the first word of "nm", so it can be a program name with args.
54390 set dummy nm; ac_word=$2
54391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54393 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
54394 echo $ECHO_N "(cached) $ECHO_C" >&6
54396 if test -n "$ac_ct_NM"; then
54397 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
54399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54400 for as_dir in $PATH
54403 test -z "$as_dir" && as_dir=.
54404 for ac_exec_ext in '' $ac_executable_extensions; do
54405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54406 ac_cv_prog_ac_ct_NM="nm"
54407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54416 ac_ct_NM=$ac_cv_prog_ac_ct_NM
54417 if test -n "$ac_ct_NM"; then
54418 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
54419 echo "${ECHO_T}$ac_ct_NM" >&6; }
54421 { echo "$as_me:$LINENO: result: no" >&5
54422 echo "${ECHO_T}no" >&6; }
54425 if test "x$ac_ct_NM" = x; then
54428 case $cross_compiling:$ac_tool_warned in
54430 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
54431 whose name does not start with the host triplet. If you think this
54432 configuration is useful to you, please write to autoconf@gnu.org." >&5
54433 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
54434 whose name does not start with the host triplet. If you think this
54435 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
54436 ac_tool_warned=yes ;;
54441 NM="$ac_cv_prog_NM"
54445 case ${BAKEFILE_HOST} in
54447 INSTALL_DIR="mkdir -p"
54450 INSTALL_DIR='$(INSTALL) -d'
54456 case ${BAKEFILE_HOST} in
54457 *-*-cygwin* | *-*-mingw32* )
54458 LDFLAGS_GUI="-mwindows"
54464 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
54465 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
54466 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
54467 echo $ECHO_N "(cached) $ECHO_C" >&6
54470 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
54471 egrep -s GNU > /dev/null); then
54472 bakefile_cv_prog_makeisgnu="yes"
54474 bakefile_cv_prog_makeisgnu="no"
54478 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
54479 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
54481 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
54498 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
54499 case "${BAKEFILE_HOST}" in
54506 *-pc-os2_emx | *-pc-os2-emx )
54516 powerpc-apple-macos* )
54525 case "$BAKEFILE_FORCE_PLATFORM" in
54546 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
54547 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
54548 { (exit 1); exit 1; }; }
54563 # Check whether --enable-omf was given.
54564 if test "${enable_omf+set}" = set; then
54565 enableval=$enable_omf; bk_os2_use_omf="$enableval"
54569 case "${BAKEFILE_HOST}" in
54571 if test "x$GCC" = "xyes"; then
54572 CFLAGS="$CFLAGS -fno-common"
54573 CXXFLAGS="$CXXFLAGS -fno-common"
54575 if test "x$XLCC" = "xyes"; then
54576 CFLAGS="$CFLAGS -qnocommon"
54577 CXXFLAGS="$CXXFLAGS -qnocommon"
54581 *-pc-os2_emx | *-pc-os2-emx )
54582 if test "x$bk_os2_use_omf" = "xyes" ; then
54585 LDFLAGS="-Zomf $LDFLAGS"
54586 CFLAGS="-Zomf $CFLAGS"
54587 CXXFLAGS="-Zomf $CXXFLAGS"
54595 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
54601 SO_SUFFIX_MODULE="so"
54606 DLLPREFIX_MODULE=""
54610 case "${BAKEFILE_HOST}" in
54613 SO_SUFFIX_MODULE="sl"
54617 SO_SUFFIX_MODULE="a"
54621 SO_SUFFIX_MODULE="dll"
54622 DLLIMP_SUFFIX="dll.a"
54629 SO_SUFFIX_MODULE="dll"
54630 DLLIMP_SUFFIX="dll.a"
54640 *-pc-os2_emx | *-pc-os2-emx )
54642 SO_SUFFIX_MODULE="dll"
54643 DLLIMP_SUFFIX=$OS2_LIBEXT
54647 LIBEXT=".$OS2_LIBEXT"
54652 SO_SUFFIX_MODULE="bundle"
54656 if test "x$DLLIMP_SUFFIX" = "x" ; then
54657 DLLIMP_SUFFIX="$SO_SUFFIX"
54672 if test "x$GCC" = "xyes"; then
54676 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
54677 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
54680 case "${BAKEFILE_HOST}" in
54682 if test "x$GCC" != "xyes"; then
54683 LDFLAGS="$LDFLAGS -L/usr/lib"
54685 SHARED_LD_CC="${CC} -b -o"
54686 SHARED_LD_CXX="${CXX} -b -o"
54692 if test "x$GCC" != "xyes"; then
54693 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
54694 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
54695 if test "${bakefile_cv_prog_icc+set}" = set; then
54696 echo $ECHO_N "(cached) $ECHO_C" >&6
54699 cat >conftest.$ac_ext <<_ACEOF
54702 cat confdefs.h >>conftest.$ac_ext
54703 cat >>conftest.$ac_ext <<_ACEOF
54704 /* end confdefs.h. */
54710 #ifndef __INTEL_COMPILER
54718 rm -f conftest.$ac_objext
54719 if { (ac_try="$ac_compile"
54720 case "(($ac_try" in
54721 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
54722 *) ac_try_echo
=$ac_try;;
54724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54725 (eval "$ac_compile") 2>conftest.er1
54727 grep -v '^ *+' conftest.er1
>conftest.err
54729 cat conftest.err
>&5
54730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54731 (exit $ac_status); } &&
54732 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
54733 { (case "(($ac_try" in
54734 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
54735 *) ac_try_echo=$ac_try;;
54737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54738 (eval "$ac_try") 2>&5
54740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54741 (exit $ac_status); }; } &&
54742 { ac_try='test -s conftest.$ac_objext'
54743 { (case "(($ac_try" in
54744 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
54745 *) ac_try_echo
=$ac_try;;
54747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54748 (eval "$ac_try") 2>&5
54750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54751 (exit $ac_status); }; }; then
54752 bakefile_cv_prog_icc
=yes
54754 echo "$as_me: failed program was:" >&5
54755 sed 's/^/| /' conftest.
$ac_ext >&5
54757 bakefile_cv_prog_icc
=no
54761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
54764 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
54765 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
54766 if test "$bakefile_cv_prog_icc" = "yes"; then
54773 if test "x$GCC" != xyes
; then
54774 SHARED_LD_CC
="${CC} -G -o"
54775 SHARED_LD_CXX
="${CXX} -G -o"
54783 cat <<EOF >shared-ld-sh
54785 #-----------------------------------------------------------------------------
54786 #-- Name: distrib/mac/shared-ld-sh
54787 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
54788 #-- Author: Gilles Depeyrot
54789 #-- Copyright: (c) 2002 Gilles Depeyrot
54790 #-- Licence: any use permitted
54791 #-----------------------------------------------------------------------------
54796 linking_flag="-dynamiclib"
54797 ldargs="-r -keep_private_externs -nostdlib"
54799 while test ${D}# -gt 0; do
54806 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
54807 # collect these options and values
54808 args="${D}{args} ${D}1 ${D}2"
54813 # collect these load args
54814 ldargs="${D}{ldargs} ${D}1"
54817 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
54818 # collect these options
54819 args="${D}{args} ${D}1"
54822 -dynamiclib|-bundle)
54823 linking_flag="${D}1"
54827 echo "shared-ld: unhandled option '${D}1'"
54831 *.o | *.a | *.dylib)
54832 # collect object files
54833 objects="${D}{objects} ${D}1"
54837 echo "shared-ld: unhandled argument '${D}1'"
54848 # Link one module containing all the others
54850 if test ${D}{verbose} = 1; then
54851 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
54853 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
54857 # Link the shared library from the single module created, but only if the
54858 # previous command didn't fail:
54860 if test ${D}{status} = 0; then
54861 if test ${D}{verbose} = 1; then
54862 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
54864 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
54869 # Remove intermediate module
54871 rm -f master.${D}${D}.o
54876 chmod +x shared
-ld-sh
54878 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
54879 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
54882 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
54883 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
54884 if test "${bakefile_cv_gcc31+set}" = set; then
54885 echo $ECHO_N "(cached) $ECHO_C" >&6
54888 cat >conftest.
$ac_ext <<_ACEOF
54891 cat confdefs.h
>>conftest.
$ac_ext
54892 cat >>conftest.
$ac_ext <<_ACEOF
54893 /* end confdefs.h. */
54899 #if (__GNUC__ < 3) || \
54900 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
54908 rm -f conftest.
$ac_objext
54909 if { (ac_try
="$ac_compile"
54910 case "(($ac_try" in
54911 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
54912 *) ac_try_echo=$ac_try;;
54914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54915 (eval "$ac_compile") 2>conftest.er1
54917 grep -v '^ *+' conftest.er1 >conftest.err
54919 cat conftest.err >&5
54920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54921 (exit $ac_status); } &&
54922 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
54923 { (case "(($ac_try" in
54924 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
54925 *) ac_try_echo
=$ac_try;;
54927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54928 (eval "$ac_try") 2>&5
54930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54931 (exit $ac_status); }; } &&
54932 { ac_try
='test -s conftest.$ac_objext'
54933 { (case "(($ac_try" in
54934 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
54935 *) ac_try_echo=$ac_try;;
54937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54938 (eval "$ac_try") 2>&5
54940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54941 (exit $ac_status); }; }; then
54943 bakefile_cv_gcc31=yes
54946 echo "$as_me: failed program was:" >&5
54947 sed 's/^/| /' conftest.$ac_ext >&5
54950 bakefile_cv_gcc31=no
54955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54958 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
54959 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
54960 if test "$bakefile_cv_gcc31" = "no"; then
54961 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
54962 SHARED_LD_CXX="$SHARED_LD_CC"
54964 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
54965 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
54968 if test "x$GCC" == "xyes"; then
54969 PIC_FLAG="-dynamic -fPIC"
54971 if test "x$XLCC" = "xyes"; then
54972 PIC_FLAG="-dynamic -DPIC"
54977 if test "x$GCC" = "xyes"; then
54980 case "${BAKEFILE_HOST}" in
54982 LD_EXPFULL="-Wl,-bexpfull"
54986 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
54987 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
54989 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
54990 set dummy makeC++SharedLib; ac_word=$2
54991 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54993 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
54994 echo $ECHO_N "(cached) $ECHO_C" >&6
54996 if test -n "$AIX_CXX_LD"; then
54997 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
54999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55000 for as_dir in $PATH
55003 test -z "$as_dir" && as_dir=.
55004 for ac_exec_ext in '' $ac_executable_extensions; do
55005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
55006 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
55007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55014 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
55017 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
55018 if test -n "$AIX_CXX_LD"; then
55019 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
55020 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
55022 { echo "$as_me:$LINENO: result: no" >&5
55023 echo "${ECHO_T}no" >&6; }
55027 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
55028 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
55033 SHARED_LD_CC="${LD} -nostart -o"
55034 SHARED_LD_CXX="${LD} -nostart -o"
55038 if test "x$GCC" != "xyes"; then
55043 *-*-cygwin* | *-*-mingw32* )
55045 SHARED_LD_CC="\$(CC) -shared -o"
55046 SHARED_LD_CXX="\$(CXX) -shared -o"
55050 *-pc-os2_emx | *-pc-os2-emx )
55051 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55052 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55056 cat <<EOF >dllar.sh
55059 # dllar - a tool to build both a .dll and an .a file
55060 # from a set of object (.o) files for EMX/OS2.
55062 # Written by Andrew Zabolotny, bit@freya.etu.ru
55063 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
55065 # This script will accept a set of files on the command line.
55066 # All the public symbols from the .o files will be exported into
55067 # a .DEF file, then linker will be run (through gcc) against them to
55068 # build a shared library consisting of all given .o files. All libraries
55069 # (.a) will be first decompressed into component .o files then act as
55070 # described above. You can optionally give a description (-d "description")
55071 # which will be put into .DLL. To see the list of accepted options (as well
55072 # as command-line format) simply run this program without options. The .DLL
55073 # is built to be imported by name (there is no guarantee that new versions
55074 # of the library you build will have same ordinals for same symbols).
55076 # dllar is free software; you can redistribute it and/or modify
55077 # it under the terms of the GNU General Public License as published by
55078 # the Free Software Foundation; either version 2, or (at your option)
55079 # any later version.
55081 # dllar is distributed in the hope that it will be useful,
55082 # but WITHOUT ANY WARRANTY; without even the implied warranty of
55083 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
55084 # GNU General Public License for more details.
55086 # You should have received a copy of the GNU General Public License
55087 # along with dllar; see the file COPYING. If not, write to the Free
55088 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
55091 # To successfuly run this program you will need:
55092 # - Current drive should have LFN support (HPFS, ext2, network, etc)
55093 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
55095 # (used to build the .dll)
55097 # (used to create .def file from .o files)
55099 # (used to create .a file from .def file)
55100 # - GNU text utilites (cat, sort, uniq)
55101 # used to process emxexp output
55102 # - GNU file utilities (mv, rm)
55104 # - lxlite (optional, see flag below)
55105 # (used for general .dll cleanup)
55112 # basnam, variant of basename, which does _not_ remove the path, _iff_
55113 # second argument (suffix to remove) is given
55117 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
55120 echo ${D}1 | sed 's/'${D}2'${D}//'
55123 echo "error in basnam ${D}*"
55129 # Cleanup temporary files and output
55132 for i in ${D}inputFiles ; do
55135 rm -rf \`basnam
${D}i
!\
`
55142 # Kill result in case of failure as there is just to many stupid make/nmake
55143 # things out there which doesn't do this.
55144 if [ ${D}# -eq 0 ]; then
55145 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
55149 # Print usage and exit script with rc=1.
55151 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
55152 echo ' [-name-mangler-script script.sh]'
55153 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
55154 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
55155 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
55156 echo ' [*.o] [*.a]'
55157 echo '*> "output_file" should have no extension.'
55158 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
55159 echo ' The import library name is derived from this and is set to "name".a,'
55160 echo ' unless overridden by -import'
55161 echo '*> "importlib_name" should have no extension.'
55162 echo ' If it has the .o, or .a extension, it is automatically removed.'
55163 echo ' This name is used as the import library name and may be longer and'
55164 echo ' more descriptive than the DLL name which has to follow the old '
55165 echo ' 8.3 convention of FAT.'
55166 echo '*> "script.sh may be given to override the output_file name by a'
55167 echo ' different name. It is mainly useful if the regular make process'
55168 echo ' of some package does not take into account OS/2 restriction of'
55169 echo ' DLL name lengths. It takes the importlib name as input and is'
55170 echo ' supposed to procude a shorter name as output. The script should'
55171 echo ' expect to get importlib_name without extension and should produce'
55172 echo ' a (max.) 8 letter name without extension.'
55173 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
55174 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
55175 echo ' These flags will be put at the start of GCC command line.'
55176 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
55177 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
55178 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
55179 echo ' If the last character of a symbol is "*", all symbols beginning'
55180 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
55181 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
55182 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
55183 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
55184 echo ' C runtime DLLs.'
55185 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
55186 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
55187 echo ' unchanged to GCC at the end of command line.'
55188 echo '*> If you create a DLL from a library and you do not specify -o,'
55189 echo ' the basename for DLL and import library will be set to library name,'
55190 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
55191 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
55192 echo ' library will be renamed into gcc_s.a.'
55195 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
55196 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
55201 # Execute a command.
55202 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
55203 # @Uses Whatever CleanUp() uses.
55209 if [ ${D}rcCmd -ne 0 ]; then
55210 echo "command failed, exit code="${D}rcCmd
55225 CFLAGS="-s -Zcrtdll"
55227 EXPORT_BY_ORDINALS=0
55232 case ${D}curDirS in
55236 curDirS=${D}{curDirS}"/"
55239 # Parse commandline
55242 while [ ${D}1 ]; do
55245 EXPORT_BY_ORDINALS=1;
55255 -name-mangler-script)
55276 exclude_symbols=${D}{exclude_symbols}${D}1" "
55280 library_flags=${D}{library_flags}${D}1" "
55299 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
55302 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
55303 if [ ${D}omfLinking -eq 1 ]; then
55304 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
55306 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
55311 if [ ${D}libsToLink -ne 0 ]; then
55312 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
55314 for file in ${D}1 ; do
55315 if [ -f ${D}file ]; then
55316 inputFiles="${D}{inputFiles} ${D}file"
55320 if [ ${D}found -eq 0 ]; then
55321 echo "ERROR: No file(s) found: "${D}1
55328 done # iterate cmdline words
55331 if [ -z "${D}inputFiles" ]; then
55332 echo "dllar: no input files"
55336 # Now extract all .o files from .a files
55338 for file in ${D}inputFiles ; do
55349 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
55354 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
55356 if [ ${D}? -ne 0 ]; then
55357 echo "Failed to create subdirectory ./${D}dirname"
55361 # Append '!' to indicate archive
55362 newInputFiles="${D}newInputFiles ${D}{dirname}!"
55363 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
55366 for subfile in ${D}dirname/*.o* ; do
55367 if [ -f ${D}subfile ]; then
55369 if [ -s ${D}subfile ]; then
55370 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
55371 newInputFiles="${D}newInputFiles ${D}subfile"
55375 if [ ${D}found -eq 0 ]; then
55376 echo "WARNING: there are no files in archive \\'${D}file\\'"
55380 newInputFiles="${D}{newInputFiles} ${D}file"
55384 inputFiles="${D}newInputFiles"
55386 # Output filename(s).
55388 if [ -z ${D}outFile ]; then
55390 set outFile ${D}inputFiles; outFile=${D}2
55393 # If it is an archive, remove the '!' and the '_%' suffixes
55394 case ${D}outFile in
55396 outFile=\`basnam
${D}outFile _
%!\
`
55401 case ${D}outFile in
55403 outFile=\`basnam
${D}outFile .dll\
`
55406 outFile=\`basnam
${D}outFile .DLL\
`
55409 outFile=\`basnam
${D}outFile .o\
`
55412 outFile=\`basnam
${D}outFile .obj\
`
55415 outFile=\`basnam
${D}outFile .a\
`
55418 outFile=\`basnam
${D}outFile .lib\
`
55423 case ${D}outimpFile in
55425 outimpFile=\`basnam
${D}outimpFile .a\
`
55428 outimpFile=\`basnam
${D}outimpFile .lib\
`
55433 if [ -z ${D}outimpFile ]; then
55434 outimpFile=${D}outFile
55436 defFile="${D}{outFile}.def"
55437 arcFile="${D}{outimpFile}.a"
55438 arcFile2="${D}{outimpFile}.lib"
55440 #create ${D}dllFile as something matching 8.3 restrictions,
55441 if [ -z ${D}renameScript ] ; then
55442 dllFile="${D}outFile"
55444 dllFile=\`${D}renameScript
${D}outimpFile\
`
55447 if [ ${D}do_backup -ne 0 ] ; then
55448 if [ -f ${D}arcFile ] ; then
55449 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
55451 if [ -f ${D}arcFile2 ] ; then
55452 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
55456 # Extract public symbols from all the object files.
55457 tmpdefFile=${D}{defFile}_%
55458 rm -f ${D}tmpdefFile
55459 for file in ${D}inputFiles ; do
55464 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
55469 # Create the def file.
55471 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
55472 dllFile="${D}{dllFile}.dll"
55473 if [ ! -z ${D}description ]; then
55474 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
55476 echo "EXPORTS" >> ${D}defFile
55478 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
55479 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
55481 # Checks if the export is ok or not.
55482 for word in ${D}exclude_symbols; do
55483 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
55484 mv ${D}{tmpdefFile}% ${D}tmpdefFile
55488 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
55489 sed "=" < ${D}tmpdefFile | \\
55493 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
55495 ' > ${D}{tmpdefFile}%
55496 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
55498 rm -f ${D}{tmpdefFile}%
55500 cat ${D}tmpdefFile >> ${D}defFile
55501 rm -f ${D}tmpdefFile
55503 # Do linking, create implib, and apply lxlite.
55505 for file in ${D}inputFiles ; do
55510 gccCmdl="${D}gccCmdl ${D}file"
55514 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
55515 touch "${D}{outFile}.dll"
55517 doCommand "emximp -o ${D}arcFile ${D}defFile"
55518 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
55520 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
55523 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
55525 doCommand "emxomf -s -l ${D}arcFile"
55535 powerpc-apple-macos* | \
55536 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
55548 if test "x$PIC_FLAG" != "x" ; then
55549 PIC_FLAG="$PIC_FLAG -DPIC"
55552 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
55553 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
55555 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
55556 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
55575 case "${BAKEFILE_HOST}" in
55576 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
55577 SONAME_FLAG="-Wl,-soname,"
55611 # Check whether --enable-dependency-tracking was given.
55612 if test "${enable_dependency_tracking+set}" = set; then
55613 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
55617 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
55618 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
55621 if test "x$bk_use_trackdeps" = "xno" ; then
55623 { echo "$as_me:$LINENO: result: disabled" >&5
55624 echo "${ECHO_T}disabled" >&6; }
55628 if test "x$GCC" = "xyes"; then
55630 case "${BAKEFILE_HOST}" in
55632 DEPSFLAG="-no-cpp-precomp -MMD"
55638 { echo "$as_me:$LINENO: result: gcc" >&5
55639 echo "${ECHO_T}gcc" >&6; }
55640 elif test "x$MWCC" = "xyes"; then
55643 { echo "$as_me:$LINENO: result: mwcc" >&5
55644 echo "${ECHO_T}mwcc" >&6; }
55645 elif test "x$SUNCC" = "xyes"; then
55648 { echo "$as_me:$LINENO: result: Sun cc" >&5
55649 echo "${ECHO_T}Sun cc" >&6; }
55650 elif test "x$SGICC" = "xyes"; then
55653 { echo "$as_me:$LINENO: result: SGI cc" >&5
55654 echo "${ECHO_T}SGI cc" >&6; }
55655 elif test "x$HPCC" = "xyes"; then
55658 { echo "$as_me:$LINENO: result: HP cc" >&5
55659 echo "${ECHO_T}HP cc" >&6; }
55660 elif test "x$COMPAQCC" = "xyes"; then
55663 { echo "$as_me:$LINENO: result: Compaq cc" >&5
55664 echo "${ECHO_T}Compaq cc" >&6; }
55667 { echo "$as_me:$LINENO: result: none" >&5
55668 echo "${ECHO_T}none" >&6; }
55671 if test $DEPS_TRACKING = 1 ; then
55677 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
55678 # script. It is used to track C/C++ files dependencies in portable way.
55680 # Permission is given to use this file in any way.
55682 DEPSMODE=${DEPSMODE}
55684 DEPSFLAG="${DEPSFLAG}"
55686 mkdir -p ${D}DEPSDIR
55688 if test ${D}DEPSMODE = gcc ; then
55689 ${D}* ${D}{DEPSFLAG}
55691 if test ${D}{status} != 0 ; then
55694 # move created file to the location we want it in:
55695 while test ${D}# -gt 0; do
55709 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
55710 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
55711 if test -f ${D}depfile ; then
55712 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
55715 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
55716 depfile=\`basename ${D}objfile
| sed -e 's/\\..*${D}/.d/g'\
`
55717 if test ! -f ${D}depfile ; then
55718 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
55719 depfile="${D}objfile.d"
55721 if test -f ${D}depfile ; then
55722 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
55727 elif test ${D}DEPSMODE = mwcc ; then
55728 ${D}* || exit ${D}?
55729 # Run mwcc again with -MM and redirect into the dep file we want
55730 # NOTE: We can't use shift here because we need ${D}* to be valid
55732 for arg in ${D}* ; do
55733 if test "${D}prevarg" = "-o"; then
55746 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
55748 elif test ${D}DEPSMODE = unixcc; then
55749 ${D}* || exit ${D}?
55750 # Run compiler again with deps flag and redirect into the dep file.
55751 # It doesn't work if the '-o FILE' option is used, but without it the
55752 # dependency file will contain the wrong name for the object. So it is
55753 # removed from the command line, and the dep file is fixed with sed.
55755 while test ${D}# -gt 0; do
55762 eval arg${D}#=\\${D}1
55763 cmd="${D}cmd \\${D}arg${D}#"
55768 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
55777 BK_DEPS="`pwd`/bk-deps"
55785 case ${BAKEFILE_HOST} in
55786 *-*-cygwin* | *-*-mingw32* )
55787 if test -n "$ac_tool_prefix"; then
55788 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
55789 set dummy ${ac_tool_prefix}windres; ac_word=$2
55790 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55792 if test "${ac_cv_prog_WINDRES+set}" = set; then
55793 echo $ECHO_N "(cached) $ECHO_C" >&6
55795 if test -n "$WINDRES"; then
55796 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
55798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55799 for as_dir in $PATH
55802 test -z "$as_dir" && as_dir=.
55803 for ac_exec_ext in '' $ac_executable_extensions; do
55804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
55805 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
55806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55815 WINDRES=$ac_cv_prog_WINDRES
55816 if test -n "$WINDRES"; then
55817 { echo "$as_me:$LINENO: result: $WINDRES" >&5
55818 echo "${ECHO_T}$WINDRES" >&6; }
55820 { echo "$as_me:$LINENO: result: no" >&5
55821 echo "${ECHO_T}no" >&6; }
55826 if test -z "$ac_cv_prog_WINDRES"; then
55827 ac_ct_WINDRES=$WINDRES
55828 # Extract the first word of "windres", so it can be a program name with args.
55829 set dummy windres; ac_word=$2
55830 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55832 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
55833 echo $ECHO_N "(cached) $ECHO_C" >&6
55835 if test -n "$ac_ct_WINDRES"; then
55836 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
55838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55839 for as_dir in $PATH
55842 test -z "$as_dir" && as_dir=.
55843 for ac_exec_ext in '' $ac_executable_extensions; do
55844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
55845 ac_cv_prog_ac_ct_WINDRES="windres"
55846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55855 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
55856 if test -n "$ac_ct_WINDRES"; then
55857 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
55858 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
55860 { echo "$as_me:$LINENO: result: no" >&5
55861 echo "${ECHO_T}no" >&6; }
55864 if test "x$ac_ct_WINDRES" = x; then
55867 case $cross_compiling:$ac_tool_warned in
55869 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
55870 whose name does not start with the host triplet. If you think this
55871 configuration is useful to you, please write to autoconf@gnu.org." >&5
55872 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
55873 whose name does not start with the host triplet. If you think this
55874 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
55875 ac_tool_warned=yes ;;
55877 WINDRES=$ac_ct_WINDRES
55880 WINDRES="$ac_cv_prog_WINDRES"
55885 *-*-darwin* | powerpc-apple-macos* )
55886 # Extract the first word of "Rez", so it can be a program name with args.
55887 set dummy Rez; ac_word=$2
55888 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55890 if test "${ac_cv_prog_REZ+set}" = set; then
55891 echo $ECHO_N "(cached) $ECHO_C" >&6
55893 if test -n "$REZ"; then
55894 ac_cv_prog_REZ="$REZ" # Let the user override the test.
55896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55897 for as_dir in $PATH
55900 test -z "$as_dir" && as_dir=.
55901 for ac_exec_ext in '' $ac_executable_extensions; do
55902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
55903 ac_cv_prog_REZ="Rez"
55904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55911 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
55914 REZ=$ac_cv_prog_REZ
55915 if test -n "$REZ"; then
55916 { echo "$as_me:$LINENO: result: $REZ" >&5
55917 echo "${ECHO_T}$REZ" >&6; }
55919 { echo "$as_me:$LINENO: result: no" >&5
55920 echo "${ECHO_T}no" >&6; }
55924 # Extract the first word of "SetFile", so it can be a program name with args.
55925 set dummy SetFile; ac_word=$2
55926 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55928 if test "${ac_cv_prog_SETFILE+set}" = set; then
55929 echo $ECHO_N "(cached) $ECHO_C" >&6
55931 if test -n "$SETFILE"; then
55932 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
55934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55935 for as_dir in $PATH
55938 test -z "$as_dir" && as_dir=.
55939 for ac_exec_ext in '' $ac_executable_extensions; do
55940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
55941 ac_cv_prog_SETFILE="SetFile"
55942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55949 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
55952 SETFILE=$ac_cv_prog_SETFILE
55953 if test -n "$SETFILE"; then
55954 { echo "$as_me:$LINENO: result: $SETFILE" >&5
55955 echo "${ECHO_T}$SETFILE" >&6; }
55957 { echo "$as_me:$LINENO: result: no" >&5
55958 echo "${ECHO_T}no" >&6; }
55970 BAKEFILE_BAKEFILE_M4_VERSION="0.2.1"
55973 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.1"
55977 # Check whether --enable-precomp-headers was given.
55978 if test "${enable_precomp_headers+set}" = set; then
55979 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
55988 case ${BAKEFILE_HOST} in
55994 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
55995 if test "x$GCC" = "xyes"; then
55996 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
55997 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
55998 cat >conftest.$ac_ext <<_ACEOF
56001 cat confdefs.h >>conftest.$ac_ext
56002 cat >>conftest.$ac_ext <<_ACEOF
56003 /* end confdefs.h. */
56009 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
56010 There is no PCH support
56013 There is no PCH support
56015 #if (__GNUC__ == 3) && \
56016 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
56017 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
56018 ( defined(__INTEL_COMPILER) )
56019 There is no PCH support
56026 rm -f conftest.$ac_objext
56027 if { (ac_try="$ac_compile"
56028 case "(($ac_try" in
56029 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
56030 *) ac_try_echo
=$ac_try;;
56032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56033 (eval "$ac_compile") 2>conftest.er1
56035 grep -v '^ *+' conftest.er1
>conftest.err
56037 cat conftest.err
>&5
56038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56039 (exit $ac_status); } &&
56040 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
56041 { (case "(($ac_try" in
56042 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
56043 *) ac_try_echo=$ac_try;;
56045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56046 (eval "$ac_try") 2>&5
56048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56049 (exit $ac_status); }; } &&
56050 { ac_try='test -s conftest.$ac_objext'
56051 { (case "(($ac_try" in
56052 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
56053 *) ac_try_echo
=$ac_try;;
56055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56056 (eval "$ac_try") 2>&5
56058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56059 (exit $ac_status); }; }; then
56061 { echo "$as_me:$LINENO: result: yes" >&5
56062 echo "${ECHO_T}yes" >&6; }
56066 echo "$as_me: failed program was:" >&5
56067 sed 's/^/| /' conftest.
$ac_ext >&5
56070 cat >conftest.
$ac_ext <<_ACEOF
56073 cat confdefs.h
>>conftest.
$ac_ext
56074 cat >>conftest.
$ac_ext <<_ACEOF
56075 /* end confdefs.h. */
56081 #if !defined(__INTEL_COMPILER) || \
56082 (__INTEL_COMPILER < 800)
56083 There is no PCH support
56090 rm -f conftest.
$ac_objext
56091 if { (ac_try
="$ac_compile"
56092 case "(($ac_try" in
56093 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
56094 *) ac_try_echo=$ac_try;;
56096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56097 (eval "$ac_compile") 2>conftest.er1
56099 grep -v '^ *+' conftest.er1 >conftest.err
56101 cat conftest.err >&5
56102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56103 (exit $ac_status); } &&
56104 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
56105 { (case "(($ac_try" in
56106 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
56107 *) ac_try_echo
=$ac_try;;
56109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56110 (eval "$ac_try") 2>&5
56112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56113 (exit $ac_status); }; } &&
56114 { ac_try
='test -s conftest.$ac_objext'
56115 { (case "(($ac_try" in
56116 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
56117 *) ac_try_echo=$ac_try;;
56119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56120 (eval "$ac_try") 2>&5
56122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56123 (exit $ac_status); }; }; then
56125 { echo "$as_me:$LINENO: result: yes" >&5
56126 echo "${ECHO_T}yes" >&6; }
56130 echo "$as_me: failed program was:" >&5
56131 sed 's/^/| /' conftest.$ac_ext >&5
56134 { echo "$as_me:$LINENO: result: no" >&5
56135 echo "${ECHO_T}no" >&6; }
56139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56144 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
56148 cat <<EOF >bk-make-pch
56151 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
56152 # script. It is used to generated precompiled headers.
56154 # Permission is given to use this file in any way.
56164 while test ${D}{#} -gt 0; do
56168 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
56169 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
56170 headerfile="${D}{incdir}/${D}{header}"
56173 -use-pch|-use_pch )
56178 if test ${D}add_to_cmdline = 1 ; then
56179 compiler="${D}{compiler} ${D}{1}"
56184 if test "x${D}{headerfile}" = "x" ; then
56185 echo "error: can't find header ${D}{header} in include paths" >&2
56187 if test -f ${D}{outfile} ; then
56188 rm -f ${D}{outfile}
56190 mkdir -p \`dirname ${D}{outfile
}\
`
56192 depsfile=".deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
56194 if test "x${GCC_PCH}" = "x1" ; then
56195 # can do this because gcc is >= 3.4:
56196 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
56197 elif test "x${ICC_PCH}" = "x1" ; then
56198 filename=pch_gen-${D}${D}
56199 file=${D}{filename}.c
56200 dfile=${D}{filename}.d
56201 cat > ${D}file <<EOT
56202 #include "${D}header"
56204 # using -MF icc complains about differing command lines in creation/use
56205 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
56206 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
56207 rm -f ${D}file ${D}dfile ${D}{filename}.o
56213 chmod +x bk-make-pch
56214 BK_MAKE_PCH="`pwd`/bk-make-pch"
56223 COND_BUILD_DEBUG="#"
56224 if test "x$BUILD" = "xdebug" ; then
56225 COND_BUILD_DEBUG=""
56228 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
56229 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
56230 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
56233 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
56234 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
56235 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
56238 COND_BUILD_DEBUG_UNICODE_0="#"
56239 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
56240 COND_BUILD_DEBUG_UNICODE_0=""
56243 COND_BUILD_DEBUG_UNICODE_1="#"
56244 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
56245 COND_BUILD_DEBUG_UNICODE_1=""
56248 COND_BUILD_RELEASE="#"
56249 if test "x$BUILD" = "xrelease" ; then
56250 COND_BUILD_RELEASE=""
56253 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
56254 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
56255 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
56258 COND_BUILD_RELEASE_UNICODE_0="#"
56259 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
56260 COND_BUILD_RELEASE_UNICODE_0=""
56263 COND_BUILD_RELEASE_UNICODE_1="#"
56264 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
56265 COND_BUILD_RELEASE_UNICODE_1=""
56268 COND_DEBUG_FLAG_1="#"
56269 if test "x$DEBUG_FLAG" = "x1" ; then
56270 COND_DEBUG_FLAG_1=""
56273 COND_DEBUG_INFO_0="#"
56274 if test "x$DEBUG_INFO" = "x0" ; then
56275 COND_DEBUG_INFO_0=""
56278 COND_DEBUG_INFO_1="#"
56279 if test "x$DEBUG_INFO" = "x1" ; then
56280 COND_DEBUG_INFO_1=""
56283 COND_DEPS_TRACKING_0="#"
56284 if test "x$DEPS_TRACKING" = "x0" ; then
56285 COND_DEPS_TRACKING_0=""
56288 COND_DEPS_TRACKING_1="#"
56289 if test "x$DEPS_TRACKING" = "x1" ; then
56290 COND_DEPS_TRACKING_1=""
56294 if test "x$GCC_PCH" = "x1" ; then
56299 if test "x$ICC_PCH" = "x1" ; then
56303 COND_MONOLITHIC_0="#"
56304 if test "x$MONOLITHIC" = "x0" ; then
56305 COND_MONOLITHIC_0=""
56308 COND_MONOLITHIC_0_SHARED_0="#"
56309 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
56310 COND_MONOLITHIC_0_SHARED_0=""
56313 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
56314 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
56315 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
56318 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
56319 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
56320 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
56323 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
56324 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
56325 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
56328 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
56329 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
56330 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
56333 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
56334 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
56335 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
56338 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
56339 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
56340 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
56343 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
56344 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
56345 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
56348 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
56349 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
56350 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
56353 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
56354 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
56355 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
56358 COND_MONOLITHIC_0_SHARED_1="#"
56359 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
56360 COND_MONOLITHIC_0_SHARED_1=""
56363 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
56364 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
56365 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
56368 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
56369 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
56370 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
56373 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
56374 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
56375 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
56378 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
56379 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
56380 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
56383 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
56384 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
56385 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
56388 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
56389 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
56390 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
56393 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
56394 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
56395 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
56398 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
56399 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
56400 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
56403 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
56404 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
56405 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
56408 COND_MONOLITHIC_0_USE_MEDIA_1="#"
56409 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
56410 COND_MONOLITHIC_0_USE_MEDIA_1=""
56413 COND_MONOLITHIC_0_USE_ODBC_1="#"
56414 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
56415 COND_MONOLITHIC_0_USE_ODBC_1=""
56418 COND_MONOLITHIC_1="#"
56419 if test "x$MONOLITHIC" = "x1" ; then
56420 COND_MONOLITHIC_1=""
56423 COND_MONOLITHIC_1_SHARED_0="#"
56424 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
56425 COND_MONOLITHIC_1_SHARED_0=""
56428 COND_MONOLITHIC_1_SHARED_1="#"
56429 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
56430 COND_MONOLITHIC_1_SHARED_1=""
56433 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
56434 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
56435 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
56438 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
56439 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
56440 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
56443 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
56444 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
56445 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
56448 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
56449 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
56450 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
56453 COND_PLATFORM_MACOSX_1="#"
56454 if test "x$PLATFORM_MACOSX" = "x1" ; then
56455 COND_PLATFORM_MACOSX_1=""
56458 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
56459 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
56460 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
56463 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
56464 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
56465 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
56468 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
56469 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
56470 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
56473 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
56474 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
56475 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
56478 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
56479 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
56480 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
56483 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
56484 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
56485 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
56488 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
56489 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
56490 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
56493 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
56494 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
56495 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
56498 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
56499 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
56500 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
56503 COND_PLATFORM_MACOS_1="#"
56504 if test "x$PLATFORM_MACOS" = "x1" ; then
56505 COND_PLATFORM_MACOS_1=""
56508 COND_PLATFORM_MAC_1="#"
56509 if test "x$PLATFORM_MAC" = "x1" ; then
56510 COND_PLATFORM_MAC_1=""
56513 COND_PLATFORM_MSDOS_0="#"
56514 if test "x$PLATFORM_MSDOS" = "x0" ; then
56515 COND_PLATFORM_MSDOS_0=""
56518 COND_PLATFORM_MSDOS_1="#"
56519 if test "x$PLATFORM_MSDOS" = "x1" ; then
56520 COND_PLATFORM_MSDOS_1=""
56523 COND_PLATFORM_OS2_1="#"
56524 if test "x$PLATFORM_OS2" = "x1" ; then
56525 COND_PLATFORM_OS2_1=""
56528 COND_PLATFORM_UNIX_0="#"
56529 if test "x$PLATFORM_UNIX" = "x0" ; then
56530 COND_PLATFORM_UNIX_0=""
56533 COND_PLATFORM_UNIX_1="#"
56534 if test "x$PLATFORM_UNIX" = "x1" ; then
56535 COND_PLATFORM_UNIX_1=""
56538 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
56539 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
56540 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
56543 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
56544 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
56545 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
56548 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
56549 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
56550 COND_PLATFORM_UNIX_1_USE_GUI_1=""
56553 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
56554 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
56555 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
56558 COND_PLATFORM_WIN32_0="#"
56559 if test "x$PLATFORM_WIN32" = "x0" ; then
56560 COND_PLATFORM_WIN32_0=""
56563 COND_PLATFORM_WIN32_1="#"
56564 if test "x$PLATFORM_WIN32" = "x1" ; then
56565 COND_PLATFORM_WIN32_1=""
56569 if test "x$SHARED" = "x0" ; then
56573 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
56574 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
56575 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
56578 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
56579 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
56580 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
56583 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
56584 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
56585 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
56588 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
56589 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
56590 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
56593 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
56594 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
56595 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
56598 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
56599 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
56600 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
56603 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
56604 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
56605 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
56608 COND_SHARED_0_USE_XRC_1="#"
56609 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
56610 COND_SHARED_0_USE_XRC_1=""
56613 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
56614 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
56615 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
56618 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
56619 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
56620 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
56623 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
56624 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
56625 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
56628 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
56629 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
56630 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
56634 if test "x$SHARED" = "x1" ; then
56638 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
56639 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
56640 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
56643 COND_SHARED_1_USE_XRC_1="#"
56644 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
56645 COND_SHARED_1_USE_XRC_1=""
56649 if test "x$TOOLKIT" = "x" ; then
56653 COND_TOOLKIT_COCOA="#"
56654 if test "x$TOOLKIT" = "xCOCOA" ; then
56655 COND_TOOLKIT_COCOA=""
56658 COND_TOOLKIT_COCOA_USE_GUI_1="#"
56659 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
56660 COND_TOOLKIT_COCOA_USE_GUI_1=""
56663 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
56664 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56665 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
56668 COND_TOOLKIT_DFB="#"
56669 if test "x$TOOLKIT" = "xDFB" ; then
56670 COND_TOOLKIT_DFB=""
56673 COND_TOOLKIT_DFB_USE_GUI_1="#"
56674 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
56675 COND_TOOLKIT_DFB_USE_GUI_1=""
56678 COND_TOOLKIT_GTK="#"
56679 if test "x$TOOLKIT" = "xGTK" ; then
56680 COND_TOOLKIT_GTK=""
56683 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
56684 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
56685 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
56688 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
56689 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
56690 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
56693 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
56694 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
56695 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
56698 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
56699 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56700 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
56703 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
56704 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
56705 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
56708 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
56709 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56710 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
56713 COND_TOOLKIT_GTK_USE_GUI_1="#"
56714 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
56715 COND_TOOLKIT_GTK_USE_GUI_1=""
56718 COND_TOOLKIT_MAC="#"
56719 if test "x$TOOLKIT" = "xMAC" ; then
56720 COND_TOOLKIT_MAC=""
56723 COND_TOOLKIT_MAC_USE_GUI_1="#"
56724 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
56725 COND_TOOLKIT_MAC_USE_GUI_1=""
56728 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
56729 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56730 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
56733 COND_TOOLKIT_MGL="#"
56734 if test "x$TOOLKIT" = "xMGL" ; then
56735 COND_TOOLKIT_MGL=""
56738 COND_TOOLKIT_MGL_USE_GUI_1="#"
56739 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
56740 COND_TOOLKIT_MGL_USE_GUI_1=""
56743 COND_TOOLKIT_MOTIF="#"
56744 if test "x$TOOLKIT" = "xMOTIF" ; then
56745 COND_TOOLKIT_MOTIF=""
56748 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
56749 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
56750 COND_TOOLKIT_MOTIF_USE_GUI_1=""
56753 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
56754 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56755 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
56758 COND_TOOLKIT_MSW="#"
56759 if test "x$TOOLKIT" = "xMSW" ; then
56760 COND_TOOLKIT_MSW=""
56763 COND_TOOLKIT_MSW_USE_GUI_1="#"
56764 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
56765 COND_TOOLKIT_MSW_USE_GUI_1=""
56768 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
56769 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56770 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
56773 COND_TOOLKIT_MSW_WXUNIV_0="#"
56774 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
56775 COND_TOOLKIT_MSW_WXUNIV_0=""
56778 COND_TOOLKIT_PM="#"
56779 if test "x$TOOLKIT" = "xPM" ; then
56783 COND_TOOLKIT_PM_USE_GUI_1="#"
56784 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
56785 COND_TOOLKIT_PM_USE_GUI_1=""
56788 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
56789 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56790 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
56793 COND_TOOLKIT_WINCE="#"
56794 if test "x$TOOLKIT" = "xWINCE" ; then
56795 COND_TOOLKIT_WINCE=""
56798 COND_TOOLKIT_WINCE_USE_GUI_1="#"
56799 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
56800 COND_TOOLKIT_WINCE_USE_GUI_1=""
56803 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
56804 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56805 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
56808 COND_TOOLKIT_WINCE_WXUNIV_0="#"
56809 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
56810 COND_TOOLKIT_WINCE_WXUNIV_0=""
56813 COND_TOOLKIT_X11="#"
56814 if test "x$TOOLKIT" = "xX11" ; then
56815 COND_TOOLKIT_X11=""
56818 COND_TOOLKIT_X11_USE_GUI_1="#"
56819 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
56820 COND_TOOLKIT_X11_USE_GUI_1=""
56824 if test "x$UNICODE" = "x1" ; then
56828 COND_USE_EXCEPTIONS_0="#"
56829 if test "x$USE_EXCEPTIONS" = "x0" ; then
56830 COND_USE_EXCEPTIONS_0=""
56833 COND_USE_EXCEPTIONS_1="#"
56834 if test "x$USE_EXCEPTIONS" = "x1" ; then
56835 COND_USE_EXCEPTIONS_1=""
56839 if test "x$USE_GUI" = "x0" ; then
56844 if test "x$USE_GUI" = "x1" ; then
56848 COND_USE_GUI_1_WXUNIV_0="#"
56849 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56850 COND_USE_GUI_1_WXUNIV_0=""
56853 COND_USE_GUI_1_WXUNIV_1="#"
56854 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
56855 COND_USE_GUI_1_WXUNIV_1=""
56858 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
56859 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
56860 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
56863 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
56864 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
56865 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
56868 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
56869 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
56870 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
56873 COND_USE_ODBC_1="#"
56874 if test "x$USE_ODBC" = "x1" ; then
56878 COND_USE_OPENGL_1="#"
56879 if test "x$USE_OPENGL" = "x1" ; then
56880 COND_USE_OPENGL_1=""
56884 if test "x$USE_PCH" = "x1" ; then
56888 COND_USE_PLUGINS_0="#"
56889 if test "x$USE_PLUGINS" = "x0" ; then
56890 COND_USE_PLUGINS_0=""
56893 COND_USE_RTTI_0="#"
56894 if test "x$USE_RTTI" = "x0" ; then
56898 COND_USE_RTTI_1="#"
56899 if test "x$USE_RTTI" = "x1" ; then
56903 COND_USE_SOSYMLINKS_1="#"
56904 if test "x$USE_SOSYMLINKS" = "x1" ; then
56905 COND_USE_SOSYMLINKS_1=""
56908 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
56909 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
56910 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
56913 COND_USE_SOVERLINUX_1="#"
56914 if test "x$USE_SOVERLINUX" = "x1" ; then
56915 COND_USE_SOVERLINUX_1=""
56918 COND_USE_SOVERSION_0="#"
56919 if test "x$USE_SOVERSION" = "x0" ; then
56920 COND_USE_SOVERSION_0=""
56923 COND_USE_SOVERSOLARIS_1="#"
56924 if test "x$USE_SOVERSOLARIS" = "x1" ; then
56925 COND_USE_SOVERSOLARIS_1=""
56928 COND_USE_THREADS_0="#"
56929 if test "x$USE_THREADS" = "x0" ; then
56930 COND_USE_THREADS_0=""
56933 COND_USE_THREADS_1="#"
56934 if test "x$USE_THREADS" = "x1" ; then
56935 COND_USE_THREADS_1=""
56939 if test "x$USE_XRC" = "x1" ; then
56943 COND_WINDOWS_IMPLIB_1="#"
56944 if test "x$WINDOWS_IMPLIB" = "x1" ; then
56945 COND_WINDOWS_IMPLIB_1=""
56948 COND_WITH_PLUGIN_SDL_1="#"
56949 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
56950 COND_WITH_PLUGIN_SDL_1=""
56954 if test "x$WXUNIV" = "x0" ; then
56959 if test "x$WXUNIV" = "x1" ; then
56963 COND_WXUSE_EXPAT_BUILTIN="#"
56964 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
56965 COND_WXUSE_EXPAT_BUILTIN=""
56968 COND_WXUSE_LIBJPEG_BUILTIN="#"
56969 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
56970 COND_WXUSE_LIBJPEG_BUILTIN=""
56973 COND_WXUSE_LIBPNG_BUILTIN="#"
56974 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
56975 COND_WXUSE_LIBPNG_BUILTIN=""
56978 COND_WXUSE_LIBTIFF_BUILTIN="#"
56979 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
56980 COND_WXUSE_LIBTIFF_BUILTIN=""
56983 COND_WXUSE_ODBC_BUILTIN="#"
56984 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
56985 COND_WXUSE_ODBC_BUILTIN=""
56988 COND_WXUSE_REGEX_BUILTIN="#"
56989 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
56990 COND_WXUSE_REGEX_BUILTIN=""
56993 COND_WXUSE_ZLIB_BUILTIN="#"
56994 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
56995 COND_WXUSE_ZLIB_BUILTIN=""
57000 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
57001 { { 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
57002 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;}
57003 { (exit 1); exit 1; }; }
57006 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
57007 { { 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
57008 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;}
57009 { (exit 1); exit 1; }; }
57013 if test $GCC_PCH = 1
57015 if test "$wx_cv_gcc_pch_bug" = yes; then
57016 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
57017 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
57018 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
57019 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
57020 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
57021 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
57024 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
57028 if test "$wxUSE_MAC" = 1 ; then
57029 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
57030 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
57036 if test "$wxUSE_SHARED" = "yes"; then
57038 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
57039 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
57042 *-pc-os2_emx | *-pc-os2-emx )
57043 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
57044 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
57045 cp -p ${srcdir}/src/os2/dllnames.sh .
57046 cp -p ${srcdir}/src/os2/dllar.sh .
57051 EXE_LINKER="$CXX -o"
57054 if test "$wxUSE_OMF" = "yes"; then
57056 *-pc-os2_emx | *-pc-os2-emx )
57057 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
57058 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
57059 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
57064 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
57066 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
57128 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
57129 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
57130 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
57131 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
57132 echo $ECHO_N "(cached) $ECHO_C" >&6
57134 cat >conftest.make <<\_ACEOF
57137 @echo '@@@%%%=$(MAKE)=@@@%%%'
57139 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
57140 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
57141 *@@@%%%=?*=@@@%%%*)
57142 eval ac_cv_prog_make_${ac_make}_set=yes;;
57144 eval ac_cv_prog_make_${ac_make}_set=no;;
57146 rm -f conftest.make
57148 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
57149 { echo "$as_me:$LINENO: result: yes" >&5
57150 echo "${ECHO_T}yes" >&6; }
57153 { echo "$as_me:$LINENO: result: no" >&5
57154 echo "${ECHO_T}no" >&6; }
57155 SET_MAKE="MAKE=${MAKE-make}"
57160 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
57163 if test "$USE_WIN32" = 1; then
57164 ac_config_commands="$ac_config_commands
57170 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
57173 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
57176 if test "$wx_cv_version_script" = "yes"; then
57177 ac_config_files="$ac_config_files version-script"
57180 ac_config_files="$ac_config_files Makefile"
57183 ac_config_commands="$ac_config_commands wx-config"
57187 if test "$wxWITH_SUBDIRS" != "no"; then
57188 if test "$wxUSE_GUI" = "yes"; then
57189 SUBDIRS="samples demos utils contrib"
57190 else SUBDIRS="samples utils"
57195 # Check whether --with-cppunit-prefix was given.
57196 if test "${with_cppunit_prefix+set}" = set; then
57197 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
57199 cppunit_config_prefix=""
57203 # Check whether --with-cppunit-exec-prefix was given.
57204 if test "${with_cppunit_exec_prefix+set}" = set; then
57205 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
57207 cppunit_config_exec_prefix=""
57211 if test x$cppunit_config_exec_prefix != x ; then
57212 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
57213 if test x${CPPUNIT_CONFIG+set} != xset ; then
57214 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
57217 if test x$cppunit_config_prefix != x ; then
57218 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
57219 if test x${CPPUNIT_CONFIG+set} != xset ; then
57220 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
57224 # Extract the first word of "cppunit-config", so it can be a program name with args.
57225 set dummy cppunit-config; ac_word=$2
57226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
57227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
57228 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
57229 echo $ECHO_N "(cached) $ECHO_C" >&6
57231 case $CPPUNIT_CONFIG in
57233 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
57236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
57237 for as_dir in $PATH
57240 test -z "$as_dir" && as_dir=.
57241 for ac_exec_ext in '' $ac_executable_extensions; do
57242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
57243 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
57244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
57251 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
57255 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
57256 if test -n "$CPPUNIT_CONFIG"; then
57257 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
57258 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
57260 { echo "$as_me:$LINENO: result: no" >&5
57261 echo "${ECHO_T}no" >&6; }
57265 cppunit_version_min=1.8.0
57267 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
57268 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
57270 if test "$CPPUNIT_CONFIG" = "no" ; then
57271 { echo "$as_me:$LINENO: result: no" >&5
57272 echo "${ECHO_T}no" >&6; }
57275 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
57276 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
57277 cppunit_version=`$CPPUNIT_CONFIG --version`
57279 cppunit_major_version=`echo $cppunit_version | \
57280 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
57281 cppunit_minor_version=`echo $cppunit_version | \
57282 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
57283 cppunit_micro_version=`echo $cppunit_version | \
57284 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
57286 cppunit_major_min=`echo $cppunit_version_min | \
57287 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
57288 cppunit_minor_min=`echo $cppunit_version_min | \
57289 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
57290 cppunit_micro_min=`echo $cppunit_version_min | \
57291 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
57293 cppunit_version_proper=`expr \
57294 $cppunit_major_version \
> $cppunit_major_min \
| \
57295 $cppunit_major_version \
= $cppunit_major_min \
& \
57296 $cppunit_minor_version \
> $cppunit_minor_min \
| \
57297 $cppunit_major_version \
= $cppunit_major_min \
& \
57298 $cppunit_minor_version \
= $cppunit_minor_min \
& \
57299 $cppunit_micro_version \
>= $cppunit_micro_min `
57301 if test "$cppunit_version_proper" = "1" ; then
57302 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
57303 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
57305 { echo "$as_me:$LINENO: result: no" >&5
57306 echo "${ECHO_T}no" >&6; }
57311 if test "x$no_cppunit" = x ; then
57312 SUBDIRS="$SUBDIRS tests"
57323 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
57324 DISABLED_CONTRIB="$DISABLED_CONTRIB net"
57327 for subdir in `echo $SUBDIRS`; do
57328 if test -d ${srcdir}/${subdir} ; then
57329 if test "$wxUSE_GUI" = "yes"; then
57330 if test ${subdir} = "samples"; then
57331 makefiles="samples/Makefile.in $makefiles"
57332 for sample in `echo $SAMPLES_SUBDIRS`; do
57333 if test -d $srcdir/samples/$sample; then
57334 makefiles="samples/$sample/Makefile.in $makefiles"
57338 disabled_var=DISABLED_`echo $subdir | tr [a
-z] [A
-Z]`;
57339 eval "disabled=\$$disabled_var"
57340 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
57341 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
57343 else if test ${subdir} = "samples"; then
57344 makefiles="samples/Makefile.in samples/console/Makefile.in"
57345 elif test ${subdir} = "utils"; then
57347 for util in HelpGen tex2rtf ; do
57348 if test -d $srcdir/utils/$util ; then
57349 makefiles="utils/$util/Makefile.in \
57350 utils/$util/src/Makefile.in \
57354 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
57358 for mkin in $makefiles ; do
57359 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
57360 ac_config_files="$ac_config_files $mk"
57366 cat >confcache <<\_ACEOF
57367 # This file is a shell script that caches the results of configure
57368 # tests run on this system so they can be shared between configure
57369 # scripts and configure runs, see configure's option --config-cache.
57370 # It is not useful on other systems. If it contains results you don't
57371 # want to keep, you may remove or edit it.
57373 # config.status only pays attention to the cache file if you give it
57374 # the --recheck option to rerun configure.
57376 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
57377 # loading this file, other *unset* `ac_cv_foo' will be assigned the
57378 # following values.
57382 # The following way of writing the cache mishandles newlines in values,
57383 # but we know of no workaround that is simple, portable, and efficient.
57384 # So, we kill variables containing newlines.
57385 # Ultrix sh set writes to stderr and can't be redirected directly,
57386 # and sets the high bit in the cache file unless we assign to the vars.
57388 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
57389 eval ac_val
=\$
$ac_var
57393 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
57394 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
57397 _
| IFS
| as_nl
) ;; #(
57398 *) $as_unset $ac_var ;;
57404 case $as_nl`(ac_space=' '; set) 2>&1` in #(
57405 *${as_nl}ac_space
=\
*)
57406 # `set' does not quote correctly, so add quotes (double-quote
57407 # substitution turns \\\\ into \\, and sed turns \\ into \).
57410 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
57413 # `set' quotes correctly as required by POSIX, so do not add quotes.
57414 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
57423 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
57425 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
57427 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
57428 if test -w "$cache_file"; then
57429 test "x$cache_file" != "x/dev/null" &&
57430 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
57431 echo "$as_me: updating cache $cache_file" >&6;}
57432 cat confcache
>$cache_file
57434 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
57435 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
57440 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
57441 # Let make expand exec_prefix.
57442 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
57444 DEFS
=-DHAVE_CONFIG_H
57448 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
57449 # 1. Remove the extension, and $U if already installed.
57450 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
57451 ac_i
=`echo "$ac_i" | sed "$ac_script"`
57452 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
57453 # will be set to the directory where LIBOBJS objects are built.
57454 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
57455 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
57457 LIBOBJS
=$ac_libobjs
57459 LTLIBOBJS
=$ac_ltlibobjs
57463 : ${CONFIG_STATUS=./config.status}
57464 ac_clean_files_save
=$ac_clean_files
57465 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
57466 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
57467 echo "$as_me: creating $CONFIG_STATUS" >&6;}
57468 cat >$CONFIG_STATUS <<_ACEOF
57470 # Generated by $as_me.
57471 # Run this file to recreate the current configuration.
57472 # Compiler output produced by configure, useful for debugging
57473 # configure, is in config.log if it exists.
57476 ac_cs_recheck=false
57478 SHELL=\${CONFIG_SHELL-$SHELL}
57481 cat >>$CONFIG_STATUS <<\_ACEOF
57482 ## --------------------- ##
57483 ## M4sh Initialization. ##
57484 ## --------------------- ##
57486 # Be Bourne compatible
57487 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
57490 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
57491 # is contrary to our usage. Disable this feature.
57492 alias -g '${1+"$@"}'='"$@"'
57493 setopt NO_GLOB_SUBST
57495 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
57497 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
57498 DUALCASE
=1; export DUALCASE
# for MKS sh
57502 # Avoid depending upon Character Ranges.
57503 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
57504 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
57505 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
57506 as_cr_digits
='0123456789'
57507 as_cr_alnum
=$as_cr_Letters$as_cr_digits
57509 # The user is always right.
57510 if test "${PATH_SEPARATOR+set}" != set; then
57511 echo "#! /bin/sh" >conf$$.sh
57512 echo "exit 0" >>conf$$.sh
57514 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
57522 # Support unset when possible.
57523 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
57531 # We need space, tab and new line, in precisely that order. Quoting is
57532 # there to prevent editors from complaining about space-tab.
57533 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
57534 # splitting by setting IFS to empty value.)
57539 # Find who we are. Look in the path if we contain no directory separator.
57541 *[\\/]* ) as_myself
=$0 ;;
57542 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
57543 for as_dir
in $PATH
57546 test -z "$as_dir" && as_dir
=.
57547 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
57553 # We did not find ourselves, most probably we were run as `sh COMMAND'
57554 # in which case we are not to be found in the path.
57555 if test "x$as_myself" = x
; then
57558 if test ! -f "$as_myself"; then
57559 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
57560 { (exit 1); exit 1; }
57563 # Work around bugs in pre-3.0 UWIN ksh.
57564 for as_var
in ENV MAIL MAILPATH
57565 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
57573 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
57574 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
57575 LC_TELEPHONE LC_TIME
57577 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
57578 eval $as_var=C
; export $as_var
57580 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
57584 # Required to use basename.
57585 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
57586 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
57592 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
57593 as_basename
=basename
57599 # Name of the executable.
57600 as_me
=`$as_basename -- "$0" ||
57601 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
57602 X"$0" : 'X\(//\)$' \| \
57603 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
57605 sed '/^.*\/\([^/][^/]*\)\/*$/{
57624 as_lineno_1
=$LINENO
57625 as_lineno_2
=$LINENO
57626 test "x$as_lineno_1" != "x$as_lineno_2" &&
57627 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
57629 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
57630 # uniformly replaced by the line number. The first 'sed' inserts a
57631 # line-number line after each line using $LINENO; the second 'sed'
57632 # does the real work. The second script uses 'N' to pair each
57633 # line-number line with the line containing $LINENO, and appends
57634 # trailing '-' during substitution so that $LINENO is not a special
57635 # case at line end.
57636 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
57637 # scripts with optimization help from Paolo Bonzini. Blame Lee
57638 # E. McMahon (1931-1989) for sed's syntax. :-)
57650 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
57653 ' >$as_me.lineno
&&
57654 chmod +x
"$as_me.lineno" ||
57655 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
57656 { (exit 1); exit 1; }; }
57658 # Don't try to exec as it changes $[0], causing all sort of problems
57659 # (the dirname of $[0] is not the place where we might find the
57660 # original and so on. Autoconf is especially sensitive to this).
57661 .
"./$as_me.lineno"
57662 # Exit status is that of the last command.
57667 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
57673 ECHO_C
= ECHO_N
= ECHO_T
=
57674 case `echo -n x` in
57676 case `echo 'x\c'` in
57677 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
57684 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
57685 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
57691 rm -f conf$$ conf$$.exe conf$$.
file
57692 if test -d conf$$.dir
; then
57693 rm -f conf$$.dir
/conf$$.
file
57699 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
57701 # ... but there are two gotchas:
57702 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
57703 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
57704 # In both cases, we have to default to `cp -p'.
57705 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
57707 elif ln conf$$.
file conf$$
2>/dev
/null
; then
57712 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
57713 rmdir conf$$.dir
2>/dev
/null
57715 if mkdir -p .
2>/dev
/null
; then
57718 test -d .
/-p && rmdir .
/-p
57722 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
57723 # systems may use methods other than mode bits to determine executability.
57724 cat >conf$$.
file <<_ASEOF
57728 chmod +x conf$$.
file
57729 if test -x conf$$.
file >/dev
/null
2>&1; then
57730 as_executable_p
="test -x"
57736 # Sed expression to map a string onto a valid CPP name.
57737 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
57739 # Sed expression to map a string onto a valid variable name.
57740 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
57745 # Save the log message, to keep $[0] and so on meaningful, and to
57746 # report actual input values of CONFIG_FILES etc. instead of their
57747 # values after options handling.
57749 This file was extended by wxWidgets $as_me 2.8.0, which was
57750 generated by GNU Autoconf 2.60. Invocation command line was
57752 CONFIG_FILES = $CONFIG_FILES
57753 CONFIG_HEADERS = $CONFIG_HEADERS
57754 CONFIG_LINKS = $CONFIG_LINKS
57755 CONFIG_COMMANDS = $CONFIG_COMMANDS
57758 on `(hostname || uname -n) 2>/dev/null | sed 1q`
57763 cat >>$CONFIG_STATUS <<_ACEOF
57764 # Files that config.status was made for.
57765 config_files="$ac_config_files"
57766 config_headers="$ac_config_headers"
57767 config_commands="$ac_config_commands"
57771 cat >>$CONFIG_STATUS <<\_ACEOF
57773 \`$as_me' instantiates files from templates according to the
57774 current configuration.
57776 Usage: $0 [OPTIONS] [FILE]...
57778 -h, --help print this help, then exit
57779 -V, --version print version number, then exit
57780 -q, --quiet do not print progress messages
57781 -d, --debug don't remove temporary files
57782 --recheck update $as_me by reconfiguring in the same conditions
57783 --file=FILE[:TEMPLATE]
57784 instantiate the configuration file FILE
57785 --header=FILE[:TEMPLATE]
57786 instantiate the configuration header FILE
57788 Configuration files:
57791 Configuration headers:
57794 Configuration commands:
57797 Report bugs to <bug-autoconf@gnu.org>."
57800 cat >>$CONFIG_STATUS <<_ACEOF
57802 wxWidgets config.status 2.8.0
57803 configured by $0, generated by GNU Autoconf 2.60,
57804 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
57806 Copyright (C) 2006 Free Software Foundation, Inc.
57807 This config.status script is free software; the Free Software Foundation
57808 gives unlimited permission to copy, distribute and modify it."
57815 cat >>$CONFIG_STATUS <<\_ACEOF
57816 # If no file are specified by the user, then we need to provide default
57817 # value. By we need to know if files were specified by the user.
57823 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
57824 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
57835 # Handling of the options.
57836 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
57838 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
57839 echo "$ac_cs_version"; exit ;;
57840 --debug | --debu | --deb | --de | --d | -d )
57842 --file | --fil | --fi | --f )
57844 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
57845 ac_need_defaults
=false
;;
57846 --header | --heade | --head | --hea )
57848 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
57849 ac_need_defaults
=false
;;
57851 # Conflict between --help and --header
57852 { echo "$as_me: error: ambiguous option: $1
57853 Try \`$0 --help' for more information." >&2
57854 { (exit 1); exit 1; }; };;
57855 --help | --hel | -h )
57856 echo "$ac_cs_usage"; exit ;;
57857 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
57858 | -silent | --silent | --silen | --sile | --sil | --si | --s)
57861 # This is an error.
57862 -*) { echo "$as_me: error: unrecognized option: $1
57863 Try \`$0 --help' for more information." >&2
57864 { (exit 1); exit 1; }; } ;;
57866 *) ac_config_targets
="$ac_config_targets $1"
57867 ac_need_defaults
=false
;;
57873 ac_configure_extra_args
=
57875 if $ac_cs_silent; then
57877 ac_configure_extra_args
="$ac_configure_extra_args --silent"
57881 cat >>$CONFIG_STATUS <<_ACEOF
57882 if \$ac_cs_recheck; then
57883 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
57884 CONFIG_SHELL=$SHELL
57885 export CONFIG_SHELL
57886 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
57890 cat >>$CONFIG_STATUS <<\_ACEOF
57894 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
57895 ## Running $as_me. ##
57901 cat >>$CONFIG_STATUS <<_ACEOF
57907 infile="$srcdir/include/wx/msw/genrcdefs.h"
57908 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
57911 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
57912 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
57913 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
57919 cat >>$CONFIG_STATUS <<\_ACEOF
57921 # Handling of arguments.
57922 for ac_config_target
in $ac_config_targets
57924 case $ac_config_target in
57925 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
57926 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
57927 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
57928 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
57929 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
57930 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
57931 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
57932 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
57934 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
57935 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
57936 { (exit 1); exit 1; }; };;
57941 # If the user did not use the arguments to specify the items to instantiate,
57942 # then the envvar interface is used. Set only those that are not.
57943 # We use the long form for the default assignment because of an extremely
57944 # bizarre bug on SunOS 4.1.3.
57945 if $ac_need_defaults; then
57946 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
57947 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
57948 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
57951 # Have a temporary directory for convenience. Make it in the build tree
57952 # simply because there is no reason against having it here, and in addition,
57953 # creating and moving files from /tmp can sometimes cause problems.
57954 # Hook for its removal unless debugging.
57955 # Note that there is a small window in which the directory will not be cleaned:
57956 # after its creation but before its name has been assigned to `$tmp'.
57960 trap 'exit_status=$?
57961 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
57963 trap '{ (exit 1); exit 1; }' 1 2 13 15
57965 # Create a (secure) tmp directory for tmp files.
57968 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
57969 test -n "$tmp" && test -d "$tmp"
57972 tmp
=.
/conf$$
-$RANDOM
57973 (umask 077 && mkdir "$tmp")
57976 echo "$me: cannot create a temporary directory in ." >&2
57977 { (exit 1); exit 1; }
57981 # Set up the sed scripts for CONFIG_FILES section.
57984 # No need to generate the scripts if there are no CONFIG_FILES.
57985 # This happens for instance when ./config.status config.h
57986 if test -n "$CONFIG_FILES"; then
57993 for ac_last_try
in false false false false false
:; do
57994 cat >conf$
$subs.
sed <<_ACEOF
57995 SHELL!$SHELL$ac_delim
57996 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
57997 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
57998 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
57999 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
58000 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
58001 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
58002 exec_prefix!$exec_prefix$ac_delim
58003 prefix!$prefix$ac_delim
58004 program_transform_name!$program_transform_name$ac_delim
58005 bindir!$bindir$ac_delim
58006 sbindir!$sbindir$ac_delim
58007 libexecdir!$libexecdir$ac_delim
58008 datarootdir!$datarootdir$ac_delim
58009 datadir!$datadir$ac_delim
58010 sysconfdir!$sysconfdir$ac_delim
58011 sharedstatedir!$sharedstatedir$ac_delim
58012 localstatedir!$localstatedir$ac_delim
58013 includedir!$includedir$ac_delim
58014 oldincludedir!$oldincludedir$ac_delim
58015 docdir!$docdir$ac_delim
58016 infodir!$infodir$ac_delim
58017 htmldir!$htmldir$ac_delim
58018 dvidir!$dvidir$ac_delim
58019 pdfdir!$pdfdir$ac_delim
58020 psdir!$psdir$ac_delim
58021 libdir!$libdir$ac_delim
58022 localedir!$localedir$ac_delim
58023 mandir!$mandir$ac_delim
58024 DEFS!$DEFS$ac_delim
58025 ECHO_C!$ECHO_C$ac_delim
58026 ECHO_N!$ECHO_N$ac_delim
58027 ECHO_T!$ECHO_T$ac_delim
58028 LIBS!$LIBS$ac_delim
58029 build_alias!$build_alias$ac_delim
58030 host_alias!$host_alias$ac_delim
58031 target_alias!$target_alias$ac_delim
58032 build!$build$ac_delim
58033 build_cpu!$build_cpu$ac_delim
58034 build_vendor!$build_vendor$ac_delim
58035 build_os!$build_os$ac_delim
58036 host!$host$ac_delim
58037 host_cpu!$host_cpu$ac_delim
58038 host_vendor!$host_vendor$ac_delim
58039 host_os!$host_os$ac_delim
58040 target!$target$ac_delim
58041 target_cpu!$target_cpu$ac_delim
58042 target_vendor!$target_vendor$ac_delim
58043 target_os!$target_os$ac_delim
58044 wx_top_builddir!$wx_top_builddir$ac_delim
58046 CFLAGS!$CFLAGS$ac_delim
58047 LDFLAGS!$LDFLAGS$ac_delim
58048 CPPFLAGS!$CPPFLAGS$ac_delim
58049 ac_ct_CC!$ac_ct_CC$ac_delim
58050 EXEEXT!$EXEEXT$ac_delim
58051 OBJEXT!$OBJEXT$ac_delim
58053 GREP!$GREP$ac_delim
58054 EGREP!$EGREP$ac_delim
58056 CXXFLAGS!$CXXFLAGS$ac_delim
58057 ac_ct_CXX!$ac_ct_CXX$ac_delim
58058 RANLIB!$RANLIB$ac_delim
58060 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
58061 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
58062 INSTALL_DATA!$INSTALL_DATA$ac_delim
58063 STRIP!$STRIP$ac_delim
58064 WINDRES!$WINDRES$ac_delim
58065 DLLTOOL!$DLLTOOL$ac_delim
58066 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
58067 LN_S!$LN_S$ac_delim
58068 CXXCPP!$CXXCPP$ac_delim
58069 subdirs!$subdirs$ac_delim
58070 PKG_CONFIG!$PKG_CONFIG$ac_delim
58071 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
58072 GTK_LIBS!$GTK_LIBS$ac_delim
58073 GTK_CONFIG!$GTK_CONFIG$ac_delim
58074 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
58075 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
58076 XMKMF!$XMKMF$ac_delim
58077 X_CFLAGS!$X_CFLAGS$ac_delim
58078 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
58079 X_LIBS!$X_LIBS$ac_delim
58080 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
58081 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
58082 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
58083 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
58084 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
58085 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
58086 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
58088 DEREZ!$DEREZ$ac_delim
58089 SETFILE!$SETFILE$ac_delim
58090 LIBICONV!$LIBICONV$ac_delim
58091 EXTRALIBS_ESD!$EXTRALIBS_ESD$ac_delim
58094 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
58096 elif $ac_last_try; then
58097 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
58098 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
58099 { (exit 1); exit 1; }; }
58101 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
58105 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
58106 if test -n "$ac_eof"; then
58107 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
58108 ac_eof
=`expr $ac_eof + 1`
58111 cat >>$CONFIG_STATUS <<_ACEOF
58112 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
58113 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
58116 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
58117 s/^/s,@/; s/!/@,|#_!!_#|/
58120 s/'"$ac_delim"'$/,g/; t
58122 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
58123 ' >>$CONFIG_STATUS <conf$
$subs.
sed
58124 rm -f conf$
$subs.
sed
58125 cat >>$CONFIG_STATUS <<_ACEOF
58131 for ac_last_try
in false false false false false
:; do
58132 cat >conf$
$subs.
sed <<_ACEOF
58133 SDL_CONFIG!$SDL_CONFIG$ac_delim
58134 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
58135 SDL_LIBS!$SDL_LIBS$ac_delim
58136 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
58137 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
58138 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
58139 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
58140 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
58141 HILDON_LIBS!$HILDON_LIBS$ac_delim
58142 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
58143 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
58144 GST_CFLAGS!$GST_CFLAGS$ac_delim
58145 GST_LIBS!$GST_LIBS$ac_delim
58146 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
58147 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
58148 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
58149 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
58150 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
58151 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
58152 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
58153 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
58154 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
58155 VENDOR!$VENDOR$ac_delim
58156 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
58157 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
58158 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
58159 WXUNIV!$WXUNIV$ac_delim
58160 MONOLITHIC!$MONOLITHIC$ac_delim
58161 USE_PLUGINS!$USE_PLUGINS$ac_delim
58162 EXTRALIBS!$EXTRALIBS$ac_delim
58163 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
58164 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
58165 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
58166 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
58167 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
58168 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
58169 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
58170 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
58171 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
58172 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
58173 UNICODE!$UNICODE$ac_delim
58174 BUILD!$BUILD$ac_delim
58175 DEBUG_INFO!$DEBUG_INFO$ac_delim
58176 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
58177 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
58178 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
58179 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
58180 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
58181 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
58182 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
58183 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
58184 SET_MAKE!$SET_MAKE$ac_delim
58185 MAKE_SET!$MAKE_SET$ac_delim
58186 AROPTIONS!$AROPTIONS$ac_delim
58188 INSTALL_DIR!$INSTALL_DIR$ac_delim
58189 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
58190 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
58191 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
58192 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
58193 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
58194 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
58195 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
58196 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
58197 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
58198 SO_SUFFIX!$SO_SUFFIX$ac_delim
58199 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
58200 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
58201 LIBPREFIX!$LIBPREFIX$ac_delim
58202 LIBEXT!$LIBEXT$ac_delim
58203 DLLPREFIX!$DLLPREFIX$ac_delim
58204 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
58205 dlldir!$dlldir$ac_delim
58206 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
58207 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
58208 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
58209 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
58210 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
58211 PIC_FLAG!$PIC_FLAG$ac_delim
58212 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
58213 USE_SOVERSION!$USE_SOVERSION$ac_delim
58214 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
58215 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
58216 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
58217 USE_MACVERSION!$USE_MACVERSION$ac_delim
58218 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
58219 SONAME_FLAG!$SONAME_FLAG$ac_delim
58220 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
58221 BK_DEPS!$BK_DEPS$ac_delim
58222 GCC_PCH!$GCC_PCH$ac_delim
58223 ICC_PCH!$ICC_PCH$ac_delim
58224 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
58225 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
58226 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
58227 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
58228 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
58229 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
58232 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
58234 elif $ac_last_try; then
58235 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
58236 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
58237 { (exit 1); exit 1; }; }
58239 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
58243 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
58244 if test -n "$ac_eof"; then
58245 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
58246 ac_eof
=`expr $ac_eof + 1`
58249 cat >>$CONFIG_STATUS <<_ACEOF
58250 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
58251 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
58254 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
58255 s/^/s,@/; s/!/@,|#_!!_#|/
58258 s/'"$ac_delim"'$/,g/; t
58260 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
58261 ' >>$CONFIG_STATUS <conf$
$subs.
sed
58262 rm -f conf$
$subs.
sed
58263 cat >>$CONFIG_STATUS <<_ACEOF
58269 for ac_last_try
in false false false false false
:; do
58270 cat >conf$
$subs.
sed <<_ACEOF
58271 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
58272 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
58273 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
58274 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
58275 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
58276 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
58277 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
58278 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
58279 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
58280 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
58281 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
58282 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
58283 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
58284 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
58285 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
58286 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
58287 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
58288 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
58289 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
58290 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
58291 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
58292 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
58293 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
58294 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
58295 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
58296 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
58297 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
58298 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
58299 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
58300 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
58301 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
58302 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
58303 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
58304 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
58305 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
58306 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
58307 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
58308 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
58309 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
58310 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
58311 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
58312 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
58313 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
58314 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
58315 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
58316 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
58317 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
58318 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
58319 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
58320 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
58321 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
58322 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
58323 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
58324 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
58325 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
58326 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
58327 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
58328 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
58329 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
58330 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
58331 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
58332 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
58333 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
58334 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
58335 COND_SHARED_0!$COND_SHARED_0$ac_delim
58336 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
58337 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
58338 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
58339 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
58340 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
58341 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
58342 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
58343 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
58344 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
58345 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
58346 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
58347 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
58348 COND_SHARED_1!$COND_SHARED_1$ac_delim
58349 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
58350 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
58351 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
58352 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
58353 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
58354 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
58355 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
58356 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
58357 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
58358 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
58359 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
58360 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
58361 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
58362 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
58363 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
58364 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
58365 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
58366 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
58367 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
58370 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
58372 elif $ac_last_try; then
58373 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
58374 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
58375 { (exit 1); exit 1; }; }
58377 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
58381 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
58382 if test -n "$ac_eof"; then
58383 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
58384 ac_eof
=`expr $ac_eof + 1`
58387 cat >>$CONFIG_STATUS <<_ACEOF
58388 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
58389 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
58392 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
58393 s/^/s,@/; s/!/@,|#_!!_#|/
58396 s/'"$ac_delim"'$/,g/; t
58398 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
58399 ' >>$CONFIG_STATUS <conf$
$subs.
sed
58400 rm -f conf$
$subs.
sed
58401 cat >>$CONFIG_STATUS <<_ACEOF
58407 for ac_last_try
in false false false false false
:; do
58408 cat >conf$
$subs.
sed <<_ACEOF
58409 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
58410 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
58411 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
58412 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
58413 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
58414 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
58415 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
58416 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
58417 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
58418 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
58419 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
58420 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
58421 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
58422 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
58423 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
58424 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
58425 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
58426 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
58427 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
58428 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
58429 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
58430 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
58431 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
58432 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
58433 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
58434 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
58435 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
58436 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
58437 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
58438 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
58439 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
58440 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
58441 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
58442 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
58443 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
58444 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
58445 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
58446 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
58447 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
58448 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
58449 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
58450 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
58451 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
58452 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
58453 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
58454 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
58455 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
58456 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
58457 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
58458 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
58459 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
58460 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
58461 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
58462 SHARED!$SHARED$ac_delim
58463 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
58464 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
58465 USE_GUI!$USE_GUI$ac_delim
58466 AFMINSTALL!$AFMINSTALL$ac_delim
58467 WIN32INSTALL!$WIN32INSTALL$ac_delim
58468 TOOLKIT!$TOOLKIT$ac_delim
58469 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
58470 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
58471 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
58472 cross_compiling!$cross_compiling$ac_delim
58473 WIDGET_SET!$WIDGET_SET$ac_delim
58474 WX_RELEASE!$WX_RELEASE$ac_delim
58475 WX_VERSION!$WX_VERSION$ac_delim
58476 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
58477 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
58478 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
58479 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
58480 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
58481 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
58482 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
58483 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
58484 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
58485 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
58486 EXE_LINKER!$EXE_LINKER$ac_delim
58487 GUIDIST!$GUIDIST$ac_delim
58488 DISTDIR!$DISTDIR$ac_delim
58489 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
58490 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
58491 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
58492 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
58493 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
58494 RESCOMP!$RESCOMP$ac_delim
58495 RESFLAGS!$RESFLAGS$ac_delim
58496 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
58497 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
58498 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
58499 LIBWXMACRES!$LIBWXMACRES$ac_delim
58500 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
58501 MACSETFILE!$MACSETFILE$ac_delim
58503 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
58504 LIBOBJS!$LIBOBJS$ac_delim
58505 LTLIBOBJS!$LTLIBOBJS$ac_delim
58508 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
58510 elif $ac_last_try; then
58511 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
58512 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
58513 { (exit 1); exit 1; }; }
58515 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
58519 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
58520 if test -n "$ac_eof"; then
58521 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
58522 ac_eof
=`expr $ac_eof + 1`
58525 cat >>$CONFIG_STATUS <<_ACEOF
58526 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
58527 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
58530 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
58531 s/^/s,@/; s/!/@,|#_!!_#|/
58534 s/'"$ac_delim"'$/,g/; t
58536 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
58537 ' >>$CONFIG_STATUS <conf$
$subs.
sed
58538 rm -f conf$
$subs.
sed
58539 cat >>$CONFIG_STATUS <<_ACEOF
58544 # VPATH may cause trouble with some makes, so we remove $(srcdir),
58545 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
58546 # trailing colons and then remove the whole line if VPATH becomes empty
58547 # (actually we leave an empty line to preserve line numbers).
58548 if test "x$srcdir" = x.
; then
58549 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
58550 s/:*\$(srcdir):*/:/
58551 s/:*\${srcdir}:*/:/
58553 s/^\([^=]*=[ ]*\):*/\1/
58559 cat >>$CONFIG_STATUS <<\_ACEOF
58560 fi # test -n "$CONFIG_FILES"
58563 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
58566 :[FHLC
]) ac_mode
=$ac_tag; continue;;
58568 case $ac_mode$ac_tag in
58570 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
58571 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
58572 { (exit 1); exit 1; }; };;
58573 :[FH
]-) ac_tag
=-:-;;
58574 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
58591 -) ac_f
="$tmp/stdin";;
58592 *) # Look for the file first in the build tree, then in the source tree
58593 # (if the path is not absolute). The absolute path cannot be DOS-style,
58594 # because $ac_f cannot contain `:'.
58598 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
58600 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
58601 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
58602 { (exit 1); exit 1; }; };;
58604 ac_file_inputs
="$ac_file_inputs $ac_f"
58607 # Let's still pretend it is `configure' which instantiates (i.e., don't
58608 # use $as_me), people would be surprised to read:
58609 # /* config.h. Generated by config.status. */
58610 configure_input
="Generated from "`IFS=:
58611 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
58612 if test x
"$ac_file" != x
-; then
58613 configure_input
="$ac_file. $configure_input"
58614 { echo "$as_me:$LINENO: creating $ac_file" >&5
58615 echo "$as_me: creating $ac_file" >&6;}
58619 *:-:* | *:-) cat >"$tmp/stdin";;
58624 ac_dir
=`$as_dirname -- "$ac_file" ||
58625 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
58626 X"$ac_file" : 'X\(//\)[^/]' \| \
58627 X"$ac_file" : 'X\(//\)$' \| \
58628 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
58630 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
58634 /^X\(\/\/\)[^/].*/{
58649 -*) as_dir
=.
/$as_dir;;
58651 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
58655 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
58656 *) as_qdir
=$as_dir;;
58658 as_dirs
="'$as_qdir' $as_dirs"
58659 as_dir
=`$as_dirname -- "$as_dir" ||
58660 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
58661 X"$as_dir" : 'X\(//\)[^/]' \| \
58662 X"$as_dir" : 'X\(//\)$' \| \
58663 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
58665 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
58669 /^X\(\/\/\)[^/].*/{
58682 test -d "$as_dir" && break
58684 test -z "$as_dirs" || eval "mkdir $as_dirs"
58685 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
58686 echo "$as_me: error: cannot create directory $as_dir" >&2;}
58687 { (exit 1); exit 1; }; }; }
58691 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
58693 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
58694 # A ".." for each directory in $ac_dir_suffix.
58695 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
58696 case $ac_top_builddir_sub in
58697 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
58698 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
58701 ac_abs_top_builddir
=$ac_pwd
58702 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
58703 # for backward compatibility:
58704 ac_top_builddir
=$ac_top_build_prefix
58707 .
) # We are building in place.
58709 ac_top_srcdir
=$ac_top_builddir_sub
58710 ac_abs_top_srcdir
=$ac_pwd ;;
58711 [\\/]* | ?
:[\\/]* ) # Absolute name.
58712 ac_srcdir
=$srcdir$ac_dir_suffix;
58713 ac_top_srcdir
=$srcdir
58714 ac_abs_top_srcdir
=$srcdir ;;
58715 *) # Relative name.
58716 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
58717 ac_top_srcdir
=$ac_top_build_prefix$srcdir
58718 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
58720 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
58730 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
58731 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
58735 cat >>$CONFIG_STATUS <<\_ACEOF
58736 # If the template does not know about datarootdir, expand it.
58737 # FIXME: This hack should be removed a few years after 2.60.
58738 ac_datarootdir_hack
=; ac_datarootdir_seen
=
58740 case `sed -n '/datarootdir/ {
58749 ' $ac_file_inputs` in
58750 *datarootdir
*) ac_datarootdir_seen
=yes;;
58751 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
58752 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
58753 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
58755 cat >>$CONFIG_STATUS <<_ACEOF
58756 ac_datarootdir_hack='
58757 s&@datadir@&$datadir&g
58758 s&@docdir@&$docdir&g
58759 s&@infodir@&$infodir&g
58760 s&@localedir@&$localedir&g
58761 s&@mandir@&$mandir&g
58762 s&\\\${datarootdir}&$datarootdir&g' ;;
58766 # Neutralize VPATH when `$srcdir' = `.'.
58767 # Shell code in configure.ac might set extrasub.
58768 # FIXME: do we really want to maintain this feature?
58769 cat >>$CONFIG_STATUS <<_ACEOF
58773 cat >>$CONFIG_STATUS <<\_ACEOF
58775 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
58776 s
&@configure_input@
&$configure_input&;t t
58777 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
58778 s
&@srcdir@
&$ac_srcdir&;t t
58779 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
58780 s
&@top_srcdir@
&$ac_top_srcdir&;t t
58781 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
58782 s
&@builddir@
&$ac_builddir&;t t
58783 s
&@abs_builddir@
&$ac_abs_builddir&;t t
58784 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
58785 s
&@INSTALL@
&$ac_INSTALL&;t t
58786 $ac_datarootdir_hack
58787 " $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
58789 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
58790 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
58791 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
58792 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
58793 which seems to be undefined. Please make sure it is defined." >&5
58794 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
58795 which seems to be undefined. Please make sure it is defined." >&2;}
58799 -) cat "$tmp/out"; rm -f "$tmp/out";;
58800 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
58809 # Transform confdefs.h into a sed script `conftest.defines', that
58810 # substitutes the proper values into config.h.in to produce config.h.
58811 rm -f conftest.defines conftest.
tail
58812 # First, append a space to every undef/define line, to ease matching.
58813 echo 's/$/ /' >conftest.defines
58814 # Then, protect against being on the right side of a sed subst, or in
58815 # an unquoted here document, in config.status. If some macros were
58816 # called several times there might be several #defines for the same
58817 # symbol, which is useless. But do not sort them, since the last
58818 # AC_DEFINE must be honored.
58819 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
58820 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
58821 # NAME is the cpp macro being defined, VALUE is the value it is being given.
58822 # PARAMS is the parameter list in the macro definition--in most cases, it's
58823 # just an empty string.
58824 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
58825 ac_dB
='\\)[ (].*,\\1define\\2'
58833 s/^[ ]*#[ ]*define[ ][ ]*//
58838 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
58839 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
58840 ' >>conftest.defines
58842 # Remove the space that was appended to ease matching.
58843 # Then replace #undef with comments. This is necessary, for
58844 # example, in the case of _POSIX_SOURCE, which is predefined and required
58845 # on some systems where configure will not decide to define it.
58846 # (The regexp can be short, since the line contains either #define or #undef.)
58848 s,^[ #]*u.*,/* & */,' >>conftest.defines
58850 # Break up conftest.defines:
58851 ac_max_sed_lines
=50
58853 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
58854 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
58855 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
58857 ac_in
='$ac_file_inputs'
58858 ac_out
='"$tmp/out1"'
58859 ac_nxt
='"$tmp/out2"'
58863 # Write a here document:
58864 cat >>$CONFIG_STATUS <<_ACEOF
58865 # First, check the format of the line:
58866 cat >"\$tmp/defines.sed" <<\\CEOF
58867 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
58868 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
58872 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
58874 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
58875 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
58876 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
58877 grep . conftest.
tail >/dev
/null
|| break
58878 rm -f conftest.defines
58879 mv conftest.
tail conftest.defines
58881 rm -f conftest.defines conftest.
tail
58883 echo "ac_result=$ac_in" >>$CONFIG_STATUS
58884 cat >>$CONFIG_STATUS <<\_ACEOF
58885 if test x
"$ac_file" != x
-; then
58886 echo "/* $configure_input */" >"$tmp/config.h"
58887 cat "$ac_result" >>"$tmp/config.h"
58888 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
58889 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
58890 echo "$as_me: $ac_file is unchanged" >&6;}
58893 mv "$tmp/config.h" $ac_file
58896 echo "/* $configure_input */"
58902 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
58903 echo "$as_me: executing $ac_file commands" >&6;}
58908 case $ac_file$ac_mode in
58910 mkdir -p $outdir &&
58911 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
58913 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
58914 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
58915 "wx-config":C
) rm -f wx
-config
58916 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
58923 { (exit 0); exit 0; }
58925 chmod +x
$CONFIG_STATUS
58926 ac_clean_files
=$ac_clean_files_save
58929 # configure is writing to config.log, and then calls config.status.
58930 # config.status does its own redirection, appending to config.log.
58931 # Unfortunately, on DOS this fails, as config.log is still kept open
58932 # by configure, so config.status won't be able to write to it; its
58933 # output is simply discarded. So we exec the FD to /dev/null,
58934 # effectively closing config.log, so it can be properly (re)opened and
58935 # appended to by config.status. When coming back to configure, we
58936 # need to make the FD available again.
58937 if test "$no_create" != yes; then
58939 ac_config_status_args
=
58940 test "$silent" = yes &&
58941 ac_config_status_args
="$ac_config_status_args --quiet"
58943 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
58945 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
58946 # would make configure fail if this is the last instruction.
58947 $ac_cs_success || { (exit 1); exit 1; }
58951 # CONFIG_SUBDIRS section.
58953 if test "$no_recursion" != yes; then
58955 # Remove --cache-file and --srcdir arguments so they do not pile up.
58956 ac_sub_configure_args
=
58958 eval "set x $ac_configure_args"
58962 if test -n "$ac_prev"; then
58967 -cache-file | --cache-file | --cache-fil | --cache-fi \
58968 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
58969 ac_prev
=cache_file
;;
58970 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
58971 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
58974 --config-cache | -C)
58976 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
58978 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
58980 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
58982 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
58986 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
58988 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
58992 # Always prepend --prefix to ensure using the same prefix
58993 # in subdir configurations.
58994 ac_arg
="--prefix=$prefix"
58996 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
58998 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
59001 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
59003 # Do not complain, so a configure script can configure whichever
59004 # parts of a large source tree are present.
59005 test -d "$srcdir/$ac_dir" || continue
59007 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
59008 echo "$as_me:$LINENO: $ac_msg" >&5
59012 -*) as_dir
=.
/$as_dir;;
59014 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
59018 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
59019 *) as_qdir
=$as_dir;;
59021 as_dirs
="'$as_qdir' $as_dirs"
59022 as_dir
=`$as_dirname -- "$as_dir" ||
59023 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59024 X"$as_dir" : 'X\(//\)[^/]' \| \
59025 X"$as_dir" : 'X\(//\)$' \| \
59026 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
59028 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59032 /^X\(\/\/\)[^/].*/{
59045 test -d "$as_dir" && break
59047 test -z "$as_dirs" || eval "mkdir $as_dirs"
59048 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
59049 echo "$as_me: error: cannot create directory $as_dir" >&2;}
59050 { (exit 1); exit 1; }; }; }
59054 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
59056 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
59057 # A ".." for each directory in $ac_dir_suffix.
59058 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
59059 case $ac_top_builddir_sub in
59060 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
59061 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
59064 ac_abs_top_builddir
=$ac_pwd
59065 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
59066 # for backward compatibility:
59067 ac_top_builddir
=$ac_top_build_prefix
59070 .
) # We are building in place.
59072 ac_top_srcdir
=$ac_top_builddir_sub
59073 ac_abs_top_srcdir
=$ac_pwd ;;
59074 [\\/]* | ?
:[\\/]* ) # Absolute name.
59075 ac_srcdir
=$srcdir$ac_dir_suffix;
59076 ac_top_srcdir
=$srcdir
59077 ac_abs_top_srcdir
=$srcdir ;;
59078 *) # Relative name.
59079 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
59080 ac_top_srcdir
=$ac_top_build_prefix$srcdir
59081 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
59083 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
59088 # Check for guested configure; otherwise get Cygnus style configure.
59089 if test -f "$ac_srcdir/configure.gnu"; then
59090 ac_sub_configure
=$ac_srcdir/configure.gnu
59091 elif test -f "$ac_srcdir/configure"; then
59092 ac_sub_configure
=$ac_srcdir/configure
59093 elif test -f "$ac_srcdir/configure.in"; then
59094 # This should be Cygnus configure.
59095 ac_sub_configure
=$ac_aux_dir/configure
59097 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
59098 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
59102 # The recursion is here.
59103 if test -n "$ac_sub_configure"; then
59104 # Make the cache file name correct relative to the subdirectory.
59105 case $cache_file in
59106 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
59107 *) # Relative name.
59108 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
59111 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
59112 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
59113 # The eval makes quoting arguments work.
59114 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
59115 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
59116 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
59117 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
59118 { (exit 1); exit 1; }; }
59127 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
59129 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
59130 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
59132 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
59133 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
59134 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
59136 echo " What level of wxWidgets compatibility should be enabled?"
59137 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
59138 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
59140 echo " Which libraries should wxWidgets use?"
59141 echo " jpeg ${wxUSE_LIBJPEG-none}"
59142 echo " png ${wxUSE_LIBPNG-none}"
59143 echo " regex ${wxUSE_REGEX}"
59144 echo " tiff ${wxUSE_LIBTIFF-none}"
59145 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
59146 echo " xpm ${wxUSE_LIBXPM-none}"
59148 echo " zlib ${wxUSE_ZLIB}"
59149 echo " odbc ${wxUSE_ODBC}"
59150 echo " expat ${wxUSE_EXPAT}"
59151 echo " libmspack ${wxUSE_LIBMSPACK}"
59152 echo " sdl ${wxUSE_LIBSDL}"